Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Preservation of the fixed-point zeta evaluator invariant

Proved
ArbEcon.step_sound

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

arda-rh65k-transfernumber-theoryriemann-zeta

Let ccc be a valid evaluator configuration at real height ttt and order KKK, let nnn be a nonnegative integer, and let sss be an evaluator state. Write Inv⁡(c,t,n,s)\operatorname{Inv}(c,t,n,s)Inv(c,t,n,s) for the stated invariant: the state index is nnn, n≥1n\ge1n≥1, its stored interval encloses 2Plog⁡n2^P\log n2Plogn, and its signed real and imaginary balls enclose 2P∑j=1nj−1/2−it2^P\sum_{j=1}^{n}j^{-1/2-it}2P∑j=1n​j−1/2−it, where PPP is the configuration precision. If step⁡(c,s)\operatorname{step}(c,s)step(c,s) is the evaluator’s next state, then

Inv⁡(c,t,n,s)⟹Inv⁡(c,t,n+1,step⁡(c,s)).\operatorname{Inv}(c,t,n,s)\Longrightarrow \operatorname{Inv}(c,t,n+1,\operatorname{step}(c,s)).Inv(c,t,n,s)⟹Inv(c,t,n+1,step(c,s)).

This is the soundness step for the finite zeta-series evaluator.

Preamble
import Definitions.Def_ArdaRH65K_Probes_ArbEconomics_Sound
import Definitions.Def_ArdaRS_Arithmetic
import Mathlib.Analysis.Complex.Exponential
import Mathlib.Analysis.Real.Pi.Bounds
import Mathlib.Analysis.SpecialFunctions.Log.Deriv
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds
import Mathlib.Tactic.IntervalCases
import Theorems.Thm_ArbEcon_cpow_term
import Theorems.Thm_ArbEcon_logInc_bound
import Theorems.Thm_ArbEcon_sqrt_bracket
import Theorems.Thm_ArbEcon_tmul_sound
import Theorems.Thm_ArbEcon_trig_sound
/-  Probes/ArbEconomics_Sound.lean -- soundness of the Nat-only zeta evaluator (ArbEconomics_Eval).

    Every function of `ArbEconomics_Eval` is shown to produce a TRUE enclosure:
      * `logInc`   : `S <= (log m - log (m-1)) 2^P <= S + K + T`
                     (Mathlib `Real.hasSum_pow_div_log_of_abs_lt_one`, `abs_log_sub_add_sum_range_le`);
      * `termOf`   : `Rlo <= 2^P / sqrt m <= Rhi` for ANY Newton iterate (two-sided validation);
      * `trig`     : cos/sin balls of `theta` from the (pi/2)-reduction, the Horner scheme
                     (Mathlib `Complex.exp_bound`) and the quadrant rotation;
      * `step`/`run` : the loop invariant `Inv` (log bracket + Re/Im balls of the partial zeta sum).

    The main theorem `run_sound` turns a kernel-checked chunk equation
    `St.beq (run cfg L s) s' = true` into `Inv n s -> Inv (n + L) s'`.

    conjecture1_proved = False.  Finite interval arithmetic; nothing here is about RH.
-/










open Real Finset

section
namespace ArbEcon
end ArbEcon
open ArbEcon

/-! ## A. floor division / shifts, cast to ℝ -/











/-! The evaluator calls the kernel primitives directly; these `rfl` lemmas translate them back to
    notation for the proofs. -/










/-! ## B. the log increment -/











/-! ## C. the square-root bracket -/



/-! ## D. the theta interval -/



/-! ## E. Horner: real recursion, closed form, fixed-point error -/


















/-! ## F. Taylor remainders for cos / sin through `Complex.exp_bound` -/





/-! ## G. cos / sin of theta: reduction, Taylor core, rotation -/


























/-! ## H. the zeta term, the term product, one step, the run -/















Formal statement
theorem ArbEcon.step_sound (c : Cfg) (t : ℝ) (K : ℕ) (hv : Valid c t K) (n : ℕ) (s : St)
    (hI : Inv c t n s) : Inv c t (n + 1) (step c s) := by sorry
Source
https://github.com/DrMurphyIsIn/Arda/blob/af4fde8972eb6d4e78c7d9a95933b18b81adf52d/telperion/examples/zeta_reflection/lean/Probes/ArbEconomics_Sound.lean#L979-L1085

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