Merge remote-tracking branch 'Saizan/dev' into dev

This commit is contained in:
Frederik Hanghøj Iversen 2018-03-22 11:54:22 +01:00
commit 52ca0b6732

View file

@ -138,14 +138,10 @@ module _ ( : Level) where
iso : (p q) Eqv.≅ (proj₁ p proj₁ q)
iso = f , g , inv
lem3 : {Q : A Set b}
lem3 : {c} {Q : A Set (c b)}
((a : A) P a Q a) Σ A P Σ A Q
lem3 {Q} eA = res
lem3 {Q = Q} eA = res
where
P→Q : {a} P a Q a
P→Q = ua (eA _)
Q→P : {a} Q a P a
Q→P = sym P→Q
f : Σ A P Σ A Q
f (a , pA) = a , _≃_.eqv (eA a) pA
g : Σ A Q Σ A P
@ -226,7 +222,7 @@ module _ ( : Level) where
-- lem3 and the equivalence from lem4
step0 : Σ (A B) isIso Σ (A B) (isEquiv A B)
step0 = lem3 (λ f sym≃ (lem4 sA sB f))
step0 = lem3 {c = lzero} (λ f sym≃ (lem4 sA sB f))
-- univalence
step1 : Σ (A B) (isEquiv A B) (A B)
step1 = hh h
@ -340,8 +336,14 @@ module _ ( : Level) where
isContractible = Σ≡ pObj {!isoEq!}
-- isContractible = lemSig prop≅ center y pObj
univalent[Contr] : isContr (Σ[ hB Object ] hA hB)
univalent[Contr] = center , isContractible
-- univalent[Contr] : isContr (Σ[ hB ∈ Object ] hA ≅ hB)
-- univalent[Contr] = center , isContractible
eq1 : hA (Σ[ hB Object ] hA hB) (Σ[ hB Object ] hA hB)
eq1 hA = ua (lem3 (\ hB sym≃ thr))
univalent[Contr] : hA isContr (Σ[ hB Object ] hA hB)
univalent[Contr] hA = subst {P = isContr} (sym (eq1 hA)) {!!}
univalent : Univalent
univalent = from[Contr] univalent[Contr]