First commit

This commit is contained in:
Smaug123
2020-04-26 16:45:37 +01:00
parent d9978331c5
commit 4d7aad52e0
5 changed files with 252 additions and 0 deletions

13
Naturals.agda Normal file
View File

@@ -0,0 +1,13 @@
{-# OPTIONS --safe --warning=error --without-K #-}
module Naturals where
data : Set where
zero :
succ :
{-# BUILTIN NATURAL #-}
_+N_ :
zero +N b = b
succ a +N b = succ (a +N b)