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

Information

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

Files

Defined Constant

Theorems

reverse [] = []

x l. reverse (x :: l) = reverse l @ x :: []

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)

NIL' CONS'.
    fn. fn [] = NIL' a0 a1. fn (a0 :: a1) = CONS' a0 a1 (fn a1)