Package natural-factorial-def: Definition of natural number factorial
Information
name | natural-factorial-def |
version | 1.19 |
description | Definition of natural number factorial |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2012-06-15 |
requires | bool natural-thm |
show | Data.Bool Number.Natural |
Files
- Package tarball natural-factorial-def-1.19.tgz
- Theory file natural-factorial-def.thy (included in the package tarball)
Defined Constant
- Number
- Natural
- factorial
- Natural
Theorems
⊦ factorial 0 = 1
⊦ ∀n. factorial (suc n) = suc n * factorial n
Input Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
Input Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ∃!
- ⊤
- Bool
- Number
- Natural
- *
- bit1
- suc
- zero
- Natural
Assumptions
⊦ ⊤
⊦ (∃) = λp. p ((select) p)
⊦ (∀) = λp. p = λx. ⊤
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f ⊤ ⊤
⊦ ∀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