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

Information

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

Files

Defined Constant

Theorems

x. replicate 0 x = []

x n. replicate (suc n) x = x :: 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

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

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