Selberg upper-bound sieve with explicit error term
ProvedSchnir.sieve_ineqnumber-theoryschnirelmann-densitysieve-theory
Let be a positive even integer and real. Let count the integers such that has no prime divisor at most , and let with , where if and otherwise. Then
This is Selberg's upper-bound sieve for the pairs , with a fully explicit error term. It is the main analytic input of the argument.
Formalization Note , and are Schnir.S, Schnir.G and Schnir.hfun from Def_Schnir_defs.
Preamble
import Mathlib import Definitions.Def_Schnir_defs
Formal statement
namespace Schnir
theorem sieve_ineq (s : ℕ) (hs : Even s) (hs0 : 0 < s) (z : ℝ) (hz : 1 < z) :
(S s z : ℝ) ≤ s / G s z + z ^ 2 * (1 + Real.log z) ^ 2 := by sorry
end Schnir
Source
An explicit elementary constant for sums of primes (unpublished note, September 2026), eq. (7), §2.1