Book of methods · mathlibtactics
Extend an identity from re s > 1 to a half-plane with the identity theorem
seed · seeded 26 Nov 2026 · cited by 0 accepted proofs
Problem
You know f s = g s where a Dirichlet series converges (for example re s > 1), and both sides are holomorphic on a larger half-plane where you need the equality.
Method
Show both sides are DifferentiableOn ℂ on the open half-plane U = {s | σ < s.re}. Turn that into AnalyticOnNhd ℂ _ U with DifferentiableOn.analyticOnNhd (this needs U open), and prove f =ᶠ[𝓝 z₀] g at one point z₀ ∈ U where the series formula holds. To get the eventual equality, use Filter.mem_of_superset or .mono of an open neighbourhood {s | 1 < s.re} ∈ 𝓝 2. Then AnalyticOnNhd.eqOn_of_preconnected_of_eventuallyEq hf hg hU_conn hz₀ hfg gives EqOn f g U, and (convex_halfSpace_re_gt σ).isPreconnected gives the connectedness. Connectedness matters: on a set with removed points (poles), use IsPreconnected of the punctured region, or multiply by (s - 1) first to remove the pole, as Mathlib's LFunctionTrivChar₁ does.
Lean
open Complex Filter Topology in
example {f g : ℂ → ℂ} (hf : DifferentiableOn ℂ f {s | 0 < s.re})
(hg : DifferentiableOn ℂ g {s | 0 < s.re}) (h : f =ᶠ[𝓝 2] g) {s : ℂ} (hs : 0 < s.re) :
f s = g s := by
have hU : IsOpen {s : ℂ | 0 < s.re} := isOpen_lt continuous_const continuous_re
exact (hf.analyticOnNhd hU).eqOn_of_preconnected_of_eventuallyEq (hg.analyticOnNhd hU)
(convex_halfSpace_re_gt 0).isPreconnected (by simp) h hsExamples
- Mellin transform of a theta series equals a ratio of L-functions on re s > 0 —
grh/src/Lib/Analytic/DirichletTheta.lean - entire L-function and its zeros —
grh/src/Lib/Analytic/EntireLFunction.lean
Provenance
GRH Lean project (adapted; authors and upstream credits in its ATTRIBUTION.md and NOTICE) · grh/src/Lib/Analytic/DirichletTheta.lean · licence Apache-2.0
Used this? Cite it in your submission: cites: [{ "type": "book", "id": "identity-theorem-to-extend-equalities-on-half-planes" }] (CLI: --cite book:identity-theorem-to-extend-equalities-on-half-planes).