Skip to content

Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.

Python

refactor(Lib/Adelic/QuotientMeasure/IwasawaUnfolding): delete two unused block-unfolding lemmas

sangxsh3571bb864944
diff --git a/src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean b/src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean
index 6d060a9214a..c0b50a26b26 100644
--- a/src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean
+++ b/src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean
@@ -142,26 +142,6 @@ private lemma New.identDistrib_tsum_block {Γ S : Subgroup G} [DiscreteTopology
refine ⟨fun hy ↦ ?_, fun hy ↦ (hC γ y hy).2 s.property⟩
simpa [γ] using (hC γ⁻¹ _ hy).2 (S.inv_mem s.property)
-/-- Unfolding of a sum of nonnegative terms over the translates of a block. Let `i` map `Λ`
-isomorphically onto the discrete subgroup `Γ`, let `γ` carry a point of `C` into `C` exactly when
-`i γ` lies in `S ≤ Γ`, and let `D` be the union of the translates of `C`. For measurable `g y` with
-`g (γ • y) (i γ * x) = g y x`, the integral of `∑_D g y` over `Γ \ G` (that is, against
-`Γ.quotMeasure μ`) is the integral of `∑_C g y` over `S \ G`. -/
-lemma New.lintegral_tsum_block (hi : Function.Injective i) {Γ S : Subgroup G}
- [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {C D : Set Y}
- (hS : S ≤ Γ) (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ i γ ∈ S)
- (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C)
- {g : Y → G → ℝ≥0∞} (hg_meas : ∀ y : Y, Measurable (g y))
- (hg_inv : ∀ (γ : Λ) (y : Y) (x : G), g (γ • y) (i γ * x) = g y x) :
- ∫⁻ x : G, ∑' y : D, g y x ∂Γ.quotMeasure μ = ∫⁻ x : G, ∑' y : C, g y x ∂S.quotMeasure μ := by
- subst Γ
- obtain ⟨action, hC, hD, hg⟩ := exists_range_action_on_block hi hC hD hg_inv
- let := action
- obtain ⟨h_left, h_right⟩ := identDistrib_tsum_block (μ := μ) (k := g) hS hC hD
- (fun T ↦ Measurable.tsum fun y : T ↦ hg_meas y) hg
- exact h_left.lintegral_eq.symm.trans ((Subgroup.lintegral_tsum_block hS hC hD hg_meas hg).trans
- h_right.lintegral_eq)
-
/-- Unfolding of a sum over the translates of a block. The group `Λ` acts on `Y` and `i` maps it
isomorphically onto the discrete subgroup `Γ` of `G`; the terms are measurable and satisfy
`k (γ • y) (i γ * x) = k y x`. The block `C ⊆ Y` is such that `γ` carries a point of `C` into `C`
@@ -210,21 +190,6 @@ lemma New.integral_tsum_eq_integral_tsum_block (hi : Function.Injective i) {Γ S
∫ x : G, ∑' y : D, k y x ∂Γ.quotMeasure μ = ∫ x : G, ∑' y : C, k y x ∂S.quotMeasure μ :=
(integral_tsum_block hi hΓ hS hC hD hk_meas hk (Or.inr h_fin)).2.1
-/-- Unfolding of a sum of integrals over the translates of a block. Let `i` map `Λ` isomorphically
-onto the discrete subgroup `Γ`, let `γ` carry a point of `C` into `C` exactly when `i γ` lies in
-`S ≤ Γ`, and let `D` be the union of the translates of `C`. Let the `k y` be measurable with
-`k (γ • y) (i γ * x) = k y x`. If `∑_C ‖k y‖` has finite integral over `S \ G`, then the sum over
-`D` of the integrals of `k y` against the measure of `Γ \ G` is the integral of `∑_C k y` over
-`S \ G`. -/
-lemma New.tsum_integral_eq_integral_tsum_block (hi : Function.Injective i) {Γ S : Subgroup G}
- [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {C D : Set Y}
- (hS : S ≤ Γ) (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ i γ ∈ S)
- (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C) {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y))
- (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x)
- (h_fin : ∫⁻ x : G, ∑' y : C, ‖k y x‖ₑ ∂S.quotMeasure μ < ∞) :
- ∑' y : D, ∫ x : G, k y x ∂Γ.quotMeasure μ = ∫ x : G, ∑' y : C, k y x ∂S.quotMeasure μ :=
- (integral_tsum_block hi hΓ hS hC hD hk_meas hk (Or.inr h_fin)).2.2
-
omit [TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G] [SecondCountableTopology G]
[T2Space G] [MeasurableSpace G] [BorelSpace G] [Countable Y] in
/-- If `k (γ • y) (i γ * x) = k y x`, then the term `k y` is invariant on the left under the image