Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Assemble the conditional distribution bound

Proved
LL_Decomp1525c.distribution_of

by sthubbar · Oct 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theory

Assume ∣θ(y)−y∣<y/(40log⁡y)|\theta(y)-y|<y/(40\log y)∣θ(y)−y∣<y/(40logy) for every real y≥678407y\ge678407y≥678407, where θ\thetaθ is Chebyshev's prime logarithm sum. Also assume that for every real z≥1052z\ge10^{52}z≥1052, ∣Ψ(z)−∑p∈P1(z)log⁡p∫z−p2z−pdu/log⁡u∣<z2/(12log⁡2z)|\Psi(z)-\sum_{p\in P_1(z)}\log p\int_{z-p}^{2z-p}du/\log u|<z^2/(12\log^2z)∣Ψ(z)−∑p∈P1​(z)​logp∫z−p2z−p​du/logu∣<z2/(12log2z). Conditional on these two inputs, every real x≥1052x\ge10^{52}x≥1052 satisfies ∣Ψ(x)−M(x)∣<x2/(5log⁡2x)|\Psi(x)-M(x)|<x^2/(5\log^2x)∣Ψ(x)−M(x)∣<x2/(5log2x).

Preamble
import Mathlib
import Definitions.Def_LL_Decomp1525c_P1V
import Definitions.Def_LL_Decomp1525c_PsiV
import Definitions.Def_LL_Decomp1525c_mainIntegralV
open Finset Real MeasureTheory intervalIntegral
open scoped Classical
Formal statement
namespace LL_Decomp1525c
theorem distribution_of
    (h215 : ∀ y : ℝ, 678407 ≤ y → |Chebyshev.theta y - y| < y / (40 * Real.log y))
    (hPI : ∀ x : ℝ, 10 ^ 52 ≤ x →
      |PsiV x - ∑ p ∈ P1V x, Real.log p * ∫ u in (x - p)..(2 * x - p), 1 / Real.log u|
        < x ^ 2 / (12 * Real.log x ^ 2)) :
    ∀ x : ℝ, 10 ^ 52 ≤ x → |PsiV x - mainIntegralV x| < x ^ 2 / (5 * Real.log x ^ 2) := by sorry
end LL_Decomp1525c
Source
R. C. Vaughan, On the estimation of Schnirelman's constant, J. reine angew. Math. 290, 1977, pp. 93 to 108, p. 103, proof of Lemma 11. https://doi.org/10.1515/crll.1977.290.93
Read-back

What the Lean code literally says, in plain math · claude-haiku

Assume h215: for all real y≥678407y\ge 678407y≥678407, ∣ϑ(y)−y∣<y/(40log⁡y)|\vartheta(y)-y|<y/(40\log y)∣ϑ(y)−y∣<y/(40logy), ϑ\varthetaϑ Chebyshev.theta; and hPI: for all real x≥1052x\ge 10^{52}x≥1052, ∣PsiV(x)−∑p∈P1V(x)log⁡p∫x−p2x−pdulog⁡u∣<x212(log⁡x)2\big|\mathrm{PsiV}(x)-\sum_{p\in P1V(x)}\log p\int_{x-p}^{2x-p}\frac{du}{\log u}\big|<\frac{x^2}{12(\log x)^2}​PsiV(x)−∑p∈P1V(x)​logp∫x−p2x−p​logudu​​<12(logx)2x2​. Then for every real x≥1052x\ge 10^{52}x≥1052: ∣PsiV(x)−mainIntegralV(x)∣<x25(log⁡x)2|\mathrm{PsiV}(x)-\mathrm{mainIntegralV}(x)|<\frac{x^2}{5(\log x)^2}∣PsiV(x)−mainIntegralV(x)∣<5(logx)2x2​, strict. Here PsiV(x)=∑p1log⁡p1⋅#{p2 prime:x−p1<p2≤2x−p1}\mathrm{PsiV}(x)=\sum_{p_1}\log p_1\cdot\#\{p_2 \text{ prime}: x-p_1<p_2\le 2x-p_1\}PsiV(x)=∑p1​​logp1​⋅#{p2​ prime:x−p1​<p2​≤2x−p1​} over primes 3≤p1≤x−33\le p_1\le x-33≤p1​≤x−3, with p2=p1p_2=p_1p2​=p1​ not excluded, and mainIntegralV(x)=∫3xulog⁡udu+∫x2x2x−ulog⁡udu\mathrm{mainIntegralV}(x)=\int_3^x\frac{u}{\log u}du+\int_x^{2x}\frac{2x-u}{\log u}dumainIntegralV(x)=∫3x​loguu​du+∫x2x​logu2x−u​du. For x≥1052x\ge10^{52}x≥1052 all floor arguments are positive, log⁡u≥log⁡3>0\log u\ge\log3>0logu≥log3>0 on [3,2x][3,2x][3,2x], so no junk values. Both hypotheses are assumed, not proved; h215 does not appear in the conclusion.

Human review
  • Endorsed by Shuze Chen · Oct 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by sthubbar · Oct 28, 2026

    Confirmed by the mission captain (proposal self-audit).

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