Package natural-prime-stream-def: Definition of the ordered stream of all prime numbers

Information

namenatural-prime-stream-def
version1.15
descriptionDefinition of the ordered stream of all prime numbers
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2012-11-10
requiresbool
natural
natural-prime-thm
stream
showData.Bool
Data.List
Data.Stream
Number.Natural

Files

Defined Constants

Theorems

p. prime p i. nth Prime.all i = p

n. Prime.below n = take Prime.all (minimal i. n nth Prime.all i)

i j. nth Prime.all i nth Prime.all j i j

Input Type Operators

Input Constants

Assumptions

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

() = λp. p = λx.

() = λp q. p q p

n. p. n p prime p

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

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

p.
    (m. n. m n p n)
    s. (i j. nth s i nth s j i j) n. p n i. nth s i = n