Package natural-factorial-def: Definition of natural number factorial

Information

namenatural-factorial-def
version1.13
descriptionDefinition of natural number factorial
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2011-12-18
requiresbool
natural-thm
showData.Bool
Number.Natural

Files

Defined Constant

Theorems

factorial 0 = 1

n. factorial (suc n) = suc n * factorial 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. (x. y. p x y) y. x. p x (y 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