diff Paper/src/agda/plus.agda.replaced @ 2:9176dff8f38a

ADD while loop description
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Fri, 05 Nov 2021 15:19:08 +0900
parents
children 339fb67b4375
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Paper/src/agda/plus.agda.replaced	Fri Nov 05 15:19:08 2021 +0900
@@ -0,0 +1,6 @@
+plus : (x y : @$\mathbb{N}$@) @$\rightarrow$@ @$\mathbb{N}$@
+plus x zero  = x
+plus x (suc y) = plus (suc x) y
+
+-- plus 10 20
+-- 30