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

Information

namenatural-prime-stream-def
version1.23
descriptionDefinition of the ordered stream of all prime numbers
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2014-11-04
checksum00dab3717a6628f2aa9710722bd81ccb2c1625d9
requiresbase
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

External Type Operators

External 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.
    (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