Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Soundness of a sharp sample-sign certificate

Proved
RS5.sampleOK_prime_sign

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

arda-rh65k-transfernumber-theoryriemann-zeta

Let sss be a sample with real height tst_sts​ and stored Boolean sign bsb_sbs​, and suppose the sharp Boolean sample checker accepts it. For g(t)=Re⁡Λ(1/2+it)g(t)=\operatorname{Re}\Lambda(1/2+it)g(t)=ReΛ(1/2+it), where Λ\LambdaΛ is completed zeta,

bs=true⟹g(ts)>0,bs=false⟹g(ts)<0.b_s=\mathrm{true}\Longrightarrow g(t_s)>0,\qquad b_s=\mathrm{false}\Longrightarrow g(t_s)<0.bs​=true⟹g(ts​)>0,bs​=false⟹g(ts​)<0.

This converts one accepted sharp arithmetic sample into a strict analytic sign.

Preamble
import Definitions.Def_ArdaRH65K_DlvpTheta
import Definitions.Def_ArdaRH65K_Probes_ArbEconomics_Sound
import Definitions.Def_ArdaRH65K_RS4_Sound
import Definitions.Def_ArdaRH65K_RS5_Sound
import Definitions.Def_ArdaRH65K_RS5_Z
import Definitions.Def_ArdaRH65K_RSTheta
import Definitions.Def_ArdaRH65K_RS_B2
import Definitions.Def_ArdaRH65K_RS_B3
import Definitions.Def_ArdaRH65K_RS_B3Sharp
import Definitions.Def_ArdaRH65K_RS_C0
import Definitions.Def_ArdaRH65K_RS_Entire
import Definitions.Def_ArdaRH65K_RS_Fold
import Definitions.Def_ArdaRH65K_RS_Kernel
import Definitions.Def_ArdaRH65K_RS_Mellin
import Definitions.Def_ArdaRH65K_RS_Strip
import Definitions.Def_ArdaRH65K_ThetaConverge
import Definitions.Def_ArdaRH65K_ThetaValue
import Definitions.Def_ArdaRH65K_XiLineZeros
import Definitions.Def_ArdaRS_Arithmetic
import Definitions.Def_ArdaRS_Band
import Definitions.Def_ArdaRS_BandSharp
import Definitions.Def_ArdaRS_Config64
import Definitions.Def_ArdaRS_Dyadic
import Definitions.Def_ArdaRS_DyadicOps
import Definitions.Def_ArdaRS_Evaluator
import Mathlib
import Mathlib.Algebra.Ring.GeomSum
import Mathlib.Analysis.Analytic.Uniqueness
import Mathlib.Analysis.Calculus.Deriv.MeanValue
import Mathlib.Analysis.Complex.Exponential
import Mathlib.Analysis.Complex.ExponentialBounds
import Mathlib.Analysis.PSeries
import Mathlib.Analysis.Real.Pi.Bounds
import Mathlib.Analysis.SpecialFunctions.Complex.Arg
import Mathlib.Analysis.SpecialFunctions.Gamma.Beta
import Mathlib.Analysis.SpecialFunctions.Gamma.Deligne
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.SpecialFunctions.Integrals.Basic
import Mathlib.Analysis.SpecialFunctions.Log.Deriv
import Mathlib.Analysis.SpecialFunctions.Pow.Deriv
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.Analysis.SpecialFunctions.Trigonometric.ArctanDeriv
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds
import Mathlib.MeasureTheory.Function.Floor
import Mathlib.MeasureTheory.Integral.IntegralEqImproper
import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts
import Mathlib.NumberTheory.LSeries.RiemannZeta
import Mathlib.NumberTheory.ZetaValues
import Mathlib.Tactic
import Mathlib.Tactic.IntervalCases
import Theorems.Thm_ArbEcon_OrderK_valid64
import Theorems.Thm_RS5_check5_sound
import Theorems.Thm_RS5_tpow_le_margin
import Theorems.Thm_RSInt_rs_Z_of_remainder
import Theorems.Thm_RSInt_rs_remainder_C0_alpha_prime
namespace ArbEcon
end ArbEcon
namespace DIntvProd
end DIntvProd
namespace DIntvProd.DIntv
end DIntvProd.DIntv
namespace RS4
end RS4
namespace RS4.Cert
end RS4.Cert
namespace RSInt
end RSInt
/-  RS5_ZSharp.lean -- lane B5, RSC0 Phase 3: the t >= 509 checker `RS5.check5` glued to the SHARPENED
    bound `RSInt.rs_Z_C0'` (remainder (3/5) t^(-3/4), t >= 4250; RS_BridgeSharp), and certified signs of
    one dyadic sample under `RS5.sampleOK'`.  Variants BESIDE `RS5_Z` (imported read-only).

    ## Headlines (no `sorry`, no `native_decide`, no new axioms)

      * `rs5_Z_enclosure'` : `Valid c t K`, `check5 c z = true`, `4250 <= t` give the enclosure of
        `Re completedRiemannZeta(1/2+it) / M` by the box widened by `(3/5) t^(-3/4)`;
      * `rs5_Z_enclosure_E'` : the same with the rational margin `(3/5) E / 2^P` (`MarginOK`);
      * `posOK'_real` / `negOK'_real` : the integer tests `PosOK'` / `NegOK'` cast to reals;
      * `rs5_sign_pos'` / `rs5_sign_neg'` and `sampleOK'_sign` : a sample accepted by `sampleOK'` has the
        claimed sign of `gLine` at `s.t`.

    conjecture1_proved = False.  Finite-height sign certification; nothing about RH.
-/




open Complex
open scoped Real

section
namespace RS5
end RS5
open RS5

open ArbEcon
open RS4 (Cert Zmain)

noncomputable section















Formal statement

theorem RS5.sampleOK_prime_sign {s : Sample} (h : sampleOK' s = true) :
    (s.pos = true → 0 < XiLineZeros.gLine s.t) ∧ (s.pos = false → XiLineZeros.gLine s.t < 0) := by sorry
Source
https://github.com/DrMurphyIsIn/Arda/blob/af4fde8972eb6d4e78c7d9a95933b18b81adf52d/telperion/examples/zeta_reflection/lean/RS5_ZSharp.lean#L115-L129

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