Package list-interval-def: Definition of the list interval function
Information
name | list-interval-def |
version | 1.54 |
description | Definition of the list interval function |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | MIT |
provenance | HOL Light theory extracted on 2014-06-12 |
requires | bool list-def natural |
show | Data.Bool Data.List Number.Natural |
Files
- Package tarball list-interval-def-1.54.tgz
- Theory source file list-interval-def.thy (included in the package tarball)
Defined Constant
- Data
- List
- interval
- List
Theorems
⊦ ∀m. interval m 0 = []
⊦ ∀m n. interval m (suc n) = m :: interval (suc m) n
External Type Operators
- →
- bool
- Data
- List
- list
- List
- Number
- Natural
- natural
- Natural
External Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ∃!
- ⊤
- List
- ::
- []
- 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
⊦ ∀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