Sums of two odd primes have density at least 1/25 for
ProvedRV27.middle_rangegoldbachnumber-theoryschnirelmann-densitysieve-theory
Let be the number of ordered pairs of odd primes with (platform definition Schnir.r). For every natural number with ,
where ranges over .
This is the middle range of an explicit Schnirelmann argument for the bound on the number of primes needed to write an odd number. It follows Riesel and Vaughan's small-shift argument: with the first odd primes and , Cauchy–Schwarz gives . The first moment uses Chebyshev's bound ; the second moment is bounded by Siebert's prime-pair bound with (platform theorem TaoFivePrimes.siebert_prime_pair_bound).
Formalization Note is the natural logarithm Real.log of cast to ; the count is the cardinality of the filter of Finset.range (n + 1).
Preamble
import Mathlib import Definitions.Def_Schnir_defs
Formal statement
namespace RV27
theorem middle_range (n : ℕ) (h1 : 23 ≤ Real.log (n : ℝ)) (h2 : Real.log (n : ℝ) ≤ 300) :
(n : ℝ) / 25 ≤ (((Finset.range (n + 1)).filter (fun s => 0 < Schnir.r s)).card : ℝ) := by
sorry
end RV27Source
H. Riesel, R. C. Vaughan, On sums of primes, Ark. Mat. 21 (1983), 45-74, Lemma 8 (small-shift Cauchy-Schwarz) and Lemma 5 (Siebert prime-pair bound); constants re-derived with Chebyshev psi(x) >= 0.9212x - 5 log x + 5 (PrimeNumberTheoremAnd IEANTN/Chebyshev.lean) in place of Rosser-Schoenfeld (unpublished AI-assisted calculation, October 2026).