Package natural-sub-def: Definition of natural number subtraction

Information

namenatural-sub-def
version1.12
descriptionDefinition of natural number subtraction
authorJoe Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2011-11-27
requiresbool
natural-def
natural-thm
natural-dest
natural-add
showData.Bool
Number.Natural

Files

Defined Constant

Theorem

m n. m + n - n = m

Input Type Operators

Input Constants

Assumptions

T

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

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

n. pre (suc n) = n

m. m + 0 = m

() = λp q. p q p

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

() = λP. q. (x. P x q) q

m n. m + suc n = suc (m + n)

P. P 0 (n. P n P (suc n)) n. P n

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

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