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

Information

namelist-map-def
version1.41
descriptionDefinition of the list map function
authorJoe Leslie-Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2012-11-10
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

() = λ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

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

b f. fn. fn [] = b h t. fn (h :: t) = f h t (fn t)