The substitution by Frobenius powers of generic matrices; weight and defect
New.UpperBound.ElementaryDivisors.FrobeniusFactors.lean
Reading
Upstream documentation written by Claude
Fix a Frobenius cycle
T(New.FrobeniusCycle; letterss : ZMod N, even or odd,Pa power of the primep,q = P ^ N,w ^ 2 = p). The twistsT.embedding s gare not algebraic ing, but modulopthey are entrywise powers of one another. So we take one generick × kmatrix for each letter (a copy) and let the copys - d,0 ≤ d ≤ ℓ, act on the lettersthrough its entrywise powerP ^ d, or through the cofactor matrix of this power ifsis odd; the last factor,d = ℓ, acts on the deep variables only. The matrix of this substitution on forms isNew.FrobeniusCycle.substitutionOperatorat the factorsNew.FrobeniusCycle.frobGenericMatrix.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Matrices act on vectors of coefficients, so they are the transposes of the matrices that are substituted in the variables: the row index of an entry here is its column index there.
New.FrobeniusCycle.substitutionOperator_map_eq_conj: conjugation of the factors by a block diagonal matrix.New.FrobeniusCycle.copyWeight: the weight of a monomial in the entries of all copies.New.FrobeniusCycle.abs_defect_sub_copyWeight_le: leta' = a + 1,ℓ ≤ NandN n k (ℓ + 2) ≤ P ^ ℓ, and take an entry in rowβof the operator withr = a'at the factorsNew.FrobeniusCycle.conjFrobGenericMatrix h(the generic factors after a change of frame byh). If the coefficient of a monomial in it is not divisible byw ^ c, the weight of the monomial at the copyiis withinc* = 3 k cof the defect ofβat the letteri + ℓ.
A term of an entry of a product of matrices belongs to a path of indices. The weight of a step is a
difference of two scaled index weights (New.FrobeniusCycle.scaledIndexWeight) up to 1 / P ^ ℓ,
so the weights telescope along a path and leave the scaled index weight of its last index, up to
(ℓ + 2) / P ^ ℓ. For an even letter this scaled index weight is 1 - 1 / q times the defect
weight. For an odd letter the cofactor matrix changes its sign, which again gives this multiple of
the defect weight, and multiplies the loss by at most k. What remains, the defect divided by q,
has size at most 1, as 2 n ≤ q. New.FrobeniusCycle.substitutionOperator_mem carries this out
for all terms at once. An element has level t in a filtration G (New.IsRealFiltration) if it
lies in G t, and the levels of the entries are bounded from the levels of the factors. The main
filtrations used are New.gaussFiltration (New.adicFiltration w) ω: divisibility of coefficients by
powers of w, shifted by weights ω of the variables. They also absorb the error terms, which are
multiples of p (New.FrobeniusCycle.conjFrobGenericMatrix_mem_gaussFiltration). With 0 in place
of w the level bounds the weights of the monomials that occur.
Notions from other files:
New.FrobeniusCycle.deepIndicator: the indicator of the deep variables(b, s): it is1ifsis even andr ≤ b, orsis odd andb < r, and0otherwise.New.FrobeniusCycle.defectWeight i a a': the weight of(b, s)is± P ^ ((s - i) mod N) / (q - 1)forb = a, a'(with the sign+ata'for even and atafor odds, and1added to the positive weight ats = i), and0for otherb. The defect of a monomial at the letteriis the sum of these weights over its variables.New.exponentOf: a familyβof exponent vectors, one for each letter, as one exponent vector on the variables(b, s).New.levi W (New.twoBlock k r): the block diagonal matrices inGL_k(W)with blocks of sizesrandk - r.
Notation
Here h is a matrix in GL_k(W), not a form.
Declarations
lemma abs_defect_sub_copyWeight_le (ha : (a : ℕ) + 1 = (a' : ℕ)) (i : ZMod N) (hn_le : N * n * k * (ℓ + 2) ≤ T.P ^ ℓ) (hℓ_le : ℓ ≤ N) (h : GL (Fin k) W) {c : ℕ} {β γ : Exponents N k n} {ν : ZMod N × Fin k × Fin k →₀ ℕ} (h_coeff : ¬T.sqrtPrime ^ c ∣ (T.substitutionOperator a' ℓ n (T.conjFrobGenericMatrix h) β γ).coeff ν) : |weight (T.defectWeight (i + ℓ) a a') (exponentOf β) - T.copyWeight ℓ a a' i ν| ≤ defectThreshold k c
Import route to Main
New.UpperBound.ElementaryDivisors.FrobeniusFactors → New.UpperBound.ElementaryDivisors.AveragingMap (pinned import) → New.UpperBound.ElementaryDivisors.ElementaryDivisorTheorem (pinned import) → New.UpperBound.Divisibility.HeckeEdges (pinned import) → New.UpperBound.Divisibility.MarkOperator (pinned import) → New.UpperBound.Divisibility.LocalDivisibility (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)