This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ` ------------------------------------------------ | |
| ` Kevin Carlson, Astra Kolomatskaia, Reed Mullanix | |
| ` Narya formalisation of Kan complexes | |
| ` | |
| ` developed 13-18 May 2024 during the | |
| ` Prospects of Formal Mathematics | |
| ` trimester program at the | |
| ` Hausdorff Institute for Mathematics | |
| ` | |
| ` dated 7 June 2024 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical #-} | |
| module CwF where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything renaming (cong to ap) public | |
| -- Category with Families (4.1.1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical #-} | |
| module weak2cat where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything public | |
| open import Cubical.Data.Sigma |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical #-} | |
| module weak-cat where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything public | |
| open import Cubical.Data.Sigma |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical --guardedness --rewriting #-} | |
| module B where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything renaming (cong to ap) public | |
| {-# BUILTIN REWRITE _≡_ #-} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical #-} | |
| module modalNbE where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) | |
| open import Cubical.Foundations.Everything renaming (cong to ap) | |
| open import Cubical.Data.Sigma | |
| -- Data Structures |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical --guardedness #-} | |
| module untyped-lambda where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything renaming (cong to ap) public | |
| open import Cubical.Data.Nat renaming (zero to Z ; suc to S) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical --guardedness #-} | |
| module bsys where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything renaming (cong to ap) public | |
| -- Definition of a B-system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --cubical --guardedness #-} | |
| module dep where | |
| open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) public | |
| open import Cubical.Core.Everything public | |
| open import Cubical.Foundations.Everything renaming (cong to ap) public | |
| private | |
| variable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Normal (𝒞 : Contextual ℓ ℓ) ⦃ 𝒞CCC : CCC 𝒞 ⦄ | |
| {X : Type ℓ} (base : X → Contextual.ty 𝒞) where | |
| open Contextual 𝒞 | |
| open CCC 𝒞CCC | |
| data Ne : (Γ : ctx) (A : ty) → Type ℓ | |
| data Nf : (Γ : ctx) (A : ty) → Type ℓ | |
| data Ne where | |
| VN : {Γ : ctx} {A : ty} → IntVar Γ A → Ne Γ A |