Mercurial > hg > Papers > 2018 > nozomi-master
view paper/src/NatAddSym.agda @ 55:70bea06ebdf3
Add reasoning
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 31 Jan 2017 17:30:07 +0900 |
parents | |
children | 10a550bf7e4a |
line wrap: on
line source
open import Relation.Binary.PropositionalEquality open import nat open import nat_add open ≡-Reasoning module nat_add_sym where addSym : (n m : Nat) -> n + m ≡ m + n addSym O O = refl addSym O (S m) = cong S (addSym O m) addSym (S n) O = cong S (addSym n O) addSym (S n) (S m) = {!!}