Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/zero.agda.replaced @ 19:046b2b20d6c7 default tip
fix
author | ryokka |
---|---|
date | Mon, 09 Mar 2020 11:25:49 +0900 |
parents | e8655e0264b8 |
children |
line wrap: on
line source
+zero : { y : @$\mathbb{N}$@ } @$\rightarrow$@ y + zero @$\equiv$@ y +zero {zero} = refl +zero {suc y} = cong suc ( +zero {y} ) -- cong : @$\forall$@ (f : A @$\rightarrow$@ B) {x y} @$\rightarrow$@ x @$\equiv$@ y @$\rightarrow$@ f x @$\equiv$@ f y -- cong f refl = refl