annotate src/three_plus_one.agda @ 42:4cc65012412f
Add proofs of functor-laws on delta
author |
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
date |
Fri, 13 Feb 2015 17:13:23 +0900 |
parents |
de3397af1f8d |
children |
|
rev |
line source |
26
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 open import Relation.Binary.PropositionalEquality
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 open import nat
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 open import nat_add
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 module three_plus_one where
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 3+1 : (S (S (S O))) + (S O) ≡ (S (S (S (S O))))
|
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 3+1 = refl |