view Paper/src/agda/plus2.agda.replaced @ 5:339fb67b4375

INIT rbt.agda
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Sun, 07 Nov 2021 00:51:16 +0900
parents 9176dff8f38a
children
line wrap: on
line source

module plus2 where

open import Data.Nat hiding (_+_)

_+_ : (x y : !$\mathbb{N}$!) !$\rightarrow$! !$\mathbb{N}$!
x + zero = x
x + suc y = (suc x) + y

-- 10 + 20
-- 30