Package natural-factorial-def: Definition of natural number factorial
Information
name | natural-factorial-def |
version | 1.30 |
description | Definition of natural number factorial |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-01-13 |
requires | bool natural-mult natural-thm |
show | Data.Bool Number.Natural |
Files
- Package tarball natural-factorial-def-1.30.tgz
- Theory source 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
External Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
External 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 ⊤ ⊤
⊦ ∀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