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