grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 144

lemma TwistingData.exists_le_weight_of_mem_deepForms

What it saysLet N be a natural number, W a commutative local ring, K a field and T twisting data over them (T : TwistingData N W K, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K for s \in \mathbb{Z}/N, parity isEven and w \in K), N \ne 0, K of characteristic p, natural numbers k, n, r, \tau and a coefficient vector F : (\mathbb{Z}/N \to Monomials (Fin k) n) \to K with 2r \le k (hk), 2r < N (hN), F \in deepForms T k n r \tau (hF: every translate \rho(g)F, g \in \mathrm{GL}_k(W), has only monomials of depth \ge \tau) and F \ne 0 (F0). Then some \beta has F(\beta) \ne 0 and \tau \le \sum_{(b,s)} \beta_{s}(b)\cdotdeepIndicator T r (b, s)/P^{e(b)} (in \mathbb{R}), with e(b) = 2r if b \ge 2r and e(b) = 1 if b < 2r: a nonzero form all of whose translates are deep has a monomial of weight at least \tau when deep variables weigh P^{-2r} (b \ge 2r) or 1/P (b < 2r) and the others 0. (Here \tau is a natural number, the depth bound, not a labelling.)
The argument in briefCombinatorial Nullstellensatz with multiplicity over the field of rational functions K(x): substitute constants for the non-deep variables, give a deep variable v the cost 1/\kappa(v), \kappa(v) = P^{2r} or P, and use the points z(y), one for each y : I \to residue field (I = Fin r \times Fin (m+1), k = 2r + m), coming from the unipotent matrices 1 + \sum_{t} y_t E_{\rho(t),\sigma(t)}. Frobenius twists make each u^{\kappa(u)} the value of a cheap polynomial at these points; the image of F vanishes to order \tau at each point, because the translate of F by the unipotent matrix is deep; and there are at least \Pi \kappa points. So the image of F has a monomial of cost \ge \tau, which comes from a monomial \beta of F with F(\beta) \ne 0.

32 steps, 27 of them leaves · New/TwistedHecke/DeepFormCost.lean, lines 21–92 · in the notes: Proposition 6.6, p. 21 of Elementary divisors of a Frobenius-twisted Hecke operator

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1fact1 step insidelines 24–25

    Choose J: for every letter i and natural b, J i b is a natural number j with j/2 = b and isEven(i - j).

    1. 1.1deductionlines 24–25

      For every i and b such a j exists among 2b and 2b + 1: otherwise isEven(i - 2b) and isEven(i - 2b - 1) would both be false, contradicting the alternation isEven_succ.

      Lean states∃ j : ℕ, j / 2 = b ∧ T.isEven (i - j)

      UsesTwistingData unit 144

  2. 2setupline 26

    Record 0 < p (named p), a Fintype structure on the finite residue field, the fact that p is prime, and write k = 2r + m (m, e) using \mathit{hk}.

    UsesTwistingData.finite_residueField unit 144

  3. Let R = K[x_v : v \in Fin k \times \mathbb{Z}/N], x : R \to Frac(R) the inclusion, and \kappa(v) = P^{\text{deepIndicator}(v)\cdot e(v)}, e(v) = 2r if v.1 \ge 2r and 1 otherwise; a variable v will cost 1/\kappa(v).

  4. Let I = Fin r \times Fin (m+1) (lexicographic order), \rho(t) = t.1 < r, \sigma(t) = t.1 + r if t.2 = 0 and k - t.2 otherwise (both \ge r); c(v, t) = \pm x_{\text{rootVar} \sigma(t) \rho(t) \text{v.2}} if v = rootVar \rho(t) \sigma(t) v.2 and 0 otherwise (sign + for even letters); a(i, y, t) = \iota_{i}(lift of y_t) \in K \subseteq Frac(R) for y : I \to residue field; and z(y, v) = \sum_{t} a(v.2, y, t)\cdot c(v, t) \in Frac(R): z(y) is the point of the variables attached to y.

  5. Claim \mathit{hz}: for every variable v, j \in \mathbb{N} and y: \sum_{t} c(v, t)^{P^{j}}\cdot a(v.2 + j, y, t) = z(y, v)^{P^{j}}: the P^{j}-th power is additive in characteristic p, and a(s, y, t)^{P^{j}} = a(s + j, y, t) because \iota_{s+j}(x) \equiv \iota_{s}(x)^{P^{j}} mod p and p = 0 in K.

    Lean statesx ∘ c v ^ T.P ^ j ⬝ᵥ a (v.2 + j) y = z y v ^ T.P ^ j

    Usesstep 4, TwistingData.frobenius_pow_congr unit 144, sum_pow_char_pow, CharP.cast_eq_zero

  6. 6fact5 steps insidelines 43–59

    Claim entry: for every letter i and every coefficient vector u indexed by I there is a polynomial g (over Frac(R)) all of whose monomials \alpha have cost \sum_{v} \alpha(v)/\kappa(v) < 1 and with g(z(y)) = \sum_{t} u_t a(i, y, t) for all y.

    Lean states∃ g, (∀ α ∈ g.support, weight (κ · : _ → ℝ)⁻¹ α < 1) ∧ ∀ y, eval (z y) g = u ⬝ᵥ a i y

    1. Let j(t) = 0 if t.2 = 0 and J i t.1 otherwise, and v(t) = rootVar \rho(t) \sigma(t) (i - j(t)).

      Usesstep 1

    2. The I\times I matrix (c(v(t), t')^{P^{j(t)}})_{t,t'} over Frac(R) is invertible, so u = w\cdot(that matrix) for some vector w: its determinant is nonzero because evaluating at the point sending v to 0^{((i - \text{v.2}) \text{mod} N)/2 - \text{v.1}} makes the matrix upper triangular (for the lexicographic order of I) with nonzero diagonal (uses 2r < N and the choice of J).

      Usesstep 1, step 4, step 6.1, Matrix.vecMul_surjective_iff_isUnit, Matrix.det_of_isUpperTriangular, RingHom.map_det

    3. 6.3witnesslines 55–56

      Take g = \sum_{t} w_t\cdot x_{v(t)}^{P^{j(t)}}; its value at z(y) is \sum_{t} u_t a(i, y, t) by \mathit{hz} and dotProduct_mulVec.

      Usesstep 5, step 6.1, step 6.2, Matrix.dotProduct_mulVec

    4. 6.4setupline 57

      A monomial \alpha in the support of g is x_{v(t)}^{P^{j(t)}} for some t.

      Usesstep 6.3, MvPolynomial.support_sum, MvPolynomial.coeff_X_pow

    5. 6.5deductionlines 58–59

      Its cost P^{j(t)}/\kappa(v(t)) is < 1: by the choice of J the variable v(t) is deep with \kappa(v(t)) = P^{e} where e > j(t) (P > 1).

      Usesstep 1, step 3, step 6.1, step 6.4, TwistingData.one_lt_P unit 144, TwistingData.rootVar unit 144, TwistingData.deepIndicator unit 144

  7. 7setupline 61

    Let \iota : R \to Frac(R)[x] be the substitution that keeps the deep variables and replaces each non-deep variable x_v by the constant x(x_v).

    Usesstep 3

  8. 8fact5 steps insidelines 62–68

    Apply exists_le_cost_of_vanishing (Combinatorial Nullstellensatz with multiplicity) with costs \kappa, the points z(y) and the polynomial f = \iota(polyOfCoeffs F), with order \tau: it gives \alpha in the support of f with \tau \le \sum_{v} \alpha(v)/\kappa(v) (h, H). Two of its hypotheses remain as goals: the number of points, and the vanishing.

    Usesstep 3, step 4, step 7, exists_le_cost_of_vanishing unit 57

    1. 8.1deductionlines 62–64

      The points are distinct: if z(y) = z(y'), then evaluating the polynomial given by entry for the unit vector at t gives \iota_{0}(lift y_t) = \iota_{0}(lift y'_{t}), so the lifts agree modulo the maximal ideal (otherwise their difference would be a unit whose image under \iota_{0} vanishes) and y_t = y'_{t}.

      Usesstep 6, Ideal.Quotient.eq, Quotient.out_eq

    2. 8.2deductionlines 64–65

      The count of points is left as a goal (?_{)}; each u^{\kappa(u)} agrees at the points with a polynomial of cost < 1, by entry combined with \mathit{hz}.

      Usesstep 5, step 6

    3. 8.3deductionlines 65–67

      The order is \tau and the polynomial is \iota(polyOfCoeffs F); it is nonzero: if it were 0, then comparing the coefficient of exponentOf \beta in polyOfCoeffs F (recovered from \iota by evaluation) would give F(\beta) = 0 for every \beta, contradicting F0.

      Usesstep 7, polyOfCoeffs unit 57, exponentOf unit 57

    4. x = (evaluation at the variables x(x_v)) \circ \iota, an identity of ring homomorphisms R \to Frac(R), checked on constants and variables.

      Lean statesx = .comp (eval (x ∘ X)) ι

      Usesstep 7

    5. 8.5reductionline 68

      The vanishing of f to order \tau at each z(y) is left as a goal.

  9. 9computationlines 70–71

    Expand the coefficient of \alpha in \iota(polyOfCoeffs F) as a sum over \beta of F(\beta) times products of constants: only \beta whose deep part is \alpha contribute.

    Usesstep 8, polyOfCoeffs unit 57

  10. 10factline 72

    As the sum is nonzero, some \beta with deep part \alpha has F(\beta) \ne 0.

    Usesstep 9, Finset.exists_ne_zero_of_sum_ne_zero

  11. 11deductionline 73

    This \beta works: its weight \sum \beta_{s}(b)\cdotdeepIndicator/P^{e(b)} equals the cost of \alpha, which is \ge \tau.

    Usesstep 8, step 10, TwistingData.deepIndicator unit 144

  12. 12computationlines 75–78

    The number of points: there are (P^{N})^{|I|} =(P^{N})^{r(m+1)} choices of y (card_residueField), and \Pi_{v} \kappa(v) = P^{\sum_{v} \text{deepIndicator}(v)e(v)} = P^{(N/2)(2r + 2\mathit{rm})} \le P^{N r(m+1)}, using that each b is deep for N/2 letters (sum_deepIndicator).

    Usesstep 2, step 3, step 4, TwistingData.sum_deepIndicator unit 144, TwistingData unit 144

  13. For the vanishing at z(y): let A = \sum_{t} y_t\cdot E_{\rho(t),\sigma(t)} (lifted entries; A^{2} = 0 as \rho(t) < r \le \sigma(t')) and g = 1 + A \in \mathrm{GL}_k(W), with inverse 1 - A.

    Usesstep 4

  14. 14reduction1 step insidelines 82–83

    Write F = \rho(g^{-1})\rho(g)F and pass to polynomials: polyOfCoeffs F = polyAction g^{-1} (polyOfCoeffs(\rho(g)F)).

    Usesstep 13, TwistingData.polyAction_polyOfCoeffs unit 144

    1. F = \rho(g^{-1})\cdot(\rho(g)\cdot F), as \rho is multiplicative and \rho(1) = 1.

      Lean statesF = T.letterRep n g⁻¹ *ᵥ T.letterRep n g *ᵥ F

      UsesTwistingData.letterRep unit 144

  15. 15computationline 84

    Expand polyOfCoeffs(\rho(g)F) as \sum_{\beta}(\rho(g)F)_{\beta}\cdot x^{\beta} (monomials as products of powers of variables).

  16. 16reductionlines 85–86

    It suffices that each term lies in the \tau-th power of the vanishing ideal: a term with depth(\beta) < \tau is 0 (hF at g: (\rho(g)F)_{\beta} = 0), and for depth(\beta) \ge \tau it suffices that the image of the product of the deep variables of x^{\beta} (depth(\beta) of them) lies in the depth(\beta)-th power, which is contained in the \tau-th.

    UsesTwistingData.deepForms unit 144, Ideal.pow_le_pow_right, Ideal.mul_mem_left

  17. 17computationline 87

    Write the deep part of x^{\beta} as \Pi_{v} (image of x_v)^{\beta(v)\cdot \text{deepIndicator}(v)}.

    UsesTwistingData.depth unit 144

  18. 18reductionline 88

    It suffices that the image under \iota \circpolyAction(g^{-1}) of each deep variable lies in the vanishing ideal of the point z(y).

    UsesIdeal.prod_mem_prod, Ideal.pow_mem_pow

  19. 19computation1 step insidelines 89–92

    Case analysis on the parity of the letter of v and on r \le v.1: g^{-1} = 1 - A sends a deep variable v to x_v minus a combination whose value at z(y) is z(y, v) (the entries of A at (\rho(t), \sigma(t)) are the y_t), so the image vanishes at z(y).

    Usesstep 4, step 7, step 13, TwistingData.polyAction_X unit 144, TwistingData.letterMatrix unit 144, TwistingData.rootVar unit 144, TwistingData.deepIndicator unit 144

    1. 19.1factline 92

      For every t \in I: not (r \le \rho(t)) and r \le \sigma(t) (\rho(t) = t.1 < r and \sigma(t) \ge r); used in the simplification.

      Lean states∀ t, ¬r ≤ ρ t ∧ r ≤ σ t

      Usesstep 4