Package haskell-prime-def: Definition of prime numbers

Information

namehaskell-prime-def
version1.7
descriptionDefinition of prime numbers
authorJoe Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2012-08-13
requiresbase
showData.Bool
Data.List
Data.Pair
Data.Stream
Function
Haskell.Number.Natural as H
Haskell.Number.Natural.Prime.Sieve as H
Number.Natural
Number.Natural.Prime.Sieve

Files

Defined Type Operator

Defined Constants

Theorems

H.Prime.all = Prime.all

H.increment.inc = increment.inc

H.initial = H.fromHol initial

H.perimeter = mapDomain H.toHol max

H.unSieve = mapDomain H.toHol dest

H.Sieve = mapRange H.fromHol mk

H.increment = (mapRange (mapSnd H.fromHol) mapDomain H.toHol) increment

H.next = (mapRange (mapSnd H.fromHol) mapDomain H.toHol) next

(h. H.fromHol (H.toHol h) = h) x. H.toHol (H.fromHol x) = x

Input Type Operators

Input Constants

Assumptions

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

t. (x. t) t

() = λp. p = λx.

t. ( t) t

() = λp q. p q p

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