exercise 2.4

This commit is contained in:
Michael Zhang 2024-07-24 21:16:47 -05:00
parent 94609e69f9
commit acbb85481f

View file

@ -67,11 +67,9 @@ $A$, simultaneously with the type of boundaries for such paths._
[6]: https://git.mzhang.io/school/type-theory/issues/6
```
-- data n-dimensional-path {A : Set} : (n : ) → Set where
-- z : (x y : A) → x ≡ y → n-dimensional-path zero
-- s : (n : ) → (d : n-dimensional-path {A} n) → n-dimensional-path (suc n)
-- n-dimensional-path {A} zero = (x y : A) → x ≡ y
-- n-dimensional-path {A} (suc n) = {! !}
data n-path {l : Level} : {A : Set l} → (x y : A) → Set (lsuc l) where
zero : {A : Set l} → {x y : A} → x ≡ y → n-path x y
suc : {A : Set l} → {x y : A} → {p q : x ≡ y} → p ≡ q → n-path p q
```
## Exercise 2.5