Package list-map-def: Definition of the list map function

Information

namelist-map-def
version1.24
descriptionDefinition of the list map function
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2011-12-18
requiresbool
list-def
showData.Bool
Data.List

Files

Defined Constant

Theorems

f. map f [] = []

f h t. map f (h :: t) = f h :: map f t

Input Type Operators

Input Constants

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

p. (x. y. p x y) y. x. p x (y x)

NIL' CONS'.
    fn. fn [] = NIL' a0 a1. fn (a0 :: a1) = CONS' a0 a1 (fn a1)