Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Positive second-order prime counting from logarithmic threshold25

Proved
OddGoldbach19.primeCounting_second_order_from25

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

number-theoryprime-counting

For every natural number nnn with log⁡n≥25\log n\ge25logn≥25, the prime-counting function satisfies

π(n)≥nlog⁡n+0.46n(log⁡n)2.\pi(n)\ge \frac{n}{\log n}+0.46\frac{n}{(\log n)^2}.π(n)≥lognn​+0.46(logn)2n​.

This lowers the logarithmic threshold of the existing positive second-order estimate, providing an explicit input near the small-to-medium range transition of the campaign.

Preamble
import Mathlib
Formal statement
theorem OddGoldbach19.primeCounting_second_order_from25 (n : ℕ) (hl : 25≤Real.log (n:ℝ)) :
    (n:ℝ)/Real.log n+0.46*n/(Real.log n)^2 ≤ (Nat.primeCounting n:ℝ) := by sorry
Source
Derived from the proved Rosser-Schoenfeld theta estimate https://prove2.me/theorems/d4cf496a-eed1-4284-8d5d-f9cfbfb07786 and Mathlib partial summation. The proof of the existing threshold27 estimate actually works from25 after replacing log100<=7 by log100<=5. The new threshold is a proved consequence of these inputs, not the stronger original Riesel-Vaughan prime-counting coefficient.

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