[QED] Get equivalence from 3rd formulation

This commit is contained in:
Frederik Hanghøj Iversen 2018-04-11 12:46:22 +02:00
parent c23c2716a5
commit 4ff8f155ab

View file

@ -150,11 +150,11 @@ record RawCategory (a b : Level) : Set (lsuc (a ⊔ b)) where
lem : Σ Object (A ≅_) Σ Object (A ≡_)
lem = equivSig {a} {b} {Object} {A ≅_} {_} {A ≡_} (f A)
aux : isContr (Σ[ B Object ] A B)
aux = {!Σ Object (A ≡_)!}
aux : isContr (Σ Object (A ≡_))
aux = (A , refl) , (λ y contrSingl (snd y))
step : isContr (Σ Object (A ≅_))
step = {!subst {P = isContr} {!!} aux!}
step = equivPreservesNType {n = ⟨-2⟩} (Equivalence.symmetry lem) aux
propUnivalent : isProp Univalent
propUnivalent a b i = propPi (λ iso propIsContr) a b i