Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/NatAddSym.agda @ 19:046b2b20d6c7 default tip
fix
author | ryokka |
---|---|
date | Mon, 09 Mar 2020 11:25:49 +0900 |
parents | c7acb9211784 |
children |
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) = {!!} -- 後述