From: coquand Date: Tue, 28 Apr 2015 17:59:04 +0000 (+0200) Subject: nicer proof of lemtransport X-Git-Url: https://git.ak3n.com/?a=commitdiff_plain;h=067cdbd1b95ac6968bd08e5dc48ff2a93619981d;p=cubicaltt.git nicer proof of lemtransport --- diff --git a/examples/pi1S2.ctt b/examples/pi1S2.ctt index 9515108..9c3c0a0 100644 --- a/examples/pi1S2.ctt +++ b/examples/pi1S2.ctt @@ -9,10 +9,9 @@ lemGrp4 (X : U) (gX:groupoid X) : Id U (gTrunc S2 -> X) X corr : Id U (gTrunc S2 -> gTrunc S2) (gTrunc S2) = lemGrp4 (gTrunc S2) (gTr S2) -lemTransport (A :U) : - (B : U) (p : Id U A B) (a0 a1 : A) -> Id B (transport p a0) (transport p a1) -> Id A a0 a1 = - J U A ( \ (B : U) (p : Id U A B) -> (a0 a1 : A) -> Id B (transport p a0) (transport p a1) -> Id A a0 a1) rem - where rem (a0 a1:A) (h:Id A a0 a1) : Id A a0 a1 = h +lemTransport (A B :U) (p : Id U A B) (a0 a1 : A) (h: Id B (transport p a0) (transport p a1)) : Id A a0 a1 = + transport (Id (p@-i) (transport (p@(-i/\j)) a0) (transport (p@(-i/\j)) a1)) h + corr1 : Id (gTrunc S2 -> gTrunc S2) (\ (x:gTrunc S2) -> x) (\ (x:gTrunc S2) -> inc north) = lemTransport (gTrunc S2 -> gTrunc S2) (gTrunc S2) corr @@ -26,7 +25,7 @@ test : Id (gTrunc S2) (inc south) (inc north) = corr2 (inc south) test : Id (gTrunc S2) (inc south) (inc north) = inc (comp S2 north - [ (i = 0) -> comp S2 south + [ (i = 0) -> comp S2 south [ (j = 0) -> comp S2 north [ (k = 0) -> comp S2 south [ (l = 0) -> comp S2 north @@ -40,13 +39,9 @@ test1 : Id (gTrunc S2) (inc north) (inc north) = corr2 (inc north) -- this should imply that any element in gTrunc (susp sone) is equal to inc north - - stwo : U = susp sone corr3 : (x:gTrunc stwo) -> Id (gTrunc stwo) x (inc north) = transport ((x:gTrunc (susp (s1EqCircle@-i))) -> Id (gTrunc (susp (s1EqCircle@-i))) x (inc north)) corr2 test2 : Id (gTrunc stwo) (inc south) (inc north) = corr3 (inc south) - --- corr2 (x:gTrunc S2) : Id (gTrunc S2) x (inc north) = corr1@i x \ No newline at end of file