Package list-concat: The list concat function

Information

namelist-concat
version1.27
descriptionThe list concat function
authorJoe Hurd <joe@gilith.com>
licenseMIT
requiresbool
list-def
list-dest
list-append
list-quant
showData.Bool
Data.List

Files

Defined Constant

Theorems

concat [] = []

l. null (concat l) all null l

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

Input Type Operators

Input Constants

Assumptions

T

null []

p. all p []

() = λp. p ((select) p)

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

t. (T t) t

() = λp q. p q p

() = λp q. (λf. f p q) = λf. f T T

l m. null (l @ m) null l null m

p. (x. y. p x y) y. x. p x (y x)

p h t. all p (h :: t) p h all p t

P. P [] (a0 a1. P a1 P (a0 :: a1)) x. P x

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