Package list-dest-def: Definition of list type destructors
Information
name | list-dest-def |
version | 1.54 |
description | Definition of list type destructors |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-11-17 |
checksum | 193ec44f143c1d17f56d97181251c2b5b9a19b42 |
requires | bool list-def |
show | Data.Bool Data.List |
Files
- Package tarball list-dest-def-1.54.tgz
- Theory source file list-dest-def.thy (included in the package tarball)
Defined Constants
- Data
- List
- case
- head
- null
- tail
- List
Theorems
⊦ null []
⊦ ∀h t. ¬null (h :: t)
⊦ ∀h t. head (h :: t) = h
⊦ ∀h t. tail (h :: t) = t
⊦ ∀b f. case b f [] = b
⊦ ∀b f h t. case b f (h :: t) = f h t
External Type Operators
- →
- bool
- Data
- List
- list
- List
External Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ¬
- ⊥
- ⊤
- List
- ::
- []
- Bool
Assumptions
⊦ ⊤
⊦ (∃) = λp. p ((select) p)
⊦ (∀) = λp. p = λx. ⊤
⊦ ∀t. (t ⇔ ⊤) ⇔ t
⊦ ∀t. (t ⇔ ⊥) ⇔ ¬t
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f ⊤ ⊤
⊦ (∃) = λp. ∀q. (∀x. p x ⇒ q) ⇒ q
⊦ ∀b f. ∃fn. fn [] = b ∧ ∀h t. fn (h :: t) = f h t (fn t)