Package natural-add-def: Definition of natural number addition
Information
name | natural-add-def |
version | 1.25 |
description | Definition of natural number addition |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-11-04 |
checksum | c980a19b5bd9ccb991e149f7328a57e3da4e0d6f |
requires | bool natural-thm |
show | Data.Bool Number.Natural |
Files
- Package tarball natural-add-def-1.25.tgz
- Theory source 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)
External Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
External 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. (∃) p ∧ ∀x y. p x ∧ p y ⇒ x = y
⊦ ∀e f. ∃!fn. fn 0 = e ∧ ∀n. fn (suc n) = f (fn n) n