annotate Paper/src/function.agda @ 0:c59202657321

init
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Nov 2021 06:55:58 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 _-_ :ℕ →ℕ →ℕ
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 x - zero = x
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 zero - _ = zero
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 (suc x) - (suc y) = x - y