Package natural-dest: Natural number destructors

Information

namenatural-dest
version1.13
descriptionNatural number destructors
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
requiresbool
natural-thm
showData.Bool
Number.Natural

Files

Defined Constant

Theorem

n. pre (suc n) = n

External Type Operators

External Constants

Assumptions

() = λp. p ((select) p)

() = λp. p = λx.

() = λp q. p q p

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

r. (x. y. r x y) f. x. r x (f x)

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

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