Supported Selberg weights attaining the reciprocal denominator
ProvedSelbergOptimization.supported_weightsnumber-theorysieve-theory
Let be a finite set of natural numbers with nonnegative real weights , let be a squarefree positive integer, and let be a real mass parameter. Let be a multiplicative arithmetic function with for every prime . Set
For , define
There are real weights satisfying and for such that, writing , one has
The same weights supply the normalization, finite cutoff, exact main term and sifted bound. This construction provides the weight-selection step of an upper-bound sieve; a numerical remainder estimate is a separate requirement. No variational minimality is asserted.
Formalization Note The sieve data, main sum and absolute remainder sum are Mathlib's BoundingSieve, mainSum and errSum. All sums above are finite.
Preamble
import Mathlib.NumberTheory.SelbergSieve open scoped BigOperators set_option autoImplicit false
Formal statement
theorem SelbergOptimization.supported_weights (s : BoundingSieve) (z : ℝ) (hz : 1 ≤ z) :
∃ w : ℕ → ℝ, w 1 = 1 ∧ (∀ d : ℕ, z < (d : ℝ) → w d = 0) ∧
s.mainSum (BoundingSieve.lambdaSquared w) =
(∑ e ∈ s.prodPrimes.divisors, if (e : ℝ) ≤ z then s.selbergTerms e else 0)⁻¹ ∧
s.siftedSum ≤ s.totalMass /
(∑ e ∈ s.prodPrimes.divisors, if (e : ℝ) ≤ z then s.selbergTerms e else 0) +
s.errSum (BoundingSieve.lambdaSquared w) := by sorrySource
Classical Selberg upper-bound sieve, formal continuation of Mathlib/NumberTheory/SelbergSieve.lean (Arend Mellendijk, 2024), revision0df444a360eaa60ab8c11dca51a86af692955474, especially mainSum_lambdaSquared_eq_sum_mul_sum_sq. The explicit weights here are constructed by divisor Möbius inversion. https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/NumberTheory/SelbergSieve.lean . Intended consumer: TaoFivePrimes.siebert_prime_pair_bound, https://prove2.me/theorems/0b3aa912-642f-4b13-b915-0b43c7e7c385 . Known mathematics; no novelty claim.