Package list-dest-def: Definition of list type destructors

Information

namelist-dest-def
version1.54
descriptionDefinition of list type destructors
authorJoe Leslie-Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2014-11-17
checksum193ec44f143c1d17f56d97181251c2b5b9a19b42
requiresbool
list-def
showData.Bool
Data.List

Files

Defined Constants

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

External Constants

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)