annotate paper/src/zero.agda.replaced @ 2:c7acb9211784

add code, figure. and paper fix content
author ryokka
date Mon, 27 Jan 2020 20:41:36 +0900
parents
children b5fffa8ae875
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
1 +zero : { y : @$\mathbb{N}$@ } → y + zero @$\equiv$@ y
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
2 +zero {zero} = refl
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
3 +zero {suc y} = cong ( @$\lambda$@ x → suc x ) ( +zero {y} )