module import Mathlib.Algebra.Order.Star.Real import Mathlib.Analysis.Polynomial.Norm import Mathlib.FieldTheory.Galois.Profinite import TauCeti.Analysis.Normed.Ring.CompactMonoid public import Lib.LocalGL.SphericalChainLemma public import New.Congruences.GaloisRepresentations.SelmerHypotheses public import Lib.GaloisRep.Main.AllRanks import Lib.GaloisRep.Main.QuadraticStep import Lib.General.Algebra.SeriesBounds import Lib.General.LinearAlgebra.Eigenvalues /-! # Chains of roots for weak lifts, and Hecke-stable subspaces of forms Let `O` be a descent pair, with spaces W and V of ranks r < n, put t = n − r, and let `f` be a nonzero eigenform on V with Galois representation R. Its normalised representation is u = R ⊗ χ. The case of interest is that det (1 − u(g)) = 0 for all g, the condition that defines weak lifts. Notions from other files: * `New.Parameters`, `New.Data`: the fixed parameters P and admissible data D over them (numerical scales, ranks, levels); D determines the CM field E = `D.E`. * `New.DescentPair`: places, weights and a hermitian space W of rank r, beside the definite space V = `New.stdSpace` of rank n > r; `New.DescentPair.rankDiff` is t = n − r. The forms on V have the weight (`columnCount`, `detExp`): column numbers and a power of the determinant at each infinite place. * `New.Patching.Isotypic`: spaces of forms with given Hecke eigenvalues at almost all places; such a space `x` has Hecke polynomials `x.heckePolyAt w` and a Galois representation `x.galRep`. * `New.Selmer.normalizedRep`: the twist of a Galois representation by the ℓ-adic character χ = `New.Selmer.normalizingAvatar`, the avatar of an algebraic Hecke character made from W. * `Ω`: a fixed algebraic closure of ℚ, so that Gal(Ω/E) is the absolute Galois group of E. * `New.mostFrobenii`: a filter on the triples of a place, a place of `Ω` over it and a geometric Frobenius element there. * `ιℓ`: the fixed isomorphism ι from `ℂ` to `ℚ̄_ℓ`. ## Main definitions and results * `New.Selmer.exists_diagonal_mem_norm_ge`: diagonal operators, one for each vector of a basis, are combined into one operator with an eigenvalue at each vector at least as large in norm. * `New.Selmer.isRoot_hecke_chain`: if det (1 − u(g)) = 0 for all g, the Hecke polynomial at a split place w ∤ ℓ has the chain of roots X₀, X₀q, …, X₀q^(t−1), where q is the norm of w and ι(X₀) = χ(Frob_w)⁻¹. * `New.Selmer.eventually_exists_hasRootChain`: for most Frobenius elements φ, if u has integral characteristic polynomials with root 1 and that of u(φ) is congruent to a product of S and ∏_{j