grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 138

theorem denominatorLe_rowBudget

What it saysLet P be parameters, D admissible data for P with CM field E = D.E, \ell a prime (ThePrime \ell) and \iota an element of the class PadicIso \ell, i.e. a ring isomorphism \iota \ell : \mathbb{C} \simeq \overline{\mathbb{Q}}_\ell. Let \vartheta be a twist of D (D.Twist: a character of U(1)(\mathbb{A}_E) of weight 0 whose tame part is trivial off a finite set Q = ϑ.Q of finite places, Q disjoint from its conjugate, the norms of Q prime to g_0g_1N, and the tame part non-trivial at every place of Q), \psi = ϑ.invAvatar the \ell-adic avatar through \iota \ell of (the base change to E of) \vartheta ^{-1}, a character \operatorname{Gal}(\Omega /E) \to \overline{\mathbb{Q}}_\ell, and suppose (hq) IsAuxTwist (badPlaces D \ell) ϑ.Q \psi (crudeUnit \ell D): ϑ.Q is auxiliary for the set badPlaces D \ell of places of E dividing \ell \cdot g_0g_1\cdot N (every v \in ϑ.Q has prime norm, v, \overline{v} \notin badPlaces D \ell and \overline{v} \notin ϑ.Q), \psi is from U(1) with modulus ϑ.Q for the places above \ell (IsFromU1: locally constant and \psi (\operatorname{Art} x) = \eta (x/\overline{x}) for an idele character \eta of that modulus), and there are elements \sigma _P (P \in ϑ.Q) with IsNewPlaces 0 (ϑ.Q \hookrightarrow places) \sigma 1 (each \sigma _P the chosen tame generator at a place of \Omega over P, P not above \ell) and Σ_{P∈ϑ.Q} v_\ell (\psi (\sigma _P) - 1) \le crudeUnit \ell D = v_\ell (Mk) + 2^{-\ell } (v_\ell = ellVal, the valuation of \overline{\mathbb{Q}}_\ell normalised by v_\ell (\ell ) = 1, Mk = D.chosenGroupOrder). Let r, n be finite types, O an auxiliary pair over E of ranks (|r|, |n|) (forms on V = I_n: O.FormV), e_0 an element of the complex group algebra of the finite group \prod _{w \text\{ chosen \} \text\{ place \} \text\{ of \} O} \operatorname{GL}_{|r|}(k_w) (Lean names it E; it is not the field), and Z a complex subspace of the forms on V. Suppose (hw) that Z is contained in the complex span of the set A of the y \in Z such that (a) there are labels c at the chosen places of O with y \in \operatorname{im}(tupleProj O c), IsApt O c \vartheta, and \operatorname{im}(tupleProj O c) \subseteq \operatorname{im}(AuxPair.groupAlgAction O e_0); and (b) there is a family z of Hecke eigenvalues with AuxPair.Lifts O y z, and there are an \ell-adic representation R : \operatorname{Gal}(\Omega /E) \to \operatorname{GL}_{|r|}(\overline{\mathbb{Q}}_\ell ) and an auxiliary pair V over E of ranks (|r|, |n|) with HasRow V z R, O.\mu = V.\mu \cdot ϑ.toAutChar (the characters of the pairs), and elements \gamma \in \operatorname{Gal}(\Omega /E), s in the integers of \overline{\mathbb{Q}}_\ell with SelmerLengthLe \psi R ϑ.Q (\lfloorD.r \cdot rowBudget D \ell \rfloor _+ + 1) \gamma s. Then DenominatorLe \iota \ell O e_0 Z (rowBudget D \ell \cdot \log \ell) holds: for d = \dim _\mathbb{C} Z and all families y, y' : \{0, \ldots , d - 1\} \to forms on V such that every y_a is integral at every ring homomorphism j : \mathbb{C} \to \mathbb{C}_\ell (y_a \in integralForms j) and every y'_b is integral at the homomorphism \mathbb{C} \to \mathbb{C}_\ell given by \iota \ell followed by \overline{\mathbb{Q}}_\ell \subseteq \mathbb{C}_\ell and satisfies AuxPair.IsTested O e_0 Z^\perp y'_b (for every finite place w of E with \overline{w} \ne w and w not among the places of O and their conjugates, y'_b is orthogonal to \operatorname{im}(AuxPair.groupAlgAction O e_0) \cap \ker(AuxPair.heckePolyOnForms O hw hS (AuxPair.testValue O w)) \cap Z^\perp): \lVert \iota \ell (\det (\langle y_a, \operatorname{pr}_Z y'_b\rangle )_{a,b})\rVert \le \exp(d \cdot (|r| \cdot rowBudget D \ell \cdot \log \ell)), where \operatorname{pr}_Z is the orthogonal projection onto Z and \langle \cdot ,\cdot \rangle the inner product of forms on V. In words: the \ell-adic denominator of the projection to a space spanned by lifts with short Selmer groups is at most |r|\cdotrowBudget D \ell per dimension, without any bound for the even classes.
The argument in briefBy the Gram-determinant criterion norm_gram_det_le_of_operators it suffices, for each nonzero generator p \in A of label c, to find an operator G = E_s \circ e_c that is scalar on the generators, whose scalar at p has valuation \le |r|\cdotrowBudget D \ell after multiplication by Mk^{3}, and that makes Mk^{3}\cdot \langle \Xi _a, w\rangle integral when the smooth form of w is G(\operatorname{pr}_Z \Xi '_b). The generators give rows R_x for their eigensystems x; the eigensystems on which every element has eigenvalue 1 (weak lifts) are kept apart, and a normaliser \theta makes Ribet's determinant non-zero on all others, killed by a polynomial z' with z'(0) \ne 0. Triangular Taylor–Wiles primes (exists_isPrimeTriangle) at a level \ell ^{\nu +1} deep enough for z'(0), chosen at Frobenii where the row has no eigenvalue 1 and the weak lifts congruent to the lift have a Hecke string, feed Ribet's element (ribet_columns) into exists_diagOp_mem_ellIntegralForms, which gives eigenvalues s. Integrality of Mk^{2}\cdot w is checked by the impostor argument: a weak lift orthogonal to the cut and to the tested vectors at a split place w is killed by H_w(testValue), so lies in \ker E_s; and Mk divides all stabiliser orders.

66 steps, 56 of them leaves · New/Selmer/DenominatorBound.lean, lines 47–166 · in the notes: Theorem B, p. 3 of A fit family of twists exists: Ribet's method with tied primes, triangular Taylor–Wiles primes and the denominator of the projection to theta lifts

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1setupline 53

    Let A be the set of generators of hw: the y \in Z with the properties (a) and (b) of the statement (the placeholder is fixed by unification with hw in the next step).

  2. 2factline 53

    \text\{ span \}_\mathbb{C}(A) = Z: A \subseteq Z by definition and Z \subseteq \text\{ span \}_\mathbb{C}(A) by hw.

    Lean statesspan ℂ A = Z

    UsesSubmodule.span_eq_of_le

  3. 3reductionlines 53–55

    Let d = \dim _\mathbb{C} Z (e : \dim Z = d) and let \Xi , \Xi ' be the families y, y' of the statement, with hl: every \Xi _a is integral at every j : \mathbb{C} \to \mathbb{C}_\ell, and hΞ: every \Xi '_b is integral at \iota \ell and AuxPair.IsTested O e_0 Z^\perp \Xi '_b. By norm_gram_det_le_of_operators (A spans Z by step 2; j = the passage to smooth forms; \eta _a = \langle \Xi _a, \cdot \rangle; x_b = \operatorname{pr}_Z \Xi '_b \in Z; m = Mk^{3}; \gamma = |r|\cdotrowBudget D \ell \cdot \log \ell) it suffices to show: for every p \in A (m_0) with p \ne 0 (o) there is a \mathbb{C}-linear map G from forms on V to smooth forms such that (i) for every v \in A, G v is a scalar multiple of the smooth form of v; (ii) whenever G p = l\cdot(smooth form of p), \exp(-|r|\cdotrowBudget D \ell \cdot \log \ell) \le \lVert \iota \ell (l)\cdot Mk^{3}\rVert; (iii) for all a, b and every w \in Z whose smooth form is G(\operatorname{pr}_Z \Xi '_b): \lVert Mk^{3}\cdot \iota \ell \langle \Xi _a, w\rangle \rVert \le 1.

    Usesstep 2, norm_gram_det_le_of_operators unit 138, DenominatorLe unit 138, AuxPair.IsTested unit 138

  4. For every subset S \subseteq A, every finite place w with \overline{w} \ne w (h) and w not among the places of O and their conjugates (s), and every X \in \mathbb{C}, \text\{ span \}_\mathbb{C}(S) is invariant under H_w(X) = AuxPair.heckePolyOnForms O h s X: each y \in S lies in A, so by (b) y lifts a family z (AuxPair.Lifts O y z) and is spherical at w for a Hecke evaluation p, whence H_w(X) y = p(X)\cdot y \in span(S) (AuxPair.heckePolyOnForms_eq_smul).

    Lean statesspan ℂ S ∈ (O.heckePolyOnForms h s X).invtSubmodule

    UsesAuxPair.Lifts unit 143, AuxPair.heckePolyOnForms_eq_smul unit 143, AuxPair.heckePolyOnForms unit 143, Submodule.span_le, Submodule.subset_span

  5. 5factline 59

    Z = span(A) is invariant under every H_w(X) (step 4 with S = A, and step 2).

    Usesstep 2, step 4

  6. 6setupline 60

    For an isotypic space x of forms on the standard definite space of rank |n| (weight of O), let N_x = normalisedRep O \rho _x, the Galois representation \rho _x = x.galRep twisted by the character chiOneInv O.

    UsesnormalisedRep unit 138, Isotypic unit 102, chiOneInv unit 138

  7. 7setupline 61

    For an isotypic space x let \mathcal{X}(x) say: some v \in A has its smooth form in x and non-zero.

  8. 8setupline 62

    As p \in A, by (a) there are labels c with p \in \operatorname{im}(e_c), e_c = tupleProj O c (m_1), IsApt O c \vartheta (hc) and \operatorname{im}(e_c) \subseteq \operatorname{im}(AuxPair.groupAlgAction O e_0) (le).

    UsestupleProj unit 138, IsApt unit 138, AuxPair.groupAlgAction unit 138

  9. 9fact2 steps insidelines 64–69

    For every v \in A: e_c v = 0, or v \in \operatorname{im}(e_c) and the smooth form of v lies in some isotypic space x and is non-zero. Suppose e_c v \ne 0 (h).

    Lean statestupleProj O c v = 0 ∨ v ∈ (tupleProj O c).range ∧ ∃ x : Isotypic .., v.toSmoothForm ∈ x.1 ∧ _

    1. v \in \operatorname{im}(e_c): by (a), v \in \operatorname{im}(e_b) for labels b; if c \ne b, the idempotents of the tuples c and b are orthogonal (tupleIdem_orthogonal), so e_c v = e_c e_b v = 0 (e_b v = v, IsApt.tupleProj_eq_self_of_mem_range), contrary to h; so b = c.

      UsestupleIdem_orthogonal unit 24, IsApt.tupleProj_eq_self_of_mem_range unit 138

    2. The smooth form of v lies in an isotypic space and is non-zero: otherwise (H) no non-zero vector of the line \mathbb{C}v has its smooth form in an isotypic space; \mathbb{C}v is invariant under all H_w(X) (step 4 with S = \{v\}), so le_of_isotypic_mem gives \mathbb{C}v \subseteq \ker (e_c), i.e. e_c v = 0, contrary to h.

      Usesstep 4, le_of_isotypic_mem unit 138, Submodule.mem_span_singleton, Submodule.smul_mem_iff

  10. 10factline 70

    Applied to p (e_c p = p \ne 0, as p \in \operatorname{im}(e_c) by m_1 and p \ne 0 by o), step 9 gives an isotypic space x_0 containing the smooth form of p, which is non-zero (m_2).

    Usesstep 9, step 8, IsApt.tupleProj_eq_self_of_mem_range unit 138

  11. 11factline 71

    \mathcal{X}(x_0) holds, with witness p.

    Lean states𝓧 x₀

    Usesstep 10, step 7

  12. 12factline 72

    n is non-empty, since |r| < |n| (O.rank_lt).

    UsesFintype.card_pos_iff

  13. For every isotypic space x with \mathcal{X}(x) there are jumps \tau _x and a representation R_x (chosen as functions of x) such that IsRow D (rankDiff O) \tau _x R_x (hR), \operatorname{tr} N_x(g) = \psi (g)\cdot \operatorname{tr} R_x(g) + \sum _{e < \operatorname{rankDiff} O} cycInv(g)^e for every g \in \operatorname{Gal}(\Omega /E) (hL), and SelmerLengthLe \psi R_x ϑ.Q (\lfloorD.r\cdotrowBudget D \ell \rfloor _+ + 1) \gamma _0(x) y_0(x) (hS_0). Indeed, if v \in A has non-zero smooth form in x, (b) gives z with AuxPair.Lifts O v z, R, V with HasRow V z R, O.\mu = V.\mu \cdotϑ.toAutChar and the Selmer bound; HasRow gives the row, and, applied to the pair O (character V.\mu \cdot \vartheta), the lift v, the eigenform property of v for the Hecke polynomials of x (Isotypic.isEigenform) and the representation \rho _x attached to them (Isotypic.attached_galRep), the trace identity.

    UsesHasRow unit 138, IsRow unit 138, Isotypic.isEigenform unit 102, Isotypic.attached_galRep unit 102, SelmerLengthLe unit 138, step 6, step 7

  14. 14factline 76

    The row R_{x_0} acts by a scalar on an inertial element (field exists_scalar_inertia of IsRow): there are \gamma in the inertia above the places over g not above \ell (hγ) and y \in \overline{\mathbb{Q}}_\ell with R_{x_0}(\gamma ) = y\cdot 1 (h_0) and \lVert (y^{\ell ^a})^j - 1\rVert = 1 for all a \in \mathbb{N} and 1 \le j \le 4|r| + 2 (hy).

    Usesstep 13, step 11, IsRow unit 138

  15. 15factline 77

    exists_baseLevel (c apt for \vartheta; ϑ.Q auxiliary for badPlaces D \ell, the first part of hq) gives jumps and a base level B of forms on the standard definite space of rank |n| with bound Mk such that (sp) every y \in \operatorname{im}(e_c) has its smooth form of base level (in B.formsOfLevel ![]); (j) if the smooth form of y is \ell-integral, so is Mk\cdot(smooth form of e_c y); (co) for every finite family u of places off badPlaces D \ell and every eigensystem x of B of level u, N_x is a labelled column IsLabelledColumn O (rankDiff O) J_0 (i \mapsto twistedLabel O c i \cdot (X - 1)^{\operatorname{rankDiff} O}) (ϑ.Q \cup its conjugates \cup range u \cup its conjugates) N_x for those jumps J_0, with (N_x(g) - \psi (g))(N_x(g) - 1) = 0 for g in the inertia above ϑ.Q and its conjugates.

    Usesexists_baseLevel unit 138, IsAuxTwist unit 138, BaseLevel unit 102, BaseLevel.formsOfLevel unit 102, BaseLevel.ellIntegralForms unit 102, IsLabelledColumn unit 138

  16. For every eigensystem x of B of base level, every g and every i, the coefficient of X^i in the characteristic polynomial of N_x(g) has norm \le 1: N_x is a labelled column (co with the empty family), hence continuous, so it has a stable lattice over some ring of integers O' (eventually_exists_isLatticeIn) and its characteristic polynomials are those of the lattice (IsLatticeIn.charpoly_eq_map), with integral coefficients.

    Lean states‖(N x g).1.charpoly.coeff i‖ ≤ 1

    Usesstep 15, eventually_exists_isLatticeIn unit 106, IsLatticeIn.charpoly_eq_map unit 106

  17. 17factline 81

    By exists_cycChar_pow_sub_one_dvd: h \le v_\ell (Mk) (hh) with \ell \le h_2^{2} or h = 0 (h\ell ), and g_1 \in \operatorname{Gal}(\Omega /E) with \operatorname{cyc}_\ell (g_1)^a - 1 dividing \ell ^h in \mathbb{Z}_\ell for 0 < a < t (hC).

    Usesexists_cycChar_pow_sub_one_dvd unit 138

  18. 18setupline 83

    Let s be the set of eigensystems x of B of base level such that 1 is a root of the characteristic polynomial of N_x(g) for every g (the weak lifts).

  19. 19fact2 steps insidelines 84–93

    For every j \in \mathbb{N} and every set t of eigensystems outside s (finite: there are finitely many eigensystems) there is \theta : \operatorname{Gal}(\Omega /E) \to _0 \mathbb{N} such that for every x \in t the matrix M_x(\theta ) = \sum _g \omega _g (N_x(g) - 1), \omega = ribetNormaliser (\gamma _0(x_0)) g_1^{-1} (y_0(x_0)) (\ell ^j) \theta — that is (N_x(\gamma _0(x_0)g_1^{-1}) - 1) - y_0(x_0)(N_x(g_1^{-1}) - 1) + \ell ^j \sum _g \theta (g)(N_x(g) - 1) — has non-zero determinant. Induction on the finite set t.

    Lean states∃ θ, ∀ x ∈ t, ((ribetNormaliser (@γ₀ x₀) g₁⁻¹ (@y₀ x₀) (ℓ ^ j) θ).linearCombination (intQpBar ℓ) fun g ↦ (N x g).1 - 1).det ≠ 0

    UsesribetNormaliser unit 138, step 18, step 13, Set.Finite.induction_on

    1. 19.1caseline 86

      t = \varnothing: any \theta works.

    2. 19.2case2 steps insidelines 86–93

      t = \{a\} \cup f with a \notin f, f finite and \theta working for f (h). As a \notin s, there is g such that 1 is not a root of the characteristic polynomial of N_a(g) (k).

      1. 19.2.1factlines 86–90

        For z \in \{a\} \cup f let P_z(X) = \det (X\cdot (1 - N_z(g)) + M_z(\theta )) \in \overline{\mathbb{Q}}_\ell [X]. Each P_z \ne 0: for z = a its coefficient of X^{|n|} is \det (1 - N_a(g)), the value at 1 of the characteristic polynomial of N_a(g), non-zero by k; for z \in f its constant coefficient is \det M_z(\theta ) \ne 0 by h. A non-zero polynomial has finitely many roots, and k' \mapsto -\ell ^j\cdot k' is injective on \mathbb{N} (\ell ^j \ne 0), so for all but finitely many k' \in \mathbb{N} the number -\ell ^j\cdot k' is a root of no P_z; choose such a k'.

        UsesMatrix.eval_charpoly, Polynomial.coeff_det_X_add_C_card, Polynomial.coeff_det_X_add_C_zero, Polynomial.eventually_cofinite_not_isRoot

      2. 19.2.2factlines 90–93

        Then \theta + k'\cdot [g] works for \{a\} \cup f: the normaliser of \theta + k'[g] is that of \theta plus \ell ^j k'\cdot [g], so M_z(\theta + k'[g]) = M_z(\theta ) + \ell ^j k'\cdot (N_z(g) - 1) and its determinant is P_z(-\ell ^j k') \ne 0 (expanding ribetNormaliser and the linear combination).

        UsesribetNormaliser unit 138

  20. Apply step 19 to the set of all eigensystems outside s, with the exponent j that step 29.5 fixes by unification (j = \lfloorD.r\cdotrowBudget D \ell \rfloor _+ + 1 + h_2\cdot h): \theta with \det M_x(\theta ) \ne 0 for every x \notin s. The family (\det M_x(\theta ))_{x \notin s} is a unit of the finite product ring \prod _{x \notin s} \overline{\mathbb{Q}}_\ell, hence a non-zero-divisor, and it is algebraic over the integers of \overline{\mathbb{Q}}_\ell (a finite-dimensional algebra over the fraction field \overline{\mathbb{Q}}_\ell is algebraic, and algebraicity over the integers and over the fraction field agree). So there is a polynomial z' over the integers of \overline{\mathbb{Q}}_\ell with non-zero constant coefficient (hθ) that vanishes at this family (hz').

    Usesstep 19, IsFractionRing.isAlgebraic_iff, Algebra.IsAlgebraic.of_finite, Pi.isUnit_iff, IsAlgebraic.exists_nonzero_coeff_and_aeval_eq_zero

  21. 21factline 97

    So z'(\det M_x(\theta )) = 0 for every eigensystem x \notin s.

    Usesstep 20

  22. 22fact2 steps insidelines 98–108

    Triangular Taylor–Wiles primes (exists_isPrimeTriangle with t = rankDiff O, N = D.cycloConductor, y = h_2, \gamma = g_1 and h): a finite linearly ordered set J, types \operatorname{ty}, and hP: for every \nu > 0 there are Taylor–Wiles places Q' (Lean's Q; not the set ϑ.Q) of E indexed by J of level \ell ^\nu (places w_j of prime norm q_j \equiv 1 \bmod \ell ^\nu with Frobenius data (w_j, A_j, \sigma _j) and tame generators \tau _j) with IsPrimeTriangle \nu (w_j) (\tau _j) (\sigma _j) g_1^{-1} (rankDiff O) \operatorname{ty} (h_2\cdot h) (h_2^{22}\cdot h) and every Frobenius datum in the set W of step 22.2.

    Usesexists_isPrimeTriangle unit 138, Data.algebraMap_mem_cycloField unit 138, TaylorWilesPlaces unit 102, IsPrimeTriangle unit 138

    1. Its hypotheses: N + rankDiff O < h_2 (rankDiff O \le t by IsApt, and N + t < h_2 by the magnitudes of the data); \operatorname{cyc}_\ell (g_1)^a - 1 \mid \ell ^h for 0 < a < rankDiff O (from hC, as rankDiff O \le t); \ell \le h_2^{2} or h = 0 (h\ell ); E has at least 4 infinite places (magnitudes).

      Usesstep 17, Data.nat_lt_of_hasLogBound unit 152, Data.nat_le_of_hasLogBound unit 152, IsApt unit 138

    2. 22.2fact3 steps insidelines 100–108

      The density hypothesis: for every \nu \in \mathbb{N} and g \in \operatorname{Gal}(\Omega /E) there is \delta with \operatorname{cyc}_\ell (\delta ) = 1 such that the set W contains most Frobenius data near \delta ^{\ell ^\nu }\cdot g (W \in mostFrobeniiAt E (\delta ^{\ell ^\nu }\cdot g)).

      UsesmostFrobeniiAt unit 3

      1. 22.2.1factlines 101–103

        Let T(\sigma ) = \psi (\sigma )\cdot R_{x_0}(\sigma ), a continuous function (\psi is locally constant, being from U(1) by hq; R_{x_0} is continuous). For every i, T((\gamma ^i)^{\ell ^\nu }\cdot g) = (y^{\ell ^\nu })^i\cdot T(g): \psi (\gamma ) = 1, because \gamma lies in an inertia group above a place over g not above \ell, which is not in ϑ.Q or its conjugate (ϑ.Q is auxiliary; IsFromU1.eq_one_of_mem_inertiaAbove), and R_{x_0}(\gamma ) = y\cdot 1 (h_0). Since (y^{\ell ^\nu })^j - 1 is a unit for 1 \le j \le 4|r| + 2 (hy \nu), exists_eventually_no_eigenvalue_one gives i such that \lVert \operatorname{charpoly}(T(\varphi ))(1)\rVert \ge 1 for all \varphi near (\gamma ^i)^{\ell ^\nu }\cdot g (hσ).

        Usesstep 14, step 13, IsFromU1.eq_one_of_mem_inertiaAbove unit 92, exists_eventually_no_eigenvalue_one unit 138, IsAuxTwist unit 138

      2. 22.2.2witnesslines 103–104

        Take \delta = \gamma ^i: \operatorname{cyc}_\ell (\delta ) = 1, as \gamma lies in an inertia group above places not above \ell (cycChar_eq_one_of_mem_inertiaAbove).

        Usesstep 14, cycChar_eq_one_of_mem_inertiaAbove unit 92

      3. 22.2.3factlines 105–108

        W is the intersection of a set of most Frobenius data with the data whose element \sigma lies in the neighbourhood of hσ. The first set: the data (w, A, \sigma ) with w, \overline{w} \notin badPlaces D \ell and \ell \notin w (eventually_notMem_star_notMem), w off level for B at base level (BaseLevel.eventually_isOffLevel), and, for each of the finitely many eigensystems x of B of base level that lie in s and whose characteristic polynomials of N_x(g) are congruent coefficientwise to those of N_{x_0}(g) (difference of norm < 1), the conclusion of eventually_heckePoly_eq_string_mul for x at the datum (its integrality hypothesis is step 16): every S with \lVert S(1)\rVert \ge 1 whose product with \prod _{i<\operatorname{rankDiff} O}(X - cycInv(\sigma )^i) is congruent to the characteristic polynomial of N_x(\sigma ) gives a Hecke root string with an integral e, e(1) = 1.

        Useseventually_mostFrobenii unit 3, eventually_notMem_star_notMem unit 80, BaseLevel.eventually_isOffLevel unit 130, eventually_heckePoly_eq_string_mul unit 138, step 16, step 18, badPlaces unit 138

  23. 23setupline 110

    Choose \nu \in \mathbb{N} larger than a constant c_0 \in [0, \infty ] that step 29.4 fixes by unification (c_0 = v_\ell (2\cdot |n|!\cdot (z'(0)\cdot Mk^{2})^{|J|+1})), valid when c_0 \ne \infty.

    UsesENNReal.exists_nat_gt

  24. 24factline 111

    For a in the integers of \overline{\mathbb{Q}}_\ell (EllAdicIntegers), its value in \overline{\mathbb{Q}}_\ell is its image under the algebra map (by definition).

    Lean statesa.1 = algebraMap _ _ a

    UsesEllAdicIntegers unit 102

  25. 25setupline 112

    hP at level \ell ^{\nu +1}: Taylor–Wiles places Q' (Lean's Q; places w_j, Frobenius data (w_j, A_j, \sigma _j), tame generators \tau _j, q_j \equiv 1 \bmod \ell ^{\nu +1}) with IsPrimeTriangle (\nu +1) (w_j) (\tau _j) (\sigma _j) g_1^{-1} (rankDiff O) \operatorname{ty} (h_2\cdot h) (h_2^{22}\cdot h) (tri), every datum in the first set of step 22.2.3 (q) and every \sigma _j in the neighbourhood of hσ (s_5).

    Usesstep 22, step 23

  26. Let a_1 (Lean's a) : \operatorname{Gal}(\Omega /E) \to (integers of \overline{\mathbb{Q}}_\ell) be the character chiOneInv O: a continuous character of a compact group into \overline{\mathbb{Q}}_\ell ^\times has values of norm 1 (norm_eq_one_of_continuous), so it takes integral values.

    UseschiOneInv unit 138, norm_eq_one_of_continuous unit 5

  27. For every j \in J and every eigensystem x of B of base level in s whose characteristic polynomials are congruent to those of N_{x_0}: a polynomial e_{j,x} over the integers of \overline{\mathbb{Q}}_\ell with e_{j,x}(1) = 1 (he) and HasRootString (P_{x,w_j}) e_{j,x} q_j (\iota \ell ^{-1} chiOneInv O (\sigma _j))^{-1} (rankDiff O) (s), P_{x,w_j} the Hecke polynomial of x at w_j. Indeed, take S = \operatorname{charpoly}(T(\sigma _j)), \lVert S(1)\rVert \ge 1 by s_5: the trace identity of step 13 for x_0 at the powers g^m gives \operatorname{tr} N_{x_0}(g)^m = \operatorname{tr} (\psi R_{x_0})(g)^m + \sum _e cycInv(g)^{e\cdot m}, so charpoly N_{x_0}(g) = \operatorname{charpoly}(\psi (g)R_{x_0}(g))\cdot \prod _{e<\operatorname{rankDiff} O}(X - cycInv(g)^e) (charpoly_eq_mul_of_trace_pow_add); hence the characteristic polynomial of N_x(\sigma _j) is congruent to S\cdot \prod(X - cycInv(\sigma _j)^e), and the string property of step 22.2.3 applies.

    Usesstep 25, step 13, charpoly_eq_mul_of_trace_pow_add unit 2, HasRootString unit 33, step 22

  28. For an isotypic space x and v \in \operatorname{im}(e_c) (m) whose smooth form is a non-zero element of x (a): x is an eigensystem of B of every level L (\xi ), as the smooth form of v is of base level (sp) and hence of level L (BaseLevel.formsOfLevel_base_le).

    Usesstep 15, BaseLevel.formsOfLevel_base_le unit 102, BaseLevel.Eigensystem unit 102

  29. 29assembly6 steps insidelines 120–132

    Apply BaseLevel.exists_diagOp_mem_ellIntegralForms (Ribet's element at one auxiliary level clears the denominator).

    1. Its setting: the base level B; the Taylor–Wiles places Q', each w_j off level for B at base level (q); the character a_1; the representations N_x = a_1\cdot \rho _x (the definition of normalisedRep); and a_1(\tau _j) = 1 for the tame generators (chiOneInv_spec with exponent 0: \tau _j^{-1} lies in the inertia group, so it acts on the residue field as the q_j^{0}-th power).

      UsesBaseLevel.exists_diagOp_mem_ellIntegralForms unit 137, chiOneInv_spec unit 138, step 25, step 26, step 6

    2. The data: b, to be found (Ribet's determinant function of step 29.5), the polynomial p = z', the set of eigensystems x of level Q' with \mathcal{X}(x), the point \pi = x_0 as an eigensystem of level Q' (step 28), the family e (fixed in step 29.5), and t = rankDiff O \ne 0 (rankDiff O is odd by IsApt).

      Usesstep 20, step 28, step 11, IsApt unit 138

    3. The string hypothesis: let j \in J and x an eigensystem of level Q' that is of base level (m), with z'(b(x)) \ne 0 (h_0) and \lVert u(\pi )\rVert < 1 for every element u of the Hecke algebra of level Q' vanishing at x (h_1). The characteristic polynomials of N_x are congruent to those of N_{x_0}: apply h_1 to u = (the coefficient of charpoly N_x(g) at x, an integral constant by step 16) - (the coefficient function x' \mapsto coefficient of charpoly N_{x'}(g), in the Hecke algebra by BaseLevel.charpoly_mem_heckeAlgebra), which vanishes at x. And x \in s, since otherwise z'(b(x)) = 0 by step 21. So step 27 gives HasRootString with e_{j,x}, hence with e_j = \prod _x e_{j,x}, a multiple of e_{j,x}.

      Usesstep 27, step 21, step 16, BaseLevel.charpoly_mem_heckeAlgebra unit 137, HasRootString unit 33

    4. The divisibility 2\cdot |n|!\cdot (z'(0)\cdot Mk^{2})^{|J|+1} \mid \ell ^{\nu +1} in the integers of \overline{\mathbb{Q}}_\ell: its valuation c_0 is finite since z'(0) \ne 0 (hθ), so c_0 < \nu \le \nu + 1 = v_\ell (\ell ^{\nu +1}) (step 23), and divisibility of integers of \overline{\mathbb{Q}}_\ell is comparison of valuations (dvd_iff_ellVal_le).

      Usesstep 23, step 20, step 24, dvd_iff_ellVal_le unit 106, ellVal unit 92

    5. Ribet's element: for every subalgebra S and S-submodule \mathcal{J} with IsTraceIdeal for (x, g) \mapsto N_x(g), \ell ^{\nu +1}, \tau , \sigma, the identity and e (hS), ribet_columns gives d with IsRibetElement \mathcal{J} b \pi d and v_\ell (Mk^{3}\cdot d) \le |r|\cdotrowBudget D \ell, where b(x) = \det M_x(\theta ) with the exponent \lfloorD.r\cdotrowBudget D \ell \rfloor _+ + 1 + h_2\cdot h. Its hypotheses: c apt for \vartheta (hc), hq, h \le v_\ell (Mk) (hh), the triangle tri, the labelled columns N_x with their quadratic relation (co for the family (w_j), whose places are off badPlaces D \ell by q), m_0 = \lfloorD.r\cdotrowBudget D \ell \rfloor _+ + 1, the rows R_x with their Selmer bounds (hR, hS_0) and trace identities (hL) on \mathcal{X}, and e_j(1) = \prod _x e_{j,x}(1) = 1 (he).

      Usesribet_columns unit 138, IsTraceIdeal unit 138, IsRibetElement unit 138, rowBudget unit 138, step 13, step 15, step 17, step 25, step 27

    6. 29.6factline 132

      So there is s : (eigensystems of level Q') \to \overline{\mathbb{Q}}_\ell with v_\ell (Mk^{3}\cdot s(\pi )) \le |r|\cdotrowBudget D \ell (h.1) and such that, for every base-level form l, every d \in \mathbb{N} with d\cdot l \ell-integral, and every base-level form y with diagOp(s')(y) = 0 for every s' vanishing on \mathcal{X} and diagOp(s')(l) = diagOp(s')(y) for every s' vanishing at all x with z'(b(x)) = 0: d\cdot Mk\cdotdiagOp(s)(y) is \ell-integral (h.2).

      UsesBaseLevel.diagOp unit 130

  30. 30setupline 133

    For s, let E_s (Lean's E s; not the field) = diagOp(s) at level Q', composed with the passage to smooth forms.

    UsesBaseLevel.diagOp unit 130

  31. For every s and every v \in \operatorname{im}(e_c) whose smooth form is a non-zero element of an isotypic space y: (E_s \circ e_c)(v) = \iota \ell ^{-1}(s(y))\cdot(smooth form of v), since e_c v = v (IsApt.tupleProj_eq_self_of_mem_range) and diagOp(s) multiplies the forms of the eigensystem y by \iota \ell ^{-1}(s(y)) (BaseLevel.diagOp_apply).

    Lean states(E s ∘ₗ tupleProj O c) v = _

    UsesIsApt.tupleProj_eq_self_of_mem_range unit 138, BaseLevel.diagOp_apply unit 130, step 28, step 30

  32. Take G = E_s \circ e_c. (i) For v \in A, by step 9 either e_c v = 0 and G v = 0\cdot v, or G v = \iota \ell ^{-1}(s(y))\cdot v (step 31). (ii) If G p = l\cdot(smooth form of p), then l = \iota \ell ^{-1}(s(\pi )) by step 31, the smooth form of p being non-zero. (iii) remains, for a, b and w \in Z (m) whose smooth form is G(\operatorname{pr}_Z \Xi '_b) (e).

    Usesstep 9, step 31, step 10

  33. 33factline 138

    (ii): \exp(-|r|\cdotrowBudget D \ell \cdot \log \ell) = \ell ^{-|r|\cdot \operatorname{rowBudget} D \ell } \le \lVert Mk^{3}\cdot s(\pi )\rVert, by v_\ell (Mk^{3}\cdot s(\pi )) \le |r|\cdotrowBudget D \ell (step 29.6, h.1) and ellVal_le_iff.

    Usesstep 29, ellVal_le_iff unit 106

  34. 34fact4 steps insidelines 139–162

    Mk\cdot Mk\cdot(smooth form of w) is \ell-integral.

    Lean states_ • _ • w.toSmoothForm ∈ BaseLevel.ellIntegralForms

    1. Apply step 29.6 (h.2) with l = the smooth form of e_c \Xi '_b (of base level by sp) and d = Mk: \Xi '_b is integral at \iota \ell, so its smooth form is \ell-integral (weylGauge_le_one_iff), and Mk\cdot l is \ell-integral (j). As the smooth form of w is G(\operatorname{pr}_Z \Xi '_b) = diagOp(s)(smooth form of e_c(\operatorname{pr}_Z \Xi '_b)) (e), it remains to check the hypotheses on y = smooth form of e_c(\operatorname{pr}_Z \Xi '_b).

      Usesstep 29, step 15, weylGauge_le_one_iff unit 102, step 32

    2. 34.2factline 140

      y is of base level (sp, as e_c(\operatorname{pr}_Z \Xi '_b) \in \operatorname{im}(e_c)).

      Usesstep 15

    3. diagOp(s')(y) = 0 for every s' vanishing on \mathcal{X}: Z \subseteq span(A) (hw) \subseteq \ker (E_{s'} \circ e_c), because for v \in A either e_c v = 0, or (E_{s'} \circ e_c) v = \iota \ell ^{-1}(s'(x))\cdot v with \mathcal{X}(x) (witness v), which is 0 (steps 9, 31); and \operatorname{pr}_Z \Xi '_b \in Z.

      Usesstep 9, step 31, step 28

    4. 34.4fact1 step insidelines 143–162

      diagOp(s')(l) = diagOp(s')(y) for every s' vanishing at every x with z'(b(x)) = 0: equivalently e_c(\Xi '_b - \operatorname{pr}_Z \Xi '_b) \in \ker E_{s'}.

      1. 34.4.1fact5 steps insidelines 143–162

        e_c(\Xi '_b - \operatorname{pr}_Z \Xi '_b) \in \ker E_{s'} (a weak lift orthogonal to the cut and to the impostors at a split place w is an impostor).

        Lean statestupleProj O c (Ξ' b - _) ∈ (E s).ker

        1. 34.4.1.1setuplines 145–146

          Choose a finite place w of E that is off level for B at base level (ok; all but finitely many are, BaseLevel.eventually_isOffLevel), split (\overline{w} \ne w, hv) and not among the places of O and their conjugates (hS) (infinitely many such, frequently_isSplit_notMem_places).

          UsesBaseLevel.eventually_isOffLevel unit 130, frequently_isSplit_notMem_places unit 138, BaseLevel.IsOffLevel unit 102

        2. 34.4.1.2reduction4 steps insidelines 147–156

          Apply le_of_isotypic_mem to Z' = \operatorname{im}(e_c) \cap Z^\perp \cap (\operatorname{im}(e_c) \cap Z^\perp \cap \ker H_w(testValue O w))^\perp (H_w = AuxPair.heckePolyOnForms O hv hS) and N = \ker E_{s'}: Z' \subseteq \ker E_{s'} if Z' is invariant under all Hecke polynomial operators and contains in \ker E_{s'} every vector whose smooth form is a non-zero element of an isotypic space; then show e_c(\Xi '_b - \operatorname{pr}_Z \Xi '_b) \in Z'.

          1. 34.4.1.2.1factlines 148–151

            Z' is invariant under all H_{w'}(X): \operatorname{im}(e_c) is (IsApt.range_tupleProj_mem_invtSubmodule); Z^\perp is (orthogonal_mem_invtSubmodule_hecke, Z being invariant by step 5); \ker H_w(testValue O w) is, since Hecke polynomial operators commute (AuxPair.heckePolyOnForms_comm); intersections and orthogonal complements of invariant subspaces are invariant.

            UsesIsApt.range_tupleProj_mem_invtSubmodule unit 138, orthogonal_mem_invtSubmodule_hecke unit 138, step 5, AuxPair.heckePolyOnForms_comm unit 138

          2. 34.4.1.2.2factlines 151–152

            Isotypic vectors: let v \in Z' (r) have smooth form a non-zero element of an isotypic space x (a), and suppose E_{s'} v \ne 0 (H). Then v \ne 0, and \langle v, v\rangle = 0 because v is orthogonal to \operatorname{im}(e_c) \cap Z^\perp \cap \ker H_w(testValue O w) and lies in it: in \operatorname{im}(e_c) \cap Z^\perp by r, and in \ker H_w(testValue O w) by the remaining goal, proved in steps 34.4.1.3–34.4.1.5. A contradiction.

          3. 34.4.1.2.3factlines 152–154

            e_c(\Xi '_b - \operatorname{pr}_Z \Xi '_b) \in \operatorname{im}(e_c) \cap Z^\perp: Z is invariant under e_c (Z \subseteq span(A) by hw, and e_c v \in \{0, v\} for v \in A by step 9), so Z^\perp is invariant under the symmetric operator e_c (IsApt.isSymmetric_tupleProj), and \Xi '_b - \operatorname{pr}_Z \Xi '_b \in Z^\perp.

            Usesstep 9, IsApt.isSymmetric_tupleProj unit 138, IsApt.tupleProj_eq_self_of_mem_range unit 138

          4. 34.4.1.2.4factlines 155–156

            e_c(\Xi '_b - \operatorname{pr}_Z \Xi '_b) is orthogonal to every u \in \operatorname{im}(e_c) \cap Z^\perp \cap \ker H_w(testValue O w): \langle e_c(\Xi '_b - \operatorname{pr}_Z \Xi '_b), u\rangle = \langle \Xi '_b - \operatorname{pr}_Z \Xi '_b, e_c u\rangle = \langle \Xi '_b, u\rangle - \langle \operatorname{pr}_Z \Xi '_b, u\rangle; the first term vanishes because \Xi '_b is tested (hΞ: \Xi '_b \perp \operatorname{im}(AuxPair.groupAlgAction O e_0) \cap \ker H_w(testValue O w) \cap Z^\perp, which contains u as \operatorname{im}(e_c) \subseteq \operatorname{im}(AuxPair.groupAlgAction O e_0) by le), the second because \operatorname{pr}_Z \Xi '_b \in Z and u \in Z^\perp.

            UsesIsApt.isSymmetric_tupleProj unit 138, IsApt.tupleProj_eq_self_of_mem_range unit 138, AuxPair.IsTested unit 138, step 8, AuxPair.testValue unit 143

        3. 34.4.1.3setupline 157

          In the situation of step 34.4.1.2.2 (x, v, r, a, H), let y be x as an eigensystem of B (step 28).

          Usesstep 28, step 34.4.1.2

        4. 34.4.1.4factline 158

          As w is off level (ok), the smooth form of v — in x and of base level (sp) — is an eigenform at w with the eigenvalues of x, so it has the Hecke polynomial heckePoly q_w |n| t at w (hasHeckePolyAt_of_mem_eigenformsAt): v is spherical at w (z) with Hecke eigenvalues t (u).

          Usesstep 34.4.1.1, step 34.4.1.3, hasHeckePolyAt_of_mem_eigenformsAt unit 102, step 15

        5. 34.4.1.5factlines 159–162

          v \in \ker H_w(testValue O w), the remaining goal of step 34.4.1.2.2. First x \in s: otherwise z'(b(x)) = 0 (step 21), so s'(x) = 0 and E_{s'} v = \iota \ell ^{-1}(s'(x))\cdot v = 0 (BaseLevel.diagOp_apply), contrary to H. So 1 is an eigenvalue of every N_x(g), and isRoot_hecke_string (w \nmid \ell by ok, 0 < rankDiff O by O.rank_lt) gives that \nu _w\cdot q_w^i is a root of the Hecke polynomial of v at w for i < rankDiff O, \nu _w = AutChar.frobValue O.a r w; by eval_heckePoly the root \nu _w\cdot q_w^{\operatorname{rankDiff} O - 1}, whose inverse is testValue O w, makes the Hecke evaluation at testValue O w vanish, so H_w(testValue O w) v = 0\cdot v = 0 (AuxPair.heckePolyOnForms_eq_smul, isSphericalWith_of_heckeSplit).

          Usesstep 34.4.1.4, step 21, BaseLevel.diagOp_apply unit 130, isRoot_hecke_string unit 138, eval_heckePoly unit 102, AuxPair.testValue unit 143, AutChar.frobValue unit 44, AuxPair.heckePolyOnForms_eq_smul unit 143, isSphericalWith_of_heckeSplit unit 44

  35. (iii): \lVert Mk^{3}\cdot \iota \ell \langle \Xi _a, w\rangle \rVert \le 1. By LevelPlaces.LevelForm.norm_inner_le_one at the place \mathbb{C} \to \mathbb{C}_\ell given by \iota \ell: Mk is divisible by the orders of all stabilisers at the level (Data.card_classAut_dvd_chosenGroupOrder, with |n| \le 2n_m by IsApt.card_le and the level inside K_f, levelOf_le_Kf), \Xi _a is integral at every place (hl) and Mk\cdot Mk\cdot w is integral at \iota \ell (step 34, weylGauge_le_one_of_integralAbove); so \lVert \iota \ell (Mk\cdot \langle \Xi _a, Mk^{2}\cdot w\rangle )\rVert \le 1, and the norm of \mathbb{C}_\ell extends that of \overline{\mathbb{Q}}_\ell (PadicComplex.norm_extends).

    UsesLevelPlaces.LevelForm.norm_inner_le_one unit 102, Data.card_classAut_dvd_chosenGroupOrder unit 152, IsApt.card_le unit 138, levelOf_le_Kf unit 122, weylGauge_le_one_of_integralAbove unit 102, step 34, step 3, PadicComplex.norm_extends