Mercurial > hg > Papers > 2017 > atton-master
annotate paper/src/NatAddSym.agda @ 144:060202b21724 default tip
Bookbinding
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 27 Feb 2017 20:29:43 +0900 |
parents | 10a550bf7e4a |
children |
rev | line source |
---|---|
55 | 1 open import Relation.Binary.PropositionalEquality |
2 open import nat | |
3 open import nat_add | |
4 open ≡-Reasoning | |
5 | |
6 module nat_add_sym where | |
7 | |
8 addSym : (n m : Nat) -> n + m ≡ m + n | |
9 addSym O O = refl | |
10 addSym O (S m) = cong S (addSym O m) | |
64
10a550bf7e4a
Mini fixes with ryokka-san
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
11 addSym (S n) O = cong S (addSym n O) |
10a550bf7e4a
Mini fixes with ryokka-san
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
12 addSym (S n) (S m) = {!!} -- 後述 |