Structured proof · Unit 144
lemma TwistingData.exists_le_weight_of_mem_deepForms
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.)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.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).For every i and b such a j exists among 2b and 2b + 1: otherwise
isEven(i - 2b) andisEven(i - 2b - 1) would both be false, contradicting the alternationisEven_succ.Lean states
∃ j : ℕ, j / 2 = b ∧ T.isEven (i - j)Uses
TwistingDataunit 144
Record 0 < p (named p), a
Fintypestructure on the finite residue field, the fact that p is prime, and write k = 2r + m (m, e) using \mathit{hk}.Let R = K[x_v : v \in
Fink \times \mathbb{Z}/N], x : R \toFrac(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).Let I =
Finr \timesFin(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 \subseteqFrac(R) for y : I \to residue field; and z(y, v) = \sum_{t} a(v.2, y, t)\cdot c(v, t) \inFrac(R): z(y) is the point of the variables attached to y.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 states
x ∘ c v ^ T.P ^ j ⬝ᵥ a (v.2 + j) y = z y v ^ T.P ^ jUsesstep 4,
TwistingData.unit 144,frobenius_pow_congr sum_pow_char_pow,CharP.cast_eq_zero 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 yLet 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
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 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.unit 144,one_lt_P TwistingData.unit 144,rootVar TwistingData.unit 144deepIndicator
Apply
exists_le_cost_of_vanishing(Combinatorial Nullstellensatz with multiplicity) with costs \kappa, the points z(y) and the polynomial f = \iota(polyOfCoeffsF), 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_vanishingunit 57The 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 The order is \tau and the polynomial is \iota(
polyOfCoeffsF); it is nonzero: if it were 0, then comparing the coefficient ofexponentOf\beta inpolyOfCoeffsF (recovered from \iota by evaluation) would give F(\beta) = 0 for every \beta, contradicting F0.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 states
x = .comp (eval (x ∘ X)) ιUsesstep 7
The vanishing of f to order \tau at each z(y) is left as a goal.
Expand the coefficient of \alpha in \iota(
polyOfCoeffsF) as a sum over \beta of F(\beta) times products of constants: only \beta whose deep part is \alpha contribute.Usesstep 8,
polyOfCoeffsunit 57This \beta works: its weight \sum \beta_{s}(b)\cdot
deepIndicator/P^{e(b)} equals the cost of \alpha, which is \ge \tau.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.unit 144,sum_deepIndicator TwistingDataunit 144For 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
Write F = \rho(g^{-1})\rho(g)F and pass to polynomials:
polyOfCoeffsF =polyActiong^{-1} (polyOfCoeffs(\rho(g)F)).F = \rho(g^{-1})\cdot(\rho(g)\cdot F), as \rho is multiplicative and \rho(1) = 1.
Lean states
F = T.letterRep n g⁻¹ *ᵥ T.letterRep n g *ᵥ F
Expand
polyOfCoeffs(\rho(g)F) as \sum_{\beta}(\rho(g)F)_{\beta}\cdot x^{\beta} (monomials as products of powers of variables).It suffices that each term lies in the \tau-th power of the vanishing ideal: a term with
depth(\beta) < \tau is 0 (hFat g: (\rho(g)F)_{\beta} = 0), and fordepth(\beta) \ge \tau it suffices that the image of the product of the deep variables of x^{\beta} (depth(\beta) of them) lies in thedepth(\beta)-th power, which is contained in the \tau-th.Uses
TwistingData.unit 144,deepForms Ideal.,pow_le_pow_right Ideal.mul_mem_left Write the deep part of x^{\beta} as \Pi_{v} (image of x_v)^{\beta(v)\cdot \text{deepIndicator}(v)}.
It suffices that the image under \iota \circ
polyAction(g^{-1}) of each deep variable lies in the vanishing ideal of the point z(y).Uses
Ideal.,prod_mem_prod Ideal.pow_mem_pow 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.unit 144,polyAction_X TwistingData.unit 144,letterMatrix TwistingData.unit 144,rootVar TwistingData.unit 144deepIndicator