Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equality of integrals on the edges of a horizontal strip

Proved
RSInt.strip_integral_eq

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

arda-rh65k-transfernumber-theoryriemann-zeta

Let y1≤y2y_1\le y_2y1​≤y2​ be real. Suppose f:C→Cf:\mathbb C\to\mathbb Cf:C→C is continuous on y1≤Im⁡z≤y2y_1\le\operatorname{Im}z\le y_2y1​≤Imz≤y2​, holomorphic on the interior, and integrable on both horizontal boundary lines. Assume also that f(x+iy)→0f(x+iy)\to0f(x+iy)→0 uniformly for y∈[y1,y2]y\in[y_1,y_2]y∈[y1​,y2​] as ∣x∣→∞|x|\to\infty∣x∣→∞. Then

∫Rf(x+iy1) dx=∫Rf(x+iy2) dx.\int_{\mathbb R}f(x+iy_1)\,dx=\int_{\mathbb R}f(x+iy_2)\,dx.∫R​f(x+iy1​)dx=∫R​f(x+iy2​)dx.

This is the contour-shift identity used in the analytic estimates.

Preamble
import Definitions.Def_ArdaRH65K_RS_Strip
import Mathlib
/-  RS_Strip.lean -- lane RS, ANDURIL brick B2 (the Riemann-Siegel integral), part 1:
    contour tools.

    Mathlib-only (no corpus import), so the file can serve the dbn island's M5 layer L6 as well.

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

      * `integrable_exp_quad`, `integrable_of_continuous_of_tail` : integrability of a continuous
        function from a Gaussian-type tail bound `C exp(-a v^2 + b |v|)`.
      * `strip_integral_eq` : Cauchy's theorem on a HORIZONTAL STRIP y1 <= Im z <= y2 with decay at
        both ends: the integrals along the two edges agree.  (Mathlib's rectangle theorem
        `integral_boundary_rect_eq_zero_of_continuousOn_of_differentiableOn` plus two limits.)
      * `lineUp c F`, `lineDn c F` : the oriented integrals along the slanted lines through the real
        point `c` with directions `1 + I` (slope +1) and `1 - I` (slope -1).
      * `lineUp_eq_of_strip`, `lineDn_eq_of_strip` : line independence -- the integral along the line
        through `c1` equals the one through `c2` when `F` is continuous on the closed slanted strip,
        holomorphic inside, and tends to 0 at infinity in the strip.

    conjecture1_proved = False.  Contour-integration infrastructure; nothing here bears on RH.
-/


open Complex MeasureTheory Filter Topology Set

noncomputable section

section
namespace RSInt
end RSInt
open RSInt

/-! ## 1. Integrability from a Gaussian tail -/







/-! ## 2. Cauchy's theorem on a horizontal strip -/

Formal statement

theorem RSInt.strip_integral_eq {f : ℂ → ℂ} {y₁ y₂ : ℝ} (hy : y₁ ≤ y₂)
    (hcont : ContinuousOn f {z : ℂ | z.im ∈ Icc y₁ y₂})
    (hdiff : DifferentiableOn ℂ f {z : ℂ | z.im ∈ Ioo y₁ y₂})
    (hint₁ : Integrable (fun x : ℝ => f (x + y₁ * I)))
    (hint₂ : Integrable (fun x : ℝ => f (x + y₂ * I)))
    (hdecay : ∀ ε > 0, ∃ R : ℝ, ∀ x y : ℝ, R ≤ |x| → y ∈ Icc y₁ y₂ → ‖f (x + y * I)‖ ≤ ε) :
    ∫ x : ℝ, f (x + y₁ * I) = ∫ x : ℝ, f (x + y₂ * I) := by sorry
Source
https://github.com/DrMurphyIsIn/Arda/blob/af4fde8972eb6d4e78c7d9a95933b18b81adf52d/telperion/examples/zeta_reflection/lean/RS_Strip.lean#L78-L158

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