Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.Order.Star.Int |
| 4 | import Mathlib.Algebra.Order.Star.Real |
| 5 | import Mathlib.Algebra.Ring.IsFormallyReal |
| 6 | import Mathlib.LinearAlgebra.Matrix.FiniteDimensional |
| 7 | import Mathlib.Topology.Algebra.Group.Matrix |
| 8 | import TauCeti.Topology.Algebra.Group.Units |
| 9 | import TauCeti.Topology.Instances.Matrix |
| 10 | public import Lib.DiscreteSeries.Character.WeylCharacterFormula |
| 11 | public import Lib.DiscreteSeries.FlenstedJensen.FlagDensities |
| 12 | public import Lib.General.Analysis.GaussianIntegral |
| 13 | import Lib.DiscreteSeries.FlenstedJensen.CasimirEigenfunction |
| 14 | import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes |
| 15 | import Lib.DiscreteSeries.Haar.GramPolar |
| 16 | import Lib.DiscreteSeries.Haar.TotalMass |
| 17 | import Lib.General.LinearAlgebra.PolarDecomposition |
| 18 | import Lib.General.Measure.IdempotentKernel |
| 19 | import Lib.General.Algebra.IntegerPowerProducts |
| 20 | |
| 21 | /-! |
| 22 | # Orbital integrals of discrete series coefficients and Weyl characters of U(n) |
| 23 | |
| 24 | This file begins the computation of the orbital integrals of the discrete series coefficient |
| 25 | `New.HCParam.dsCoeff l` of `G = U(diag ε)` over the compact torus. Here `l = 2λ` is the parameter, |
| 26 | and `ε` is implicit in its type. If `l` has a gap then, at a point `x` of the torus with |
| 27 | `diag ε * x` accretive (`A` accretive: `A + Aᴴ` positive definite), the orbital integral is, up to a |
| 28 | constant of modulus one, a multiple of Weyl's character of `U(n)` of highest weight `λ - ρ`, minus |
| 29 | an error given by an integral over the unitary matrices outside the open orbit `G B`. Here `B` is |
| 30 | the group of invertible matrices that are upper triangular for `l`, that is, `b i j = 0` whenever |
| 31 | `l j < l i`; they are lower triangular when the coordinates are listed with `λ` decreasing. If `o` |
| 32 | reverses the order of `l`, the error is small at `diag(t ^ o i)` for small `t = 2⁻¹ ^ s`, so a |
| 33 | Laurent polynomial that is a multiple of it has no monomial of low level. |
| 34 | |
| 35 | ## Main definitions and results |
| 36 | |
| 37 | * `New.le_norm_weightMinors_twoPowDiagConj`: for unitary `u`, if `f` decreases along `l` by steps of |
| 38 | at least `|m|` and `h ≤ |l i - l j|`, a lower bound for `New.weightMinors l` at `u* diag(2^f) u` |
| 39 | by its value at `diag(2^f)` and the entry `u i j`. |
| 40 | * `New.Orbital.orbital_eq_char_sub_offOrbitIntegral`: the formula for the orbital integral described |
| 41 | above, with the error `New.Orbital.offOrbitIntegral`. |
| 42 | * `New.Orbital.coeff_eq_zero_of_low_level`: if `l` has a gap and `o` reverses its order, a Laurent |
| 43 | polynomial that is a multiple of this error has no monomial of low level, by the bound |
| 44 | `New.Orbital.exists_norm_offOrbitIntegral_le`. |
| 45 | |
| 46 | Notions from other files: |
| 47 | * `New.HCParam.HasGap`: `l = 2λ` has distinct entries of the parity of `card n - 1`, and those of |
| 48 | `λ` with different signs `ε` differ by at least `h`. |
| 49 | * `New.paramAddRho`: The integer vector `λ + ρ`, for ρ the half sum of the roots positive for `l`. |
| 50 | * `New.HCParam.dsCoeff`: The function c_λ on complex matrices given by Flensted-Jensen's integral |
| 51 | `New.HCParam.flenstedJensen`; on K = U(diag ε) ∩ U(n) it is m_Λ with Λ = λ + ρ − 2ρ_c. |
| 52 | * `New.diagTorus`: For a tuple t of complex numbers of modulus one, the diagonal matrix diag(t) as |
| 53 | an element of U(diag ε); `New.diagTorusK x` is diag(x) as an element of `maxCompactU 1`, which is |
| 54 | U(n). |
| 55 | * `New.Orbital.torusEval`: For a tuple x of unit complex numbers, the algebra homomorphism from |
| 56 | Laurent polynomials to ℂ sending the monomial of exponent ν to ∏ x_a^{ν_a}. |
| 57 | |
| 58 | ## Relation to the literature |
| 59 | |
| 60 | This is part of the known computation of the discrete series character on the compact Cartan |
| 61 | subgroup by orbital integrals, see `Lib.DiscreteSeries.Character.FormalDegree`. |
| 62 | -/ |
| 63 | |
| 64 | @[expose] public section |
| 65 | |
| 66 | /-! |
| 67 | ## Principal minors of conjugated diagonal matrices |
| 68 | |
| 69 | Conventions: `New.weightMinors l g` is the product over `t ∈ ℤ` of the principal minors |
| 70 | `New.principalMinor` of `g` on `{i | t ≤ l i}`, those with `t ≤ 0` divided by `det g`. |
| 71 | -/ |
| 72 | |
| 73 | section SectorBound |
| 74 | |
| 75 | open Matrix Finset Complex ComplexOrder |
| 76 | |
| 77 | namespace New |
| 78 | |
| 79 | variable {n : Type _} [Fintype n] [DecidableEq n] (u : GL n ℂ) (f : n → ℤ) |
| 80 | |
| 81 | /-- The matrix `u* diag(2^f) u`. For unitary `u` it is a positive definite matrix with eigenvalues |
| 82 | `2 ^ (f i)`. -/ |
| 83 | @[simp] |
| 84 | noncomputable abbrev twoPowDiagConj : Matrix n n ℂ := |
| 85 | (u : Matrix n n ℂ)ᴴ * diagonal (fun k : n ↦ (2 : ℂ) ^ f k) * u |
| 86 | |
| 87 | /-- For every invertible `u`, the matrix `u* diag(2^f) u` is positive semidefinite. -/ |
| 88 | lemma posSemidef_twoPowDiagConj : (twoPowDiagConj u f).PosSemidef := by |
| 89 | simp only [twoPowDiagConj, posSemidef_diagonal_iff, Nat.ofNat_nonneg, zpow_nonneg, |
| 90 | implies_true, PosSemidef.conjTranspose_mul_mul_same] |
| 91 | |
| 92 | /-- The norms of the principal minors of `u* diag(2^f) u` increase with the exponents `f`. -/ |
| 93 | lemma norm_principalMinor_twoPowDiagConj_mono {f g : n → ℤ} (hfg : f ≤ g) (p : n → Prop) |
| 94 | [DecidablePred p] : |
| 95 | ‖principalMinor (twoPowDiagConj u f) p‖ ≤ ‖principalMinor (twoPowDiagConj u g) p‖ := by |
| 96 | have h_diff : (twoPowDiagConj u g - twoPowDiagConj u f).PosSemidef := by |
| 97 | simp only [twoPowDiagConj, ← sub_mul, ← mul_sub, diagonal_sub, posSemidef_diagonal_iff, |
| 98 | sub_nonneg, Nat.one_lt_ofNat, zpow_le_zpow_iff_right₀, hfg _, implies_true, |
| 99 | PosSemidef.conjTranspose_mul_mul_same] |
| 100 | exact norm_det_le_norm_det_of_posSemidef ((posSemidef_twoPowDiagConj u f).submatrix _) |
| 101 | (h_diff.submatrix _) |
| 102 | |
| 103 | /-- For unitary `u`, the determinant of `u* diag(2^f) u` is that of `diag(2^f)`. -/ |
| 104 | lemma det_twoPowDiagConj (hu : uᴴ = u.val⁻¹) : |
| 105 | (twoPowDiagConj u f).det = (twoPowDiagConj 1 f).det := by |
| 106 | simp only [twoPowDiagConj, hu, Units.isUnit, det_conj', det_diagonal, Units.val_one, |
| 107 | conjTranspose_one, one_mul, mul_one] |
| 108 | |
| 109 | /-- For unitary `u`, the inverse of `u* diag(2^f) u` is `u* diag(2^(-f)) u`. -/ |
| 110 | lemma inv_twoPowDiagConj (hu : uᴴ = u.val⁻¹) : |
| 111 | (twoPowDiagConj u f)⁻¹ = twoPowDiagConj u (-f) := |
| 112 | inv_eq_left_inv (by simp only [twoPowDiagConj, hu, Pi.neg_apply, _root_.zpow_neg, |
| 113 | mul_assoc, mul_inv_cancel_left_of_invertible, ← mul_assoc (diagonal _), |
| 114 | diagonal_mul_diagonal, ne_eq, OfNat.ofNat_ne_zero, not_false_eq_true, zpow_ne_zero, |
| 115 | inv_mul_cancel₀, diagonal_one, one_mul, inv_mul_of_invertible]) |
| 116 | |
| 117 | lemma det_twoPowDiagConj_ne_zero : (twoPowDiagConj u f).det ≠ 0 := by |
| 118 | simp only [twoPowDiagConj, det_mul, det_conjTranspose, star_def, det_diagonal, ne_eq, |
| 119 | mul_eq_zero, map_eq_zero, GeneralLinearGroup.det_ne_zero, prod_eq_zero_iff, mem_univ, |
| 120 | OfNat.ofNat_ne_zero, not_false_eq_true, zpow_ne_zero, and_false, exists_false, or_self] |
| 121 | |
| 122 | /-- The `(i, i)` entry of `u* diag(2^(-f)) u` is the sum of `‖u k i‖² * 2 ^ (-f k)` over `k`, which |
| 123 | for unitary `u` is the `(i, i)` entry of the inverse of `u* diag(2^f) u`. -/ |
| 124 | private lemma principalMinor_single_twoPowDiagConj_neg (u : GL n ℂ) (f : n → ℤ) (i : n) : |
| 125 | principalMinor (twoPowDiagConj u (-f)) (· = i) = |
| 126 | ((∑ k : n, ‖u k i‖ ^ 2 * 2 ^ (-f k) : ℝ) : ℂ) := by |
| 127 | simp only [principalMinor, toSquareBlockProp, twoPowDiagConj, diagonal, Pi.neg_apply, |
| 128 | _root_.zpow_neg, det_unique, default, toBlock_apply, Matrix.mul_apply, conjTranspose_apply, |
| 129 | star_def, of_apply, mul_ite, mul_zero, sum_ite_eq', mem_univ, ↓reduceIte, mul_right_comm, |
| 130 | ofReal_sum, ofReal_mul, ofReal_pow, ← conj_mul', ofReal_inv, ofReal_zpow, ofReal_ofNat] |
| 131 | |
| 132 | /-- Let `f k + |m| ≤ f c` whenever `l c < l k`, let `f c ≤ f k` whenever `l k < t`, where |
| 133 | `l c < t`, and let `h ≤ |l i - l j|` with `l j ≤ l i`. For each `k`, exactly one of the three |
| 134 | conditions `t ≤ l k`, `l i - h < t ≤ l i` with `k = j`, and the rest of `l k < t` holds, and |
| 135 | the factor it selects is `2 ^ (f k ⊓ f c)`, so the product of the quotients is `1`. -/ |
| 136 | private lemma prod_ite_mul_ite_mul_ite_div_eq_one {h : ℕ} {l : n → ℤ} {i j c : n} {m t : ℤ} |
| 137 | (hf : ∀ k : n, l c < l k → f k + |m| ≤ f c) (hct : l c < t) |
| 138 | (hmin : ∀ k : n, l k < t → f c ≤ f k) (h_gap : h ≤ |l i - l j|) (hij : l j ≤ l i) : |
| 139 | ∏ k : n, (if t ≤ l k then (2 : ℝ) ^ f k else 1) * |
| 140 | (if t ∈ Ioc (l i - h) (l i) ∧ k = j then 2 ^ f c else 1) * |
| 141 | (if l k < t ∧ ¬(t ∈ Ioc (l i - h) (l i) ∧ k = j) then 2 ^ f c else 1) / |
| 142 | 2 ^ (f ⊓ fun _ : n ↦ f c) k = 1 := by |
| 143 | have h_lt : (h : ℤ) ≤ l i - l j := by rwa [← abs_of_nonneg (sub_nonneg.2 hij)] |
| 144 | refine prod_eq_one fun k _ ↦ ?_ |
| 145 | have h2 : (2 : ℝ) ≠ 0 := two_ne_zero |
| 146 | by_cases htl : t ≤ l k |
| 147 | · have hqk : ¬(t ∈ Ioc (l i - h) (l i) ∧ k = j) := fun ⟨ht, hk⟩ ↦ |
| 148 | ((le_sub_comm.1 h_lt).trans_lt (mem_Ioc.1 ht).1).not_ge (hk ▸ htl) |
| 149 | have hle : f k ≤ f c := |
| 150 | le_of_add_le_of_nonneg_left (hf k (hct.trans_le htl)) (abs_nonneg m) |
| 151 | rw [ite_eq_left htl, ite_eq_right hqk, ite_eq_right (fun hp ↦ hp.1.not_ge htl), |
| 152 | mul_one, mul_one, Pi.inf_apply, inf_of_le_left hle, |
| 153 | div_self (zpow_ne_zero _ h2)] |
| 154 | · have hlt : l k < t := not_le.1 htl |
| 155 | have hfc : f c ≤ f k := hmin k hlt |
| 156 | by_cases hqk : t ∈ Ioc (l i - h) (l i) ∧ k = j |
| 157 | · rw [ite_eq_right htl, ite_eq_left hqk, ite_eq_right (fun hp ↦ hp.2 hqk), |
| 158 | one_mul, mul_one, Pi.inf_apply, inf_of_le_right hfc, |
| 159 | div_self (zpow_ne_zero _ h2)] |
| 160 | · rw [ite_eq_right htl, ite_eq_right hqk, ite_eq_left ⟨hlt, hqk⟩, |
| 161 | one_mul, one_mul, Pi.inf_apply, inf_of_le_right hfc, |
| 162 | div_self (zpow_ne_zero _ h2)] |
| 163 | |
| 164 | /-- Let `u` be unitary, let `f k + |m| ≤ f c` whenever `l c < l k`, let `f c ≤ f k` whenever |
| 165 | `l k < t`, where `l c < t`, and let `h ≤ |l i - l j|` with `l j ≤ l i`. Then the minor of |
| 166 | `diag(2^f)` on `{k | t ≤ l k}`, the factor `2 ^ f c` at `j` when `l i - h < t ≤ l i`, and the |
| 167 | minor of `u* diag(2^(f c)) u` on the rest of `{k | l k < t}` multiply to the determinant of |
| 168 | `diag(2^(f ⊓ f c))`. -/ |
| 169 | private lemma norm_principalMinor_mul_div_det_eq_one {h : ℕ} {l : n → ℤ} |
| 170 | {i j c : n} {m t : ℤ} (hu : uᴴ = u.val⁻¹) |
| 171 | (hf : ∀ k : n, l c < l k → f k + |m| ≤ f c) |
| 172 | (hct : l c < t) (hmin : ∀ k : n, l k < t → f c ≤ f k) (h_gap : h ≤ |l i - l j|) |
| 173 | (hij : l j ≤ l i) : |
| 174 | ‖principalMinor (twoPowDiagConj 1 f) (t ≤ l ·)‖ * |
| 175 | (∏ k : n, if t ∈ Ioc (l i - h) (l i) ∧ k = j then (2 : ℝ) ^ f c else 1) * |
| 176 | ‖principalMinor (twoPowDiagConj u fun _ ↦ f c) |
| 177 | (fun k ↦ l k < t ∧ ¬(t ∈ Ioc (l i - h) (l i) ∧ k = j))‖ / |
| 178 | ‖(twoPowDiagConj 1 (f ⊓ fun _ : n ↦ f c)).det‖ = 1 := by |
| 179 | calc _ = ∏ k : n, (if t ≤ l k then (2 : ℝ) ^ f k else 1) * |
| 180 | (if t ∈ Ioc (l i - h) (l i) ∧ k = j then 2 ^ f c else 1) * |
| 181 | (if l k < t ∧ ¬(t ∈ Ioc (l i - h) (l i) ∧ k = j) then 2 ^ f c else 1) / |
| 182 | 2 ^ (f ⊓ fun _ : n ↦ f c) k := by |
| 183 | simp only [twoPowDiagConj, Units.val_one, ← diagonal_one, diagonal_conjTranspose, |
| 184 | diagonal_mul_diagonal, Pi.star_apply, star_one, one_mul, ← smul_eq_mul_diagonal, |
| 185 | one_smul, principalMinor_eq_det, diagonal_sub, ite_mul, zero_mul, sub_ite, |
| 186 | sub_sub_cancel, sub_zero, det_diagonal, norm_prod, apply_ite norm, norm_zpow, |
| 187 | norm_ofNat, norm_one, ← prod_mul_distrib, mul_ite, mul_one, hu, |
| 188 | Algebra.smul_mul_assoc, inv_mul_of_invertible, ← diagonal_smul, Pi.smul_apply, |
| 189 | smul_eq_mul, mul_zero, Pi.inf_apply, div_eq_inv_mul, ← prod_inv_distrib, |
| 190 | ← mul_assoc] |
| 191 | _ = 1 := prod_ite_mul_ite_mul_ite_div_eq_one f hf hct hmin h_gap hij |
| 192 | |
| 193 | /-- Let `u` be unitary, let `f a + |m| ≤ f c` whenever `l c < l a`, let `h ≤ |l i - l j|` and |
| 194 | `l j ≤ l i`, and let `t` exceed some value of `l`. The minor of `u* diag(2^f) u` on `{k | t ≤ l k}` |
| 195 | is at least that of `diag(2^f)`, times `|u i j|² 2^m` if this set separates `i` from `j` with |
| 196 | `l i - h < t ≤ l i`. -/ |
| 197 | lemma norm_principalMinor_mul_gain_le (h : ℕ) (u : GL n ℂ) (l f : n → ℤ) (i j : n) (m : ℤ) {t : ℤ} |
| 198 | (hu : uᴴ = u.val⁻¹) (hf : ∀ a c : n, l c < l a → f a + |m| ≤ f c) |
| 199 | (h_gap : h ≤ |l i - l j|) (hij : l j ≤ l i) (ht : ∃ a : n, l a < t) : |
| 200 | (‖principalMinor (twoPowDiagConj 1 f) (t ≤ l ·)‖ * |
| 201 | if t ∈ Ioc (l i - h) (l i) then ‖u i j‖ ^ 2 * 2 ^ m else 1) ≤ |
| 202 | ‖principalMinor (twoPowDiagConj u f) (t ≤ l ·)‖ := by |
| 203 | -- truncate `f` at its least value `f c` outside the minor; inside it `f ≤ f c - |m|` |
| 204 | obtain ⟨c, hc⟩ := exists_min_image ({k | l k < t} : Finset n) f |
| 205 | (ht.imp (by simp only [mem_filter, mem_univ, true_and, imp_self, implies_true])) |
| 206 | have inside (k : n) : l c < l k → f k + |m| ≤ f c := hf k c |
| 207 | let g : n → ℤ := f ⊓ fun _ : n ↦ f c |
| 208 | -- `q` is `{j}` if `l i - h < t ≤ l i` and empty otherwise; `p` is the rest outside the minor |
| 209 | let q (k : n) : Prop := t ∈ Ioc (l i - h) (l i) ∧ k = j |
| 210 | let p (k : n) : Prop := l k < t ∧ ¬q k |
| 211 | have gain : (if t ∈ Ioc (l i - h) (l i) then ‖u i j‖ ^ 2 * 2 ^ m else 1) ≤ |
| 212 | (∏ k : n, if q k then (2 : ℝ) ^ f c else 1) * |
| 213 | ‖principalMinor (twoPowDiagConj u g)⁻¹ q‖ := by |
| 214 | grw [inv_twoPowDiagConj u g hu, ← re_le_norm] |
| 215 | split_ifs with hsep |
| 216 | · -- the `(j, j)` entry of the inverse is at least its term `‖u i j‖ ^ 2 * 2 ^ (-g i)`, |
| 217 | -- and `m ≤ f c - g i` because `i` lies inside the minor |
| 218 | have h_entry := principalMinor_single_twoPowDiagConj_neg u g j |
| 219 | have h_inside : f i + |m| ≤ f c := |
| 220 | inside i ((mem_filter.1 hc.1).2.trans_le (mem_Ioc.1 hsep).2) |
| 221 | have h_exp : m ≤ f c + -g i := by |
| 222 | calc m ≤ |m| := le_abs_self m |
| 223 | _ ≤ f c - f i := le_sub_iff_add_le'.2 h_inside |
| 224 | _ ≤ f c - g i := sub_le_sub_left inf_le_left _ |
| 225 | _ = f c + -g i := sub_eq_add_neg _ _ |
| 226 | simp only [q, hsep, true_and, Fintype.prod_ite_eq', h_entry, ofReal_re] |
| 227 | grw [← single_le_sum (fun _ _ ↦ by positivity) (mem_univ i), mul_left_comm, |
| 228 | ← zpow_add₀ two_ne_zero, ← zpow_le_zpow_right₀ one_le_two h_exp] |
| 229 | · simp only [q, hsep, false_and, ite_false, prod_const_one, one_mul] |
| 230 | simp only [principalMinor, twoPowDiagConj, Pi.neg_apply, _root_.zpow_neg, |
| 231 | coe_det_isEmpty, Function.const_apply, one_re, Std.le_refl] |
| 232 | -- Jacobi: the minor of the inverse on `q` is the minor on the complement over the determinant. |
| 233 | -- Fischer: split the complement into `p` and `{k | t ≤ l k}`. Then use `g ≤ f c` and `g ≤ f`. |
| 234 | have jacobi : ‖principalMinor (twoPowDiagConj u g)⁻¹ q‖ ≤ |
| 235 | ‖principalMinor (twoPowDiagConj u fun _ ↦ f c) p‖ * |
| 236 | ‖principalMinor (twoPowDiagConj u f) (t ≤ l ·)‖ / ‖(twoPowDiagConj 1 g).det‖ := by |
| 237 | grw [jacobi_complementary_minor (det_twoPowDiagConj_ne_zero u g), norm_div, |
| 238 | fischer_inequality (posSemidef_twoPowDiagConj u g) p (t ≤ l ·) |
| 239 | (fun k hk hle ↦ hk.1.not_ge hle) |
| 240 | (fun k ↦ ⟨fun hnq ↦ (lt_or_ge (l k) t).imp (fun hlt ↦ ⟨hlt, hnq⟩) id, |
| 241 | fun hk hq ↦ hk.elim (·.2 hq) fun hle ↦ by |
| 242 | have h_lt : (h : ℤ) ≤ l i - l j := by rwa [← abs_of_nonneg (sub_nonneg.2 hij)] |
| 243 | exact ((le_sub_comm.1 h_lt).trans_lt (mem_Ioc.1 hq.1).1).not_ge (hq.2 ▸ hle)⟩), |
| 244 | norm_principalMinor_twoPowDiagConj_mono u (f := g) (g := fun _ ↦ f c) inf_le_right p, |
| 245 | norm_principalMinor_twoPowDiagConj_mono u (f := g) (g := f) inf_le_left (t ≤ l ·), |
| 246 | det_twoPowDiagConj u g hu] |
| 247 | -- `u` is unitary, so the remaining factors are products of powers of `2`; they cancel index by |
| 248 | -- index, as `g` is `f` inside the minor and `f c` outside |
| 249 | have cancel : ‖principalMinor (twoPowDiagConj 1 f) (t ≤ l ·)‖ * |
| 250 | (∏ k : n, if q k then (2 : ℝ) ^ f c else 1) * |
| 251 | ‖principalMinor (twoPowDiagConj u fun _ ↦ f c) p‖ / ‖(twoPowDiagConj 1 g).det‖ = 1 := |
| 252 | norm_principalMinor_mul_div_det_eq_one u f hu inside (mem_filter.1 hc.1).2 |
| 253 | (fun k hk ↦ hc.2 k (mem_filter.2 ⟨mem_univ k, hk⟩)) h_gap hij |
| 254 | grw [gain, jacobi] |
| 255 | linear_combination ‖principalMinor (twoPowDiagConj u f) (t ≤ l ·)‖ * cancel |
| 256 | |
| 257 | /-- Let `u` be unitary, let `f a + |m| ≤ f c` whenever `l c < l a`, and let the natural number `h` |
| 258 | be at most `|l i - l j|`. Then `|m_l(D)| (|u i j|² 2^m) ^ h ≤ |m_l(u* D u)|`, where `D = diag(2^f)` |
| 259 | and `m_l = New.weightMinors l` is the product of principal minors of weight `l`. -/ |
| 260 | lemma le_norm_weightMinors_twoPowDiagConj (h : ℕ) (u : GL n ℂ) (l f : n → ℤ) (i j : n) (m : ℤ) |
| 261 | (hu : uᴴ = u.val⁻¹) (hf : ∀ a c : n, l c < l a → f a + |m| ≤ f c) (h_gap : h ≤ |l i - l j|) : |
| 262 | ‖weightMinors l (twoPowDiagConj 1 f)‖ * (‖u i j‖ ^ 2 * 2 ^ m) ^ h ≤ |
| 263 | ‖weightMinors l (twoPowDiagConj u f)‖ := by |
| 264 | -- `weightMinors l` is a power of the determinant times the minors on `{k | t ≤ l k}`. Each minor |
| 265 | -- of `twoPowDiagConj u f` is at least that of `twoPowDiagConj 1 f`; for `l j ≤ l i`, the `h` |
| 266 | -- minors with `l i - h < t ≤ l i` contain `i` but not `j`, and gain the factor |
| 267 | -- `‖u i j‖ ^ 2 * 2 ^ m`. |
| 268 | -- passing to inverses replaces `l`, `f` by `-l`, `-f` (`weightMinors_neg`) |
| 269 | wlog hij : l j ≤ l i generalizing l f with h_case |
| 270 | · have h_neg (v : GL n ℂ) (hv : vᴴ = v.val⁻¹) : |
| 271 | weightMinors (-l) (twoPowDiagConj v (-f)) = weightMinors l (twoPowDiagConj v f) := by |
| 272 | rw [weightMinors_neg (det_twoPowDiagConj_ne_zero v _), inv_twoPowDiagConj v _ hv, neg_neg] |
| 273 | rw [← h_neg u hu, ← h_neg 1 (by simp only [Units.val_one, conjTranspose_one, inv_one])] |
| 274 | exact h_case (-l) (-f) |
| 275 | (fun a c hac ↦ by have := hf c a (neg_lt_neg_iff.1 hac); simp only [Pi.neg_apply]; lia) |
| 276 | (by simpa only [Pi.neg_apply, neg_sub_neg, abs_sub_comm] using h_gap) |
| 277 | (neg_le_neg (not_le.1 hij).le) |
| 278 | -- all values of `l` lie in `[l a, b]` |
| 279 | obtain ⟨a, ha⟩ := exists_min_image univ l ⟨i, mem_univ i⟩ |
| 280 | obtain ⟨b, hb⟩ := Finite.exists_le l |
| 281 | have card_eq : h = #(Ioc (l a) b ∩ Ioc (l i - h) (l i)) := by |
| 282 | have h_lt : (h : ℤ) ≤ l i - l j := by rwa [← abs_of_nonneg (sub_nonneg.2 hij)] |
| 283 | rw [Ioc_inter_Ioc, sup_eq_right.2 ((ha.2 j (mem_univ j)).trans (le_sub_comm.1 h_lt)), |
| 284 | inf_eq_right.2 (hb i), Int.card_Ioc, sub_sub_cancel, Int.toNat_natCast] |
| 285 | have expand (v : GL n ℂ) (hv : vᴴ = v.val⁻¹) : |
| 286 | ‖weightMinors l (twoPowDiagConj v f)‖ = ‖(twoPowDiagConj 1 f).det ^ l a‖ * |
| 287 | ∏ t ∈ Ioc (l a) b, ‖principalMinor (twoPowDiagConj v f) (t ≤ l ·)‖ := by |
| 288 | simp (disch := simp only [twoPowDiagConj, det_twoPowDiagConj v f hv, Units.val_one, |
| 289 | conjTranspose_one, one_mul, mul_one, det_diagonal, ne_eq, prod_eq_zero_iff, mem_univ, |
| 290 | OfNat.ofNat_ne_zero, not_false_eq_true, zpow_ne_zero, and_false, exists_false, |
| 291 | ha, hb, and_self, implies_true]) |
| 292 | only [weightMinors_eq_det_zpow_mul_prod _ (l a) b, det_twoPowDiagConj v f hv, |
| 293 | norm_mul, norm_prod] |
| 294 | -- expand both sides; the powers of the determinant agree, so compare the minors for each `t` |
| 295 | rw [expand u hu, expand 1 (by simp only [Units.val_one, conjTranspose_one, inv_one]), |
| 296 | card_eq, ← prod_const, ← prod_ite_mem, mul_assoc, |
| 297 | ← prod_mul_distrib] |
| 298 | gcongr with t ht |
| 299 | exact norm_principalMinor_mul_gain_le h u l f i j m hu hf h_gap hij ⟨a, (mem_Ioc.1 ht).1⟩ |
| 300 | |
| 301 | end New |
| 302 | |
| 303 | end SectorBound |
| 304 | |
| 305 | /-! |
| 306 | ## The orbital integral as a Weyl character minus an off-orbit error |
| 307 | |
| 308 | The level of an exponent `γ` for `o : n → ℤ` is `o ⬝ᵥ γ`. |
| 309 | -/ |
| 310 | |
| 311 | section OrbitalOpenOrbit |
| 312 | |
| 313 | namespace New.Orbital |
| 314 | |
| 315 | open Matrix MeasureTheory Finset Complex DiscreteSeries ComplexOrder Norms.L2Operator Filter |
| 316 | AddMonoidAlgebra |
| 317 | |
| 318 | variable {n : Type} [Fintype n] [DecidableEq n] {ε : n → ℤˣ} {l : HCParam (n := n) ε} {h : ℕ} |
| 319 | |
| 320 | /-- For `l = 2λ` and `J = diag ε`, the integral of `m_{-(λ-ρ)}(kᴴ J k) / m_{-(λ+ρ)}(kᴴ A k)` over |
| 321 | the `k` in `U(n)` outside `New.openOrbit ε l` (the open orbit `G B`), for the Haar |
| 322 | measure of mass one, where `m` is `New.weightMinors`. -/ |
| 323 | noncomputable def offOrbitIntegral (l : HCParam (n := n) ε) (A : Matrix n n ℂ) : ℂ := |
| 324 | ∫ k : USign (1 : n → ℤˣ) in {k : USign (1 : n → ℤˣ) | (k : Matrix n n ℂ) ∈ openOrbit ε l}ᶜ, |
| 325 | weightMinors (-l.compactForm.lowestKType) ((k : Matrix n n ℂ)ᴴ * signMatrix ε * k) / |
| 326 | weightMinors (-paramAddRho l) ((k : Matrix n n ℂ)ᴴ * A * k) |
| 327 | |
| 328 | omit [DecidableEq n] in |
| 329 | /-- For `l = 2λ` with a gap (see `HCParam.HasGap`), the weight |
| 330 | `-l.compactForm.lowestKType = -(λ - ρ)` is dominant for `U(n)` when the coordinates are listed with |
| 331 | `l` increasing: it is antitone along `l`, as `IsKDominant` asks with all signs `1`. -/ |
| 332 | lemma isKDominant_neg_compactForm_lowestKType (hg : l.HasGap h) : |
| 333 | IsKDominant 1 l (-l.compactForm.lowestKType) := by |
| 334 | simpa only [neg_neg, lowestKType_neg hg.signs_one] using hg.signs_one.neg.isKDominant_lowestKType |
| 335 | |
| 336 | /-- The orbital integral as an integral over `G = U(diag ε)`: let `l = 2λ` have gap `h` (distinct |
| 337 | entries congruent to `card n - 1` mod 2, with `|λ i - λ j| ≥ h` whenever `ε i ≠ ε j`), and let `x` |
| 338 | lie on the torus with `A = J x` accretive (`J = diag ε`). If the integrand |
| 339 | `m_{-(λ-ρ)}(gᴴ J g) / m_{-(λ+ρ)}(gᴴ A g)` is integrable, then `σ ∫_G c_λ(g⁻¹ x g) dg` equals its |
| 340 | integral over `G`. Here `ρ` is the half sum of roots positive for `l`, `m_w = weightMinors w` is the |
| 341 | product of principal minors of weight `w`, `c_λ = l.dsCoeff` is `g ↦ Ξ(a, a⁻¹g)` with `a` the |
| 342 | block-diagonal part of `g` and `Ξ` the normalised integral `flenstedJensen`, and |
| 343 | `σ = m_{-(λ-ρ) - Λ}(J)` with `Λ = l.lowestKType = λ + ρ - 2ρ_c`. -/ |
| 344 | lemma sign_mul_orbital_eq_integral_weightMinors_div (hg : l.HasGap h) (x : n → Circle) |
| 345 | (hA : (signMatrix ε * diagTorus ε x).IsAccretive) |
| 346 | (h_int : Integrable fun g : USign ε ↦ |
| 347 | weightMinors (-l.compactForm.lowestKType) ((g : Matrix n n ℂ)ᴴ * signMatrix ε * g) / |
| 348 | weightMinors (-paramAddRho l) ((g : Matrix n n ℂ)ᴴ * (signMatrix ε * diagTorus ε x) * g)) : |
| 349 | weightMinors (-l.compactForm.lowestKType - l.lowestKType) (signMatrix ε) * |
| 350 | ∫ g : USign ε, l.dsCoeff (g⁻¹ * diagTorus ε x * g :) = |
| 351 | ∫ g : USign ε, |
| 352 | weightMinors (-l.compactForm.lowestKType) ((g : Matrix n n ℂ)ᴴ * signMatrix ε * g) / |
| 353 | weightMinors (-paramAddRho l) |
| 354 | ((g : Matrix n n ℂ)ᴴ * (signMatrix ε * diagTorus ε x) * g) := by |
| 355 | -- Expand `dsCoeff` as an integral over `K` and absorb `k` into `g` by invariance. |
| 356 | let F (y : Matrix n n ℂ) : ℂ := |
| 357 | weightMinors (-l.compactForm.lowestKType) (yᴴ * signMatrix ε * y) / |
| 358 | weightMinors (-paramAddRho l) (yᴴ * (signMatrix ε * diagTorus ε x) * y) |
| 359 | let w (k : maxCompactU ε) : ℂ := |
| 360 | ofReal (‖weightMinors l.lowestKType k‖ ^ 2 / l.lowestKType.kTypeNormSq) |
| 361 | have expand (g : USign ε) : |
| 362 | weightMinors (-l.compactForm.lowestKType - l.lowestKType) (signMatrix ε) * |
| 363 | l.dsCoeff (g⁻¹ * diagTorus ε x * g :) = ∫ k, w k * F (g * k : USign ε) ∂haarK ε := by |
| 364 | have h_acc : ((signMatrix ε)⁻¹ * (g⁻¹ * diagTorus ε x * g :)).IsAccretive := by |
| 365 | simpa only [mul_assoc, Subgroup.coe_mul, InvMemClass.coe_inv, Units.val_mul, |
| 366 | coe_units_inv, U.inv_coe_eq_mul_conjTranspose_mul, isUnit_iff_ne_zero, ne_eq, |
| 367 | IsHermitianInvolution.det_ne_zero, not_false_eq_true, nonsing_inv_mul_cancel_left] |
| 368 | using |
| 369 | hA.conjTranspose_mul_mul (k := g) (GeneralLinearGroup.det_ne_zero _) |
| 370 | -- `dsCoeff` may be computed with any block diagonal `a` (here `J`) making `a⁻¹ * g` accretive |
| 371 | rw [dsCoeff_eq_flenstedJensen hg (mem_blockDiagAlg_iff_commute.2 rfl) h_acc, flenstedJensen, |
| 372 | ← integral_div, ← integral_const_mul] |
| 373 | congr with k |
| 374 | -- the numerator of `F (g * k)` is constant, as `(g * k)ᴴ J (g * k) = J` |
| 375 | simp only [w, F, show ((g * k : U (signMatrix ε)) : Matrix n n ℂ)ᴴ * signMatrix ε * |
| 376 | (g * k : U (signMatrix ε)) = signMatrix ε from mem_unitaryGroupOf_iff.1 (g * k).property] |
| 377 | push_cast |
| 378 | simp only [signMatrix, ne_eq, Int.cast_eq_zero, Units.ne_zero, not_false_eq_true, |
| 379 | implies_true, weightMinors_diagonal, Pi.sub_apply, Pi.neg_apply, zpow_sub₀, |
| 380 | _root_.zpow_neg, prod_div_distrib, prod_inv_distrib, GeneralLinearGroup.det_ne_zero, |
| 381 | weightMinors_diagonal_mul, mul_assoc, mul_conj', U.inv_coe_eq_mul_conjTranspose_mul, |
| 382 | det_diagonal, isUnit_iff_ne_zero, prod_eq_zero_iff, mem_univ, and_false, exists_false, |
| 383 | nonsing_inv_mul_cancel_left, conjTranspose_mul, fieldEq] |
| 384 | calc _ = ∫ g : USign ε, ∫ k, w k * F (g * k : USign ε) ∂haarK ε := by |
| 385 | simp_rw [← integral_const_mul, expand] |
| 386 | -- exchange the integrals; right translation by `k` preserves the measure of `G` |
| 387 | _ = ∫ k, ∫ g : USign ε, w k * F g ∂volume ∂haarK ε := |
| 388 | integral_integral_skew_product (T := fun (k : maxCompactU ε) (g : USign ε) ↦ g * k) |
| 389 | (f := fun z ↦ w z.1 * F z.2) (fun k ↦ map_mul_right_eq_self _ k.val) |
| 390 | ((integrable_of_compactSpace (f := w) (by |
| 391 | fun_prop (disch := simp only [GeneralLinearGroup.det_ne_zero, ne_eq, |
| 392 | not_false_eq_true, implies_true]))).mul_prod h_int) |
| 393 | -- `w` has integral one |
| 394 | _ = ∫ g : USign ε, F g := by |
| 395 | simp only [ofReal_div, integral_const_mul, integral_mul_const, integral_div, |
| 396 | integral_complex_ofReal, ne_eq, ofReal_eq_zero, (kTypeNormSq_pos _).ne', |
| 397 | not_false_eq_true, div_self, one_mul, w] |
| 398 | |
| 399 | /-- Schur orthogonality for the coefficient `m_Λ = weightMinors Λ` on `U(n)`, where `l` has gap `h` |
| 400 | and `Λ = l.compactForm.lowestKType = λ - ρ` (`l.compactForm` is `l` with all signs `1`; this is not |
| 401 | the `Λ` of `dsCoeff`): for invertible `a` the integral of `m_Λ(u⁻¹ a) m_Λ(u)` is `N m_Λ(a)`, with |
| 402 | `N = ∫ |m_Λ(u)|² du` the number `Λ.kTypeNormSq`. -/ |
| 403 | lemma integral_weightMinors_inv_mul_mul_weightMinors (hg : l.HasGap h) (a : Matrix n n ℂ) |
| 404 | (ha : a.det ≠ 0) : |
| 405 | ∫ u : maxCompactU (1 : n → ℤˣ), |
| 406 | weightMinors l.compactForm.lowestKType ((u : Matrix n n ℂ)⁻¹ * a) * |
| 407 | weightMinors l.compactForm.lowestKType (u : Matrix n n ℂ) ∂haarK 1 = |
| 408 | l.compactForm.lowestKType.kTypeNormSq * weightMinors l.compactForm.lowestKType a := by |
| 409 | have dom := isKDominant_neg_compactForm_lowestKType hg |
| 410 | -- the function `g ↦ m_{-Λ}(a⁻¹ g)` is holomorphic of weight `-Λ` |
| 411 | have h_hol : IsHolOfWeight 1 l (fun _ : Unit ↦ -l.compactForm.lowestKType) |
| 412 | (fun g : Unit → USign 1 ↦ ∏ τ, weightMinors (-l.compactForm.lowestKType) (a⁻¹ * g τ)) 1 := |
| 413 | isHolOfWeight_weightMinors hg.injective a⁻¹ (fun _ ↦ dom) |
| 414 | (by simpa only [det_nonsing_inv, Ring.inverse_eq_inv', ne_eq, inv_eq_zero]) |
| 415 | simpa only [kTypeNormSq, univ_unique, PUnit.default_eq_unit, det_mul, det_nonsing_inv, |
| 416 | Ring.inverse_eq_inv', ne_eq, mul_eq_zero, inv_eq_zero, ha, |
| 417 | GeneralLinearGroup.det_ne_zero, or_self, not_false_eq_true, weightMinors_neg, |
| 418 | Matrix.mul_inv_rev, isUnit_iff_ne_zero, nonsing_inv_nonsing_inv, prod_const, |
| 419 | card_singleton, pow_one, weightMinors_unitary_inv, RingHomCompTriple.comp_apply, |
| 420 | RingHom.id_apply, RCLike.norm_conj, Pi.one_apply, OneMemClass.coe_one, Units.val_one, |
| 421 | mul_one] using |
| 422 | h_hol.integral_mul_conj_weightMinors hg.injective dom h_hol.continuous |
| 423 | |
| 424 | /-- Let `l = 2λ` have gap `h` (distinct entries congruent to `card n - 1` mod 2, with |
| 425 | `|λ i - λ j| ≥ h` whenever `ε i ≠ ε j`), and let `x` be on the torus with `A = J x` accretive |
| 426 | (`J = diag ε`). Then the integral of `m_{-(λ-ρ)}(kᴴ J k) / m_{-(λ+ρ)}(kᴴ A k)` over `U(n)` (Haar |
| 427 | measure `haarK 1` of mass one) is `N · χ(x)`, where `χ` is the character of highest weight `λ - ρ` |
| 428 | and `N = ∫ |m_{λ-ρ}(k)|² dk` over `U(n)`. Here `m_w = weightMinors w` is the product over integers |
| 429 | `t` of the principal minor on `{i | t ≤ w i}`, each factor with `t ≤ 0` divided by the |
| 430 | determinant. -/ |
| 431 | lemma kTypeNormSq_mul_kTypeChar_eq_integral (hg : l.HasGap h) (x : n → Circle) |
| 432 | (hA : (signMatrix ε * diagTorus ε x).IsAccretive) : |
| 433 | l.compactForm.lowestKType.kTypeNormSq * l.compactForm.lowestKType.kTypeChar (diagTorusK x) = |
| 434 | ∫ k : maxCompactU (1 : n → ℤˣ), |
| 435 | weightMinors (-l.compactForm.lowestKType) ((k : Matrix n n ℂ)ᴴ * signMatrix ε * k) / |
| 436 | weightMinors (-paramAddRho l) ((k : Matrix n n ℂ)ᴴ * (signMatrix ε * diagTorus ε x) * k) |
| 437 | ∂haarK 1 := by |
| 438 | -- Write the minors in `kTypeChar` as Flensted-Jensen integrals `∫ Φ (y, k) dk / N`. |
| 439 | let K : Subgroup (USign (1 : n → ℤˣ)) := maxCompactU 1 |
| 440 | set Λ : HCParam (1 : n → ℤˣ) := l.compactForm.lowestKType |
| 441 | set A : Matrix n n ℂ := signMatrix ε * diagTorus ε x |
| 442 | let Φ (z : K × K) : ℂ := |
| 443 | weightMinors Λ (z.1⁻¹ * (signMatrix ε)⁻¹ * z.1 * z.2) * starRingEnd ℂ (weightMinors Λ z.2) / |
| 444 | weightMinors (-paramAddRho l) ((z.2 : Matrix n n ℂ)ᴴ * (z.1⁻¹ * A * z.1) * z.2) |
| 445 | have Φ_int : Integrable Φ ((haarK 1).prod (haarK 1)) := integrable_of_compactSpace <| by |
| 446 | fun_prop (disch := simp (disch := simp [*, GeneralLinearGroup.det_ne_zero]) [A, |
| 447 | maxCompactU.coe_inv, GeneralLinearGroup.det_ne_zero, IsHermitianInvolution.det_ne_zero]) |
| 448 | have expand (y : K) : |
| 449 | weightMinors Λ (y⁻¹ * diagTorusK x * y).val = (∫ k, Φ (y, k) ∂haarK 1) / Λ.kTypeNormSq := by |
| 450 | -- split `y⁻¹ x y = a * z` with `a = y⁻¹ J⁻¹ y` and `z = y⁻¹ A y` accretive |
| 451 | let a : Matrix n n ℂ := y⁻¹ * (signMatrix ε)⁻¹ * y |
| 452 | have split : a⁻¹ * ((y⁻¹ * diagTorusK x * y : K) : Matrix n n ℂ) = y⁻¹ * A * y := by |
| 453 | simp only [mul_assoc, InvMemClass.coe_inv, coe_units_inv, Matrix.mul_inv_rev, |
| 454 | isUnit_iff_ne_zero, ne_eq, IsHermitianInvolution.det_ne_zero, not_false_eq_true, |
| 455 | nonsing_inv_nonsing_inv, inv_inv_of_invertible, Subgroup.coe_mul, diagTorus, |
| 456 | Units.val_mul, IsUnit.unit_spec, mul_inv_cancel_left_of_invertible, a, A] |
| 457 | have h_acc : (a⁻¹ * ((y⁻¹ * diagTorusK x * y : K) : Matrix n n ℂ)).IsAccretive := by |
| 458 | rw [split] |
| 459 | simp only [InvMemClass.coe_inv, coe_units_inv, maxCompactU.coe_inv, hA, ne_eq, |
| 460 | GeneralLinearGroup.det_ne_zero, not_false_eq_true, IsAccretive.conjTranspose_mul_mul] |
| 461 | rw [← dsCoeff_of_mem_maxCompactU hg.signs_one (Subtype.prop _), |
| 462 | dsCoeff_eq_flenstedJensen hg.signs_one (by simp only [mem_blockDiagAlg_one]) h_acc, |
| 463 | split, flenstedJensen] |
| 464 | -- After the substitution `(y, k) = (v * u, u⁻¹)` the denominator no longer depends on `u`, |
| 465 | -- and the integral over `u` is a Schur orthogonality relation. |
| 466 | have inner (v : K) : ∫ u, Φ (v * u, u⁻¹) ∂haarK 1 = Λ.kTypeNormSq * |
| 467 | (weightMinors (-Λ) ((v : Matrix n n ℂ)ᴴ * signMatrix ε * v) / |
| 468 | weightMinors (-paramAddRho l) ((v : Matrix n n ℂ)ᴴ * A * v)) := by |
| 469 | let a : Matrix n n ℂ := (v : Matrix n n ℂ)⁻¹ * (signMatrix ε)⁻¹ * v |
| 470 | have h_Φ (u : K) : Φ (v * u, u⁻¹) = weightMinors Λ ((u : Matrix n n ℂ)⁻¹ * a) * |
| 471 | weightMinors Λ u / weightMinors (-paramAddRho l) ((v : Matrix n n ℂ)ᴴ * A * v) := by |
| 472 | simp only [InvMemClass.coe_inv, coe_units_inv, mul_assoc, ↓← maxCompactU.coe_inv, |
| 473 | Subgroup.coe_mul, Units.val_mul, Matrix.mul_inv_rev, isUnit_iff_ne_zero, ne_eq, |
| 474 | GeneralLinearGroup.det_ne_zero, not_false_eq_true, mul_nonsing_inv, mul_one, |
| 475 | weightMinors_unitary_inv, RingHomCompTriple.comp_apply, RingHom.id_apply, |
| 476 | inv_inv_of_invertible, mul_nonsing_inv_cancel_left, Φ, a] |
| 477 | simp only [h_Φ, mul_assoc, ↓← maxCompactU.coe_inv, integral_div, det_mul, det_nonsing_inv, |
| 478 | Ring.inverse_eq_inv', ne_eq, mul_eq_zero, inv_eq_zero, GeneralLinearGroup.det_ne_zero, |
| 479 | IsHermitianInvolution.det_ne_zero, or_self, not_false_eq_true, |
| 480 | integral_weightMinors_inv_mul_mul_weightMinors hg, mul_div_assoc (ofReal _), |
| 481 | weightMinors_neg, Matrix.mul_inv_rev, inv_inv_of_invertible, Λ, a] |
| 482 | -- the substitution is a shear followed by a swap, so it preserves the product measure |
| 483 | have swap : |
| 484 | ∫ y, ∫ k, Φ (y, k) ∂haarK 1 ∂haarK 1 = ∫ v, ∫ u, Φ (v * u, u⁻¹) ∂haarK 1 ∂haarK 1 := |
| 485 | (integral_integral Φ_int).trans (((measurePreserving_mul_prod_inv (haarK 1) (haarK 1)).comp |
| 486 | Measure.measurePreserving_swap).fubini Φ_int).2.symm |
| 487 | simp only [HCParam.kTypeChar, ContinuousMap.coe_mk, expand, integral_div, swap, inner] |
| 488 | -- cancel the squared norm `N` from `N * ((N * ∫ …) / N / N)` |
| 489 | have hN : (Λ.kTypeNormSq : ℂ) ≠ 0 := by |
| 490 | simp only [ne_eq, ofReal_eq_zero, (kTypeNormSq_pos _).ne', not_false_eq_true] |
| 491 | rw [integral_const_mul, mul_div_cancel_left₀ _ hN, mul_div_cancel₀ _ hN] |
| 492 | |
| 493 | /-- For injective `l`, a weight `w` antitone along `l` (`IsKDominant 1 l w`), an invertible `b` |
| 494 | upper triangular for `l`, and invertible `y`, `M`: replacing `y` by `y b` multiplies |
| 495 | `m_w(yᴴ M y)` by `|∏ k, b k k ^ w k| ^ 2`, where `m_w = weightMinors w`. -/ |
| 496 | lemma weightMinors_conjTranspose_mul_mul_borel (hl : l.Injective) {w : n → ℤ} |
| 497 | (hw : IsKDominant 1 l w) (y : GL n ℂ) {b M : Matrix n n ℂ} (hb : IsBorelMatrix l b) |
| 498 | (hM_det : M.det ≠ 0) : |
| 499 | weightMinors w (((y : Matrix n n ℂ) * b)ᴴ * M * (y * b)) = |
| 500 | ‖diagChar w b‖ ^ 2 * weightMinors w ((y : Matrix n n ℂ)ᴴ * M * y) := by |
| 501 | have hb' : IsBorelMatrix (-l) bᴴ := |
| 502 | ⟨fun i j hij ↦ by rw [conjTranspose_apply, hb.1 (neg_lt_neg_iff.1 hij), star_zero], |
| 503 | by rw [det_conjTranspose]; exact star_ne_zero.2 hb.2⟩ |
| 504 | have h_conj : diagChar w bᴴ * diagChar w b = ‖diagChar w b‖ ^ 2 := by |
| 505 | simp only [diagChar, conjTranspose_apply, star_def, ↓← conj_mul', map_prod, map_zpow₀] |
| 506 | calc _ = diagChar w bᴴ * (weightMinors w ((y : Matrix n n ℂ)ᴴ * M * y) * diagChar w b) := by |
| 507 | simp only [conjTranspose_mul, mul_assoc bᴴ, ← mul_assoc _ (y : Matrix n n ℂ), det_mul, |
| 508 | det_conjTranspose, star_def, ne_eq, mul_eq_zero, map_eq_zero, |
| 509 | GeneralLinearGroup.det_ne_zero, hM_det, or_self, hb.2, not_false_eq_true, |
| 510 | mem_blockDiagAlg_one, hb', hw.weightMinors_oppBorel_mul (ε := 1) hl, hb, |
| 511 | hw.weightMinors_mul_borel (ε := 1) hl] |
| 512 | _ = _ := by linear_combination weightMinors w ((y : Matrix n n ℂ)ᴴ * M * y) * h_conj |
| 513 | |
| 514 | /-- For injective `l` and invertible `b` upper triangular for `l`, the quotient of |
| 515 | `diagChar w b = ∏ k, b k k ^ w k` at the weights `-l.compactForm.lowestKType` and `-paramAddRho l` |
| 516 | (these are `-(λ - ρ)` and `-(λ + ρ)` for a parameter `l = 2λ`) is its value at |
| 517 | `twoRho l ⊤ = 2ρ`, the sum of the roots that are positive for `l`. -/ |
| 518 | lemma diagChar_div_diagChar_eq_twoRho (hl : l.Injective) {b : Matrix n n ℂ} |
| 519 | (hb : IsBorelMatrix l b) : |
| 520 | diagChar (-l.compactForm.lowestKType) b / diagChar (-paramAddRho l) b = |
| 521 | diagChar (twoRho l ⊤) b := by |
| 522 | simp only [diagChar, ← prod_div_distrib, ← zpow_sub₀ (hb.diag_ne_zero hl _)] |
| 523 | simp only [Pi.neg_apply, lowestKType, paramAddRho, twoRho, Pi.top_apply, «Prop».top_eq_true, |
| 524 | true_and, Pi.one_apply, neg_sub, sub_neg_eq_add, sub_add_cancel] |
| 525 | |
| 526 | /-- The orbital integral is the part of Weyl's character over the open orbit. For `l = 2λ` of gap |
| 527 | `h` there is `σ` of modulus one such that, at every point `x` of the torus with `J x` accretive |
| 528 | (`J = diag ε`), `σ ∫_G c_λ(g⁻¹ x g) dg` is `N · χ(x)` minus `offOrbitIntegral l (J x)`. Here `c_λ` |
| 529 | is `l.dsCoeff`, `χ` is the character of `U(n)` of highest weight |
| 530 | `l.compactForm.lowestKType = λ - ρ`, and `N = ∫ |weightMinors (λ - ρ) k|² dk` over `U(n)`, with |
| 531 | `weightMinors ν` the product of principal minors of weight `ν`. Also, `offOrbitIntegral l A` is the |
| 532 | integral of `weightMinors_{-(λ-ρ)}(kᴴ J k) / weightMinors_{-(λ+ρ)}(kᴴ A k)` over the `k ∈ U(n)` |
| 533 | outside `openOrbit ε l`. -/ |
| 534 | lemma orbital_eq_char_sub_offOrbitIntegral (hg : l.HasGap h) : |
| 535 | ∃ σ : ℂ, ‖σ‖ = 1 ∧ ∀ x : n → Circle, (signMatrix ε * diagTorus ε x).IsAccretive → |
| 536 | σ * ∫ g : USign ε, l.dsCoeff (g⁻¹ * diagTorus ε x * g :) = |
| 537 | l.compactForm.lowestKType.kTypeNormSq * l.compactForm.lowestKType.kTypeChar (diagTorusK x) - |
| 538 | offOrbitIntegral l (signMatrix ε * diagTorus ε x) := by |
| 539 | -- Both sides are compared with integrals of `F y = m_{-Λ}(yᴴ J y) / m_{-μ}(yᴴ A y)`, where |
| 540 | -- `J = signMatrix ε`, `A = J x`, `Λ = l.compactForm.lowestKType`, `μ = paramAddRho l`: over `G` |
| 541 | -- it gives `σ` times the orbital integral, over `U(n)` it gives `Λ.kTypeNormSq * Λ.kTypeChar x`, |
| 542 | -- and by `integral_eq_sub_setIntegral_compl_openOrbit` the two differ by `offOrbitIntegral`. |
| 543 | refine ⟨weightMinors (-l.compactForm.lowestKType - l.lowestKType) (signMatrix ε), |
| 544 | by simp only [signMatrix, ne_eq, Int.cast_eq_zero, Units.ne_zero, not_false_eq_true, |
| 545 | implies_true, weightMinors_diagonal, Pi.sub_apply, Pi.neg_apply, norm_prod, norm_zpow, |
| 546 | norm_intCast, abs_unit_intCast, _root_.one_zpow, prod_const_one], |
| 547 | fun x hx ↦ ?_⟩ |
| 548 | let F (y : Matrix n n ℂ) : ℂ := |
| 549 | weightMinors (-l.compactForm.lowestKType) (yᴴ * signMatrix ε * y) / |
| 550 | weightMinors (-paramAddRho l) (yᴴ * (signMatrix ε * diagTorus ε x) * y) |
| 551 | -- Triangular `b` acts on both minors by a character; the quotient is that of `μ - Λ = 2ρ`. |
| 552 | have F_mul (y : GL n ℂ) (b : Matrix n n ℂ) (hb : IsBorelMatrix l b) : |
| 553 | F (y * b) = ‖diagChar (twoRho l ⊤) b‖ ^ 2 * F y := by |
| 554 | unfold F |
| 555 | rw [weightMinors_conjTranspose_mul_mul_borel hg.injective |
| 556 | (isKDominant_neg_compactForm_lowestKType hg) y hb (IsHermitianInvolution.det_ne_zero _), |
| 557 | weightMinors_conjTranspose_mul_mul_borel hg.injective hg.isKDominant_neg_paramAddRho y hb |
| 558 | hx.det_ne_zero, ← diagChar_div_diagChar_eq_twoRho hg.injective hb] |
| 559 | simp only [Complex.norm_div, ofReal_div, div_pow, div_mul_div_comm] |
| 560 | have F_cont : Continuous (F · : GL n ℂ → ℂ) := by |
| 561 | -- both arguments are invertible, and the denominator is a minor of an accretive matrix |
| 562 | unfold F |
| 563 | fun_prop (disch := simp (disch := simp [*, GeneralLinearGroup.det_ne_zero]) |
| 564 | [GeneralLinearGroup.det_ne_zero, IsHermitianInvolution.det_ne_zero]) |
| 565 | obtain ⟨F_int, F_orbit⟩ : Integrable (fun g : USign ε ↦ F g) ∧ ∫ g : USign ε, F g = |
| 566 | (∫ k : USign (1 : n → ℤˣ), F k) - offOrbitIntegral l (signMatrix ε * diagTorus ε x) := |
| 567 | integral_eq_sub_setIntegral_compl_openOrbit hg.injective ε |
| 568 | (fun y b hb ↦ by simpa only [real_smul, ofReal_pow] using F_mul y b hb) F_cont |
| 569 | -- For the signs `1` the group `K` is all of `U(n)`, with the same measure. |
| 570 | have h_meas : MeasurePreserving (maxCompactU (1 : n → ℤˣ)).subtype (haarK 1) volume := |
| 571 | MonoidHom.measurePreserving (by fun_prop) |
| 572 | (fun k ↦ ⟨⟨k, mem_maxCompactU.2 (by simp only [mem_blockDiagAlg_one])⟩, rfl⟩) |
| 573 | (by simp only [measure_univ]) |
| 574 | have K_eq_U : ∫ k : maxCompactU (1 : n → ℤˣ), F k ∂haarK 1 = ∫ k : USign (1 : n → ℤˣ), F k := |
| 575 | h_meas.hasLaw.integral_comp (F_cont.comp continuous_subtypeVal).aestronglyMeasurable |
| 576 | rw [sign_mul_orbital_eq_integral_weightMinors_div hg x hx F_int, |
| 577 | kTypeNormSq_mul_kTypeChar_eq_integral hg x hx, F_orbit, K_eq_U] |
| 578 | |
| 579 | attribute [local fun_prop] AnalyticAt.fun_zpow |
| 580 | |
| 581 | /-- The integral `offOrbitIntegral l A` over the unitary matrices outside the open orbit is |
| 582 | complex analytic in the matrix `A` at every accretive `A` (one with `A + Aᴴ` positive definite). -/ |
| 583 | lemma analyticAt_offOrbitIntegral {A : Matrix n n ℂ} (hA : A.IsAccretive) : |
| 584 | AnalyticAt ℂ (offOrbitIntegral l) A := by |
| 585 | refine (isAnalyticFamily_of_differentiable ?_).analyticAt_integral _ |
| 586 | -- the integrand is continuous in `k` and differentiable in `z`, as `z` near `A` is accretive |
| 587 | filter_upwards [hA.setOf_mem_nhds] with z (hz : z.IsAccretive) k |
| 588 | constructor <;> fun_prop (disch := simp [hz, GeneralLinearGroup.det_ne_zero, |
| 589 | IsHermitianInvolution.det_ne_zero, IsAccretive.det_ne_zero]) |
| 590 | |
| 591 | /-- Let `P`, `Q` be Laurent polynomials with `P(x) = Q(x) * offOrbitIntegral l (J x)` at the points |
| 592 | `x` of the torus with `J x` accretive, where `J = signMatrix ε`, evaluation at `x` is `torusEval x`, |
| 593 | and `offOrbitIntegral l A` is the integral of `m_{-(λ-ρ)}(kᴴ J k) / m_{-(λ+ρ)}(kᴴ A k)` over the |
| 594 | `k ∈ U(n)` outside `openOrbit ε l`, with `l = 2λ`, `ρ` the half sum of roots positive for `l`, and |
| 595 | `m = weightMinors`. Then for real `z > 0` (written `0 < z` in the order of `ℂ`) and every integer |
| 596 | vector `f`, this identity holds at `x = ε * z ^ f`, by analytic continuation from `|z| = 1`. At that |
| 597 | point `J x = diag (z ^ f)`, and `weightMinors γ J` is the monomial of exponent `γ` at `ε`. -/ |
| 598 | lemma eq_mul_offOrbitIntegral_of_pos {P Q : ℂ[n → ℤ]} |
| 599 | (hP : ∀ x : n → Circle, (signMatrix ε * diagTorus ε x).IsAccretive → |
| 600 | torusEval x P = torusEval x Q * offOrbitIntegral l (signMatrix ε * diagTorus ε x)) |
| 601 | (f : n → ℤ) {z : ℂ} (hz : 0 < z) : |
| 602 | ∑ γ ∈ P.coeff.support, P.coeff γ * weightMinors γ (signMatrix ε) * z ^ (f ⬝ᵥ γ) = |
| 603 | (∑ γ ∈ Q.coeff.support, Q.coeff γ * weightMinors γ (signMatrix ε) * z ^ (f ⬝ᵥ γ)) * |
| 604 | offOrbitIntegral l (diagonal fun i : n ↦ z ^ f i) := by |
| 605 | -- `T R z` is the value of `R` at `x = ε * z ^ f`, and `D z = signMatrix ε * x` |
| 606 | let T (R : ℂ[n → ℤ]) (z : ℂ) : ℂ := |
| 607 | ∑ γ ∈ R.coeff.support, R.coeff γ * weightMinors γ (signMatrix ε) * z ^ (f ⬝ᵥ γ) |
| 608 | let D (z : ℂ) : Matrix n n ℂ := diagonal (z ^ f ·) |
| 609 | have D_acc {z : ℂ} (hz : 0 < z) : (D z).IsAccretive := |
| 610 | (PosDef.diagonal fun _ ↦ zpow_pos hz _).isAccretive |
| 611 | have on_circle (θ : ℝ) (hθ : (D (circleMap 0 1 θ)).IsAccretive) : T P (circleMap 0 1 θ) = |
| 612 | T Q (circleMap 0 1 θ) * offOrbitIntegral l (D (circleMap 0 1 θ)) := by |
| 613 | let x : n → Circle := fun i ↦ |
| 614 | ⟨ε i * circleMap 0 1 θ ^ f i, by |
| 615 | simp only [Submonoid.unitSphere, Submonoid.mem_mk, Subsemigroup.mem_mk, |
| 616 | mem_sphere_iff_norm, sub_zero, Complex.norm_mul, norm_intCast, abs_unit_intCast, |
| 617 | norm_zpow, norm_circleMap_zero, abs_one, _root_.one_zpow, mul_one]⟩ |
| 618 | have hD : signMatrix ε * diagTorus ε x = D (circleMap 0 1 θ) := by |
| 619 | simp only [signMatrix, diagTorus, IsUnit.unit_spec, diagonal_mul_diagonal, ← mul_assoc, |
| 620 | ← Int.cast_mul, Int.units_coe_mul_self, Int.cast_one, one_mul, D, x] |
| 621 | have eval_eq (R : ℂ[n → ℤ]) : torusEval x R = T R (circleMap 0 1 θ) := by |
| 622 | simp only [torusEval, mul_zpow, prod_mul_distrib, lift_apply', Finsupp.sum, |
| 623 | Algebra.algebraMap_self, RingHom.id_apply, MonoidHom.coe_mk, OneHom.coe_mk, |
| 624 | toAdd_ofAdd, signMatrix, ne_eq, Int.cast_eq_zero, Units.ne_zero, |
| 625 | not_false_eq_true, implies_true, weightMinors_diagonal, dotProduct, mul_assoc, |
| 626 | circleMap_eq_center_iff, one_ne_zero, zpow_sum_of_ne_zero, _root_.zpow_mul, T, x] |
| 627 | simpa only [eval_eq, hD] using hP x (by rwa [hD]) |
| 628 | have h_start : 0 < circleMap 0 1 0 := by |
| 629 | simp only [circleMap, ofReal_one, ofReal_zero, zero_mul, exp_zero, mul_one, zero_add, |
| 630 | zero_lt_one] |
| 631 | have D_cont : ContinuousWithinAt (D ∘ circleMap 0 1) {0}ᶜ 0 := |
| 632 | by fun_prop (disch := simp only [ne_eq, circleMap_eq_center_iff, one_ne_zero, |
| 633 | not_false_eq_true, true_or]) |
| 634 | have acc_near : ∀ᶠ θ : ℝ in nhdsWithin 0 {0}ᶜ, (D (circleMap 0 1 θ)).IsAccretive := |
| 635 | D_cont.tendsto.eventually (D_acc h_start).setOf_mem_nhds |
| 636 | -- the circle tends to `1` without meeting it, as its derivative there is not zero |
| 637 | have near_one : ∃ᶠ z : ℂ in nhdsWithin (circleMap 0 1 0) {circleMap 0 1 0}ᶜ, |
| 638 | T P z = T Q z * offOrbitIntegral l (D z) := |
| 639 | ((hasDerivAt_circleMap 0 1 0).tendsto_nhdsNE |
| 640 | (by simp only [ne_eq, mul_eq_zero, circleMap_eq_center_iff, one_ne_zero, I_ne_zero, |
| 641 | or_self, not_false_eq_true])).frequently |
| 642 | (acc_near.frequently.mono on_circle) |
| 643 | have T_an (R : ℂ[n → ℤ]) : AnalyticOnNhd ℂ (T R) (Set.Ioi 0) := fun z (hz : 0 < z) ↦ by |
| 644 | fun_prop (disch := simp [hz.ne']) |
| 645 | have D_an {z : ℂ} (hz : 0 < z) : AnalyticAt ℂ D z := |
| 646 | ((diagonalLinearMap n ℂ ℂ).toContinuousLinearMap.analyticAt _).comp |
| 647 | (f := fun z i ↦ z ^ f i) (.pi (by fun_prop (disch := simp [hz.ne']))) |
| 648 | have rhs_an : AnalyticOnNhd ℂ (fun z ↦ T Q z * offOrbitIntegral l (D z)) (Set.Ioi 0) := |
| 649 | fun z hz ↦ (T_an Q z hz).mul ((analyticAt_offOrbitIntegral (D_acc hz)).comp (D_an hz)) |
| 650 | exact (T_an P).eqOn_of_preconnected_of_frequently_eq rhs_an (convex_Ioi _).isPreconnected |
| 651 | h_start near_one hz |
| 652 | |
| 653 | /-- For every parameter `l` and natural number `h` there is `r > 0` such that every unitary matrix |
| 654 | `k` outside the open orbit `openOrbit ε l` has an entry `k i j` between opposite signs |
| 655 | (`ε i ≠ ε j`) with `r |weightMinors (-Λ) (kᴴ J k)| < |k i j| ^ (2 h)`. Here `J = signMatrix ε` and |
| 656 | `Λ = l.compactForm.lowestKType`, so that the minor is the numerator of the integrand of |
| 657 | `offOrbitIntegral`. -/ |
| 658 | lemma exists_entry_large_outside_orbit (l : HCParam (n := n) ε) (h : ℕ) : |
| 659 | ∃ r : ℝ, 0 < r ∧ ∀ k : USign (1 : n → ℤˣ), (k : Matrix n n ℂ) ∉ openOrbit ε l → |
| 660 | ∃ i j : n, ε i ≠ ε j ∧ |
| 661 | r * ‖weightMinors (-l.compactForm.lowestKType) ((k : Matrix n n ℂ)ᴴ * signMatrix ε * k)‖ < |
| 662 | ‖(k : Matrix n n ℂ) i j‖ ^ (2 * h) := by |
| 663 | have compact : IsCompact {k : USign (1 : n → ℤˣ) | (k : Matrix n n ℂ) ∈ openOrbit ε l}ᶜ := |
| 664 | ((isOpen_openOrbit ε l).preimage (by fun_prop)).isClosed_compl.isCompact |
| 665 | -- the strict inequality holds for `(r, k')` near `(0, k)`, so by compactness for small `r > 0` |
| 666 | refine (compact.eventually_forall_of_forall_eventually fun k hk ↦ ?_).exists_gt (a := 0) |
| 667 | -- a unitary matrix with no nonzero entry between opposite signs lies in `G`, hence in `G B` |
| 668 | obtain ⟨i, j, hij, hne⟩ : ∃ i j : n, ε i ≠ ε j ∧ (k : Matrix n n ℂ) i j ≠ 0 := by |
| 669 | by_contra! h_block |
| 670 | rw [← mem_blockDiagAlg, mem_blockDiagAlg_iff_commute] at h_block |
| 671 | have h_unitary : (k : Matrix n n ℂ)ᴴ * k = 1 := by |
| 672 | simpa only [star_eq_conjTranspose, signMatrix_one, mul_one] using |
| 673 | mem_unitaryGroupOf_iff.mp k.prop |
| 674 | exact hk ⟨⟨k, by simp only [mem_unitaryGroupOf_iff, star_eq_conjTranspose, |
| 675 | h_block.right_comm, h_unitary, one_mul]⟩, 1, |
| 676 | by simp only [IsBorelMatrix, blockTriangular_one, det_one, ne_eq, one_ne_zero, |
| 677 | not_false_eq_true, and_self, mul_one]⟩ |
| 678 | -- at `r = 0` the left side vanishes and the right side does not |
| 679 | refine (ContinuousAt.eventually_lt ?_ (by fun_prop) (by simp [hne])).mono |
| 680 | fun _ h_lt ↦ ⟨i, j, hij, h_lt⟩ |
| 681 | fun_prop (disch := simp [GeneralLinearGroup.det_ne_zero, IsHermitianInvolution.det_ne_zero]) |
| 682 | |
| 683 | /-- Let `l = 2λ` have gap `h`: its entries are distinct, of the parity of `card n - 1`, and those |
| 684 | with opposite signs `ε` differ by at least `2 h`. Let `o` strictly reverse the order of `l`. Then |
| 685 | for every integer vector `e`, as `s → ∞`, `offOrbitIntegral l A` is `O(2⁻¹ ^ (s L))` at |
| 686 | `A = diag(2⁻¹ ^ (s o + e))`, where `L = o ⬝ᵥ paramAddRho l + h` and `paramAddRho l = λ + ρ`. Here |
| 687 | `offOrbitIntegral l A` is the integral of `m_{-(λ-ρ)}(kᴴ J k) / m_{-(λ+ρ)}(kᴴ A k)` over the |
| 688 | `k ∈ U(n)` outside `New.openOrbit ε l`, with `J = diag ε` and `m = weightMinors`. -/ |
| 689 | lemma exists_norm_offOrbitIntegral_le (hg : l.HasGap h) {o : n → ℤ} |
| 690 | (ho : ∀ i j : n, l j < l i → o i < o j) (e : n → ℤ) : |
| 691 | ∃ c : ℝ, ∀ᶠ s : ℕ in atTop, ‖offOrbitIntegral l (diagonal fun i : n ↦ 2⁻¹ ^ (s • o + e) i)‖ ≤ |
| 692 | c * 2⁻¹ ^ (s * (o ⬝ᵥ paramAddRho l + h)) := by |
| 693 | obtain ⟨r, hr, large⟩ := exists_entry_large_outside_orbit l h |
| 694 | obtain ⟨C, hC⟩ : ∃ C : ℤ, ∀ i : n, 2 * |e i| ≤ C := Finite.exists_le _ |
| 695 | refine ⟨2 ^ (C * h - e ⬝ᵥ paramAddRho l) / r, ?_⟩ |
| 696 | filter_upwards [eventually_gt_atTop C.toNat] with s hs |
| 697 | set A : Matrix n n ℂ := diagonal fun i : n ↦ 2⁻¹ ^ (s • o + e) i |
| 698 | set μ : n → ℤ := paramAddRho l with hμ |
| 699 | -- the measure has mass at most one, so it is enough to bound the integrand at each `k` |
| 700 | suffices h_point : ∀ k : USign (1 : n → ℤˣ), (k : Matrix n n ℂ) ∉ openOrbit ε l → |
| 701 | ‖weightMinors (-l.compactForm.lowestKType) ((k : Matrix n n ℂ)ᴴ * signMatrix ε * k) / |
| 702 | weightMinors (-μ) ((k : Matrix n n ℂ)ᴴ * A * k)‖ ≤ |
| 703 | 2 ^ (C * h - e ⬝ᵥ μ) / r * 2⁻¹ ^ (s * (o ⬝ᵥ μ + h)) from |
| 704 | (norm_setIntegral_le_of_norm_le_const (measure_lt_top _ _) h_point).trans |
| 705 | (mul_le_of_le_one_right (by positivity) measureReal_le_one) |
| 706 | intro k hk |
| 707 | obtain ⟨i, j, hij, entry⟩ := large k hk |
| 708 | -- the entries of `s o` are at least `s` apart, and `e` changes each gap by at most `C` |
| 709 | have steps (a c : n) (hac : (-μ) c < (-μ) a) : (-(s • o + e)) a + |s - C| ≤ (-(s • o + e)) c := by |
| 710 | have o_lt : o c + 1 ≤ o a := |
| 711 | ho c a (by simpa only [hμ, Pi.neg_apply, neg_lt_neg_iff, hg.paramAddRho_lt_iff] using hac) |
| 712 | have o_step : s * (o c + 1) ≤ s * o a := by gcongr |
| 713 | have hsC : (0 : ℤ) ≤ ↑s - C := sub_nonneg.2 (Int.lt_of_toNat_lt hs).le |
| 714 | simp only [Pi.neg_apply, Pi.add_apply, Pi.smul_apply, Int.nsmul_eq_mul, |
| 715 | abs_of_nonneg hsC] |
| 716 | linarith [o_step, hC a, hC c, le_abs_self (e c), neg_le_abs (e a)] |
| 717 | have apart : (h : ℤ) ≤ |(-μ) i - (-μ) j| := by grind [paramAddRho, hg.gap i j hij, Pi.neg_apply] |
| 718 | have diag_eq : ‖weightMinors (-μ) (twoPowDiagConj 1 (-(s • o + e)))‖ = |
| 719 | 2 ^ (s * (o ⬝ᵥ μ) + e ⬝ᵥ μ) := by |
| 720 | simp only [twoPowDiagConj, Units.val_one, conjTranspose_one, nsmul_eq_mul, Pi.neg_apply, |
| 721 | Pi.add_apply, Pi.mul_apply, Pi.natCast_apply, neg_add_rev, ne_eq, OfNat.ofNat_ne_zero, |
| 722 | not_false_eq_true, zpow_add₀, _root_.zpow_neg, _root_.zpow_mul, zpow_natCast, one_mul, |
| 723 | mul_one, mul_eq_zero, inv_eq_zero, zpow_ne_zero, pow_eq_zero_iff', false_and, |
| 724 | or_self, implies_true, weightMinors_diagonal, mul_zpow, _root_.inv_zpow', |
| 725 | _root_.mul_inv_rev, inv_inv, prod_mul_distrib, Complex.norm_mul, norm_prod, norm_zpow, |
| 726 | norm_pow, norm_ofNat, dotProduct, zpow_sum_of_ne_zero] |
| 727 | have denom : 2 ^ (s * (o ⬝ᵥ μ) + e ⬝ᵥ μ) * (‖(k : Matrix n n ℂ) i j‖ ^ 2 * 2 ^ (s - C)) ^ h ≤ |
| 728 | ‖weightMinors (-μ) ((k : Matrix n n ℂ)ᴴ * A * k)‖ := by |
| 729 | simpa only [← diag_eq, twoPowDiagConj, Units.val_one, conjTranspose_one, nsmul_eq_mul, |
| 730 | Pi.neg_apply, Pi.add_apply, Pi.mul_apply, Pi.natCast_apply, neg_add_rev, one_mul, |
| 731 | mul_one, _root_.inv_zpow', A] using |
| 732 | le_norm_weightMinors_twoPowDiagConj h k (-μ) (-(s • o + e)) i j (s - C) |
| 733 | (by simp only [U.inv_coe_eq_mul_conjTranspose_mul, signMatrix_one, one_mul, mul_one]) |
| 734 | steps apart |
| 735 | -- `entry` bounds the numerator above and `denom` bounds the denominator below |
| 736 | refine (norm_div _ _).trans_le (div_le_of_le_mul₀ (by positivity) (by positivity) ?_) |
| 737 | calc ‖weightMinors (-l.compactForm.lowestKType) ((k : Matrix n n ℂ)ᴴ * signMatrix ε * k)‖ |
| 738 | ≤ ‖(k : Matrix n n ℂ) i j‖ ^ (2 * h) / r := (le_div_iff₀' hr).2 entry.le |
| 739 | _ = 2 ^ (C * h - e ⬝ᵥ μ) / r * 2⁻¹ ^ (s * (o ⬝ᵥ μ + h)) * |
| 740 | (2 ^ (s * (o ⬝ᵥ μ) + e ⬝ᵥ μ) * (‖(k : Matrix n n ℂ) i j‖ ^ 2 * 2 ^ (s - C)) ^ h) := by |
| 741 | simp only [pow_mul, ne_eq, OfNat.ofNat_ne_zero, not_false_eq_true, zpow_sub₀, |
| 742 | _root_.zpow_mul, zpow_natCast, inv_pow, inv_eq_zero, pow_eq_zero_iff', false_and, |
| 743 | zpow_add₀, _root_.inv_zpow', _root_.zpow_neg, mul_pow, div_pow, fieldEq] |
| 744 | _ ≤ _ := by gcongr |
| 745 | |
| 746 | /-- Let `l = 2λ` have gap `h`: its entries are distinct, congruent to `card n - 1` mod 2, and |
| 747 | `|λ i - λ j| ≥ h` whenever `ε i ≠ ε j`. Let `P`, `Q` be Laurent polynomials with |
| 748 | `P(x) = Q(x) · offOrbitIntegral l (J x)` at every torus point `x` where `J x` is accretive |
| 749 | (`J = diag ε`); here `offOrbitIntegral l A` is the integral of |
| 750 | `m_{-(λ-ρ)}(kᴴ J k) / m_{-(λ+ρ)}(kᴴ A k)` over the `k ∈ U(n)` outside `New.openOrbit ε l`, with |
| 751 | `m = weightMinors`. If `o` strictly reverses the order of `l` (`l j < l i` implies `o i < o j`) and |
| 752 | `o ⬝ᵥ γ < o ⬝ᵥ paramAddRho l + o ⬝ᵥ β + h` for every exponent `β` of `Q` (`paramAddRho l = λ + ρ`), |
| 753 | then the coefficient of `x^γ` in `P` is zero. -/ |
| 754 | lemma coeff_eq_zero_of_low_level (hg : l.HasGap h) {P Q : ℂ[n → ℤ]} |
| 755 | (hP : ∀ x : n → Circle, (signMatrix ε * diagTorus ε x).IsAccretive → |
| 756 | torusEval x P = torusEval x Q * offOrbitIntegral l (signMatrix ε * diagTorus ε x)) |
| 757 | {o : n → ℤ} (ho : ∀ i j : n, l j < l i → o i < o j) (γ : n → ℤ) |
| 758 | (hQ : ∀ β : n → ℤ, Q.coeff β ≠ 0 → o ⬝ᵥ γ < o ⬝ᵥ paramAddRho l + o ⬝ᵥ β + h) : |
| 759 | P.coeff γ = 0 := by |
| 760 | -- Let `β` be an exponent of `P` of least level `o ⬝ᵥ β`, and put `x = ε * t ^ o * 2⁻¹ ^ e`. As |
| 761 | -- `t → 0` the right side of the continued identity `hP` is of smaller order than |
| 762 | -- `t ^ (o ⬝ᵥ β)`, so the part of `P` of least level vanishes at `ε * 2⁻¹ ^ e`, for every `e`. |
| 763 | by_contra hγ |
| 764 | obtain ⟨β, hβ, β_min⟩ : ∃ β ∈ P.coeff.support, ∀ δ ∈ P.coeff.support, o ⬝ᵥ β ≤ o ⬝ᵥ δ := |
| 765 | P.coeff.support.exists_min_image (o ⬝ᵥ ·) ⟨γ, by simpa only [Finsupp.mem_support_iff, ne_eq]⟩ |
| 766 | let L : ℤ := o ⬝ᵥ paramAddRho l + h |
| 767 | -- `S e R m t` is the value of `t ^ (m - o ⬝ᵥ β) * R` at `x = ε * t ^ o * 2⁻¹ ^ e` |
| 768 | let S (e : n → ℤ) (R : ℂ[n → ℤ]) (m : ℤ) (t : ℂ) : ℂ := ∑ γ ∈ R.coeff.support, |
| 769 | R.coeff γ * weightMinors γ (signMatrix ε) * t ^ (o ⬝ᵥ γ - (o ⬝ᵥ β - m)) * 2⁻¹ ^ (e ⬝ᵥ γ) |
| 770 | have lowest_zero (e : n → ℤ) : S e P 0 0 = 0 := by |
| 771 | obtain ⟨c, decay⟩ := exists_norm_offOrbitIntegral_le hg ho e |
| 772 | -- at `t = 2⁻¹ ^ s` the bound `O(t ^ L)` for `offOrbitIntegral` makes up for the shift by `L` |
| 773 | have le_small : ∀ᶠ s : ℕ in atTop, |
| 774 | ‖S e P 0 ((1 / 2) ^ s : ℝ)‖ ≤ ‖S e Q L ((1 / 2) ^ s : ℝ)‖ * c := by |
| 775 | filter_upwards [decay] with s hs |
| 776 | have S_eq (R : ℂ[n → ℤ]) (m : ℤ) : S e R m (2⁻¹ ^ s) = 2⁻¹ ^ (s * (m - o ⬝ᵥ β)) * |
| 777 | ∑ γ ∈ R.coeff.support, |
| 778 | R.coeff γ * weightMinors γ (signMatrix ε) * 2⁻¹ ^ ((s • o + e) ⬝ᵥ γ) := by |
| 779 | -- the powers of `2⁻¹ ^ s` add up |
| 780 | simp only [S, mul_sum, smul_dotProduct, Int.nsmul_eq_mul, add_dotProduct] |
| 781 | refine sum_congr rfl fun δ _ ↦ ?_ |
| 782 | have h2 : (2⁻¹ : ℂ) ≠ 0 := |
| 783 | by simp only [ne_eq, inv_eq_zero, OfNat.ofNat_ne_zero, not_false_eq_true] |
| 784 | rw [← zpow_natCast (2⁻¹ : ℂ) s, ← _root_.zpow_mul, mul_assoc (R.coeff δ * _), |
| 785 | ← zpow_add₀ h2, mul_left_comm (2⁻¹ ^ _), ← zpow_add₀ h2] |
| 786 | congr 2 |
| 787 | ring |
| 788 | have eq_mul : S e P 0 (2⁻¹ ^ s) = S e Q L (2⁻¹ ^ s) / 2⁻¹ ^ (s * L) * |
| 789 | offOrbitIntegral l (diagonal (2⁻¹ ^ (s • o + e) ·)) := by |
| 790 | rw [S_eq, S_eq, |
| 791 | eq_mul_offOrbitIntegral_of_pos hP _ (by simp only [inv_pos, Nat.ofNat_pos])] |
| 792 | simp only [zero_sub, mul_neg, _root_.zpow_neg, _root_.zpow_mul, zpow_natCast, |
| 793 | inv_pow, _root_.inv_zpow', inv_inv, nsmul_eq_mul, add_dotProduct, neg_add_rev, |
| 794 | Pi.add_apply, Pi.mul_apply, Pi.natCast_apply, ne_eq, inv_eq_zero, pow_eq_zero_iff', |
| 795 | OfNat.ofNat_ne_zero, false_and, not_false_eq_true, zpow_sub₀, div_inv_eq_mul, |
| 796 | fieldEq] |
| 797 | push_cast |
| 798 | grw [one_div, eq_mul, norm_mul, hs] |
| 799 | simp only [inv_pow, _root_.inv_zpow', _root_.zpow_neg, div_inv_eq_mul, Complex.norm_mul, |
| 800 | norm_zpow, norm_ofNat, fieldLe, Std.le_refl, L] |
| 801 | -- `o ⬝ᵥ β` is the least level in `P`, and by `hQ` the levels in `Q` exceed `o ⬝ᵥ β - L`: both |
| 802 | -- sums are polynomials in `t`, so the inequality passes to `t = 0`, where that of `Q` vanishes |
| 803 | have closed : IsClosed {t : ℝ | ‖S e P 0 t‖ ≤ ‖S e Q L t‖ * c} := by |
| 804 | refine isClosed_le ?_ ?_ <;> fun_prop (disch := grind) |
| 805 | have Q_zero : S e Q L 0 = 0 := sum_eq_zero fun δ hδ ↦ by |
| 806 | have h_pos : o ⬝ᵥ δ - (o ⬝ᵥ β - L) ≠ 0 := by |
| 807 | have h_lt := hQ δ (Finsupp.mem_support_iff.1 hδ) |
| 808 | have h_le : o ⬝ᵥ β ≤ o ⬝ᵥ γ := β_min γ (Finsupp.mem_support_iff.2 hγ) |
| 809 | lia |
| 810 | rw [_root_.zero_zpow _ h_pos, mul_zero, zero_mul] |
| 811 | simpa only [Set.mem_ofPred_eq, ofReal_zero, Q_zero, norm_zero, zero_mul, norm_le_zero_iff] |
| 812 | using closed.mem_of_tendsto summable_geometric_two.tendsto_atTop_zero le_small |
| 813 | -- the characters `e ↦ 2⁻¹ ^ (e ⬝ᵥ γ)` are distinct, hence independent, so `P.coeff β = 0` |
| 814 | let χ (γ : n → ℤ) : Multiplicative (n → ℤ) →* ℂ := |
| 815 | { toFun e := 2⁻¹ ^ (e.toAdd ⬝ᵥ γ) |
| 816 | map_one' := by simp only [toAdd_one, zero_dotProduct, zpow_ofNat, pow_zero] |
| 817 | map_mul' := by simp only [toAdd_mul, add_dotProduct, ne_eq, inv_eq_zero, |
| 818 | OfNat.ofNat_ne_zero, not_false_eq_true, zpow_add₀, _root_.inv_zpow', _root_.zpow_neg, |
| 819 | implies_true] } |
| 820 | have χ_inj : χ.Injective := fun a b hab ↦ funext fun i ↦ by |
| 821 | simpa only [_root_.inv_zpow', _root_.zpow_neg, MonoidHom.coe_mk, OneHom.coe_mk, |
| 822 | toAdd_ofAdd, single_dotProduct, one_mul, norm_inv, norm_zpow, norm_ofNat, _root_.inv_inj, |
| 823 | Nat.ofNat_pos, ne_eq, OfNat.ofNat_ne_one, not_false_eq_true, zpow_right_inj₀, χ] using |
| 824 | congr_arg (fun φ ↦ ‖φ (.ofAdd (Pi.single i 1))‖) hab |
| 825 | -- the surviving terms at `t = 0` are those of level `o ⬝ᵥ β` |
| 826 | have sum_zero : ∑ γ ∈ P.coeff.support, |
| 827 | (P.coeff γ * weightMinors γ (signMatrix ε) * 0 ^ (o ⬝ᵥ γ - o ⬝ᵥ β)) • ⇑(χ γ) = 0 := |
| 828 | funext fun e ↦ by |
| 829 | simpa only [_root_.inv_zpow', _root_.zpow_neg, MonoidHom.coe_mk, OneHom.coe_mk, |
| 830 | Finset.sum_apply, Pi.smul_apply, smul_eq_mul, Pi.zero_apply, sub_zero, χ, S] using |
| 831 | lowest_zero e.toAdd |
| 832 | have coeff_zero : P.coeff β * weightMinors β (signMatrix ε) = 0 := by |
| 833 | simpa only [mul_eq_zero, sub_self, zpow_ofNat, pow_zero, mul_one] using |
| 834 | linearIndependent_iff'.1 ((linearIndependent_monoidHom _ ℂ).comp χ χ_inj) _ _ sum_zero β hβ |
| 835 | simp only [signMatrix, ne_eq, Int.cast_eq_zero, Units.ne_zero, not_false_eq_true, |
| 836 | implies_true, weightMinors_diagonal, mul_eq_zero, Finsupp.mem_support_iff.1 hβ, |
| 837 | prod_eq_zero_iff, mem_univ, zpow_ne_zero, and_false, exists_false, or_self] at coeff_zero |
| 838 | |
| 839 | end New.Orbital |
| 840 | |
| 841 | end OrbitalOpenOrbit |