Package natural-order-min-max-def: Definition of natural number min and max functions
Information
name | natural-order-min-max-def |
version | 1.10 |
description | Definition of natural number min and max functions |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-11-27 |
requires | bool natural-order-thm |
show | Data.Bool Number.Natural |
Files
- Package tarball natural-order-min-max-def-1.10.tgz
- Theory file natural-order-min-max-def.thy (included in the package tarball)
Defined Constants
- Number
- Natural
- max
- min
- minimal
- Natural
Theorems
⊦ ∀m n. max m n = if m ≤ n then n else m
⊦ ∀m n. min m n = if m ≤ n then m else n
⊦ ∀P. (∃n. P n) ⇔ P ((minimal) P) ∧ ∀m. m < (minimal) P ⇒ ¬P m
Input Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
Input Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ¬
- cond
- T
- Bool
- Number
- Natural
- <
- ≤
- Natural
Assumptions
⊦ T
⊦ (∃) = λP. P ((select) P)
⊦ (∀) = λp. p = λx. T
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f T T
⊦ ∀P. (∃n. P n) ⇔ ∃n. P n ∧ ∀m. m < n ⇒ ¬P m