Package natural-dest: Natural number destructors

Information

namenatural-dest
version1.18
descriptionNatural number destructors
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
checksumb2e09315a88f198b20aa98e636c5828d3aeec233
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

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

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