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

Information

namelist-replicate-def
version1.53
descriptionDefinition of the list replicate function
authorJoe Leslie-Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2014-11-04
checksumff13a038473f08517db64148ff98d1e34b8bfe02
requiresbool
list-def
natural
showData.Bool
Data.List
Number.Natural

Files

Defined Constant

Theorems

x. replicate x 0 = []

x n. replicate x (suc n) = x :: replicate x n

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. q. (x. p x q) q

(∃!) = λp. () p x y. p x p y x = y

e f. ∃!fn. fn 0 = e n. fn (suc n) = f (fn n) n