Structured proof · Unit 140
lemma Data.trace_heckeOnGood_eq
Let F be the finite set of eigensystems d whose eigenpart is nonzero on V or on V'.
For each eigensystem q and chosen place w choose a map c \to Q_{q, w}(c) on polynomials over k_w such that: if c is a primitive label of degree r, then Q_{q, w}(c) is a primitive label of degree r outside \operatorname{occurringLabels}(D, V, q, w) and \operatorname{occurringLabels}(D, V', q, w); and \operatorname{labelIdem}(c), \operatorname{labelIdem}(Q_{q, w}(c)) have the same coefficient at every element with reducible characteristic polynomial. This applies
exists_labelIdem_eq_off_irreduciblewith r = 3^{e+1}, 9 | |k_w| - 1, and the two sets of occurring labels, which have at most one element each by \operatorname{HasRigidLabels}(D, V) and \operatorname{HasRigidLabels}(D, V').Uses
exists_labelIdem_eq_off_irreducibleunit 140,Data.unit 141,card_rowIndex Data.unit 138dvd_card_resField_sub_one For every space W with \operatorname{principalForms}(D, W) finite-dimensional, whose occurring labels are among those of V or V' and whose eigenparts outside F vanish: the trace of \operatorname{heckeOnGood}(D, W)(p) equals the trace on \operatorname{principalForms}(D, W) of \sum_{q \text{ in } F} (p \pi_q)_W composed with the action of e_0(D) - \sum_{c \text{ in } \operatorname{goodTupleFamilies}(D)} \operatorname{tupleIdem}(\operatorname{RowIndex}(D), (Q_{q, w}(c_w))_w).
Lean states
trace ℂ _ (D.heckeOnGood W p) = trace ℂ _ (∑ q ∈ F, (p * π q).1 W * (D.principalRep W).asAlgebraHom (D.e₀ - ∑ c ∈ D.goodTupleFamilies, tupleIdem D.RowIndex fun w ↦ Q q w (c w)))The trace of p on \operatorname{goodForms}(D, W), the image of the central idempotent e_0(D), equals the trace of p_W composed with the action of e_0(D) on \operatorname{principalForms}(D, W).
Uses
Data.unit 140,isCentralProj_e₀ LinearMap.trace_comp_comm' It remains that the two endomorphisms agree on \operatorname{principalForms}(D, W), which is the sum of its eigenparts; let v be in the d-part.
If d is not in F, the d-part of W is 0, so v = 0 and both sides vanish.
If d is in F: \pi_q kills v for q other than d and fixes it for q = d, and the action of C[G(D)] preserves the d-part; so the sum reduces to p_W(e_0 v) minus p_W of the twisted sum applied to v.
Each \operatorname{tupleIdem}(\operatorname{RowIndex}(D), (Q_{d, w}(c_w))_w), c a good family, kills v: c has a primitive label c_w at some chosen place w above g_0, so Q_{d, w}(c_w) is a primitive label occurring neither for V nor for V' at d, hence not for W; its idempotent acting at w kills the d-part, and so does the tensor product.
Uses
piTensorElem_apply_eq_zerounit 29,Data.unit 138,occurringLabels Data.unit 141goodTupleFamilies
Apply step 5 to V and to V'; write both traces as sums \sum_i \langle b_i, T b_i\rangle over orthonormal bases and expand the group-algebra elements over their supports. Both sides become sums over q in F, over g in G(D) weighted by the coefficient of e_0(D) - \sum_c \operatorname{tupleIdem}(Q_q(c)) at g, and over h in the support of b_q, of \sum_i \langle b_i, R(h \operatorname{liftResidue}(g)) b_i\rangle.
It suffices to show, for each q in F, each g in G(D) where that coefficient is nonzero, and each h in the support of b_q (trivial at the chosen places), that \sum_i \langle b_i, R(h \operatorname{liftResidue}(g)) b_i\rangle is the same for V and V'.
By the comparison of simple trace formulas for the element h \operatorname{liftResidue}(g) and the level \operatorname{chosenLevel}(D), with B = h_{2}(D) and gap h(D), these sums are the same for every space whose type kernel is a cusp kernel of order h_{2}(D) (true for V and V') and whose parameter has gap h(D); its hypotheses on E(D) (roots of unity of order 5040, evenly many infinite places) and on the sizes hold for the data. It remains: every element of h \operatorname{liftResidue}(g) \operatorname{chosenLevel}(D) has irreducible characteristic polynomial at some finite place.
Usesstep 8,
Space.unit 47,exists_trace_eq Data.unit 140,isCuspKernel_paramW Data.unit 152,nat_le_of_hasLogBound Data.unit 152le_of_hasLogBound Let x = h \operatorname{liftResidue}(g) b with b in \operatorname{chosenLevel}(D).
The reduction of \operatorname{liftResidue}(g) b at the place i is the reduction of its component t.
Lean states
reduceFamily _ _ i =Uses
Kf.unit 122,reduceAt_eq_of_atPlace reduceFamily_liftResidueunit 44Reduction commutes with taking the characteristic polynomial.