Package natural-order-def: Definition of natural number orderings
Information
name | natural-order-def |
version | 1.27 |
description | Definition of natural number orderings |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-01-13 |
requires | bool natural-thm |
show | Data.Bool Number.Natural |
Files
- Package tarball natural-order-def-1.27.tgz
- Theory source file natural-order-def.thy (included in the package tarball)
Defined Constants
- Number
- Natural
- <
- ≤
- >
- ≥
- Natural
Theorems
⊦ ∀m. ¬(m < 0)
⊦ ∀m. m ≤ 0 ⇔ m = 0
⊦ ∀m n. m > n ⇔ n < m
⊦ ∀m n. m ≥ n ⇔ n ≤ m
⊦ ∀m n. m < suc n ⇔ m = n ∨ m < n
⊦ ∀m n. m ≤ suc n ⇔ m = suc n ∨ 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. ⊤
⊦ ∀t. (t ⇔ ⊥) ⇔ ¬t
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f ⊤ ⊤
⊦ (∃) = λp. ∀q. (∀x. p x ⇒ q) ⇒ q
⊦ ∀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