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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 open import Relation.Binary.PropositionalEquality
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 open import nat
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 open import nat_add
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 module three_plus_one where
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
de3397af1f8d Temporary save
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))))
de3397af1f8d Temporary save
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 3+1 = refl