name | natural-factorial-def |
version | 1.0 |
description | natural-factorial-def |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-02-19 |
show | Data.Bool |
⊦ Number.Natural.factorial Number.Numeral.zero =
Number.Numeral.bit1 Number.Numeral.zero ∧
∀n.
Number.Natural.factorial (Number.Natural.suc n) =
Number.Natural.* (Number.Natural.suc n) (Number.Natural.factorial n)
⊦ T
⊦ (∃) = λP. P ((select) P)
⊦ (∀) = λP. P = λx. T
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f T T
⊦ ∀e f.
∃fn.
fn Number.Numeral.zero = e ∧
∀n. fn (Number.Natural.suc n) = f (fn n) n