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

Information

namelist-reverse-def
version1.29
descriptionDefinition of the list reverse function
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2012-03-24
requiresbool
list-def
showData.Bool
Data.List

Files

Defined Constant

Theorems

reverse [] = []

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

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