projects
/
cubicaltt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74ce07
)
pi1S2 is trivial
author
coquand
<coquand@chalmers.se>
Thu, 30 Apr 2015 11:52:20 +0000
(13:52 +0200)
committer
coquand
<coquand@chalmers.se>
Thu, 30 Apr 2015 11:52:20 +0000
(13:52 +0200)
examples/pi1S2.ctt
patch
|
blob
|
blame
|
history
diff --git
a/examples/pi1S2.ctt
b/examples/pi1S2.ctt
index e79d97bb72fa9905d47dba1c8ba43374b0fabe87..308de0b2c1a09aaae28d91376f31f3d7ba9f6a1f 100644
(file)
--- a/
examples/pi1S2.ctt
+++ b/
examples/pi1S2.ctt
@@
-24,7
+24,12
@@
test1 : Id pi1S2 trivS2 trivS2 = propPi1S2 trivS2 trivS2
-- we can transport this since S1 = susp bool
-eqS1
+eqS1
: Id U S1 sone = <i>s1EqCircle@-i
-eqS2 : Id U S2 stwo =
subst U susp S1 sone (<i>s1EqCircle@-
i)
+eqS2 : Id U S2 stwo =
<i>susp (eqS1@
i)
+pi1stwo : U = sTrunc (Id stwo north north)
+
+eqPi1 : Id U pi1S2 pi1stwo = <i>sTrunc (Id (susp (eqS1@i)) north north)
+
+propPi1stwo : prop pi1stwo = subst U prop pi1S2 pi1stwo eqPi1 propPi1S2
\ No newline at end of file