Files
agdaproofs/Numbers/Naturals/Definition.agda
2019-08-18 14:57:41 +01:00

17 lines
323 B
Agda
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
module Numbers.Naturals.Definition where
data : Set where
zero :
succ :
infix 100 succ
{-# BUILTIN NATURAL #-}
succInjective : {a b : } (succ a succ b) a b
succInjective {a} {.a} refl = refl