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

Information

namelist-dest-def
version1.24
descriptionDefinition of list type destructors
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2011-11-27
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

Input Type Operators

Input Constants

Assumptions

T

() = λP. P ((select) P)

() = λp. p = λx. T

t. (t T) t

t. (t F) ¬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)