Package list-map-def: Definition of the list map function
Information
name | list-map-def |
version | 1.20 |
description | Definition of the list map function |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-11-27 |
requires | bool list-def |
show | Data.Bool Data.List |
Files
- Package tarball list-map-def-1.20.tgz
- Theory file list-map-def.thy (included in the package tarball)
Defined Constant
- Data
- List
- map
- List
Theorems
⊦ ∀f. map f [] = []
⊦ ∀f h t. map f (h :: t) = f h :: map f t
Input Type Operators
- →
- bool
- Data
- List
- list
- List
Input Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- T
- List
- ::
- []
- Bool
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. ∀q. (∀x. P x ⇒ q) ⇒ q
⊦ ∀NIL' CONS'.
∃fn. fn [] = NIL' ∧ ∀a0 a1. fn (a0 :: a1) = CONS' a0 a1 (fn a1)