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.Antidiag.FinsuppEquiv |
| 4 | import Mathlib.Algebra.Order.Star.Int |
| 5 | import Mathlib.Algebra.Order.Star.Real |
| 6 | import Mathlib.Analysis.BoxIntegral.UnitPartition |
| 7 | import Mathlib.Analysis.Convex.Measure |
| 8 | import Mathlib.RingTheory.Etale.Weakly |
| 9 | import TauCeti.LinearAlgebra.Matrix.GeneralLinearGroup.UpperTriangular.Block |
| 10 | import TauCeti.MeasureTheory.Measure.Lebesgue.Weighted.Orthant |
| 11 | import Std.Tactic.BVDecide.Normalize.Bool |
| 12 | public import TauCeti.MeasureTheory.Measure.Lebesgue.PieriCone |
| 13 | import TauCeti.MeasureTheory.Constructions.Pi |
| 14 | public import New.UpperBound.ElementaryDivisors.RootLemma |
| 15 | import Lib.General.Measure.IntegralOperators |
| 16 | import Lib.LocalGL.Green.CuspidalFunctions |
| 17 | |
| 18 | /-! |
| 19 | # The dimension of the forms of bounded defect |
| 20 | |
| 21 | Let `T` be a Frobenius cycle (`New.FrobeniusCycle`) over a field `K` of characteristic `p`, with |
| 22 | `P = T.P` and `q = T.q = P ^ N`. Exponents are indexed by `(b, s) ∈ Fin k × ZMod N`, and `s` is |
| 23 | called the letter. The defect of an exponent `β` at the letter `i` along the root `(a, a')` is the |
| 24 | linear form `∑ x, T.defectWeight i a a' x * β x`. Pieri's inequalities say that the defects along |
| 25 | the simple roots `(b, b + 1)` are at most `0`. |
| 26 | |
| 27 | The forms whose translates by a Levi subgroup with two blocks have bounded defect along the root |
| 28 | between the blocks are counted by flags and lattice points. One substitutes `x ^ m` for the |
| 29 | variables, `m` a power of `q`, and multiplies by one monomial for each class of exponents modulo |
| 30 | `m`. Give the variable `(b, s)` the height `b` for even `s` and `-b` for odd `s`. Among the terms of |
| 31 | all translates of the resulting polynomial by the Levi subgroup, one of least height has defect at |
| 32 | most `0` along the other simple roots, and it occurs in the translate by a representative of a flag, |
| 33 | that is, of a coset of the lower Iwahori subgroup. A shift by an integral vector moves its exponent, |
| 34 | divided by `m`, into the cone of Pieri's inequalities. As `m` grows, the count of these exponents |
| 35 | becomes the volume of the cone cut by a slab, and the share of the cone in a slab is the inverse of |
| 36 | the number of all flags. |
| 37 | |
| 38 | ## Main definitions and results |
| 39 | |
| 40 | * `New.FrobeniusCycle.defectCone`: the real vectors of bounded defect along the simple roots. |
| 41 | * `New.powerPacking`: a family of forms in the `m`-th powers of the variables, packed into one |
| 42 | polynomial. |
| 43 | * `New.FrobeniusCycle.exists_finrank_defectConditions_le_volume`: the dimension of the forms of |
| 44 | bounded defect is at most a number of flags times the volume of the part of a slab in which |
| 45 | Pieri's inequalities hold. |
| 46 | * `New.FrobeniusCycle.index_mul_finrank_defectConditions_le`: in large degree, the parahoric index |
| 47 | times the dimension of the forms of bounded defect is at most `1 + θ` times the number of |
| 48 | exponents. |
| 49 | |
| 50 | Notions from other files: |
| 51 | * `New.parahoric`: The parahoric subgroup of a labelling τ: matrices in GL_k(W), W local, whose |
| 52 | (i,j) entry lies in the maximal ideal whenever τ(i) < τ(j). |
| 53 | * `New.FrobeniusCycle.defectConditions`: The forms F such that, for every g block diagonal with |
| 54 | blocks of sizes a', k − a' and every β of defect above h along (a, a') at some letter, the |
| 55 | coefficient of g·F at β lies in a given ideal I. In this file I = ⊥. |
| 56 | * `levi W (twoBlock k r)`: The block diagonal matrices with blocks r and k − r. |
| 57 | * `TauCeti.degreeSlab k D`: The real vectors β ≥ 0 whose degree ∑_b β(b,s) in each letter s lies |
| 58 | in [D s − 1, D s]. |
| 59 | |
| 60 | ## Notation |
| 61 | |
| 62 | In the count, `m = q ^ j` is a power of `q`. As matrices act transposed, the lower Iwahori subgroup |
| 63 | is used. |
| 64 | |
| 65 | ## Relation to the literature |
| 66 | |
| 67 | Volumes of interlacing regions, Frobenius amplification and counting by leading terms along flags |
| 68 | are known in the literature. Related work: Forrester–Zhang, Corank-1 projections and the randomised |
| 69 | Horn problem, 2021 (after Dixon, 1905; Anderson, 1991); Bombieri, Counting points on curves over |
| 70 | finite fields, Sém. Bourbaki 430, 1973; Okounkov, Brunn–Minkowski inequality for multiplicities, |
| 71 | 1996. |
| 72 | -/ |
| 73 | |
| 74 | @[expose] public section |
| 75 | |
| 76 | /-! |
| 77 | ## Forms of bounded defect: flags times the volume of a cone |
| 78 | |
| 79 | The lower Iwahori subgroup is `parahoric W Fin.val`. |
| 80 | -/ |
| 81 | |
| 82 | section FlagsAndVolume |
| 83 | |
| 84 | open Subgroup MvPolynomial Matrix Finset Module Nat Fintype Finsupp MeasureTheory Set Filter |
| 85 | |
| 86 | namespace New |
| 87 | |
| 88 | open TauCeti (pieriStepMap pieriStepMap_apply pieriCone mem_pieriCone degreeSlab mem_degreeSlab |
| 89 | isBounded_degreeSlab isClosed_degreeSlab prod_mul_volume_real_inter_degreeSlab) |
| 90 | |
| 91 | variable {N k : ℕ} |
| 92 | {W K : Type} [NeZero N] [CommRing W] [IsLocalRing W] [Field K] |
| 93 | |
| 94 | /-- Over a local ring `W` with finite residue field, the parahoric subgroup of `GL_k(W)` of every |
| 95 | labelling `τ` has finite index. -/ |
| 96 | instance [Finite (IsLocalRing.ResidueField W)] (τ : Fin k → ℕ) : |
| 97 | (parahoric (k := k) W τ).FiniteIndex := |
| 98 | finiteIndex_of_le (ker_le_comap (GeneralLinearGroup.map (IsLocalRing.residue W)) _) |
| 99 | |
| 100 | /-- Over a finite field `K`, the lower triangular subgroup of `GL_k(K)`, written as the block |
| 101 | triangular group of `OrderDual.toDual`, has `∏ i, (|K| - 1) * |K| ^ i` elements. -/ |
| 102 | private lemma natCard_blockTriangularGroup_toDual [Finite K] : |
| 103 | (Nat.card (TauCeti.blockTriangularGroup K (OrderDual.toDual : Fin k → (Fin k)ᵒᵈ)) : ℝ) = |
| 104 | ∏ i : Fin k, ((Nat.card K : ℝ) - 1) * Nat.card K ^ i.val := by |
| 105 | let b : Fin k → (Fin k)ᵒᵈ := OrderDual.toDual |
| 106 | -- The diagonal blocks are singletons. Below the diagonal, row `i` has `i` free entries. |
| 107 | have h_diag (i : (Fin k)ᵒᵈ) : |
| 108 | (Nat.card (GL {j : Fin k // b j = i} K) : ℝ) = Nat.card K - 1 := by |
| 109 | have h_size : Fintype.card {j : Fin k // b j = i} = 1 := by |
| 110 | rw [← Nat.card_eq_fintype_card] |
| 111 | change Nat.card {j : Fin k // j = OrderDual.ofDual i} = 1 |
| 112 | exact Nat.card_unique |
| 113 | rw [card_GL_eq_prod (R := ℝ), h_size] |
| 114 | simp |
| 115 | have h_entries : Nat.card {p : Fin k × Fin k // b p.1 < b p.2} = ∑ i : Fin k, i.val := by |
| 116 | change Nat.card {p : Fin k × Fin k // p.2 < p.1} = _ |
| 117 | rw [Nat.card_congr (Equiv.subtypeProdEquivSigmaSubtype (fun i j : Fin k ↦ j < i)), |
| 118 | Nat.card_sigma] |
| 119 | change (∑ i : Fin k, (Set.Iio i).ncard) = _ |
| 120 | simp [← Finset.coe_Iio] |
| 121 | change (Nat.card (TauCeti.blockTriangularGroup K b) : ℝ) = _ |
| 122 | rw [TauCeti.natCard_blockTriangularGroup, h_entries, Nat.cast_mul, Nat.cast_prod, |
| 123 | Nat.cast_pow, prod_mul_distrib, prod_pow_eq_pow_sum] |
| 124 | simp [h_diag] |
| 125 | |
| 126 | /-- Over a finite field of order `q`, the index of the lower triangular subgroup of `GL_k` |
| 127 | counts the full flags. Its factor for `l < k` is `(q ^ (l + 1) - 1) / (q - 1)`. -/ |
| 128 | lemma index_borel_eq [Finite K] : |
| 129 | ((parabolic (R := K) (OrderDual.toDual ∘ (Fin.val : Fin k → ℕ))).index : ℝ) = |
| 130 | ∏ l : Fin k, ((Nat.card K : ℝ) ^ (l.val + 1) - 1) / (Nat.card K - 1) := by |
| 131 | let b : Fin k → (Fin k)ᵒᵈ := OrderDual.toDual |
| 132 | let B := TauCeti.blockTriangularGroup K b |
| 133 | have hB : parabolic (R := K) (OrderDual.toDual ∘ (Fin.val : Fin k → ℕ)) = B := by |
| 134 | ext g |
| 135 | simp [B, b, parabolic, BlockTriangular] |
| 136 | have h_card : (Nat.card B : ℝ) = ∏ i : Fin k, ((Nat.card K : ℝ) - 1) * Nat.card K ^ i.val := |
| 137 | natCard_blockTriangularGroup_toDual |
| 138 | have hq : 1 < (Nat.card K : ℝ) := Nat.one_lt_cast.2 Finite.one_lt_card |
| 139 | have h_index : (B.index : ℝ) * Nat.card B = Nat.card (GL (Fin k) K) := by |
| 140 | exact_mod_cast B.index_mul_card |
| 141 | rw [h_card, card_GL_eq_prod, Fintype.card_fin, prod_range] at h_index |
| 142 | rw [hB] |
| 143 | apply mul_right_cancel₀ (b := ∏ i : Fin k, ((Nat.card K : ℝ) - 1) * Nat.card K ^ i.val) |
| 144 | (prod_pos fun i _ ↦ mul_pos (sub_pos.2 hq) (pow_pos (one_pos.trans hq) _)).ne' |
| 145 | refine h_index.trans ?_ |
| 146 | rw [← prod_mul_distrib] |
| 147 | simp_rw [← mul_assoc, div_mul_cancel₀ _ (sub_pos.2 hq).ne'] |
| 148 | simp [mul_comm] |
| 149 | |
| 150 | /-- The defect of a vector `β` indexed by `(b, s) ∈ Fin k × ZMod N`, at the letter `i` along the |
| 151 | root `(b, b')`, is the linear form with coefficients `T.defectWeight i b b'`, namely |
| 152 | `β v + ∑ s, ± P ^ ((s - i) mod N) * (β (b', s) - β (b, s)) / (q - 1)`, with the sign `+` at even |
| 153 | `s`, and `v = (b', i)` for even `i`, `v = (b, i)` for odd `i`. The set `T.defectCone a h` consists |
| 154 | of the real vectors `β` whose defect, at every letter, is at most `h` along the simple root |
| 155 | `(a, a + 1)` and at most `0` along the other simple roots `(b, b + 1)`. For `h = 0` these are |
| 156 | Pieri's inequalities, see `New.FrobeniusCycle.pieriStepMap_mem_defectCone_iff`. The condition |
| 157 | `β ≥ 0` is not part of this set; it comes with the slab. -/ |
| 158 | def FrobeniusCycle.defectCone (T : FrobeniusCycle N W K) (a : Fin k) (h : ℝ) : |
| 159 | Set (Fin k × ZMod N → ℝ) := |
| 160 | {β : Fin k × ZMod N → ℝ | |
| 161 | ∀ (i : ZMod N) (b b' : Fin k), b.val + 1 = b' → T.defectWeight i b b' ⬝ᵥ β ≤ |
| 162 | (if b = a then h else 0)} |
| 163 | |
| 164 | /-- The vectors `β ≥ 0` with degree `∑ b, β (b, s)` in `[D s - 1, D s]` for each letter `s`, and |
| 165 | with defect at every letter at most `h` along `(a, a + 1)` and at most `0` along the other simple |
| 166 | roots `(b, b + 1)`, form a convex set. -/ |
| 167 | lemma FrobeniusCycle.convex_defectCone_inter_degreeSlab (T : FrobeniusCycle N W K) (a : Fin k) |
| 168 | (h : ℝ) (D : ZMod N → ℝ) : |
| 169 | Convex ℝ (T.defectCone a h ∩ degreeSlab k D) := by |
| 170 | intro x hx y hy s t hs ht hst |
| 171 | rw [mem_inter_iff, mem_degreeSlab] at hx hy ⊢ |
| 172 | obtain ⟨hx_cone, hx_nonneg, hx_deg⟩ := hx |
| 173 | obtain ⟨hy_cone, hy_nonneg, hy_deg⟩ := hy |
| 174 | refine ⟨fun i b b' hb ↦ ?_, add_nonneg (smul_nonneg hs hx_nonneg) (smul_nonneg ht hy_nonneg), |
| 175 | fun j ↦ ?_⟩ |
| 176 | · rw [dotProduct_add, dotProduct_smul, dotProduct_smul] |
| 177 | exact convex_Iic (if b = a then h else 0) (hx_cone i b b' hb) (hy_cone i b b' hb) hs ht hst |
| 178 | · simpa [univ.mul_sum, sum_add_distrib] using |
| 179 | convex_Icc (D j - 1) (D j) (hx_deg j) (hy_deg j) hs ht hst |
| 180 | |
| 181 | omit [NeZero N] in |
| 182 | /-- In characteristic `T.p`, the values of the embedding `T.embedding s` of each letter `s` are |
| 183 | fixed by raising to the power `q ^ j`, with `q = T.q = P ^ N`. -/ |
| 184 | lemma FrobeniusCycle.embedding_pow_q_pow (T : FrobeniusCycle N W K) [CharP K T.p] |
| 185 | (s : ZMod N) (y : W) (j : ℕ) : |
| 186 | T.embedding s y ^ T.q ^ j = T.embedding s y := by |
| 187 | have h_dvd := T.frobenius_pow_congr (N * j) s y |
| 188 | rw [show s + (N * j : ℕ) = s by simp [ZMod.natCast_self], CharP.cast_eq_zero K T.p, |
| 189 | zero_dvd_iff, sub_eq_zero] at h_dvd |
| 190 | rw [q, ← pow_mul, ← h_dvd] |
| 191 | |
| 192 | /-- In characteristic `T.p`, the linear substitution `T.polyAction g` by which a matrix `g` acts on |
| 193 | polynomials over `K` commutes with the substitution `x ↦ x ^ m` of the variables, for every power |
| 194 | `m` of `q = T.q`. -/ |
| 195 | lemma FrobeniusCycle.polyAction_commute_expand (T : FrobeniusCycle N W K) [CharP K T.p] |
| 196 | {m j : ℕ} (hm : m = T.q ^ j) (g : GL (Fin k) W) : |
| 197 | Commute (T.polyAction g) (expand m) := by |
| 198 | -- Raising to the power `m` is additive and fixes the entries of the twisted matrices. |
| 199 | have : Fact (Nat.Prime T.p) := Fact.mk T.prime |
| 200 | have h_pow : m = T.p ^ (T.frobExp * (N * j)) := by simp [hm, pow_mul] |
| 201 | have h_fixed (s : ZMod N) (y : W) : T.embedding s y ^ m = T.embedding s y := by |
| 202 | rw [hm, T.embedding_pow_q_pow] |
| 203 | subst h_pow |
| 204 | refine algHom_ext fun y ↦ ?_ |
| 205 | simp [polyAction_X, sum_pow_char_pow, mul_pow, ← C_pow, letterMatrix, h_fixed] |
| 206 | |
| 207 | /-- Let `T` be a Frobenius cycle from the local ring `W` to the field `K`: ring maps `ι s : W → K`, |
| 208 | one for each letter `s ∈ ℤ/N`, with `ι (s + 1) ≡ ι s ^ P` modulo the prime `T.p`. A matrix |
| 209 | `g ∈ GL_k(W)` acts on polynomials in the variables `x (b, s)`, `b < k`, by the linear substitution |
| 210 | `T.polyAction g`, given in the letter `s` by `ι s g` for even `s` and by `ι s` of the inverse |
| 211 | transpose of `g` for odd `s`. This action keeps the degree in each letter: if `x ^ ε` occurs in the |
| 212 | translate by `g` of the monomial `x ^ γ`, then `ε` and `γ` have the same degree in the letter |
| 213 | `s`. -/ |
| 214 | lemma FrobeniusCycle.sum_eq_of_coeff_polyAction_monomial (T : FrobeniusCycle N W K) |
| 215 | {g : GL (Fin k) W} {γ ε : Fin k × ZMod N →₀ ℕ} |
| 216 | (hε : (T.polyAction g (monomial γ 1)).coeff ε ≠ 0) (s : ZMod N) : |
| 217 | ∑ b : Fin k, ε (b, s) = ∑ b : Fin k, γ (b, s) := by |
| 218 | -- The translate is a product of powers of linear forms, each in the variables of one letter, |
| 219 | -- so it is homogeneous for the weight `c` that counts the degree in the letter `s`. |
| 220 | let c (x : Fin k × ZMod N) : ℕ := if x.2 = s then 1 else 0 |
| 221 | have h_linear (x : Fin k × ZMod N) : IsWeightedHomogeneous c (T.polyAction g (X x)) (c x) := by |
| 222 | rw [polyAction_X] |
| 223 | exact .sum _ _ _ fun b _ ↦ (isWeightedHomogeneous_X K c (b, x.2)).C_mul _ |
| 224 | have h_homogeneous : IsWeightedHomogeneous c (T.polyAction g (monomial γ 1)) |
| 225 | (∑ x : Fin k × ZMod N, γ x • c x) := by |
| 226 | simpa [monomial_eq, Finsupp.prod_pow] using |
| 227 | IsWeightedHomogeneous.prod univ _ _ fun x _ ↦ (h_linear x).pow (γ x) |
| 228 | simpa [c, weight_eq_sum, sum_prod_type] using h_homogeneous hε |
| 229 | |
| 230 | /-! ### Powers -/ |
| 231 | |
| 232 | /-- An exponent in the class `u` modulo `m` whose degree in each letter `s` lies in |
| 233 | `[m k, m k + m]`: the number `m (k - ⌊(∑ b, u (b, s)) / m⌋)` is added to the entry of `u` at the |
| 234 | index `(a, s)`. -/ |
| 235 | noncomputable def residueExponent (a : Fin k) {m : ℕ} (u : Fin k × ZMod N → Fin m) : |
| 236 | Fin k × ZMod N →₀ ℕ := |
| 237 | equivFunOnFinite.symm fun x : Fin k × ZMod N ↦ |
| 238 | u x + m * if x.1 = a then k - (∑ b : Fin k, (u (b, x.2)).val) / m else 0 |
| 239 | |
| 240 | /-- The exponent `New.residueExponent a u` lies in the class `u` modulo `m`. -/ |
| 241 | lemma residueExponent_mod (a : Fin k) {m : ℕ} (u : Fin k × ZMod N → Fin m) (x : Fin k × ZMod N) : |
| 242 | residueExponent a u x % m = u x := by |
| 243 | rw [residueExponent, equivFunOnFinite_symm_apply_apply, Nat.add_mul_mod_self_left, |
| 244 | mod_eq_of_lt (u x).is_lt] |
| 245 | |
| 246 | /-- The exponent `residueExponent a u` has the entries `u (b, s) < m`, with `m (k - ⌊d / m⌋)` added |
| 247 | where `b = a`, for `d = ∑ b, u (b, s)`. Its degree in each letter `s` lies in `[m k, m k + m]`. -/ |
| 248 | lemma sum_residueExponent_mem_Icc (a : Fin k) {m : ℕ} (u : Fin k × ZMod N → Fin m) (s : ZMod N) : |
| 249 | ∑ b : Fin k, residueExponent a u (b, s) ∈ Set.Icc (m * k) (m * k + m) := by |
| 250 | set d : ℕ := ∑ b : Fin k, (u (b, s)).val with hd |
| 251 | have h_sum : ∑ b : Fin k, residueExponent a u (b, s) = d + m * (k - d / m) := by |
| 252 | simp [residueExponent, sum_add_distrib, hd] |
| 253 | have h_le : d ≤ m * k := |
| 254 | calc d ≤ ∑ _b : Fin k, m := sum_le_sum fun b _ ↦ (u (b, s)).is_lt.le |
| 255 | _ = m * k := by simp [mul_comm] |
| 256 | have h_split : m * (k - d / m) + m * (d / m) = m * k := by |
| 257 | rw [← mul_add, Nat.sub_add_cancel (Nat.div_le_of_le_mul h_le)] |
| 258 | have h_div : m * (d / m) + d % m = d := Nat.div_add_mod d m |
| 259 | have h_mod : d % m < m := Nat.mod_lt d (u (a, s)).pos |
| 260 | rw [h_sum, Set.mem_Icc] |
| 261 | omega |
| 262 | |
| 263 | /-- Packing of a family `F` of forms of degree `n` in each letter, one for each class `u` of |
| 264 | exponents modulo `m`, into the polynomial `∑ u, F u (x ^ m) * x ^ γ u`, with |
| 265 | `γ u = New.residueExponent a u`. -/ |
| 266 | noncomputable def powerPacking (a : Fin k) (n m : ℕ) : |
| 267 | ((Fin k × ZMod N → Fin m) → Exponents N k n → K) →ₗ[K] MvPolynomial (Fin k × ZMod N) K := |
| 268 | ∑ u : Fin k × ZMod N → Fin m, .mulRight K (monomial (residueExponent a u) 1) ∘ₗ |
| 269 | (expand m).toLinearMap ∘ₗ polyOfCoeffs ∘ₗ .proj u |
| 270 | |
| 271 | /-- Substituting `x ^ m` for the variables `x` in the form with coefficients `G` multiplies its |
| 272 | exponents by `m`. -/ |
| 273 | lemma expand_polyOfCoeffs {n : ℕ} (m : ℕ) (G : Exponents N k n → K) : |
| 274 | expand m (polyOfCoeffs G) = ∑ δ : Exponents N k n, monomial (m • exponentOf δ) (G δ) := by |
| 275 | simp [polyOfCoeffs, expand_monomial] |
| 276 | |
| 277 | lemma powerPacking_apply {n m : ℕ} {a : Fin k} |
| 278 | {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} : |
| 279 | powerPacking a n m F = ∑ u : Fin k × ZMod N → Fin m, |
| 280 | expand m (polyOfCoeffs (F u)) * monomial (residueExponent a u) 1 := by |
| 281 | simp [powerPacking] |
| 282 | |
| 283 | /-- Let `F u` be forms of degree `n` in each letter `s ∈ ℤ/N`, one for each class `u` of exponents |
| 284 | modulo `m`. They are packed into `powerPacking a n m F = ∑ u, F u (x ^ m) * x ^ γ u`. Here |
| 285 | `γ u = residueExponent a u` is `u` with multiples of `m` added at the index `(a, s)` in each letter |
| 286 | `s`. The terms do not interfere: the coefficient of the packed polynomial at |
| 287 | `m • exponentOf β + γ u` is the coefficient of `F u` at `β`. -/ |
| 288 | lemma coeff_powerPacking {n m : ℕ} {a : Fin k} |
| 289 | {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} |
| 290 | (u : Fin k × ZMod N → Fin m) (β : Exponents N k n) : |
| 291 | (powerPacking a n m F).coeff (m • exponentOf β + residueExponent a u) = F u β := by |
| 292 | have h_class (v : Fin k × ZMod N → Fin m) (δ : Exponents N k n) |
| 293 | (h_eq : m • exponentOf δ + residueExponent a v = m • exponentOf β + residueExponent a u) : |
| 294 | v = u := by |
| 295 | ext x |
| 296 | simpa [Nat.mul_add_mod, residueExponent_mod] using congrArg (· x % m) h_eq |
| 297 | simp only [powerPacking_apply, expand_polyOfCoeffs, Finset.sum_mul, monomial_mul_monomial, |
| 298 | mul_one, coeff_sum, coeff_monomial] |
| 299 | rw [Fintype.sum_eq_single u fun v hv ↦ |
| 300 | sum_eq_zero fun δ _ ↦ ite_eq_right fun h_eq ↦ hv (h_class v δ h_eq)] |
| 301 | simp [(u (a, 0)).pos.ne'] |
| 302 | |
| 303 | /-- Let `T` be a Frobenius cycle from the local ring `W` to the field `K` of characteristic `T.p`: |
| 304 | ring maps `ι s : W → K`, one for each letter `s ∈ ℤ/N`, with `ι (s + 1) ≡ ι s ^ P` modulo the prime |
| 305 | `T.p`. Here `P = T.P` is a power of `T.p`, the residue field of `W` has `q = T.q = P ^ N` elements, |
| 306 | and the letters are alternately even and odd (`T.isEven`). A matrix `g ∈ GL_k(W)` acts on |
| 307 | polynomials in the variables `x (b, s)`, `b < k`, by the linear substitution `T.polyAction g`, given |
| 308 | in the letter `s` by `ι s g` for even `s` and by `ι s` of the inverse transpose of `g` for odd `s`. |
| 309 | Let `m` be a power of `q`. The forms `F u`, of degree `n` in each letter, are packed into |
| 310 | `powerPacking a n m F = ∑ u, F u (x ^ m) * x ^ γ u`, where `γ u = residueExponent a u` is the vector |
| 311 | `u` of residues modulo `m` with `m (k - ⌊(∑ b, u (b, s)) / m⌋)` added at each index `(a, s)`. |
| 312 | Translating by `g` replaces each monomial `x ^ γ u` by its translate and each `F u` by its |
| 313 | translate, which has the coefficients `T.letterRep n g *ᵥ F u`; here `T.letterRep n g` is the matrix |
| 314 | of the action on such forms. -/ |
| 315 | lemma FrobeniusCycle.polyAction_powerPacking (T : FrobeniusCycle N W K) {n m j : ℕ} {a : Fin k} |
| 316 | {g : GL (Fin k) W} {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} [CharP K T.p] |
| 317 | (hm : m = T.q ^ j) : |
| 318 | T.polyAction g (powerPacking a n m F) = |
| 319 | ∑ u : Fin k × ZMod N → Fin m, ∑ δ : Exponents N k n, |
| 320 | monomial (m • exponentOf δ) ((T.letterRep n g *ᵥ F u) δ) * |
| 321 | T.polyAction g (monomial (residueExponent a u) 1) := by |
| 322 | have h_comm (f : MvPolynomial (Fin k × ZMod N) K) : |
| 323 | T.polyAction g (expand m f) = expand m (T.polyAction g f) := |
| 324 | AlgHom.congr_fun (T.polyAction_commute_expand hm g).eq f |
| 325 | simp only [powerPacking_apply, map_sum, map_mul, h_comm, polyAction_polyOfCoeffs, |
| 326 | expand_polyOfCoeffs (m := m) (G := T.letterRep n g *ᵥ _), Finset.sum_mul] |
| 327 | |
| 328 | /-- Let `T` be a Frobenius cycle over a field `K` of characteristic `T.p`, and let `m` be a power of |
| 329 | the number `T.q` of elements of the residue field of `W`. The forms `F u`, of degree `n` in each |
| 330 | letter, are packed into `powerPacking a n m F = ∑ u, F u (x ^ m) * x ^ γ u`, where the exponent |
| 331 | `γ u` is the class `u` modulo `m` with multiples of `m` added at the index `a`. Each exponent `α` of |
| 332 | the translate of this polynomial by `g ∈ GL_k(W)` is `m δ + ε`, where `δ` is an exponent of the |
| 333 | translate `T.letterRep n g *ᵥ F u` of some `F u` and `ε` has degree in `[m k, m k + m]` in each |
| 334 | letter. -/ |
| 335 | lemma FrobeniusCycle.exists_eq_add_of_coeff_polyAction_powerPacking (T : FrobeniusCycle N W K) |
| 336 | {n m j : ℕ} {a : Fin k} {g : GL (Fin k) W} {α : Fin k × ZMod N →₀ ℕ} |
| 337 | {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} [CharP K T.p] (hm : m = T.q ^ j) |
| 338 | (hα : (T.polyAction g (powerPacking a n m F)).coeff α ≠ 0) : |
| 339 | ∃ (u : Fin k × ZMod N → Fin m) (δ : Exponents N k n) (ε : Fin k × ZMod N →₀ ℕ), |
| 340 | α = m • exponentOf δ + ε ∧ |
| 341 | (T.letterRep n g *ᵥ F u) δ ≠ 0 ∧ |
| 342 | ∀ s : ZMod N, ∑ b : Fin k, ε (b, s) ∈ Set.Icc (m * k) (m * k + m) := by |
| 343 | obtain ⟨u, δ, hδ⟩ : ∃ (u : Fin k × ZMod N → Fin m) (δ : Exponents N k n), |
| 344 | (monomial (m • exponentOf δ) ((T.letterRep n g *ᵥ F u) δ) * |
| 345 | T.polyAction g (monomial (residueExponent a u) 1)).coeff α ≠ 0 := by |
| 346 | by_contra! h_zero |
| 347 | simp [T.polyAction_powerPacking hm, h_zero] at hα |
| 348 | obtain ⟨ε, rfl⟩ : ∃ ε, α = m • exponentOf δ + ε := le_iff_exists_add.1 <| by |
| 349 | by_contra h_not_le |
| 350 | simp [coeff_monomial_mul', h_not_le] at hδ |
| 351 | rw [coeff_monomial_mul] at hδ |
| 352 | refine ⟨u, δ, ε, rfl, left_ne_zero_of_mul hδ, fun s ↦ ?_⟩ |
| 353 | rw [T.sum_eq_of_coeff_polyAction_monomial (right_ne_zero_of_mul hδ) s] |
| 354 | exact sum_residueExponent_mem_Icc a u s |
| 355 | |
| 356 | /-- Let `T` be a Frobenius cycle over a field `K` of characteristic `T.p`, and let `m` be a power of |
| 357 | the number `T.q` of elements of the residue field of `W`. The forms `F u`, of degree `n` in each |
| 358 | letter, are packed into `powerPacking a n m F = ∑ u, F u (x ^ m) * x ^ γ u`, where the exponent |
| 359 | `γ u` is the class `u` modulo `m` with multiples of `m` added at the index `a`. Each exponent `α` of |
| 360 | the translate of this polynomial by `g ∈ GL_k(W)` has degree in `[m (n + k), m (n + k + 1)]` in each |
| 361 | letter `s`. -/ |
| 362 | lemma FrobeniusCycle.sum_mem_Icc_of_coeff_polyAction_powerPacking (T : FrobeniusCycle N W K) |
| 363 | {n m j : ℕ} {a : Fin k} {g : GL (Fin k) W} {α : Fin k × ZMod N →₀ ℕ} |
| 364 | {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} [CharP K T.p] (hm : m = T.q ^ j) |
| 365 | (hα : (T.polyAction g (powerPacking a n m F)).coeff α ≠ 0) (s : ZMod N) : |
| 366 | ∑ b : Fin k, α (b, s) ∈ Set.Icc (m * (n + k)) (m * (n + k + 1)) := by |
| 367 | obtain ⟨u, δ, ε, rfl, -, hε⟩ := T.exists_eq_add_of_coeff_polyAction_powerPacking hm hα |
| 368 | have h_deg : ∑ b : Fin k, exponentOf δ (b, s) = n := by |
| 369 | simpa [exponentOf, degree_eq_sum] using (δ s).degree_eq |
| 370 | have h_sum : ∑ b : Fin k, (m • exponentOf δ + ε) (b, s) = m * n + ∑ b : Fin k, ε (b, s) := by |
| 371 | simp [sum_add_distrib, ← h_deg, Finset.mul_sum] |
| 372 | have h_range := Set.mem_Icc.1 (hε s) |
| 373 | rw [h_sum, Set.mem_Icc] |
| 374 | constructor <;> linarith |
| 375 | |
| 376 | /-- Let `m` be a power of `q`, let `L = levi W (twoBlock k a')` be the group of block diagonal |
| 377 | matrices with blocks `a'` and `k - a'`, and let `g ∈ L`. Let the `F u` lie in |
| 378 | `T.defectConditions n a a' ⊥ h`, the space of forms of degree `n` in each letter whose translates by |
| 379 | `L` have coefficient in the ideal `⊥`, that is `0`, at every exponent of defect above `h` along |
| 380 | `(a, a')` at some letter. Then each exponent `α` of the translate by `g` of the packed polynomial |
| 381 | `∑ u, F u (x ^ m) * x ^ residueExponent a u` has defect at most `m (h + 2 (k + 1))` along `(a, a')`, |
| 382 | at every letter `i`. -/ |
| 383 | lemma FrobeniusCycle.weight_defectWeight_le_of_coeff_polyAction_powerPacking |
| 384 | (T : FrobeniusCycle N W K) {n m j : ℕ} {a a' : Fin k} {h : ℝ} {g : GL (Fin k) W} |
| 385 | {α : Fin k × ZMod N →₀ ℕ} {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} [CharP K T.p] |
| 386 | (hm : m = T.q ^ j) (hF : ∀ u : Fin k × ZMod N → Fin m, F u ∈ T.defectConditions n a a' ⊥ h) |
| 387 | (hg : g ∈ levi W (twoBlock k a')) (hα : (T.polyAction g (powerPacking a n m F)).coeff α ≠ 0) |
| 388 | (i : ZMod N) : |
| 389 | weight (T.defectWeight i a a') α ≤ m * (h + 2 * (k + 1)) := by |
| 390 | obtain ⟨u, δ, ε, rfl, hδ, hε⟩ := T.exists_eq_add_of_coeff_polyAction_powerPacking hm hα |
| 391 | have hδ_le : weight (T.defectWeight i a a') (exponentOf δ) ≤ h := |
| 392 | not_lt.1 fun h_lt ↦ hδ (hF u g hg δ ⟨i, h_lt⟩) |
| 393 | have hε_le : |weight (T.defectWeight i a a') ε| ≤ 2 * (m * k + m) := |
| 394 | T.abs_weight_defectWeight_le fun s ↦ mod_cast (hε s).2 |
| 395 | rw [map_add, map_nsmul, nsmul_eq_mul] |
| 396 | linarith [mul_le_mul_of_nonneg_left hδ_le (cast_nonneg m), le_of_abs_le hε_le] |
| 397 | |
| 398 | /-! ### Least height -/ |
| 399 | |
| 400 | /-- Let the height of a variable be its row index at even letters and minus its row index at odd |
| 401 | letters. In characteristic `T.p`, a matrix `g` that is lower triangular modulo the maximal ideal |
| 402 | sends the variable `u` to a multiple of itself, by a diagonal entry of `T.letterMatrix u.2 g`, plus |
| 403 | a linear combination of variables of height at least `height u + 1`. The latter is stated as |
| 404 | membership in the Gauss filtration for the heights and the powers of the square root |
| 405 | `T.sqrtPrime = 0` of `T.p`. -/ |
| 406 | lemma FrobeniusCycle.polyAction_X_sub_mem_gaussFiltration (T : FrobeniusCycle N W K) [CharP K T.p] |
| 407 | {g : GL (Fin k) W} (hg : g ∈ parahoric W Fin.val) {height : Fin k × ZMod N → ℝ} |
| 408 | (h_height : ∀ y : Fin k × ZMod N, height y = if T.isEven y.2 then (y.1 : ℝ) else -y.1) |
| 409 | (u : Fin k × ZMod N) : |
| 410 | T.polyAction g (X u) - C (T.letterMatrix u.2 g u.1 u.1) * X u ∈ |
| 411 | gaussFiltration (adicFiltration T.sqrtPrime) height (height u + 1) := by |
| 412 | rw [polyAction_X, ← Finset.add_sum_erase _ _ (Finset.mem_univ u.1), add_sub_cancel_left] |
| 413 | simp_rw [C_mul_X_eq_monomial] |
| 414 | refine sum_mem fun c hc ↦ monomial_mem_gaussFiltration (mem_adicFiltration_of_nonpos ?_) |
| 415 | intro (h_ne : T.letterMatrix u.2 g c u.1 ≠ 0) |
| 416 | -- An entry on the wrong side of the diagonal is divisible by `p = 0`. |
| 417 | have h_not_dvd : ¬(T.p : K) ∣ T.letterMatrix u.2 g c u.1 := by |
| 418 | simpa [CharP.cast_eq_zero K T.p] using h_ne |
| 419 | have hc_ne : c.val ≠ u.1.val := Fin.val_ne_of_ne (ne_of_mem_erase hc) |
| 420 | have h_greater : height u + 1 ≤ height (c, u.2) := by |
| 421 | cases h_even : T.isEven u.2 with |
| 422 | | true => |
| 423 | have h_side : u.1.val + 1 ≤ c.val := hc_ne.symm.lt_of_le <| not_lt.1 fun h_lt ↦ |
| 424 | h_not_dvd (T.p_dvd_letterMatrix_of_mem_parahoric_of_isEven u.2 hg h_even h_lt) |
| 425 | simpa [h_height, h_even] using (mod_cast h_side : (u.1.val + 1 : ℝ) ≤ c.val) |
| 426 | | false => |
| 427 | have h_side : c.val + 1 ≤ u.1.val := hc_ne.lt_of_le <| not_lt.1 fun h_lt ↦ |
| 428 | h_not_dvd (T.p_dvd_letterMatrix_of_mem_parahoric_of_not_isEven u.2 hg h_even h_lt) |
| 429 | simp only [h_height, h_even, Bool.false_eq_true, ite_false] |
| 430 | linarith [(mod_cast h_side : (c.val + 1 : ℝ) ≤ u.1.val)] |
| 431 | simpa [weight_single] using h_greater |
| 432 | |
| 433 | /-- Let the height of a variable be its row index at even letters and minus its row index at odd |
| 434 | letters, and let all terms of `f` have height at least that of `α`. In characteristic `T.p`, a |
| 435 | matrix `g` that is lower triangular modulo the maximal ideal multiplies the coefficient of `f` at |
| 436 | `α` by a product of diagonal entries, because it sends each monomial to a multiple of itself plus |
| 437 | monomials of greater height. -/ |
| 438 | lemma FrobeniusCycle.coeff_polyAction_of_mem_parahoric (T : FrobeniusCycle N W K) [CharP K T.p] |
| 439 | {g : GL (Fin k) W} (hg : g ∈ parahoric W Fin.val) {height : Fin k × ZMod N → ℝ} |
| 440 | (h_height : ∀ y : Fin k × ZMod N, height y = if T.isEven y.2 then (y.1 : ℝ) else -y.1) |
| 441 | {f : MvPolynomial (Fin k × ZMod N) K} {α : Fin k × ZMod N →₀ ℕ} |
| 442 | (hf : f ∈ gaussFiltration (adicFiltration T.sqrtPrime) height (weight height α)) : |
| 443 | (T.polyAction g f).coeff α = |
| 444 | (∏ u : Fin k × ZMod N, T.letterMatrix u.2 g u.1 u.1 ^ α u) * f.coeff α := by |
| 445 | -- Compare `g` with its diagonal part `diag`; the two differ by terms of greater height. |
| 446 | let d (u : Fin k × ZMod N) : K := T.letterMatrix u.2 g u.1 u.1 |
| 447 | let diag : MvPolynomial (Fin k × ZMod N) K →ₐ[K] MvPolynomial (Fin k × ZMod N) K := |
| 448 | aeval fun u ↦ C (d u) * X u |
| 449 | have h_diag (f' : MvPolynomial (Fin k × ZMod N) K) : |
| 450 | (diag f').coeff α = (∏ u : Fin k × ZMod N, d u ^ α u) * f'.coeff α := by |
| 451 | induction f' using MvPolynomial.induction_on' with |
| 452 | | monomial γ c => |
| 453 | have h_monomial : diag (monomial γ c) = monomial γ ((∏ u, d u ^ γ u) * c) := by |
| 454 | simp [diag, monomial_eq, Finsupp.prod_pow, mul_pow, prod_mul_distrib, mul_comm, |
| 455 | mul_left_comm] |
| 456 | rw [h_monomial, coeff_monomial, coeff_monomial] |
| 457 | split_ifs with h_eq <;> simp [h_eq] |
| 458 | | add f₁ f₂ ih₁ ih₂ => simp [ih₁, ih₂, mul_add] |
| 459 | have h_level (u : Fin k × ZMod N) : |
| 460 | diag (X u) ∈ gaussFiltration (adicFiltration T.sqrtPrime) height (height u) := by |
| 461 | rw [aeval_X, C_mul_X_eq_monomial] |
| 462 | exact monomial_mem_gaussFiltration |
| 463 | (mem_adicFiltration_of_nonpos fun _ ↦ by simp [weight_single]) |
| 464 | -- The gain `1` is weakened to the gain `20⁻¹` of `algHom_sub_mem_of_mem_gaussFiltration`. |
| 465 | have h_higher (u : Fin k × ZMod N) : T.polyAction g (X u) - diag (X u) ∈ |
| 466 | gaussFiltration (adicFiltration T.sqrtPrime) height (height u + 20⁻¹) := by |
| 467 | simpa [diag] using IsRealFiltration.antitone (by linarith) |
| 468 | (T.polyAction_X_sub_mem_gaussFiltration hg h_height u) |
| 469 | have h_gain : T.polyAction g f - diag f ∈ |
| 470 | gaussFiltration (adicFiltration T.sqrtPrime) height (weight height α + 20⁻¹) := |
| 471 | (algHom_sub_mem_of_mem_gaussFiltration diag _ hf h_level _ h_higher C_mem_gaussFiltration).right |
| 472 | -- As `T.sqrtPrime = 0`, a coefficient of positive order vanishes. |
| 473 | have sqrtPrime_eq_zero : T.sqrtPrime = 0 := (pow_eq_zero_iff two_ne_zero).1 |
| 474 | (T.sqrtPrime_sq.trans (CharP.cast_eq_zero K _)) |
| 475 | have h_dvd : T.sqrtPrime ^ ⌈weight height α + 20⁻¹ - weight height α⌉₊ ∣ |
| 476 | (T.polyAction g f - diag f).coeff α := |
| 477 | mem_adicFiltration_iff.1 (mem_gaussFiltration_iff.1 h_gain α) |
| 478 | simpa [sqrtPrime_eq_zero, sub_eq_zero, h_diag] using h_dvd |
| 479 | |
| 480 | /-- Let `L = levi W τ` be the group of matrices whose entry `(b, c)` vanishes for `τ b ≠ τ c`, and |
| 481 | let `R` represent the right cosets in `L` of its intersection with the lower Iwahori subgroup |
| 482 | `parahoric W Fin.val` of matrices that are lower triangular modulo the maximal ideal. Some translate |
| 483 | of a polynomial `f ≠ 0` by an element `x` of `R` has an exponent `α` of defect at most `0` along all |
| 484 | simple roots `(b, b + 1)` with `τ b = τ (b + 1)`, at all letters. -/ |
| 485 | lemma FrobeniusCycle.exists_coeff_ne_zero_weight_defectWeight_nonpos (T : FrobeniusCycle N W K) |
| 486 | [CharP K T.p] {τ : Fin k → ℕ} {R : Set (levi W τ)} |
| 487 | (hR : IsComplement ((parahoric W Fin.val).subgroupOf (levi W τ) : Set (levi W τ)) R) |
| 488 | {f : MvPolynomial (Fin k × ZMod N) K} (hf : f ≠ 0) : |
| 489 | ∃ (x : R) (α : Fin k × ZMod N →₀ ℕ), (T.polyAction x f).coeff α ≠ 0 ∧ |
| 490 | ∀ (i : ZMod N) (b b' : Fin k), b.val + 1 = b' → τ b = τ b' → |
| 491 | weight (T.defectWeight i b b') α ≤ 0 := by |
| 492 | -- Take a term of least height among all translates of `f` by `L`. It occurs at a representative, |
| 493 | -- and `weight_defectWeight_nonpos_of_least` applies to each simple root inside a block. |
| 494 | let height (y : Fin k × ZMod N) : ℝ := if T.isEven y.2 then y.1 else -y.1 |
| 495 | let S : Set (Fin k × ZMod N →₀ ℕ) := {α | ∃ g ∈ levi W τ, (T.polyAction g f).coeff α ≠ 0} |
| 496 | have h_finite : S.Finite := (finite_of_degree_le f.totalDegree).subset fun α ⟨g, _, hα⟩ ↦ |
| 497 | (le_totalDegree (MvPolynomial.mem_support_iff.2 hα)).trans (T.totalDegree_polyAction_le g f) |
| 498 | have h_nonempty : S.Nonempty := |
| 499 | (MvPolynomial.support_nonempty.2 hf).imp fun α hα ↦ ⟨1, one_mem _, by simpa using hα⟩ |
| 500 | obtain ⟨α, ⟨g, hg, hα⟩, h_min⟩ := Set.exists_min_image S (weight height) h_finite h_nonempty |
| 501 | have h_least (g' : GL (Fin k) W) (hg' : g' ∈ levi W τ) : |
| 502 | T.polyAction g' f ∈ gaussFiltration (adicFiltration T.sqrtPrime) height (weight height α) := |
| 503 | fun α' ↦ mem_adicFiltration_of_nonpos fun hα' ↦ sub_nonpos.2 (h_min α' ⟨g', hg', hα'⟩) |
| 504 | -- Write `g = y x` with `y` lower triangular modulo the maximal ideal and `x` in `R`. No term of |
| 505 | -- the translate by `x` has smaller height, so the coefficient for `g` is a multiple of the one |
| 506 | -- for `x`. |
| 507 | obtain ⟨⟨y, x⟩, hyx⟩ := hR.2 ⟨g, hg⟩ |
| 508 | have h_occurs : (T.polyAction x f).coeff α ≠ 0 := by |
| 509 | rw [show g = y * x from congrArg Subtype.val hyx.symm, map_mul, AlgHom.mul_apply, |
| 510 | T.coeff_polyAction_of_mem_parahoric (Subgroup.mem_subgroupOf.1 y.property) (fun _ ↦ rfl) |
| 511 | (h_least x x.val.property)] at hα |
| 512 | exact right_ne_zero_of_mul hα |
| 513 | refine ⟨x, α, h_occurs, fun i b b' hb h_block ↦ ?_⟩ |
| 514 | have h_step (s : ZMod N) : height (T.rootVar b b' s) - height (T.rootVar b' b s) = 1 := by |
| 515 | cases h_even : T.isEven s <;> simp [height, rootVar, h_even, ← hb] |
| 516 | refine T.weight_defectWeight_nonpos_of_least i h_step (fun g' hg' ↦ ?_) h_occurs |
| 517 | rw [← AlgHom.mul_apply, ← map_mul] |
| 518 | exact h_least _ (mul_mem (rootSL_le_levi h_block hg') x.val.property) |
| 519 | |
| 520 | /-! ### The shift -/ |
| 521 | |
| 522 | /-- The defect of a vector `β` indexed by `(b, s) ∈ Fin k × ZMod N`, at the letter `i` along the |
| 523 | root `(a, a')`, is the linear form with coefficients `T.defectWeight i a a'`, namely `β v + ∑ s, ± P |
| 524 | ^ ((s - i) mod N) * (β (a', s) - β (a, s)) / (q - 1)`, with the sign `+` at even `s`, where |
| 525 | `v = T.rootVar a a' i` is `(a', i)` for even `i` and `(a, i)` for odd `i`. Let |
| 526 | `β = pieriStepMap T.isEven T.P 1 ν`, that is, `β (b, s) = ± (P * ν (b, s + 1) - ν (b, s))` with |
| 527 | the same signs. Then the defect of `β` is `β v - (ν (a, i) - ν (a', i))`. -/ |
| 528 | lemma FrobeniusCycle.defectWeight_dotProduct_pieriStepMap (T : FrobeniusCycle N W K) {a a' : Fin k} |
| 529 | (i : ZMod N) (ν : Fin k × ZMod N → ℝ) : |
| 530 | T.defectWeight i a a' ⬝ᵥ pieriStepMap T.isEven T.P 1 ν = |
| 531 | pieriStepMap T.isEven T.P 1 ν (T.rootVar a a' i) - (ν (a, i) - ν (a', i)) := by |
| 532 | -- Each letter `s` contributes `telescope (s - 1) - telescope s`, and these terms cancel in the |
| 533 | -- sum over all letters. The letter `i` contributes the right side in addition. |
| 534 | have hq : ((T.p : ℝ) ^ T.frobExp) ^ N - 1 ≠ 0 := mod_cast (sub_pos.2 T.one_lt_q).ne' |
| 535 | let telescope (s : ZMod N) : ℝ := |
| 536 | T.P ^ (1 + (s - i).val) * (ν (a, s + 1) - ν (a', s + 1)) / (T.q - 1) |
| 537 | have h_prev (s : ZMod N) : telescope (s - 1) = |
| 538 | T.P ^ (if s = i then N else (s - i).val) * (ν (a, s) - ν (a', s)) / (T.q - 1) := by |
| 539 | simp [telescope, one_add_val_sub_one_sub] |
| 540 | have h_letter (s : ZMod N) : |
| 541 | ∑ b : Fin k, T.defectWeight i a a' (b, s) * pieriStepMap T.isEven T.P 1 ν (b, s) = |
| 542 | telescope (s - 1) - telescope s + |
| 543 | if s = i then pieriStepMap T.isEven T.P 1 ν (T.rootVar a a' i) - (ν (a, i) - ν (a', i)) |
| 544 | else 0 := by |
| 545 | rw [h_prev] |
| 546 | simp only [telescope, defectWeight, rootVar, one_add_val_sub_one_sub] |
| 547 | -- Only the rows a and a' contribute; the cases are s = i or not, and the parity of s. |
| 548 | rcases eq_or_ne s i with rfl | hs <;> by_cases h_even : T.isEven s <;> |
| 549 | simp [div_eq_mul_inv, sub_mul, *] <;> field |
| 550 | have h_circle : ∑ s : ZMod N, telescope (s - 1) = ∑ s : ZMod N, telescope s := |
| 551 | (Equiv.subRight 1).sum_comp telescope |
| 552 | rw [dotProduct, Fintype.sum_prod_type_right, sum_congr rfl fun s _ ↦ h_letter s] |
| 553 | simp [sum_add_distrib, h_circle, -pieriStepMap_apply] |
| 554 | |
| 555 | /-- There is an integral vector `σ ≥ 0` of degree `∑ b, σ (b, s)` at most `P ^ (2 (a + 1)) - 1` in |
| 556 | each letter `s` that lies in `T.defectCone a (-1)`: its defect, at every letter, is at most `-1` |
| 557 | along `(a, a + 1)` and at most `0` along the other simple roots `(b, b + 1)`. -/ |
| 558 | lemma FrobeniusCycle.exists_mem_defectCone_sum_le (T : FrobeniusCycle N W K) (a : Fin k) : |
| 559 | ∃ σ ∈ T.defectCone a (-1), |
| 560 | 0 ≤ σ ∧ |
| 561 | (∀ x : Fin k × ZMod N, ∃ z : ℤ, σ x = z) ∧ |
| 562 | ∀ s : ZMod N, ∑ b : Fin k, σ (b, s) ≤ (T.P ^ (2 * (a.val + 1)) - 1 : ℝ) := by |
| 563 | -- Let `μ = (P ^ (2 a), …, P ^ 2, 1, 0, …, 0)`, and let `ν` be `μ` at even and `P μ` at odd |
| 564 | -- letters. Then `σ = pieriStepMap ν` is `(P ^ 2 - 1) μ` at even and `0` at odd letters. |
| 565 | have hP_sq : (0 : ℝ) ≤ T.P ^ 2 - 1 := sub_nonneg.2 (one_le_pow₀ T.one_lt_P.le) |
| 566 | let μ (b : Fin k) : ℝ := if b ≤ a then (T.P ^ 2) ^ (a.val - b) else 0 |
| 567 | let ν (x : Fin k × ZMod N) : ℝ := (if T.isEven x.2 then 1 else T.P : ℝ) * μ x.1 |
| 568 | have hμ_nonneg (b : Fin k) : 0 ≤ μ b := ite_nonneg (by positivity) le_rfl |
| 569 | have hμ_sum : ∑ b : Fin k, μ b = ∑ j ∈ range (a.val + 1), (T.P ^ 2 : ℝ) ^ j := by |
| 570 | simp only [μ, Fin.le_def] |
| 571 | rw [Fin.sum_univ_eq_sum_range fun j : ℕ ↦ if j ≤ a.val then _ ^ (a.val - j) else (0 : ℝ), |
| 572 | ← sum_filter, show (range k).filter (· ≤ a.val) = range (a.val + 1) by grind] |
| 573 | exact sum_range_reflect (fun j : ℕ ↦ (T.P ^ 2 : ℝ) ^ j) (a.val + 1) |
| 574 | have hμ_succ (b b' : Fin k) (hb : b.val + 1 = b') : |
| 575 | μ b = T.P ^ 2 * μ b' + if b = a then 1 else 0 := by |
| 576 | rcases lt_trichotomy b a with h_lt | rfl | h_gt |
| 577 | · simp only [μ, ite_eq_left h_lt.le, ite_eq_left (show b' ≤ a by omega), ite_eq_right h_lt.ne, |
| 578 | show a.val - b = (a.val - b') + 1 by omega] |
| 579 | ring |
| 580 | · simp [μ, show ¬b' ≤ b by omega] |
| 581 | · simp [μ, h_gt.ne', show ¬b' ≤ a by omega, h_gt.not_ge] |
| 582 | have hσ (b : Fin k) (i : ZMod N) : |
| 583 | pieriStepMap T.isEven T.P 1 ν (b, i) = if T.isEven i then (T.P ^ 2 - 1) * μ b else 0 := by |
| 584 | by_cases h_even : T.isEven i <;> simp [ν, T.isEven_succ, h_even]; ring |
| 585 | refine ⟨pieriStepMap T.isEven T.P 1 ν, fun i b b' hb ↦ ?_, fun (b, i) ↦ ?_, fun (b, i) ↦ ?_, |
| 586 | fun s ↦ ?_⟩ |
| 587 | · -- The defects are `P ^ 2 μ b' - μ b` at even and `P (μ b' - μ b)` at odd letters. |
| 588 | have h_gap : 0 ≤ (T.P ^ 2 - 1) * μ b' := mul_nonneg hP_sq (hμ_nonneg b') |
| 589 | rw [defectWeight_dotProduct_pieriStepMap] |
| 590 | by_cases h_even : T.isEven i |
| 591 | · simp only [rootVar, hσ, ν, h_even, ite_true, hμ_succ b b' hb] |
| 592 | split_ifs <;> linarith |
| 593 | · simp only [rootVar, hσ, ν, h_even, Bool.false_eq_true, ite_false, hμ_succ b b' hb] |
| 594 | split_ifs <;> nlinarith |
| 595 | · rw [hσ] |
| 596 | exact ite_nonneg (mul_nonneg hP_sq (hμ_nonneg b)) le_rfl |
| 597 | · refine ⟨if T.isEven i ∧ b ≤ a then (T.P ^ 2 - 1) * (T.P ^ 2) ^ (a.val - b) else 0, ?_⟩ |
| 598 | simp only [hσ, μ, ite_and, mul_ite, mul_zero, Int.cast_ite, Int.cast_mul, Int.cast_sub, |
| 599 | Int.cast_pow, Int.cast_natCast, Int.cast_one, Int.cast_zero] |
| 600 | · simp only [hσ] |
| 601 | split_ifs |
| 602 | · rw [← Finset.mul_sum, hμ_sum, mul_geom_sum, pow_mul] |
| 603 | · rw [sum_const_zero] |
| 604 | exact sub_nonneg.2 (one_le_pow₀ T.one_lt_P.le) |
| 605 | |
| 606 | /-- The slab `degreeSlab k D` is the set of vectors `β ≥ 0` with degree `∑ b, β (b, s)` in |
| 607 | `[D s - 1, D s]` for each letter `s`. Let `h ≥ 0`, and let `σ ≥ 0` lie in `T.defectCone a (-1)`. |
| 608 | Adding `h σ` to a vector `β` of `T.defectCone a h` in the slab of degrees in `[d - 1, d]` gives a |
| 609 | vector of `T.defectCone a 0` in the slab whose degrees are raised by those of `h σ`. -/ |
| 610 | lemma FrobeniusCycle.smul_add_mem_defectCone_inter_degreeSlab (T : FrobeniusCycle N W K) |
| 611 | {a : Fin k} {σ β : Fin k × ZMod N → ℝ} {h d : ℝ} (h_factor : 0 ≤ h) |
| 612 | (hσ_cone : σ ∈ T.defectCone a (-1)) (hσ_nonneg : 0 ≤ σ) |
| 613 | (hβ : β ∈ T.defectCone a h ∩ degreeSlab k fun _ : ZMod N ↦ d) : |
| 614 | h • σ + β ∈ |
| 615 | T.defectCone a 0 ∩ degreeSlab k fun s : ZMod N ↦ d + ∑ b : Fin k, (h • σ) (b, s) := by |
| 616 | rw [mem_inter_iff, mem_degreeSlab] at hβ ⊢ |
| 617 | obtain ⟨h_cone, h_nonneg, h_deg⟩ := hβ |
| 618 | refine ⟨fun i b b' hb ↦ ?_, add_nonneg (smul_nonneg h_factor hσ_nonneg) h_nonneg, fun s ↦ ?_⟩ |
| 619 | · have hβ_le : T.defectWeight i b b' ⬝ᵥ β ≤ if b = a then h else 0 := h_cone i b b' hb |
| 620 | have hσ_le : h * T.defectWeight i b b' ⬝ᵥ σ ≤ h * if b = a then -1 else 0 := |
| 621 | mul_le_mul_of_nonneg_left (hσ_cone i b b' hb) h_factor |
| 622 | rw [dotProduct_add, dotProduct_smul, smul_eq_mul, ite_self] |
| 623 | split_ifs at hβ_le hσ_le <;> linarith |
| 624 | · obtain ⟨h_low, h_up⟩ := h_deg s |
| 625 | simp only [Pi.add_apply, sum_add_distrib] |
| 626 | constructor <;> linarith |
| 627 | |
| 628 | /-! ### The count -/ |
| 629 | |
| 630 | /-- Let `T` be a Frobenius cycle from the local ring `W` to the field `K` of characteristic `T.p`: |
| 631 | ring maps `ι s : W → K`, one for each letter `s ∈ ℤ/N`, with `ι (s + 1) ≡ ι s ^ P` modulo the prime |
| 632 | `T.p`. Here `P = T.P` is a power of `T.p`, the residue field of `W` has `q = T.q = P ^ N` elements, |
| 633 | and the letters are alternately even and odd (`T.isEven`). A matrix `g ∈ GL_k(W)` acts on |
| 634 | polynomials in the variables `x (b, s)`, `b < k`, by the linear substitution `T.polyAction g`, given |
| 635 | in the letter `s` by `ι s g` for even `s` and by `ι s` of the inverse transpose of `g` for odd `s`. |
| 636 | The defect of a vector `β` indexed by `(b, s) ∈ Fin k × ZMod N`, at the letter `i` along the root |
| 637 | `(b, b')`, is the linear form with coefficients `T.defectWeight i b b'`, namely |
| 638 | `β v + ∑ s, ± P ^ ((s - i) mod N) * (β (b', s) - β (b, s)) / (q - 1)`, with the sign `+` at even |
| 639 | `s`, and `v = (b', i)` for even `i`, `v = (b, i)` for odd `i`. Let `m` be a power of `q`, let |
| 640 | `a' = a + 1` and `2 (k + 1) ≤ t`, let `L = levi W (twoBlock k a')` be the group of block diagonal |
| 641 | matrices with blocks `a'` and `k - a'`, and let `g ∈ L`. Let the `F u` lie in the space of forms of |
| 642 | degree `n` in each letter whose translates by `L` have coefficient in the ideal `⊥`, that is `0`, at |
| 643 | every exponent of defect above `3 t` along `(a, a')` at some letter. Pack them into |
| 644 | `powerPacking a n m F = ∑ u, F u (x ^ m) * x ^ γ u`, where `γ u = residueExponent a u` is the vector |
| 645 | `u` of residues modulo `m` with `m (k - ⌊(∑ b, u (b, s)) / m⌋)` added at each index `(a, s)`. If an |
| 646 | exponent `α` of the translate of this polynomial by `g` has defect at most `0` along the simple |
| 647 | roots `(b, b + 1)` inside the blocks, then `α / m` has degree in `[n + k, n + k + 1]` in each letter |
| 648 | and lies in `T.defectCone a (4 t)`: its defect is at most `4 t` along `(a, a')` and at most `0` |
| 649 | along the other simple roots. -/ |
| 650 | lemma FrobeniusCycle.div_mem_defectCone_inter_degreeSlab (T : FrobeniusCycle N W K) [CharP K T.p] |
| 651 | {a a' : Fin k} (ha : a.val + 1 = a') {n m j : ℕ} (hm : m = T.q ^ j) |
| 652 | {t : ℝ} (ht : 2 * (k + 1) ≤ t) {F : (Fin k × ZMod N → Fin m) → Exponents N k n → K} |
| 653 | (hF : ∀ u : Fin k × ZMod N → Fin m, F u ∈ T.defectConditions n a a' ⊥ (3 * t)) |
| 654 | {g : GL (Fin k) W} (hg : g ∈ levi W (twoBlock k a')) {α : Fin k × ZMod N →₀ ℕ} |
| 655 | (hα : (T.polyAction g (powerPacking a n m F)).coeff α ≠ 0) |
| 656 | (h_nonpos : ∀ (i : ZMod N) (b b' : Fin k), b.val + 1 = b' → twoBlock k a' b = twoBlock k a' b' → |
| 657 | weight (T.defectWeight i b b') α ≤ 0) : |
| 658 | (fun y : Fin k × ZMod N ↦ (α y : ℝ) / m) ∈ |
| 659 | T.defectCone a (4 * t) ∩ degreeSlab k fun _ : ZMod N ↦ n + k + 1 := by |
| 660 | have hm_pos : (0 : ℝ) < m := by simpa [hm] using pow_pos (one_pos.trans T.one_lt_q) j |
| 661 | rw [mem_inter_iff, mem_degreeSlab] |
| 662 | refine ⟨fun i b b' hb ↦ ?_, fun _ ↦ by positivity, fun s ↦ ?_⟩ |
| 663 | · have h_dot : (T.defectWeight i b b' ⬝ᵥ fun y ↦ (α y : ℝ) / m) = |
| 664 | weight (T.defectWeight i b b') α / m := by |
| 665 | simp [dotProduct, weight_eq_sum, sum_div, mul_div_assoc', mul_comm] |
| 666 | rw [h_dot, div_le_iff₀' hm_pos] |
| 667 | split_ifs with hba |
| 668 | · obtain rfl : b' = a' := by omega |
| 669 | rw [hba] |
| 670 | calc weight (T.defectWeight i a b') α ≤ m * (3 * t + 2 * (k + 1)) := |
| 671 | T.weight_defectWeight_le_of_coeff_polyAction_powerPacking hm hF hg hα i |
| 672 | _ ≤ m * (4 * t) := mul_le_mul_of_nonneg_left (by linarith) hm_pos.le |
| 673 | · have h_block : twoBlock k a' b = twoBlock k a' b' := by grind [twoBlock, Fin.val_inj] |
| 674 | simpa using h_nonpos i b b' hb h_block |
| 675 | · obtain ⟨h_low, h_up⟩ := T.sum_mem_Icc_of_coeff_polyAction_powerPacking hm hα s |
| 676 | rw [← sum_div, ← cast_sum, Set.mem_Icc, le_div_iff₀' hm_pos, div_le_iff₀' hm_pos, |
| 677 | add_sub_cancel_right] |
| 678 | exact ⟨mod_cast h_low, mod_cast h_up⟩ |
| 679 | |
| 680 | open Pointwise in |
| 681 | /-- Let `T` be a Frobenius cycle (`New.FrobeniusCycle`) from the local ring `W` to the field `K` of |
| 682 | characteristic `T.p`. It consists of ring maps `ι s : W → K`, one for each letter `s ∈ ℤ/N`, with |
| 683 | `ι (s + 1) ≡ ι s ^ P` modulo the prime `T.p`. Here `P = T.P` is a power of `T.p`, the residue field |
| 684 | of `W` has `q = T.q = P ^ N` elements, and the letters are alternately even and odd (`T.isEven`). A |
| 685 | matrix `g ∈ GL_k(W)` acts on polynomials in the variables `x (b, s)`, `b < k`, by the linear |
| 686 | substitution `T.polyAction g`. In the letter `s` it is given by `ι s g` for even `s` and by `ι s` of |
| 687 | the inverse transpose of `g` for odd `s`. Let `β` be a vector indexed by `(b, s) ∈ Fin k × ZMod N`. |
| 688 | Its defect at the letter `i` along the root `(b, b')` is the linear form with coefficients |
| 689 | `T.defectWeight i b b'`, namely `β v + ∑ s, ± P ^ ((s - i) mod N) * (β (b', s) - β (b, s)) / (q - |
| 690 | 1)`. The sign is `+` at even `s`, and `v = (b', i)` for even `i`, `v = (b, i)` for odd `i`. Let `m` |
| 691 | be a power of `q`, let `a' = a + 1` and `t ≥ 2 (k + 1)`. Let `L = levi W (twoBlock k a')` be the |
| 692 | group of block diagonal matrices with blocks `a'` and `k - a'`. Let |
| 693 | `S = T.defectConditions n a a' ⊥ (3 t)` be the space of forms of degree `n` in each letter whose |
| 694 | translates by `L` have coefficient in the ideal `⊥`, that is `0`, at every exponent whose defect |
| 695 | along `(a, a')` is above `3 t` at some letter. Let `σ ≥ 0` be an integral vector of defect at most |
| 696 | `-1` along `(a, a')` and at most `0` along the other simple roots. Let `D s` be `n + k + 1` plus the |
| 697 | degree of `4 t σ` in the letter `s`. Then `m ^ (k N) * dim S` is at most a product of two factors. |
| 698 | The first is the index in `L` of its intersection with the lower Iwahori subgroup |
| 699 | `parahoric W Fin.val`: the matrices whose `(i, j)` entry lies in the maximal ideal when `i < j`. The |
| 700 | second is the number of points of `m⁻¹ ℤ ^ (k N)` in the cone `T.defectCone a 0` of Pieri's |
| 701 | inequalities, cut by the slab of vectors `β ≥ 0` with degrees in `[D s - 1, D s]`. This cone |
| 702 | consists of the vectors whose defect is at most `0` along all simple roots `(b, b + 1)` at all |
| 703 | letters. -/ |
| 704 | lemma FrobeniusCycle.finrank_defectConditions_mul_pow_le (T : FrobeniusCycle N W K) [CharP K T.p] |
| 705 | {a a' : Fin k} (ha : a.val + 1 = a') (n : ℕ) {t : ℕ} (ht : 2 * (k + 1) ≤ t) |
| 706 | {m j : ℕ} (hm : m = T.q ^ j) |
| 707 | {σ : Fin k × ZMod N → ℝ} (hσ_cone : σ ∈ T.defectCone a (-1)) (hσ_nonneg : 0 ≤ σ) |
| 708 | (hσ_int : ∀ x : Fin k × ZMod N, ∃ z : ℤ, σ x = z) {D : ZMod N → ℝ} |
| 709 | (hD : D = fun s : ZMod N ↦ (n + k + 1 : ℝ) + ∑ b : Fin k, ((4 * t : ℝ) • σ) (b, s)) : |
| 710 | finrank K (T.defectConditions n a a' ⊥ (3 * t)) * m ^ card (Fin k × ZMod N) ≤ |
| 711 | (parahoric W Fin.val).relIndex (levi W (twoBlock k a')) * |
| 712 | Nat.card ↥((T.defectCone a 0 ∩ degreeSlab k D) ∩ (m : ℝ)⁻¹ • |
| 713 | (Submodule.span ℤ (Set.range (Pi.basisFun ℝ (Fin k × ZMod N))) : |
| 714 | Set (Fin k × ZMod N → ℝ))) := by |
| 715 | -- Pack `m ^ (k N)` forms into one polynomial and list the coefficients of its translates by |
| 716 | -- representatives `R` of the flags at the exponents `α` with `4 t σ + α / m` in `Λ`. This linear |
| 717 | -- map is injective. |
| 718 | set Y : Set (Fin k × ZMod N → ℝ) := T.defectCone a 0 ∩ degreeSlab k D |
| 719 | set Λ : Set (Fin k × ZMod N → ℝ) := Y ∩ (m : ℝ)⁻¹ • |
| 720 | (Submodule.span ℤ (Set.range (Pi.basisFun ℝ (Fin k × ZMod N))) : Set (Fin k × ZMod N → ℝ)) |
| 721 | set S : Submodule K (Exponents N k n → K) := T.defectConditions n a a' ⊥ (3 * t) |
| 722 | have : Finite (IsLocalRing.ResidueField W) := T.finite_residueField |
| 723 | have hm_pos : 0 < m := by simpa [hm] using pow_pos (pos_of_gt (mod_cast T.one_lt_q : 1 < T.q)) j |
| 724 | have : NeZero m := ⟨hm_pos.ne'⟩ |
| 725 | obtain ⟨R, hR, -⟩ := |
| 726 | ((parahoric W Fin.val).subgroupOf (levi W (twoBlock k a'))).exists_isComplement_right 1 |
| 727 | let : Fintype R := hR.finite_right.fintype |
| 728 | let : Fintype Λ := ((ZSpan.setFinite_inter _ |
| 729 | ((isBounded_degreeSlab ..).subset inter_subset_right)).subset |
| 730 | (inf_le_inf_left _ (ZSpan.smul _ (NeZero.ne _)).le)).fintype |
| 731 | let pack : ((Fin k × ZMod N → Fin m) → S) →ₗ[K] MvPolynomial (Fin k × ZMod N) K := |
| 732 | powerPacking a n m ∘ₗ S.subtype.compLeft _ |
| 733 | -- The exponent `m (y - 4 t σ)` of a point `y` of `Λ`, with negative entries replaced by `0`. |
| 734 | let expAt (y : Λ) : Fin k × ZMod N →₀ ℕ := |
| 735 | equivFunOnFinite.symm fun z ↦ ⌊(y.val z - 4 * t * σ z) * m⌋₊ |
| 736 | let Φ : ((Fin k × ZMod N → Fin m) → S) →ₗ[K] R × Λ → K := |
| 737 | LinearMap.pi fun (x, y) ↦ lcoeff K (expAt y) ∘ₗ (T.polyAction x).toLinearMap ∘ₗ pack |
| 738 | suffices h_ker : ∀ F : (Fin k × ZMod N → Fin m) → S, Φ F = 0 → F = 0 by |
| 739 | simpa [relIndex, ← hR.card_right, mul_comm, finrank_pi_fintype] using |
| 740 | Φ.finrank_le_finrank_of_injective ((injective_iff_map_eq_zero _).2 h_ker) |
| 741 | intro F hF |
| 742 | ext u β |
| 743 | by_contra hβ |
| 744 | have h_ne : powerPacking a n m (fun v ↦ (F v).val) ≠ 0 := fun h_zero ↦ hβ <| by |
| 745 | simpa [h_zero] using (coeff_powerPacking (a := a) (F := fun v ↦ (F v).val) u β).symm |
| 746 | obtain ⟨x, α, hα, h_nonpos⟩ := T.exists_coeff_ne_zero_weight_defectWeight_nonpos hR h_ne |
| 747 | have h_cone : (fun y : Fin k × ZMod N ↦ (α y : ℝ) / m) ∈ |
| 748 | T.defectCone a (4 * t) ∩ degreeSlab k fun _ : ZMod N ↦ n + k + 1 := |
| 749 | T.div_mem_defectCone_inter_degreeSlab ha hm (mod_cast ht) (fun v ↦ (F v).property) |
| 750 | x.val.property hα h_nonpos |
| 751 | -- The shifted point lies in `Y`; as the shift is integral it lies in `Λ`, so the coefficient at |
| 752 | -- `α` is an entry of `Φ F = 0`. |
| 753 | have h_lattice : (4 * t : ℝ) • σ + (fun y : Fin k × ZMod N ↦ (α y : ℝ) / m) ∈ Λ := by |
| 754 | refine ⟨by simpa only [Y, hD] using |
| 755 | T.smul_add_mem_defectCone_inter_degreeSlab (by positivity) hσ_cone hσ_nonneg h_cone, |
| 756 | BoxIntegral.unitPartition.mem_smul_span_iff.2 fun y ↦ ?_⟩ |
| 757 | obtain ⟨z, hz⟩ := hσ_int y |
| 758 | exact ⟨m * (4 * t * z) + α y, by simp [hz, field]⟩ |
| 759 | have h_exp : expAt ⟨_, h_lattice⟩ = α := by ext z; simp [expAt, field] |
| 760 | have h_entry : (T.polyAction x (pack F)).coeff (expAt ⟨_, h_lattice⟩) = 0 := |
| 761 | congrFun hF (x, ⟨_, h_lattice⟩) |
| 762 | exact hα (by rwa [h_exp] at h_entry) |
| 763 | |
| 764 | /-- Let `T` be a Frobenius cycle from the local ring `W` to the field `K` of characteristic `T.p`: |
| 765 | ring maps `ι s : W → K`, one for each letter `s ∈ ℤ/N`, with `ι (s + 1) ≡ ι s ^ P` modulo the prime |
| 766 | `T.p`. Here `P = T.P` is a power of `T.p`, the residue field of `W` has `q = T.q = P ^ N` elements, |
| 767 | and the letters are alternately even and odd (`T.isEven`). A matrix `g ∈ GL_k(W)` acts on |
| 768 | polynomials in the variables `x (b, s)`, `b < k`, by the linear substitution `T.polyAction g`, given |
| 769 | in the letter `s` by `ι s g` for even `s` and by `ι s` of the inverse transpose of `g` for odd `s`. |
| 770 | The defect of a vector `β` indexed by `(b, s) ∈ Fin k × ZMod N`, at the letter `i` along the root |
| 771 | `(b, b')`, is the linear form with coefficients `T.defectWeight i b b'`, namely |
| 772 | `β v + ∑ s, ± P ^ ((s - i) mod N) * (β (b', s) - β (b, s)) / (q - 1)`, with the sign `+` at even |
| 773 | `s`, and `v = (b', i)` for even `i`, `v = (b, i)` for odd `i`. Let `a' = a + 1` and `t ≥ 2 (k + 1)`, |
| 774 | and let `L = levi W (twoBlock k a')` be the group of block diagonal matrices with blocks `a'` and |
| 775 | `k - a'`. Let `S = T.defectConditions n a a' ⊥ (3 t)` be the space of forms of degree `n` in each |
| 776 | letter whose translates by `L` have coefficient in the ideal `⊥`, that is `0`, at every exponent of |
| 777 | defect above `3 t` along `(a, a')` at some letter. There are degrees `D s` in |
| 778 | `[1, n + 4 t P ^ (2 a')]` such that `dim S` is at most the index in `L` of its intersection with the |
| 779 | lower Iwahori subgroup `parahoric W Fin.val` of matrices that are lower triangular modulo the |
| 780 | maximal ideal, times the volume of the cone `T.defectCone a 0` of Pieri's inequalities (defect at |
| 781 | most `0` along all simple roots `(b, b + 1)` at all letters) cut by the slab of vectors `β ≥ 0` with |
| 782 | degrees in `[D s - 1, D s]`. -/ |
| 783 | lemma FrobeniusCycle.exists_finrank_defectConditions_le_volume (T : FrobeniusCycle N W K) |
| 784 | [CharP K T.p] {a a' : Fin k} (ha : a.val + 1 = a') (n : ℕ) {t : ℕ} (ht : 2 * (k + 1) ≤ t) : |
| 785 | ∃ D : ZMod N → ℝ, |
| 786 | (∀ s : ZMod N, D s ∈ Set.Icc 1 (n + 4 * t * T.P ^ (2 * a'.val) : ℝ)) ∧ |
| 787 | finrank K (T.defectConditions n a a' ⊥ (3 * t)) ≤ |
| 788 | (parahoric W Fin.val).relIndex (levi W (twoBlock k a')) * |
| 789 | volume.real (T.defectCone a 0 ∩ degreeSlab k D) := by |
| 790 | obtain ⟨σ, hσ_cone, hσ_nonneg, hσ_int, hσ_le⟩ := T.exists_mem_defectCone_sum_le a |
| 791 | let D (s : ZMod N) : ℝ := n + k + 1 + ∑ b : Fin k, ((4 * t : ℝ) • σ) (b, s) |
| 792 | refine ⟨D, fun s ↦ ?_, ?_⟩ |
| 793 | · have h_shift : 4 * t * ∑ b : Fin k, σ (b, s) ≤ 4 * t * (T.P ^ (2 * a'.val) - 1) := by |
| 794 | grw [hσ_le s, ha] |
| 795 | have h_nonneg : 0 ≤ 4 * t * ∑ b : Fin k, σ (b, s) := |
| 796 | mul_nonneg (by positivity) (sum_nonneg fun b _ ↦ hσ_nonneg (b, s)) |
| 797 | have ht_real : (2 * (k + 1) : ℝ) ≤ t := mod_cast ht |
| 798 | simp only [D, Pi.smul_apply, smul_eq_mul, ← Finset.mul_sum] |
| 799 | constructor <;> linarith |
| 800 | -- The set `Y` is bounded and convex, so the number of its points in `m⁻¹ ℤ ^ (k N)`, divided |
| 801 | -- by `m ^ (k N)`, tends to its volume. It suffices to bound the dimension along `m = q ^ j`. |
| 802 | set Y : Set (Fin k × ZMod N → ℝ) := T.defectCone a 0 ∩ degreeSlab k D |
| 803 | have h_meas : MeasurableSet Y := by |
| 804 | refine MeasurableSet.inter ?_ (isClosed_degreeSlab k D).measurableSet |
| 805 | simp only [defectCone, dotProduct] |
| 806 | measurability |
| 807 | have h_frontier : volume (frontier Y) = 0 := |
| 808 | (T.convex_defectCone_inter_degreeSlab a 0 D).addHaar_frontier _ |
| 809 | have h_limit := Filter.Tendsto.const_mul |
| 810 | ((parahoric W Fin.val).relIndex (levi W (twoBlock k a')) : ℝ) |
| 811 | (tendsto_card_div_pow_atTop_volume Y ((isBounded_degreeSlab ..).subset inter_subset_right) |
| 812 | h_meas h_frontier) |
| 813 | refine ge_of_tendsto_of_frequently h_limit |
| 814 | (frequently_atTop'.2 fun j ↦ ⟨T.q ^ j, j.lt_pow_self (mod_cast T.one_lt_q), ?_⟩) |
| 815 | rw [← mul_div_assoc, le_div_iff₀ (pow_pos (mod_cast pow_pos (one_pos.trans T.one_lt_q) j) _), |
| 816 | ← cast_pow, ← cast_mul, ← cast_mul, cast_le] |
| 817 | exact T.finrank_defectConditions_mul_pow_le ha n ht rfl hσ_cone hσ_nonneg hσ_int rfl |
| 818 | |
| 819 | end New |
| 820 | |
| 821 | end FlagsAndVolume |
| 822 | |
| 823 | /-! ## The volume of a slab and the dimension of the forms of bounded defect -/ |
| 824 | |
| 825 | section BoundedDefect |
| 826 | |
| 827 | open Finset Module MeasureTheory Measure Real Nat Subgroup Set Matrix |
| 828 | |
| 829 | namespace New |
| 830 | |
| 831 | open TauCeti (pieriStepMap pieriStepMap_apply pieriCone mem_pieriCone degreeSlab mem_degreeSlab |
| 832 | isBounded_degreeSlab isClosed_degreeSlab prod_mul_volume_real_inter_degreeSlab) |
| 833 | |
| 834 | variable {N k : ℕ} |
| 835 | {W K : Type} [NeZero N] [CommRing W] [IsLocalRing W] [Field K] |
| 836 | |
| 837 | /-- The slab of nonnegative vectors in `ℝ ^ (n + 1)` with sum in `[d - 1, d]`, where `d ≤ D`, has |
| 838 | volume at most `|Dⁿ / n!|`. -/ |
| 839 | lemma volume_sum_mem_Icc_le {n : ℕ} {d D : ℝ} (hd : d ≤ D) : |
| 840 | volume {y : Fin n.succ → ℝ | (∀ b : Fin n.succ, 0 ≤ y b) ∧ univ.sum y ∈ Set.Icc (d - 1) d} ≤ |
| 841 | ‖D ^ n / n !‖ₑ := by |
| 842 | -- Push forward the positive orthant by `∑ b, y b`, then bound the density by `|D ^ n / n !|`. |
| 843 | have hmeas : Measurable fun y : Fin n.succ → ℝ ↦ ∑ b, y b := by fun_prop |
| 844 | have h_eq : {y : Fin n.succ → ℝ | (∀ b : Fin n.succ, 0 ≤ y b) ∧ univ.sum y ∈ Icc (d - 1) d} = |
| 845 | (fun y : Fin n.succ → ℝ ↦ ∑ b, y b) ⁻¹' Icc (d - 1) d ∩ Set.univ.pi fun _ ↦ Ici 0 := |
| 846 | Set.ext fun _ ↦ |
| 847 | ⟨fun ⟨h1, h2⟩ ↦ ⟨h2, fun b _ ↦ h1 b⟩, fun ⟨h2, h1⟩ ↦ ⟨fun b ↦ h1 b (Set.mem_univ b), h2⟩⟩ |
| 848 | rw [h_eq, ← Measure.restrict_apply (measurableSet_Icc.preimage hmeas), |
| 849 | ← Measure.map_apply hmeas measurableSet_Icc, TauCeti.map_volume_restrict_pi_Ici_sum, |
| 850 | withDensity_apply _ measurableSet_Icc, Measure.restrict_restrict measurableSet_Icc] |
| 851 | simp_rw [show Fintype.card (Fin n.succ) - 1 = n by rw [Fintype.card_fin]; rfl] |
| 852 | calc ∫⁻ s in Icc (d - 1) d ∩ Ici 0, ENNReal.ofReal (s ^ n / n !) |
| 853 | ≤ ∫⁻ _ in Icc (d - 1) d ∩ Ici 0, ENNReal.ofReal |D ^ n / n !| := by |
| 854 | refine setLIntegral_mono' (measurableSet_Icc.inter measurableSet_Ici) |
| 855 | fun s ⟨hs, hs0⟩ ↦ ENNReal.ofReal_le_ofReal ?_ |
| 856 | exact (div_le_div_of_nonneg_right |
| 857 | (pow_le_pow_left₀ hs0 (hs.2.trans hd) n) (Nat.cast_nonneg _)).trans (le_abs_self _) |
| 858 | _ = ‖D ^ n / n !‖ₑ * volume (Icc (d - 1) d ∩ Ici 0) := by |
| 859 | rw [setLIntegral_const, Real.eNorm_eq_ofReal_abs] |
| 860 | _ ≤ ‖D ^ n / n !‖ₑ * 1 := by |
| 861 | grw [measure_mono inter_subset_left] |
| 862 | rw [Real.volume_Icc, sub_sub_cancel, ENNReal.ofReal_one] |
| 863 | _ = ‖D ^ n / n !‖ₑ := mul_one _ |
| 864 | |
| 865 | /-- If `D s ≤ B` for all `N` letters `s`, then the slab of nonnegative vectors with `k + 1` entries |
| 866 | in each letter and degree in `[D s - 1, D s]` has volume at most `|B ^ k / k !| ^ N`. -/ |
| 867 | lemma volume_degreeSlab_le {k : ℕ} {D : ZMod N → ℝ} {B : ℝ} (h_deg : ∀ s : ZMod N, D s ≤ B) : |
| 868 | volume (degreeSlab (k + 1) D) ≤ ‖B ^ k / k !‖ₑ ^ N := by |
| 869 | let block (s : ZMod N) : Set (Fin k.succ → ℝ) := |
| 870 | {y | (∀ b, 0 ≤ y b) ∧ univ.sum y ∈ Icc (D s - 1) (D s)} |
| 871 | calc |
| 872 | volume (degreeSlab (k + 1) D) ≤ volume (Set.univ.pi block) := by |
| 873 | have h_subset : degreeSlab (k + 1) D ⊆ (fun β s b ↦ β (b, s)) ⁻¹' Set.univ.pi block := |
| 874 | fun β hβ s _ ↦ ⟨fun b ↦ (mem_degreeSlab.1 hβ).1 (b, s), (mem_degreeSlab.1 hβ).2 s⟩ |
| 875 | have h_curry := |
| 876 | TauCeti.measurePreserving_curry (fun (_ : Fin k.succ) (_ : ZMod N) ↦ (volume : Measure ℝ)) |
| 877 | exact (measure_mono h_subset).trans |
| 878 | ((measurePreserving_flip.comp h_curry).measure_preimage_le _) |
| 879 | _ = ∏ s : ZMod N, volume (block s) := volume_pi_pi block |
| 880 | _ ≤ ∏ _s : ZMod N, ‖B ^ k / k !‖ₑ := |
| 881 | prod_le_prod fun s _ ↦ volume_sum_mem_Icc_le (h_deg s) |
| 882 | _ = ‖B ^ k / k !‖ₑ ^ N := by simp |
| 883 | |
| 884 | /-- There are at least `n ^ k / k !` monomials of degree `n` in `k + 1` variables. -/ |
| 885 | lemma pow_div_factorial_le_card_monomials (k n : ℕ) : |
| 886 | (n ^ k / k ! : ℝ) ≤ Fintype.card (Monomials (Fin (k + 1)) n) := by |
| 887 | calc (n ^ k / k ! : ℝ) ≤ ((n + k + 1 - k : ℕ) : ℝ) ^ k / k ! := by gcongr; lia |
| 888 | _ ≤ ((n + k).choose k : ℝ) := pow_le_choose k (n + k) |
| 889 | _ = Fintype.card (Monomials (Fin (k + 1)) n) := by |
| 890 | simp [card_finsuppAntidiag_nat_eq_choose, ← choose_symm_add, add_comm] |
| 891 | |
| 892 | omit [NeZero N] in |
| 893 | /-- Let `q = T.P ^ N` be the number of elements of the residue field of the local ring `W`; the |
| 894 | Frobenius cycle `T` enters only through this number. The index in `GL_k(W)` of the parahoric |
| 895 | subgroup with blocks `r` and `k - r`, times the number of flags of its Levi subgroup `L`, is at most |
| 896 | `∏ (q ^ (l + 1) - 1) / (q - 1)` over `l < k`. -/ |
| 897 | lemma FrobeniusCycle.index_mul_relIndex_le (T : FrobeniusCycle N W K) (r : ℕ) : |
| 898 | ((parahoric W (twoBlock k r)).index * |
| 899 | (parahoric W Fin.val).relIndex (levi W (twoBlock k r)) : ℝ) ≤ |
| 900 | ∏ l : Fin k, (((T.P : ℝ) ^ N) ^ (l.val + 1) - 1) / (T.P ^ N - 1) := by |
| 901 | have : Finite (IsLocalRing.ResidueField W) := T.finite_residueField |
| 902 | -- The entries of the Levi subgroup between the blocks vanish, and |
| 903 | -- `twoBlock k r i < twoBlock k r j` implies `i < j`. |
| 904 | have h_levi : levi W (twoBlock k r) ≤ parahoric W (twoBlock k r) := fun g hg ↦ by |
| 905 | suffices ∀ ⦃i j⦄, twoBlock k r i < twoBlock k r j → g.val i j ∈ IsLocalRing.maximalIdeal W by |
| 906 | simpa [parahoric, parabolic, BlockTriangular] |
| 907 | exact fun i j h ↦ by simp [hg i j h.ne] |
| 908 | have h_iwahori_le : parahoric W Fin.val ≤ parahoric W (twoBlock k r) := fun g hg ↦ by |
| 909 | replace hg : ∀ ⦃i j : Fin k⦄, i < j → g.val i j ∈ IsLocalRing.maximalIdeal W := by |
| 910 | simpa [parahoric, parabolic, BlockTriangular] using hg |
| 911 | suffices ∀ ⦃i j⦄, twoBlock k r i < twoBlock k r j → g.val i j ∈ IsLocalRing.maximalIdeal W by |
| 912 | simpa [parahoric, parabolic, BlockTriangular] |
| 913 | exact fun i j h ↦ hg (by grind [twoBlock]) |
| 914 | grw [relIndex_le_of_le_right h_levi index_ne_zero_of_finite, mul_comm, ← cast_mul, |
| 915 | relIndex_mul_index h_iwahori_le, parahoric, index_comap, |
| 916 | relIndex_le_of_le_right le_top index_ne_zero_of_finite, relIndex_top_right, |
| 917 | index_borel_eq, T.card_residueField, cast_pow] |
| 918 | |
| 919 | /-- The image of `ν` under `TauCeti.pieriStepMap` with trivial permutations, that is, the vector |
| 920 | `± (P ν (b, s + 1) - ν (b, s))` with the sign `+` at even letters, has defect at most `0` along all |
| 921 | simple roots if and only if `ν` lies in `TauCeti.pieriCone`, the cone of Pieri's inequalities in the |
| 922 | coordinates `ν`. The index `a'` does not matter, as the bound is `0` at every root. -/ |
| 923 | lemma FrobeniusCycle.pieriStepMap_mem_defectCone_iff (T : FrobeniusCycle N W K) {a' : Fin k} |
| 924 | (ν : Fin k × ZMod N → ℝ) : |
| 925 | pieriStepMap T.isEven T.P 1 ν ∈ T.defectCone a' 0 ↔ ν ∈ pieriCone T.isEven (T.P : ℝ) := by |
| 926 | rw [mem_pieriCone] |
| 927 | refine forall₄_congr fun i b b' hb ↦ ?_ |
| 928 | rw [defectWeight_dotProduct_pieriStepMap, ite_self, sub_nonpos, rootVar] |
| 929 | cases h_even : T.isEven i <;> |
| 930 | simp only [h_even, cast_pow, Bool.false_eq_true, ↓reduceIte, pieriStepMap_apply, Pi.one_apply, |
| 931 | Equiv.Perm.coe_one, id_eq, neg_mul, one_mul, neg_sub, tsub_le_iff_right, sub_add_cancel] |
| 932 | constructor <;> intro <;> linarith |
| 933 | |
| 934 | /-- For a Frobenius cycle `T` with `q = T.P ^ N`, the cone `T.defectCone a 0` of Pieri's |
| 935 | inequalities fills the part `∏ (q - 1) / (q ^ (l + 1) - 1)`, over `l < k`, of the volume of every |
| 936 | slab of vectors `β ≥ 0` with degrees in `[D s - 1, D s]`. -/ |
| 937 | lemma FrobeniusCycle.prod_mul_volume_defectCone_inter_degreeSlab (T : FrobeniusCycle N W K) |
| 938 | {a : Fin k} (D : ZMod N → ℝ) : |
| 939 | (∏ l : Fin k, (((T.P : ℝ) ^ N) ^ (l.val + 1) - 1) / (T.P ^ N - 1)) * |
| 940 | volume.real (T.defectCone a 0 ∩ degreeSlab k D) = volume.real (degreeSlab k D) := |
| 941 | prod_mul_volume_real_inter_degreeSlab T.one_lt_P D (Set.ext T.pieriStepMap_mem_defectCone_iff) |
| 942 | |
| 943 | /-- Few forms have bounded defect. Let `T` be a Frobenius cycle from the local ring `W` to the field |
| 944 | `K` of characteristic `T.p`: ring maps `ι s : W → K`, one for each letter `s ∈ ℤ/N`, with |
| 945 | `ι (s + 1) ≡ ι s ^ P` modulo the prime `T.p`. Here `P = T.P` is a power of `T.p`, the residue field |
| 946 | of `W` has `q = T.q = P ^ N` elements, and the letters are alternately even and odd (`T.isEven`). A |
| 947 | matrix `g ∈ GL_k(W)` acts on polynomials in the variables `x (b, s)`, `b < k`, by the linear |
| 948 | substitution `T.polyAction g`, given in the letter `s` by `ι s g` for even `s` and by `ι s` of the |
| 949 | inverse transpose of `g` for odd `s`. The defect of a vector `β` indexed by |
| 950 | `(b, s) ∈ Fin k × ZMod N`, at the letter `i` along the root `(b, b')`, is the linear form with |
| 951 | coefficients `T.defectWeight i b b'`, namely |
| 952 | `β v + ∑ s, ± P ^ ((s - i) mod N) * (β (b', s) - β (b, s)) / (q - 1)`, with the sign `+` at even |
| 953 | `s`, and `v = (b', i)` for even `i`, `v = (b, i)` for odd `i`. Let `a' = a + 1` and `t ≥ 2 (k + 1)`, |
| 954 | and let `L = levi W (twoBlock k a')` be the group of block diagonal matrices with blocks `a'` and |
| 955 | `k - a'`. Let `S = T.defectConditions n a a' ⊥ (3 t)` be the space of forms of degree `n` in each |
| 956 | letter whose translates by `L` have coefficient in the ideal `⊥`, that is `0`, at every exponent of |
| 957 | defect above `3 t` along `(a, a')` at some letter. Let `θ ≤ 1`, and let `n > 0` satisfy |
| 958 | `8 N k t P ^ (2 a') ≤ θ n`. Then the index in `GL_k(W)` of the parahoric subgroup of these blocks |
| 959 | (upper right block in the maximal ideal) times `dim S` is at most `1 + θ` times the number of |
| 960 | `N`-tuples of monomials of degree `n` in `k` variables. -/ |
| 961 | lemma FrobeniusCycle.index_mul_finrank_defectConditions_le (T : FrobeniusCycle N W K) {a a' : Fin k} |
| 962 | [CharP K T.p] (ha : a.val + 1 = a') {n t : ℕ} {θ : ℝ} (hn : 0 < n) (ht : 2 * (k + 1) ≤ t) |
| 963 | (hθ : θ ≤ 1) (h_large : 8 * N * k * t * T.P ^ (2 * a'.val) ≤ θ * n) : |
| 964 | (parahoric W (twoBlock k a')).index * finrank K (T.defectConditions n a a' ⊥ (3 * t)) ≤ |
| 965 | (1 + θ) * Fintype.card (Monomials (Fin k) n) ^ N := by |
| 966 | -- The index times the number of flags of the Levi subgroup is at most the number of all flags, |
| 967 | -- which cancels the share of the cone in the slab. The degrees of the slab are at most `n + E`. |
| 968 | obtain ⟨D, hD, h_flags⟩ := T.exists_finrank_defectConditions_le_volume ha n ht |
| 969 | set E : ℝ := 4 * t * T.P ^ (2 * a'.val) with hE_def |
| 970 | have hE_le : 2 * N * k * E ≤ θ * n := by linarith |
| 971 | have hE : 0 ≤ E := by positivity |
| 972 | have hn_real : (0 : ℝ) < n := cast_pos.2 hn |
| 973 | have h_deg (s : ZMod N) : D s ≤ rexp (E / n) * n := |
| 974 | calc D s ≤ (E / n + 1) * n := (hD s).2.trans_eq (by field) |
| 975 | _ ≤ rexp (E / n) * n := mul_le_mul_of_nonneg_right (add_one_le_exp _) hn_real.le |
| 976 | clear_value E -- the estimates below treat `E` as an atom |
| 977 | obtain _ | k' := k |
| 978 | · exact a.elim0 |
| 979 | let x : ℝ := N * (k' * (E / n)) |
| 980 | have h_exp : rexp x ≤ 1 + θ := by |
| 981 | have hx_le : 2 * x ≤ θ := |
| 982 | calc 2 * x = 2 * N * k' * E / n := by ring |
| 983 | _ ≤ 2 * N * (k' + 1 : ℕ) * E / n := by gcongr; exact k'.le_succ |
| 984 | _ ≤ θ := (div_le_iff₀ hn_real).2 hE_le |
| 985 | have h_bound : rexp x ≤ 1 + x * 2 := by |
| 986 | simpa [one_add_one_eq_two] using |
| 987 | exp_bound' (show 0 ≤ x by positivity) (show x ≤ 1 by linarith) one_pos |
| 988 | linarith |
| 989 | calc ((parahoric W (twoBlock (k' + 1) a')).index * |
| 990 | finrank K (T.defectConditions n a a' ⊥ (3 * t)) : ℝ) |
| 991 | ≤ (parahoric W (twoBlock (k' + 1) a')).index * |
| 992 | (parahoric W Fin.val).relIndex (levi W (twoBlock (k' + 1) a')) * |
| 993 | volume.real (T.defectCone a 0 ∩ degreeSlab (k' + 1) D) := by grw [h_flags, mul_assoc] |
| 994 | _ ≤ volume.real (degreeSlab (k' + 1) D) := by |
| 995 | grw [T.index_mul_relIndex_le, T.prod_mul_volume_defectCone_inter_degreeSlab] |
| 996 | _ ≤ rexp x * (n ^ k' / k' !) ^ N := by |
| 997 | refine (ENNReal.toReal_le_of_le_ofReal (b := ((rexp (E / n) * n) ^ k' / k' !) ^ N) |
| 998 | (by positivity) ?_).trans_eq ?_ |
| 999 | · rw [ENNReal.ofReal_pow (by positivity), ← eNorm_of_nonneg (by positivity)] |
| 1000 | exact volume_degreeSlab_le h_deg |
| 1001 | · rw [mul_pow, mul_div_assoc, mul_pow, ← exp_natCast_mul, ← exp_natCast_mul] |
| 1002 | _ ≤ (1 + θ) * Fintype.card (Monomials (Fin (k' + 1)) n) ^ N := by |
| 1003 | gcongr |
| 1004 | · exact (exp_pos _).le.trans h_exp |
| 1005 | · exact pow_div_factorial_le_card_monomials k' n |
| 1006 | |
| 1007 | end New |
| 1008 | |
| 1009 | end BoundedDefect |