Package natural-numeral: Natural number numerals

Information

namenatural-numeral
version1.8
descriptionNatural number numerals
authorJoe Hurd <joe@gilith.com>
licenseMIT
requiresbool
natural-thm
showData.Bool
Number.Natural

Files

Defined Constants

Theorems

bit0 0 = 0

n. bit1 n = suc (bit0 n)

n. bit0 (suc n) = suc (suc (bit0 n))

Input Type Operators

Input Constants

Assumptions

T

() = λP. P ((select) P)

() = λp. p = λx. T

() = λp q. p q p

() = λp q. (λf. f p q) = λf. f T T

(∃!) = λP. () P x y. P x P y x = y

e f. ∃!fn. fn 0 = e n. fn (suc n) = f (fn n) n