view Paper/src/agda/plus2.agda.replaced @ 14:393c839f987b default tip

DONE
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Sat, 08 Jan 2022 12:41:39 +0900
parents 339fb67b4375
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