Package list-replicate-def: list-replicate-def

Information

namelist-replicate-def
version1.13
descriptionlist-replicate-def
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2011-09-21
showData.Bool

Files

Defined Constant

Theorem

(x. Data.List.replicate 0 x = Data.List.[])
  x n.
    Data.List.replicate (Number.Natural.suc n) x =
    Data.List.:: x (Data.List.replicate n x)

Input Type Operators

Input Constants

Assumptions

T

() = λP. P ((select) P)

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

() = λp q. p q p

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

() = λP. q. (x. P x q) q

e f. fn. fn 0 = e n. fn (Number.Natural.suc n) = f (fn n) n