Skip to content

Commit 3456a23

Browse files
authored
fix: isProp, isSet
1 parent 0d3ac21 commit 3456a23

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/hott0.lean

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ hott0 def isEquiv₀₀_transport₀ {A B : Type} (h : Identity A B) : isEquiv
5050
hott0 def Identity.toEquiv₀₀ {A B : Type} : Identity A B → Σ (f : A → B), isEquiv₀₀ f :=
5151
fun h => ⟨transport₀ h, isEquiv₀₀_transport₀ h⟩
5252

53-
hott0 def isProp₀ (A : Type) : Type :=
54-
∀ (a a' : A) (h h' : Identity a a'), Identity h h'
53+
hott0
54+
/-- The type `A` is (-1)-truncated. -/
55+
def isProp₀ (A : Type) : Type :=
56+
∀ (a a' : A), Identity a a'
5557

56-
hott0 def isSet₀ (A : Type) : Type :=
57-
∀ (a b : A), isProp₀ (Identity a b)
58+
hott0
59+
/-- The type `A` is 0-truncated. -/
60+
def isSet₀ (A : Type) : Type :=
61+
∀ (a b : A), isProp₀ (Identity a b)
5862

5963
hott0
6064
/-- The univalence axiom for sets. See HoTT book, Axiom 2.10.3. -/

0 commit comments

Comments
 (0)