Package list-append-def: Definition of appending lists

Information

namelist-append-def
version1.52
descriptionDefinition of appending lists
authorJoe Leslie-Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2014-11-17
checksumbf6aa578fa4e944f688346027f4557a952f534a3
requiresbool
list-def
showData.Bool
Data.List

Files

Defined Constants

Theorems

concat [] = []

l. [] @ l = l

h t. concat (h :: t) = h @ concat t

l h t. (h :: t) @ l = h :: t @ l

External Type Operators

External 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

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