Structured proof · Unit 144
lemma TwistingData.root_lemma
TwistingData N W R (with w \in R, w^{2} = p), k \in \mathbb{N}, a \ne a' in Fin k (ha), a letter i, a labelling \tau of Fin k with \tau(a) = \tau(a') (h\tau), weights c : Fin k \times \mathbb{Z}/N \to \mathbb{R} with c(u_s) - c(\overline{u}_{s}) \in [0.4, 1.6] for every letter s, where u_s = rootVar T a a' s and \overline{u}_{s} = rootVar T a' a s (hc), a polynomial f \in R[x_{b,s}], an exponent \alpha and l \in \mathbb{N}. Assume that for every g in the Levi subgroup of \tau, polyAction T g^{-1} f lies in gaussFiltration (adicFiltration w) c (l + c\cdot \alpha), i.e. the coefficient of every Levi translate of f at x^{\beta} is divisible by w^{\lceil l + c\cdot \alpha - c\cdot \beta \rceil_{+}} (h), and that w^{l+1} does not divide the coefficient of x^{\alpha} in f (h_{0}). Then the excess of \alpha at the letter i is \le 0: \sum_{(b,s)} \alpha_{(b,s)}\cdotexcessWeight T i a a' (b, s) \le 0. (The text reading also lists the section variable w : R; the statement only mentions the field T.w.)swap(a, a')\cdot(1 \pm r\cdot E_{\mathit{aa}'}), which lies in the Levi subgroup as \tau(a) = \tau(a'), and Taylor-shift the auxiliary variable t by \iota_{i}(r). Gauss-filtration bookkeeping (aeval_sub_mem_of_gaussFiltration) shows that the coefficient \Phi(t) of x^{\pi(\alpha)}, reduced mod w^{l+1}, has degree \le m\cdot \alpha, is nonzero (its top coefficient is f_{\alpha}, h_{0}), and vanishes to order e\cdot \alpha at every \iota_{i}(r). Stepanov's count gives (e\cdot \alpha)\cdot q \le m\cdot \alpha, which is the claim: the excess of \alpha at i is (e\cdot \alpha - m\cdot \alpha /q)/q.Write y = u (y(s) =
rootVarT a a' s) and x = \overline{u} (x(s) =rootVarT a' a s), and let \pi be the map of variables sending u_i to \overline{u}_{i} and fixing the others.Claim \mathit{hm}: for every exponent \beta, \pi_{\ast}(\beta) + \beta(u_i)\cdot e_{u_i} = \beta + \beta(u_i)\cdot e_{\overline{u}_{i}} (\pi moves the u_i-exponent onto \overline{u}_{i}).
Lean states
mapDomain π β + single (y i) (β (y i) : ℕ) = β + single (x i) (β (y i))Usesstep 1,
Finsupp.,induction_linear Finsupp.mapDomain_add For r \in W let g(r) =
swap(a, a')\cdot(1 +(\mp r)\cdot E_{\mathit{aa}'}) \in \mathrm{GL}_k(W) (sign - if i is even).Uses
transvectionGLRecord 1 < q, f_{1} \coloneqq h at g = 1 (f itself lies in the Gauss filtration), \mathit{hc} at i, the bound 5\cdot P^{s \text{mod} N} \le q, and \omega with \omega \cdot q = c(u_i) - c(\overline{u}_{i}).
Uses
TwistingData.unit 144,one_lt_q TwistingData.unit 144,five_mul_P_pow_le_q mul_left_surjective₀Simplify all hypotheses.
u_s \ne \overline{u}_{t} and \overline{u}_{s} \ne u_t for all letters s, t (as a \ne a').
Lean states
y s ≠ x t ∧ x s ≠ y tLet \varepsilon(z) = \mp 1 at z = u_{s} (-1 if s has the parity of i, +1 otherwise) and \varepsilon(z) = 0 at the other variables.
Claim \mathit{cs}: every variable z is u_s or \overline{u}_{s} for a letter s with s = i, or with s \ne i, u_s \ne u_i and 5 \le P^{(s-i) \text{mod} N}; or z is none of the u_t, \overline{u}_{t}.
Lean states
∃ s, (s = i ∨ s ≠ i ∧ y s ≠ y i ∧ 5 ≤ T.P ^ (s - i).val) ∧ (z = y s ∨ z = x s ∨ ∀ t, z ≠ y t ∧ z ≠ x t)Usesstep 1,
TwistingDataunit 144,TwistingData.unit 144rootVar Let m(z) = q\cdot P^{(s-i) \text{mod} N} at z = \overline{u}_{s} and 0 elsewhere; e(z) = P^{1 +((s-1-i) \text{mod} N)} at z = u_s and 0 elsewhere. Then
excessWeightT i a a' =(e - m/q)/q.Let d(u, v)(z) = c(z) - v(z)\cdot u, and G(u, v) the Gauss filtration on polynomials in x and t with weights d(u, v) for the x-variables and u for t, over the w-adic filtration of R.
Claim \mathit{ag}:
polyActionT (g(r)) sends x_z to x_{\sigma(z)} + \varepsilon(z)\cdot \iota_{\text{z.2}}(r)\cdot x_z (computation with \text{polyAction}_X,letterMatrix, the swap and the transvection, by cases on the variable).Lean states
T.polyAction (g r) (X z) = X (σ z) + C (ε z * T.ι z.2 r) * X zUsesstep 3, step 4, step 8,
TwistingData.unit 144,polyAction_X TwistingData.unit 144,letterMatrix TwistingData.unit 144rootVar By
aeval_sub_mem_of_gaussFiltrationfor f (f_{1}), with \chi \coloneqq aeval \chi, \psi \coloneqqaeval(\chi - \eta) and the filtration G(-\omega, m): A:aeval(\chi - \eta)(f) \in G(-\omega, m) at level l + c\cdot \alpha, and D:aeval(\chi - \eta)(f) -aeval(\chi)(f) lies there at level l + c\cdot \alpha + 1/20. Its hypotheses on the variables remain as goals.Usesstep 5, step 12, step 13,
aeval_sub_mem_of_gaussFiltrationunit 144Claim l_{2}: for a variable z, r \in W and m \in \mathbb{N}, x_z\cdot(\iota_{i+m}(r) + t^{P^{m}} -(t + \iota_{i}(r))^{P^{m}}) lies in G(\omega, e) at level d(\omega, e)(z) + 2: all coefficients of (t + \iota_{i}(r))^{P^{m}} - t^{P^{m}} - \iota_{i+m}(r) are divisible by p = w^{2} (binomial theorem modulo p and the Frobenius congruence
frobenius_pow_congr).Lean states
monomial (single z 1) (C (T.ι (i + m) r) + X () ^ T.P ^ m - (X () + C (T.ι i r)) ^ T.P ^ m) ∈ G ω e (d ω e z + 2)Usesstep 13,
monomial_mem_gaussFiltrationunit 144,TwistingData.unit 144,frobenius_pow_congr TwistingDataunit 144,add_pow_prime_pow_eq',MvPolynomial.C_dvd_iff_dvd_coeff Let u be the R-algebra isomorphism between polynomials in the single variable () and R[t].
Claim S (for every r \in W): apply
aeval_sub_mem_of_gaussFiltrationto the Levi translatepolyAction(g(r)^{-1}) f (h at g(r), which lies in the Levi subgroup of \tau as \tau(a) = \tau(a')) and to the map \mathrm{Taylor}_{\iota_{i}(r)} \circaeval(\chi - \eta) \circpolyAction(g(r)), whose value is the Taylor shift t \mapsto t + \iota_{i}(r) ofaeval(\chi - \eta)(f); the images of the variables are controlled by \mathit{ag} and l_{2} (at \sigma(z) and at z), the remaining memberships being goals.Usesstep 3, step 12, step 13, step 14, step 16, step 17,
aeval_sub_mem_of_gaussFiltrationunit 144,leviunit 112,Polynomial.,taylorAlgHom MvPolynomial.mapAlgHom Close the open side goals that simplification settles.
Reduce the remaining memberships of images of variables to memberships of single coefficients (
sub_mem,monomial_mem_gaussFiltration,mem_adicFiltration_of_nonpos).Uses
monomial_mem_gaussFiltrationunit 144,mem_adicFiltration_of_nonposunit 144Claim V: if a polynomial g lies in G(t', v) at level s' and d(t', v) is \pi-invariant, then for every j with l < s' -(c\cdot \alpha -(v\cdot \alpha)t') - j\cdot t', w^{l+1} divides the coefficient of t^{j} in the coefficient of x^{\pi(\alpha)} in g (the coefficient is 0 in R/(w^{l+1})).
Usesstep 1, step 13, step 17,
Nat.,lt_ceil Finsupp.sum_mapDomain_index e\cdot \alpha \cdot |residue field| \le m\cdot \alpha: Stepanov's count for \Phi, the coefficient of x^{\pi(\alpha)} in
aeval(\chi - \eta)(f) as a polynomial in t reduced mod w^{l+1}, with E = e\cdot \alpha: (X - \iota_{i}(r))^{E} divides \Phi for every r (S with V), \Phi has degree \le m\cdot \alpha (A with V), and \Phi \ne 0 is left as a goal (otherwise h_{0} fails).Lean states
_ ≤ weight m αUsesstep 15, step 18, step 22,
stepanov_countunit 144,Polynomial.,X_pow_dvd_iff Polynomial.natDegree_le_iff_coeff_eq_zero This is the claim: |residue field| = q (
card_residueField), and e\cdot \alpha \cdot q \le m\cdot \alpha says \sum \alpha \cdotexcessWeight=(e\cdot \alpha - m\cdot \alpha /q)/q \le 0.Usesstep 11, step 23,
TwistingData.unit 144,excessWeight TwistingDataunit 144By induction on f (monomials): aeval \chi sends r\cdot x^{\beta} to r\cdot x^{\pi(\beta)}\cdot t^{m\cdot \beta}, which contributes to t^{m\cdot \alpha}x^{\pi(\alpha)} iff \pi(\beta) = \pi(\alpha) and m\cdot \beta = m\cdot \alpha, and by \mathit{hm} this forces \beta = \alpha; so the coefficient is f_{\alpha}.
Usesstep 2, step 12, step 17,
MvPolynomial.,induction_on' MvPolynomial.aeval_monomial