Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Refined Goldbach prime-pair bound on arbitrary intervals

Proved
OddGoldbach19.interval_goldbach_refined_five

by Yuxuan Xu · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

goldbachlarge-sievenumber-theory

Let s>0s>0s>0 be even, a,La,La,L natural numbers, L≥25600L\ge25600L≥25600, and log⁡L≥100\log L\ge100logL≥100. Put CCC for the factor-two twin-prime constant and K(s)=∏p∣s, p>2(p−1)/(p−2)K(s)=\prod_{p\mid s,\ p>2}(p-1)/(p-2)K(s)=∏p∣s, p>2​(p−1)/(p−2). Then

#{p∈(a,a+L]:p<s, p and s−p prime}≤8CK(s)Llog⁡L(log⁡L+5.6)+2L5+2.\#\{p\in(a,a+L]:p<s,\ p\text{ and }s-p\text{ prime}\}\le\frac{8CK(s)L}{\log L(\log L+5.6)}+\frac{2\sqrt L}{\sqrt5}+2.#{p∈(a,a+L]:p<s, p and s−p prime}≤logL(logL+5.6)8CK(s)L​+5​2L​​+2.

This strengthens the logarithmic denominator in the interval input used by the odd-Goldbach campaign counting argument.

Preamble
import Mathlib
import Definitions.Def_TaoFivePrimes_SingularSeries
open scoped BigOperators
Formal statement
theorem OddGoldbach19.interval_goldbach_refined_five (s a L : ℕ) (hs : Even s)
    (hs0 : 0 < s) (hL : 25600 ≤ L) (hl : 100 ≤ Real.log (L : ℝ)) :
    (((Finset.Ioc a (a+L)).filter (fun p => p.Prime ∧ p < s ∧ (s-p).Prime)).card : ℝ) ≤
      8*TaoFivePrimes.twinPrimeConstant*
        (∏ p ∈ s.primeFactors, if 2<p then ((p:ℝ)-1)/((p:ℝ)-2) else 1)*(L:ℝ)/
        (Real.log (L:ℝ)*(Real.log (L:ℝ)+5.6))+2*Real.sqrt (L:ℝ)/Real.sqrt 5+2 := by sorry
Source
Adapted from public Apache2.0 accepted Prove2Me proof993546cc-ae39-4daa-a8a3-2781b3db2d70, with newly proved coefficient-five interval sieve and explicit reciprocal denominator bounds. It does not assume the sharper unformalized Riesel-Vaughan numerical sieve constants.

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me