Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Tao Theorem 5.1 with unit numerator: unoptimized modulus-two bound

Open
TaoFivePrimes.theorem51_unit_numerator_bound

by Yuxuan Xu · Sep 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

Let q≥4q\ge4q≥4, let aaa be an integer with ∣a∣=1|a|=1∣a∣=1 and (a,q)=1(a,q)=1(a,q)=1, and suppose 4α=a/q+β4\alpha=a/q+\beta4α=a/q+β with ∣β∣≤q−2|\beta|\le q^{-2}∣β∣≤q−2. Let 40≤U,V<x40\le U,V<x40≤U,V<x, UV≤x/4UV\le x/4UV≤x/4, UV2≥xUV^2\ge xUV2≥x, and UV<q−1UV<q-1UV<q−1. Then

∣Sη0,2(x,α)∣≤96π2x(x/q)2log⁡(4x)log⁡(4eqπ)+(0.1xq+0.39xx/q)log⁡(xUV)log⁡(VxU)+(0.55xU+0.78xV)log⁡(xU).\begin{aligned} |S_{\eta_0,2}(x,\alpha)|\le{}&\frac{96}{\pi^2}\frac{x}{(x/q)^2}\log(4x)\log\left(\frac{4eq}{\pi}\right)\\ &+\left(0.1\frac{x}{\sqrt q}+0.39\frac{x}{\sqrt{x/q}}\right)\log\left(\frac{x}{UV}\right)\log\left(\frac{Vx}{U}\right)\\ &+\left(0.55\frac{x}{\sqrt U}+0.78\frac{x}{\sqrt V}\right)\log\left(\frac{x}{U}\right). \end{aligned}∣Sη0​,2​(x,α)∣≤​π296​(x/q)2x​log(4x)log(π4eq​)+(0.1q​x​+0.39x/q​x​)log(UVx​)log(UVx​)+(0.55U​x​+0.78V​x​)log(Ux​).​

This is the unit-numerator alternative in Tao's Theorem 5.1, before choosing the Vaughan parameters. It is an analytic source estimate for modulus two; it does not contain a change-of-modulus assumption, a large-denominator restriction, or the later specialization U=x/V2U=x/V^2U=x/V2. The Type I and Type II estimates needed to prove it remain an open obligation.

Preamble
import Definitions.Def_TaoFivePrimes_SmoothedExpSum
import Definitions.Def_TaoFivePrimes_RepresentationCount
import Mathlib.Analysis.SpecialFunctions.Pow.Real
Formal statement
theorem TaoFivePrimes.theorem51_unit_numerator_bound
    (x alpha beta U V : ℝ) (a : ℤ) (q : ℕ)
    (hq : 4 ≤ q) (haq : Nat.Coprime a.natAbs q) (haunit : a.natAbs = 1)
    (halpha : 4 * alpha = (a : ℝ) / q + beta)
    (hbeta : |beta| ≤ 1 / (q : ℝ) ^ 2)
    (hU40 : 40 ≤ U) (hV40 : 40 ≤ V) (hUx : U < x) (hVx : V < x)
    (hUV : U * V ≤ x / 4) (hUV2 : x ≤ U * V ^ 2)
    (hUVq : U * V < (q : ℝ) - 1) :
    ‖TaoFivePrimes.smoothedExpSum TaoFivePrimes.eta0 2 x alpha‖ ≤
      (96 / Real.pi ^ 2) * (x / (x / q) ^ 2) *
          Real.log (4 * x) * Real.log (4 * Real.exp 1 * q / Real.pi) +
        (0.1 * (x / Real.sqrt q) + 0.39 * (x / Real.sqrt (x / q))) *
          Real.log (x / (U * V)) * Real.log (V * x / U) +
        (0.55 * (x / Real.sqrt U) + 0.78 * (x / Real.sqrt V)) *
          Real.log (x / U) := by sorry
Source
Terence Tao, Every odd number greater than 1 is the sum of at most five primes, arXiv:1201.6656v4, Theorem 5.1: equations (5.5) and (5.6), with (5.4) replaced by (5.7) under a=+/-1 and UV<q-1. https://arxiv.org/html/1201.6656v4#S5

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