Primorial of the k-th prime as a product of the first k+1 primes
ProvedTaoFivePrimes.tao_totient_cert_primorial_nthchebyshevnumber-theoryprimorialtao-five-primes
Let be the -st prime, i.e. . The primorial is the product of all primes . The theorem states that the primorial of the -st prime is the product of the first primes:
This is the standard identity behind Chebyshev's function ; it converts between the primorial form and the explicit prime-product form, and is the step that lets the finite totient verification evaluate at the sample points through the product of the table entries ptab.
Preamble
import Mathlib.NumberTheory.Primorial import Mathlib.Data.Nat.Nth
Formal statement
namespace TaoFivePrimes
theorem tao_totient_cert_primorial_nth (k : ℕ) :
primorial (Nat.nth Nat.Prime k) = ∏ i ∈ Finset.range (k+1), Nat.nth Nat.Prime i := by sorry
end TaoFivePrimesSource
Standard identity for the primorial; in Mathlib it follows from `Nat.primorial_eq_prod_primesLE`. See J. B. Rosser and L. Schoenfeld, *Approximate formulas for some functions of prime numbers*, Illinois J. Math. 6 (1962), 64--94, Section 3, for the use of .