annotate paper/src/zero.agda.replaced @ 4:b5fffa8ae875

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