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: use Tau Ceti for the complex matrix Haar pushforward

√24708cc29ff5d
diff --git a/src/Lib/DiscreteSeries/Bessel/UnipotentHaarMeasure.lean b/src/Lib/DiscreteSeries/Bessel/UnipotentHaarMeasure.lean
index 361ad7cefd2..af91e8bcc1b 100644
--- a/src/Lib/DiscreteSeries/Bessel/UnipotentHaarMeasure.lean
+++ b/src/Lib/DiscreteSeries/Bessel/UnipotentHaarMeasure.lean
@@ -1,5 +1,6 @@
module
+import TauCeti.MeasureTheory.Measure.Lebesgue.EqHaar
import TauCeti.Analysis.Matrix.L2OpNorm
import Mathlib.Algebra.Order.Star.Int
import Mathlib.Algebra.Order.Star.Real
@@ -244,7 +245,7 @@ theorem exists_measurePreserving_freeEntries {S : Subgroup 𝔰.G₁}
(linMatrix *ᵥ q.1, q.2 + fun a ↦ (gCol a (eStar a) ⬝ᵥ q.1).im)
have h_linPart : MeasurePreserving linPart :=
.skew_product (f := linMatrix.mulVec)
- ⟨by fun_prop, by simp [Fock.map_mulVec_addHaar_eq_smul, h_det]⟩
+ ⟨by fun_prop, by simp [TauCeti.map_mulVec_addHaar_eq_smul, h_det]⟩
(g := fun v w ↦ w + fun a ↦ (gCol a (eStar a) ⬝ᵥ v).im) (by fun_prop)
(.of_forall fun v ↦ map_add_right_eq_self _ _)
-- This instance is not found by search.
diff --git a/src/Lib/DiscreteSeries/Bruhat/ComplexPlace.lean b/src/Lib/DiscreteSeries/Bruhat/ComplexPlace.lean
index c3a15cf157d..20fe99c7023 100644
--- a/src/Lib/DiscreteSeries/Bruhat/ComplexPlace.lean
+++ b/src/Lib/DiscreteSeries/Bruhat/ComplexPlace.lean
@@ -1,5 +1,6 @@
module
+import TauCeti.MeasureTheory.Measure.Lebesgue.EqHaar
import Mathlib.Algebra.Order.Archimedean.Real.Hom
import Mathlib.Analysis.LocallyConvex.AbsConvexOpen
public import Mathlib.Analysis.SpecialFunctions.Gaussian.FourierTransform -- shake: keep (needed public by an exposed definition)
@@ -88,7 +89,7 @@ instance complexPlace : Place ℂ := by
(star_skewUnit := by norm_num [neg_div]) (measurePreserving_split := ⟨by fun_prop, ?split⟩)
(modulus_star_and_neg := by norm_num)
(map_mulVec_volume := by norm_num +contextual
- [Fock.map_mulVec_addHaar_eq_smul, ENNReal.inv_pow])
+ [TauCeti.map_mulVec_addHaar_eq_smul, ENNReal.inv_pow])
(ae_isUnit := by simpa using ae_ne volume 0)
(exists_locallyIntegrable_bound := ⟨(‖·‖⁻¹), ?int, by norm_num [ENNReal.inv_pow]⟩)
(norm_psi := by norm_num)
diff --git a/src/Lib/General/Analysis/GaussianIntegral.lean b/src/Lib/General/Analysis/GaussianIntegral.lean
index 8e0dfc4e284..9acbac8cb8e 100644
--- a/src/Lib/General/Analysis/GaussianIntegral.lean
+++ b/src/Lib/General/Analysis/GaussianIntegral.lean
@@ -3,7 +3,6 @@ module
import TauCeti.Analysis.Matrix.Accretive
import TauCeti.Analysis.SpecialFunctions.Gaussian.Accretive
import TauCeti.Analysis.Matrix.L2OpNorm
-import TauCeti.MeasureTheory.Measure.Lebesgue.EqHaar
public import Mathlib.Analysis.CStarAlgebra.Matrix
import Mathlib.Algebra.Algebra.Field
import Mathlib.Algebra.Module.StablyFree.Basic
@@ -36,8 +35,6 @@ integral against Lebesgue measure gives the normalised formula by rescaling.
(`Matrix.IsAccretive.det_ne_zero`).
* `New.Fock.normalizedVolume`: Lebesgue measure divided by `π ^ card ι`, so that `exp (-|x|²)` has
integral `1`.
-* `New.Fock.map_mulVec_addHaar_eq_smul`: the pushforward under an invertible complex matrix
- `u`, whose real Jacobian is `‖det u‖ ^ 2`.
* `New.Fock.integral_gauss`: if `A` is accretive, the integral of `exp (-x* A (x - a))` is
`(det A)⁻¹`.
@@ -96,13 +93,6 @@ noncomputable def normalizedVolume (ι : Type*) [Fintype ι] : Measure (ι →
instance : (normalizedVolume ι).IsAddHaarMeasure := .nnreal_smul _ (by simp [pi_ne_zero])
-/-- The image of an additive Haar measure `μ` on `ι → ℂ` under an invertible complex matrix `u` is
-`|det u|⁻² μ`. -/
-lemma map_mulVec_addHaar_eq_smul [DecidableEq ι]
- {μ : Measure (ι → ℂ)} [μ.IsAddHaarMeasure] {u : Matrix ι ι ℂ} (hu : det u ≠ 0) :
- μ.map (fun x : ι → ℂ ↦ u *ᵥ x) = (ENNReal.ofReal (‖u.det‖ ^ 2))⁻¹ • μ :=
- TauCeti.map_mulVec_addHaar_eq_smul hu
-
lemma star_dotProduct_self_eq_sum : star x ⬝ᵥ x = (∑ i : ι, ‖x i‖ ^ 2 : ℝ) := by
simp [dotProduct, conj_mul']
diff --git a/src/Lib/Weil/Fock/Basic.lean b/src/Lib/Weil/Fock/Basic.lean
index 50830885e1f..50cffd756cb 100644
--- a/src/Lib/Weil/Fock/Basic.lean
+++ b/src/Lib/Weil/Fock/Basic.lean
@@ -1,5 +1,6 @@
module
+import TauCeti.MeasureTheory.Measure.Lebesgue.EqHaar
import TauCeti.Analysis.SpecialFunctions.Gaussian.Reproducing
public import Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic
public import Mathlib.Analysis.LocallyConvex.AbsConvexOpen
@@ -526,7 +527,8 @@ conjugate of the determinant of the negative block of `g`, and its cocycle is tr
def realAction (ε : ι → ℤˣ) :
(realHeisenberg ε).MultiplierAction (normalizedVolume ι) realVac (USign ε) where
beta_smul := by simp [↓form_mulVec_mulVec, realHeisenberg]
- measurePreserving g := ⟨by fun_prop, by simp [map_mulVec_addHaar_eq_smul g.val.det_ne_zero]⟩
+ measurePreserving g :=
+ ⟨by fun_prop, by simp [TauCeti.map_mulVec_addHaar_eq_smul g.val.det_ne_zero]⟩
Δ := realMultiplier
continuous_delta := by fun_prop [realMultiplier]
Δ_one := by simp [realMultiplier]