Second moment:
ProvedSchnir.second_momentnumber-theoryschnirelmann-densitysieve-theory
For every real ,
This is the second-moment estimate with and .
Formalization Note The sum runs over integers .
Preamble
import Mathlib import Definitions.Def_Schnir_defs
Formal statement
namespace Schnir
theorem second_moment (x : ℝ) (hx : Real.exp 2000 ≤ x) :
∑ s ∈ Finset.range (⌊x⌋₊ + 1), (r s : ℝ) ^ 2 ≤ 860 * x ^ 3 / (Real.log x) ^ 4 := by sorry
end Schnir
Source
An explicit elementary constant for sums of primes (unpublished note, September 2026), eq. (14), §4