Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Soundness of compact finite theta interval certificates

Definition
dusart_theta_mesh_compact_soundness

by abcdefg · Oct 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

explicit-boundsfinite-certificatesnumber-theory

For natural endpoints and scaled carries a,b,u,va,b,u,va,b,u,v, a universal numerical interval certificate implies the following Chebyshev theta bound:

106θ(a)≤u ⟹ (106θ(b)≤v  and  ∀x∈[a,b), θ(x)≤x+100000+x/10000).10^6\theta(a)\le u\ \Longrightarrow\ \bigl(10^6\theta(b)\le v\ \text{ and }\ \forall x\in[a,b),\ \theta(x)\le x+100000+x/10000\bigr).106θ(a)≤u ⟹ (106θ(b)≤v  and  ∀x∈[a,b), θ(x)≤x+100000+x/10000).

This module also gives the concrete first interval from 100000000 to 102097152 with carries 99989691935170 and 102087562006788. It provides the interpretation used to turn verified numerical certificates into the finite upper estimate.

Definition code
import Definitions.Def_dusart_theta_mesh_soundness
import Theorems.Thm_dusart_theta_mesh_generic_group000
set_option maxHeartbeats 0
namespace DusartProvedBridge
theorem first_group : DusartMeshUpper.Literal.Spec 100000000 102097152 99989691935170 102087562006788 :=
 DusartNumericBridge.generic_to_theta dusart_theta_mesh_generic_group000
theorem interpret {a b u v : Nat} (h : DusartNumeric.GenericSpec a b u v) : DusartMeshUpper.Literal.Spec a b u v :=
 DusartNumericBridge.generic_to_theta h
end DusartProvedBridge
Source
Pierre Dusart, Explicit estimates of some functions over primes, Ramanujan J.45 (2018),227-251, Theorem 4.2, pp.234-237; DOI 10.1007/s11139-016-9839-4. Finite-certificate soundness formalization.

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