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

Information

namelist-reverse-def
version1.42
descriptionDefinition of the list reverse function
authorJoe Leslie-Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2012-12-02
requiresbool
list-append
list-def
showData.Bool
Data.List

Files

Defined Constant

Theorems

reverse [] = []

h t. reverse (h :: t) = reverse t @ h :: []

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. (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)