From: Anders Mörtberg Date: Thu, 16 Apr 2015 09:13:58 +0000 (+0200) Subject: Trailing whitespace X-Git-Url: https://git.ak3n.com/?a=commitdiff_plain;h=242af432a1032375737653c73c286790475b7f2d;p=cubicaltt.git Trailing whitespace --- diff --git a/examples/integer.ctt b/examples/integer.ctt index 308525a..722f618 100644 --- a/examples/integer.ctt +++ b/examples/integer.ctt @@ -45,8 +45,8 @@ fromZK : (a : int) -> Id int (fromZ (toZ a)) a = split neg n -> rem n where rem : (n : nat) -> Id int (fromZ (toZ (neg n))) (neg n) = split zero -> zeroP' - suc n -> refl int (neg (suc n)) - zeroP @ i -> zeroP' @ i /\ j + suc m -> ? -- refl int (neg (suc n)) + zeroP @ i -> ? -- zeroP' @ i /\ j isoIntZ : Id U Z int = isoId Z int fromZ toZ fromZK toZK diff --git a/examples/susp.ctt b/examples/susp.ctt index 2a79d9f..5e51d53 100644 --- a/examples/susp.ctt +++ b/examples/susp.ctt @@ -43,8 +43,8 @@ ocid : (x : S1) -> Id S1 (oc x) x = split co (x: sone) : sone = circleToS1 (s1ToCircle x) -lemSquare (A:U) (a b : A) (m0 m1 : Id A a b) : - Square A a a (compId A a b a m0 (inv A a b m1)) a b m0 (refl A a) m1 = +lemSquare (A:U) (a b : A) (m0 m1 : Id A a b) : + Square A a a (compId A a b a m0 (inv A a b m1)) a b m0 (refl A a) m1 = comp A (m0 @ j) [(j=1) -> m1 @ (i \/ -k) ,(i=0) -> comp A (m0 @ j) [(j=1) -> m1 @ (-k \/ -l)]] @@ -61,7 +61,7 @@ coid : (x : sone) -> Id sone (co x) x = split s1EqCircle : Id U sone S1 = isoId sone S1 s1ToCircle circleToS1 ocid coid -s1EqS1 : Id U S1 S1 = compId U S1 sone S1 (inv U sone S1 s1EqCircle) s1EqCircle +s1EqS1 : Id U S1 S1 = compId U S1 sone S1 (inv U sone S1 s1EqCircle) s1EqCircle -- pointed sets @@ -83,7 +83,7 @@ windingS : Id sone north north -> Z = rem1 rem1 : G (sone,north) = subst ptU G (S1,base) (sone,north) ( s1PtCircle @ -i) rem s1ToCId (p: Id sone north north) : Id S1 base base - = transport s1EqCircle (p @ i) + = transport s1EqCircle (p @ i) s1ToCIdInv (p : Id S1 base base) : Id sone north north = (transport ( s1EqCircle @(-j)) (p @ i)) @@ -95,4 +95,3 @@ loop2S : Id sone north north = compId sone north north north loop1S loop1S test0S : Z = windingS (refl sone north) test2S : Z = windingS loop2S -