Mathlib.Data.Nat.Prime.Infinite
2 declarations and 1 deprecated aliases. Mathlib docs · Source
Infinitude of the primes
Main statements
Nat.exists_infinite_primes: Euclid's theorem that there exist infinitely many prime numbers. This also appears asNat.not_bddAbove_setOfPred_primeandNat.infinite_setOfPred_prime(the latter inData.Nat.PrimeFin).
theorem Nat.exists_infinite_primes E3 #
∀ (n : ℕ), ∃ p, n ≤ p ∧ Nat.Prime p
Euclid's theorem on the infinitude of primes.
Here given in the form: for every n, there exists a prime number p ≥ n.
theorem Nat.not_bddAbove_setOfPred_prime E3 #
¬BddAbove {p | Nat.Prime p}
A version of Nat.exists_infinite_primes using the BddAbove predicate.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Nat.not_bddAbove_setOf_prime | Nat.not_bddAbove_setOfPred_prime | 2026-07-09 |