Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Sums of two odd primes have positive density: R(x)≥x/69660R(x)\ge x/69660R(x)≥x/69660

Proved
Schnir.R_lower

by xuanji · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theoryschnirelmann-densitysieve-theory

Let R(x)=#{0≤s≤x:r(s)>0}R(x)=\#\{0\le s\le x : r(s)>0\}R(x)=#{0≤s≤x:r(s)>0} be the number of integers up to xxx that are sums of two odd primes. For every real x≥e2000x\ge e^{2000}x≥e2000,

R(x)  ≥  x69 660.R(x) \;\ge\; \frac{x}{69\,660}.R(x)≥69660x​.

This follows from the first and second moments by Cauchy–Schwarz, with 69 660=92⋅86069\,660=9^2\cdot 86069660=92⋅860.

Formalization Note The count is over integers 0≤s≤⌊x⌋0\le s\le\lfloor x\rfloor0≤s≤⌊x⌋.

Preamble
import Mathlib
import Definitions.Def_Schnir_defs
Formal statement
namespace Schnir

theorem R_lower (x : ℝ) (hx : Real.exp 2000 ≤ x) :
    x / 69660 ≤ (((Finset.range (⌊x⌋₊ + 1)).filter (fun s => 0 < r s)).card : ℝ) := by sorry

end Schnir
Source
An explicit elementary constant for sums of primes (unpublished note, September 2026), eq. (15), §4

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me