Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/zero.agda.replaced @ 13:e8655e0264b8
fix paper, slide
author | ryokka |
---|---|
date | Tue, 11 Feb 2020 02:31:26 +0900 |
parents | b5fffa8ae875 |
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