\section{Selmer data and the descent}\label{sec:selmer} The denominator bound of \cref{thm:denominator-bound} asks that the twists by $\vartheta^{-1}_\ell$ of the main summands have short Selmer groups. This section proves that boundedly many auxiliary primes, \emph{tied} so that tame inertia acts like Frobenius times a \emph{slope}, make the tied Selmer groups of finitely many lattices short (\cref{thm:descent}). The next section turns the ties into a twist. \subsection{Selmer data}\label{ss:selmer-data} Let $E$ be a CM field in $\Omega$, $\ell$ a prime and $O$ the integers of a finite extension of $\Q_\ell$. A \emph{Selmer datum} for a finite set $S_0$ of places and an element $g_0$ is a lattice $T=O^n$ with a Galois action $\rho$, unramified outside a set $S\subseteq S_0$, a module $Z_w$ of local cocycles at each $w\mid\ell$, and an element $\gamma_*$ acting by a scalar $\zeta_*$ with $\zeta_*^2-1$ a unit, such that $\det(\rho(g)-1)\ne0$ for $g=g_0$ and $g=g_0^{-c}=(g_0^c)^{-1}$. The \emph{local relations} are the linear relations $\sum_ja_jz(g_j)=0$, $g_j$ in a decomposition group above $\ell$, that hold on the $Z_w$. A class in $H^1(E,T/a)$ is identified with its cocycle vanishing at $\gamma_*$. The \emph{global term} is the supremum over $a\ne0$ of the lengths of the modules of equivariant maps from $T/a$ to its dual twisted by complex conjugation, the \emph{places term} the sum of the local terms at the places of $S$ prime to $\ell$, and $\beta_T$ is the sum of these and of the valuations of $\det(\rho(g)-1)$ for $g=g_0,g_0^{-c}$. \lean{New.Selmer.conjDualHom, New.Selmer.congruenceTerm, New.Selmer.localTerm, New.Selmer.placeTerms, New.Selmer.firstPrimeTerms, New.Selmer.SelmerDatum, New.Selmer.SelmerDatum.globalTerm, New.Selmer.SelmerDatum.placesTerm, New.Selmer.SelmerDatum.firstPrimeTerm, New.Selmer.SelmerDatum.localTerms, New.Selmer.SelmerDatum.β, New.Selmer.SelmerDatum.β_ne_top, New.Selmer.SelmerDatum.isUnit_ζ_sub_one, New.Selmer.SelmerDatum.localRelations, New.Selmer.SelmerDatum.mem_obeying_localRelations_iff, New.Selmer.SelmerDatum.coboundary_mem_obeying_localRelations, New.Selmer.SelmerDatum.length_localCocycles_le_finrank_mul, New.Selmer.SelmerDatum.classRelations, New.Selmer.SelmerDatum.tiedSelmer, New.Selmer.SelmerDatum.apply_γ_eq_zero, New.Selmer.evalConjPair, New.Selmer.evalConjPair_apply, New.Selmer.mem_selmerZ1_of_mem_selmerModule, New.Selmer.IsNewAuxiliaryPrime, New.Selmer.IsTiedPrimes.character_tameGenerator_eq_ite, New.Selmer.IsTiedPrimes.insert_of_isNewAuxiliaryPrime, New.Selmer.smul_mem_span_of_forall_smul_mem, New.Selmer.eq_top_of_stable_of_isUnit, New.Selmer.SelmerDatum.ρ_γ, New.Selmer.SelmerDatum.ρ_conjGal_γ_inv, New.Selmer.SelmerDatum.cyclotomicChar_γ, New.Selmer.SelmerDatum.sahGroup, New.Selmer.SelmerDatum.commutator_γ_mem, New.Selmer.SelmerDatum.commutator_conjGal_γ_mem, New.Selmer.SelmerDatum.sahGroup_le, New.Selmer.SelmerDatum.conjGal_mem_sahGroup, New.Selmer.SelmerDatum.map_eq_one_of_mem_sahGroup, New.Selmer.SelmerDatum.ρ_eq_one_of_mem_sahGroup, New.Selmer.SelmerDatum.sahGroup_le_normalClosure, New.Selmer.SelmerDatum.bijective_γ_smul_sub, New.Selmer.SelmerDatum.cocycle_conj_of_fixed, New.Selmer.SelmerDatum.cocycle_commutator_γ, New.Selmer.SelmerDatum.cocycle_eq_zero_of_sahGroup, New.Selmer.SelmerDatum.exists_mem_sahGroup_isUnit_apply, New.Selmer.SelmerDatum.span_image_sahGroup_eq_top, New.Selmer.length_torsionBy_pi_quot_le, New.Selmer.span_range_smul_single_eq_top, New.Selmer.length_torsionBy_characterModule_le, New.Selmer.smul_apply_eq_zero_of_mem_conjDualHom, New.Selmer.congruenceTerm_le} Write $W=T/a=(O/a)^n$, $G=\Gal(\Omega/E)$, $g^c$ for the conjugate of $g$ by complex conjugation and $g^{-c}=(g^c)^{-1}$; $W^*$ is the character module $\Hom(W,\Q/\Z)$ with $g$ acting by $y\mapsto\mathrm{cyc}(g)\,y\circ g^{-1}$, and $W^{*c}$ is $W^*$ with $g$ acting as $g^c$. A Selmer datum also asks that $T/\varpi$ be absolutely irreducible in Burnside's form (the matrices $\rho(g)$ span all matrices), that $\gamma_*$ be inertial at a place of $S$ prime to $\ell$, and that $\sum_{w\mid\ell}(\rank Z_w-n)\le fn$, $f$ the number of infinite places. The group $H$ is generated, as an abstract group, by the commutators $[g,\gamma_*]$ and $[g,\gamma_*^c]$, $g\in G$. \begin{lemma}[Classes on the commutator group]\label{lem:selmer-basics} Let $T$ be a Selmer datum and $a\ne0$. \begin{enumerate}[label=\textup{(\alph*)}] \item Coboundaries obey the local relations, and at each $w\mid\ell$ the restrictions of the cocycles obeying them have length at most $\rank Z_w\cdot\length(O/a)$. \item $H$ is normal and stable under $g\mapsto g^c$; homomorphisms to commutative groups and $\rho$ are trivial on $H$; and $H$ lies in the normal subgroup generated by the inertia groups above any set containing the places of $S$ prime to $\ell$ and their conjugates. \item (Sah's identity.) A cocycle $z$ with $z(\gamma_*)=0$ has $z([g,\gamma_*])=(1-\zeta_*)z(g)$, and $z(ghg^{-1})=gz(h)$ when $h$ acts as the identity. A cocycle that vanishes at $\gamma_*$ and on $H$ vanishes. \item If a submodule of $W$ is stable under a set of matrices spanning all matrices and contains a vector with a unit coordinate, it is $W$. \item If $g$ acts by a scalar $\alpha$ and $g^{-c}$ by $\alpha'$, then $\Delta=\alpha-\mathrm{cyc}(g^c)\alpha'$ kills $\Hom_G(W,W^{*c})$, and the $\Delta$-torsion of $W^*$ is no longer than that of $W$, which has length at most $n\,v(\Delta)$. \end{enumerate} \end{lemma} \begin{proof} (a) The coboundary of $b\in W$ lifts to the coboundary of a lift of $b$ in $O^n$, which lies in each $Z_w$, so it obeys every relation that holds on $Z_w$. For the bound, fix a coordinate $i$ and let $\phi(f)$ be the linear form $z\mapsto(\sum_gf(g)z(g))_i$ on $Z_w$, for finitely supported families $f$ of matrices. A function $c$ obeying the relations of $Z_w$ gives the map $f\mapsto(\sum_gf(g)c(g))_i$ to $O/a$, which kills $\ker\phi$ (row $i$ of a family in $\ker\phi$, the other rows set to zero, is a relation on $Z_w$) and determines $c$ (take for $f$ the families with one nonzero entry). Hence the module embeds into the $O$-linear maps from $\mathrm{im}\,\phi$ to $O/a$, and $\mathrm{im}\,\phi$ lies in the dual of $Z_w$, free of rank at most $\rank Z_w$. (b) $g'[g,\delta]g'^{-1}=[g'g,\delta][g',\delta]^{-1}$ shows normality, and $[g,\gamma_*]^c=[g^c,\gamma_*^c]$ stability under conjugation. A homomorphism to a commutative group kills commutators. As $\gamma_*$ and $\gamma_*^c$ act by scalars, $\rho$ kills the commutators. Finally $\gamma_*$ and $\gamma_*^c$ lie in inertia groups above such a set, hence in its normal closure, and so does every commutator with them. (c) By the cocycle rule, $z(\gamma_*^{-1})=-\gamma_*^{-1}z(\gamma_*)=0$ and $z(g^{-1})=-g^{-1}z(g)$, so $z(\gamma_*g^{-1}\gamma_*^{-1})=\zeta_*z(g^{-1})$ and $z(g\gamma_*g^{-1}\gamma_*^{-1})=z(g)-\zeta_*z(g)$. If $h$ acts as the identity, $z(ghg^{-1})=z(g)+gz(h)-ghg^{-1}z(g)=gz(h)$. If $z$ vanishes on $H$, then $(1-\zeta_*)z(g)=0$, and $1-\zeta_*$ is a unit as $\zeta_*^2-1$ is. (d) If $u$ has a unit coordinate $u_j$, the matrix whose only nonzero column is the $j$th, a lift of $m/u_j$, takes $u$ to $m$; such matrices are combinations of the given ones. (e) An equivariant $\eta$ satisfies $\eta(gu)=g\cdot\eta(u)$; as $g$ acts on $W$ by $\alpha$ and on $W^{*c}$ by $\mathrm{cyc}(g^c)\alpha'$ (the action of $g^c$ on $W^*$ is by $\mathrm{cyc}(g^c)$ times the transpose inverse of $\rho(g^c)$, which is $\alpha'$), $\Delta\eta=0$. A character killed by $\Delta$ is a character of $W/\Delta W$, which has as many elements as $W[\Delta]$; and $W[\Delta]=\prod_j(O/a)[\Delta]$ has length at most $n\,v(\Delta)$. \end{proof} \begin{lemma}[Sah]\label{lem:sah} Let $H$ be the group generated by the commutators $[g,\gamma_*]$ and $[g,\gamma_*^c]$. If a cocycle vanishing at $\gamma_*$ has a value with a unit coordinate, its values on $H$ span $T/a$. If $g$ acts by a scalar $\alpha$, $g^{-c}$ by $\alpha'$ and the image of $\rho$ spans all matrices, the global term is at most $n\,v(\alpha-\mathrm{cyc}(g^c)\alpha')$. \end{lemma} \begin{proof} For the first claim, let $z(g)$ have a unit coordinate. By \cref{lem:selmer-basics}(c), $z([g,\gamma_*])=(1-\zeta_*)z(g)$ has a unit coordinate too, and $[g,\gamma_*]\in H$. The span of $z(H)$ is stable under $G$, since $gz(h)=z(ghg^{-1})$ for $h\in H$, which acts as the identity, and $H$ is normal (\cref{lem:selmer-basics}(b)); by \cref{lem:selmer-basics}(d) it is $T/a$. For the second claim, by \cref{lem:selmer-basics}(e) $\Delta=\alpha-\mathrm{cyc}(g^c)\alpha'$ kills every equivariant map $\eta\colon W\to W^{*c}$. Evaluation at a basis vector $e$ is injective on these maps: a map vanishing at $e$ vanishes at its translates, which span $W$ because the image of $\rho$ spans all matrices. Hence $\Hom_G(W,W^{*c})$ embeds into the $\Delta$-torsion of $W^*$, of length at most $n\,v(\Delta)$; take the supremum over $a$. \end{proof} \subsection{Auxiliary primes and ties}\label{ss:aux-primes} \emph{Auxiliary prime data} at a prime $P\ne\bar P$ of norm $\equiv1$ modulo $q$, outside a set $T$, consist of a place of $\Omega$ above $P$, a Frobenius element $\varphi$, the chosen tame generator $\gamma$, and a character to $\Z/q$ that comes from an idele class character of level $P$ trivial at $T$ and takes the value $1$ at $\gamma$. A set $J$ of \emph{tied primes} consists of a first prime $P_0$, whose Frobenius element lies in a given set $W$, and later primes, all with auxiliary prime data for $q=\ell^N$ and, for each datum $i$, a \emph{slope} $s_v^{(i)}\in O$, with $s_{P_0}=0$, such that at the primes of nonzero slope for $i$ the Frobenius element and its conjugate inverse satisfy a condition $V_i$ (typically: they act as the identity on $T_i/\ell^M$). The \emph{ties} of datum $i$ are $z(\gamma_v)=s_vz(\varphi_v)$ and $z(\gamma_v^{-c})=s_vz(\varphi_v^{-c})$, $v\in J$. The \emph{tied Selmer group} $\mathrm{Sel}_a(J)$ modulo $a$ consists of the cocycles with values in $T/a$, vanishing at $\gamma_*$, unramified outside $S\cup J\cup\bar J$, obeying the local relations and the ties. A prime $P$ with data is \emph{new auxiliary} for datum $i$ if it may be added to $J$ with any slope for $i$. \lean{New.Selmer.AuxPrimeData, New.IsAuxPrimeDataAt, New.IsAuxiliary, New.Selmer.exists_discreteLog, New.Selmer.valuation_pow_sub_one_lt_one_of_isFrob, New.Selmer.exists_ideleClassChar_of_local, New.Selmer.exists_anticyclotomicChar_of_frob_fixes_roots, New.Selmer.mem_ker_inf_stabilizer_of_mem_normalClosure, New.Selmer.exists_isAuxPrimeDataAt, New.Selmer.reduceModPow, New.Selmer.IsTiedPrimes, New.Selmer.IsTiedPrimes.apply_idOrConjInv_of_slope_ne_zero, New.Selmer.tieRelations, New.Selmer.idOrConjInv_mem_inertiaAbove} \lean{New.Selmer.affineAction_apply, New.Selmer.affineAction_pow_apply, New.Selmer.affineAction_pow_eq_one, New.Selmer.commute_affineAction, New.Selmer.sub_one_smul_eq_of_commute, New.Selmer.inv_sub_one_smul_eq, New.Selmer.sub_one_smul_eq_of_tame, New.Selmer.lineDirection, New.Selmer.selmerOnLine, New.Selmer.shiftedDet, New.Selmer.eval₂_shiftedDet, New.Selmer.coeff_shiftedDet_card, New.Selmer.tiePolynomial, New.Selmer.selmerAtPoint_zero, New.Selmer.selmerOnLine_zero, New.Selmer.map_smul_eq_of_reduceModPow_eq, New.Selmer.dvd_eval_universalChar_sub_one, New.Selmer.exists_monoidHom_smul_eq_pointTwist_smul, New.Selmer.sub_one_smul_eq_of_isAuxPrimeDataAt, New.Selmer.IsTiedPrimes.frob_sub_one_smul_eq, New.Selmer.IsTiedPrimes.frob_sub_one_smul_tie_eq_zero_of_selmerOnLine, New.Selmer.IsTiedPrimes.relLength_tied_le_sum_ker, New.Selmer.IsTiedPrimes.relLength_tied_le, New.Selmer.IsTiedPrimes.relLength_tieRelations_le_sum_addVal_det} A prime of $J$ is in particular \emph{auxiliary} for $S_0$: of prime norm, with neither it nor its conjugate in $S_0$, and not conjugate to another prime of $J$. A tied set also asks that for $v\ne P_0$ the character of $P_0$ take the value $1$ at $\varphi_v$ and the characters of the other primes the value $0$, and that no prime of $S_0$ or of $J$ divide the norm of $P_0$. For characters $h_j$ to $\Z/q$ and a point $x$ the \emph{twist} by $\psi_x(g)=\prod_j(1+x_j)^{h_j(g)}$ is the action $g\mapsto\psi_x(g)\rho(g)$ (\cref{ss:universal-char}); $\mathrm{Sel}(x)$ is its Selmer module. \begin{lemma}[Characters at auxiliary primes]\label{lem:aux-characters} Let $E$ be a CM field and $q=\ell^N$. \begin{enumerate}[label=\textup{(\alph*)}] \item (Discrete logarithm.) If $\Nm P=1+qk$ is prime and the residue of a local unit $u$ generates the residue units, some character of $E_P^\times$ to $\Z/q$ sends $u$ to $1$ and kills every $t$ with $t\equiv1$ or $t^k\equiv1$ modulo $P$. \item If a Frobenius element $\sigma$ at a place above $P\notin T$, $\Nm P=1+nk$, fixes an $n$th root of a $T$-unit $u$, then $u^k\equiv1$ modulo $P$. \item If the $T$-ideles and the principal ideles generate the finite ideles, a continuous character of $E_P^\times$ killing the $T$-units extends to a character of the idele classes that is, on the $T$-ideles, the character of the component at $P$. \item (Anticyclotomic characters.) Under the hypothesis of (c), if $P\notin T$, $P\ne\bar P$, $\Nm P=1+qk$ is prime and a Frobenius $\sigma$ at a place $A$ over $P$ fixes $q$th roots of generators of the $T$-units, there is a continuous character $\chi\colon G\to\Z/q$ with value $1$ at the tame generator at $A$ and $\chi(\mathrm{Art}(x))=\theta(x/\bar x)$ for a character $\theta$ of the idele classes trivial on the $T$-ideles congruent to $1$ at $P$. \item If $q$ is a unit off $T$ and the places of $R$ lie off $T$, the normal closure of the inertia groups above $R$ fixes the $q$th roots of unity and $q$th roots of $T$-units. \end{enumerate} \end{lemma} \begin{proof} (a) Divide out the power of a uniformiser and take the residue; the character of the residue units, cyclic of order $qk$, that sends the generator to $1$ kills the $k$th powers' preimages of $1$: if the residue of $t$ is $g^e$ with $g^{ek}=1$, the order $qk$ of $g$ divides $ek$, so $q\mid e$. (b) With $y^n=u$, $y=\sigma y\equiv y^{\Nm P}=y\,u^k$ modulo the place, and $y$ is a unit there. (c) The $T$-ideles map onto the idele classes with kernel the $T$-units, so the character of the component at $P$, which kills the $T$-units, descends; it is continuous as it agrees on the open group of $T$-ideles with a continuous character. (d) By (b) the discrete logarithm of (a), for a generator $u_0$ of the residue units, kills the $T$-units, and by (c) it extends to an idele class character $\theta$; its kernel is open, containing all powers with exponent its finite index. The existence theorem of class field theory (\cref{thm:B-classfield}(c)) turns $x\mapsto\theta(x/\bar x)$ into a Galois character $\chi$. The tame generator at $A$ is the Artin symbol of $u_0$ at $P$, whose conjugate has component $1$ at $P$ as $P\ne\bar P$, so $\chi$ takes the value $\theta(u_0)=1$ there. (e) The inertia groups at places off $T$, and their conjugates, fix the roots of unity of order $q$ (prime to these places) and the $q$th roots of the $T$-units, which are units there; the fixer of these finitely many roots is a normal open subgroup. \end{proof} \lean{New.Selmer.unionWithConj, New.Selmer.pointChar, New.Selmer.pointChar_apply} \begin{lemma}[Ties and the line]\label{lem:untied} Let $J$ be tied primes for $S_0$, $i$ a datum, and let $\rho$ modulo $\ell^M$ be trivial on inertia outside $S_0$ and at the elements with $V_i$. \begin{enumerate}[label=\textup{(\alph*)}] \item (Affine actions.) For a cocycle $c$, $g\mapsto(u\mapsto c(g)+gu)$ is a homomorphism to the affine group. If $g$ acts by a scalar $\alpha$ with $\sum_{iM$ there is a set $J$ of at most $s$ tied primes whose tied Selmer groups modulo $\ell^M$ have length at most the global term plus the places term. \end{theorem} \begin{proof} Let $\varpi$ be a uniformiser and $e=v(\ell^M)$, so $\varpi^e$ and $\ell^M$ generate the same ideal and the residue field has more than $2n_ie+1$ elements. Let $b$ bound the total tied length for all slopes $0$ (\cref{lem:descent-steps}(d)); it does not depend on $N$. For $N>M$ take the first prime $P_0$ of \cref{lem:descent-tools}(d), with Frobenius element in $W$, and $J=\{P_0\}$ with slopes $0$. \Cref{lem:descent-steps}(c) gives a tied set with at most $1+b$ primes whose tied Selmer groups modulo $\varpi^e=\ell^M$ have length at most the global term plus the places term. Take $s=1+b$. \end{proof} \subsection{Main summands as Selmer data}\label{ss:main-summand-data} \lean{New.Selmer.exists_dvd_ell_pow, New.Selmer.ne_top_of_normLength_le, New.Selmer.IsMainSummandLike.nonempty, New.Selmer.IsMainSummandLike.trace_lattice_conjGal, New.Selmer.IsMainSummandLike.conjGal_inv_eq_smul_one, New.Selmer.IsMainSummandLike.isUnit_of_eq_smul_one, New.Selmer.IsMainSummandLike.sum_countP_neg_le, New.Selmer.IsMainSummandLike.sum_finrank_crysCocyclesAt_le, New.Selmer.IsMainSummandLike.normLength_congruenceTerm_le, New.Selmer.IsLatticeIn.normLength_addVal_det_sub_one, New.Selmer.IsMainSummandLike.normLength_localTerm_le, New.Selmer.IsMainSummandLike.normLength_firstPrimeTerms_le, New.Selmer.IsMainSummandLike.normLength_placeTerms_add_firstPrimeTerms_le, New.Selmer.IsMainSummandLike.exists_mem_inertiaAbove_eq_smul_one_isUnit, New.Selmer.IsMainSummandLike.eventually_exists_selmerDatum} \begin{lemma}[Terms of a main summand]\label{lem:main-summand-terms} Let $R$ be like a main summand of rank $n$, $u$ a lattice in $R$ over $O$ whose image spans all matrices, and normalise lengths so that $O/\ell$ has length $1$. \begin{enumerate}[label=\textup{(\alph*)}] \item If $g$ acts through $u$ by a scalar $y$, then $g^{-c}$ acts by $\mathrm{cyc}(g)^{t-1}y$, and $y$ is a unit. \item The negative Hodge--Tate jumps, summed over the complex embeddings, number at most $fn$, and the ranks of the crystalline cocycles at the places above $\ell$ add up to at most $n(\#\{w\mid\ell\}+f)$. \item The global term is at most $n\,v_\ell(n_{\rm ch})$; the local term at each place above $p_0p_1$ prime to $\ell$ is at most $n\,v_\ell(n_{\rm ch})$; the two terms $v(\det(u(g)-1))$ at the tame generator $\gamma$ and $\gamma^{-c}$ add up to at most $2n\,v_\ell(n_{\rm ch})$; in all, the local terms are at most $(4f+2)n\,v_\ell(n_{\rm ch})$. \item Some inertial element above $p_0p_1$, prime to $\ell$, acts by a scalar $\zeta$ with $\zeta^2-1$ a unit. \end{enumerate} \end{lemma} \begin{proof} (a) As the $u(x)$ span all matrices, it is enough to compare traces against them. Conjugate self-duality on traces, $\tr u(g^c)=\mathrm{cyc}(g)^{-(t-1)}\tr u(g^{-1})$, applied at $x^cg^{-1}$ and at $x^c$, makes both traces multiples of $\tr u((x^c)^{-1})$ with the claimed ratio. A scalar of a lattice element is a unit, as $u(g)$ is invertible over $O$. (b) An embedding and its conjugate have at most $n$ negative jumps together (\cref{def:main-summand}), and there are $f$ pairs. The rank at $v\mid\ell$ is $n$ plus the number of negative jumps at the embeddings of $v$ (\cref{thm:B-padic}(a)), and each embedding is counted at one place at most. (c) Take $g$ acting by a scalar $\alpha$ with cyclotomic character $p_l^n$ (\cref{def:main-summand}). By (a), $\alpha-\mathrm{cyc}(g^c)\alpha'=(1-p_l^d)\alpha$ with $d=nt$ ($d=n$ if $t=0$), $\alpha$ a unit and $1\le d\le\mathrm r\mathrm t$; so $v(\alpha-\mathrm{cyc}(g^c)\alpha')=v_\ell(p_l^d-1)\le v_\ell(n_{\rm ch})$ (\cref{lem:lift-settings}(b)), and \cref{lem:sah} gives the global term. At a place $v$ above $p_0p_1$ prime to $\ell$, a power $m$ prime to $v$ kills the image of inertia and $u$ is trivial on inertia near $1$ (\cref{def:main-summand}). A local cocycle is determined by its value at the tame generator together with its value at a Frobenius $\varphi$ when that first value vanishes: such a cocycle is unramified, and $\gamma\varphi=\varphi(\varphi^{-1}\gamma\varphi)$ with both $\gamma$ and $\varphi^{-1}\gamma\varphi$ inertial shows that $u(\gamma)$ fixes its value at $\varphi$. Hence the local cocycles have length at most $\length W+\length\ker(u(\gamma)-1)$ for the inertial $\gamma$ of the row, and the local term is at most $v(\det(u(\gamma)-1))$, which is at most $n\,v_\ell(n_{\rm ch})$ by \cref{def:main-summand}; the valuation of $\det(u(g)-1)$ in $O$, normalised, is that of $\det(R(g)-1)$ in $\bar\Q_\ell$. At most $4f$ places above $p_0p_1$ are prime to $\ell$, and the tame generator gives two more terms. (d) The scalar $y$ of \cref{def:main-summand}, with $y^{\ell^aj}-1$ a unit for $1\le j\le4r+2$, lies in $O$, being a diagonal entry of $u(\gamma)$, a conjugate of $R(\gamma)$; take $j=2$, $a=0$. \end{proof} \begin{proposition}[Main summands are Selmer data]\label{prop:main-summand-data} Let $R$ be like a main summand and $\gamma$ the tame generator at a chosen place prime to $\ell$. Over all large coefficient rings there is a Selmer datum $T$ for $\gamma$ and the bad places, a lattice in $R$, with places those above $\ell p_0p_1$, local relations those of the crystalline cocycles above $\ell$, and $\beta_T$ of normalised length at most $(4f+3)\,n\,v_\ell(n_{\rm ch})$. \end{proposition} \begin{proof} Take the lattice $u$ of \cref{lem:main-summand-terms} and the element $\gamma_*$ of \cref{lem:main-summand-terms}(d); the cyclotomic character is trivial at the inertial $\gamma_*$, so by \cref{lem:main-summand-terms}(a) $\gamma_*^{-c}$ acts by the same scalar $\zeta_*$. The places are those above $\ell p_0p_1$, outside which $R$ is unramified; the modules $Z_w$ are the crystalline cocycles above $\ell$, finitely generated with the rank bound of \cref{lem:main-summand-terms}(b); Burnside's form of irreducibility is the spanning of the image. By \cref{lem:main-summand-terms}(c), the global term is at most $n\,v_\ell(n_{\rm ch})$ and the local terms at most $(4f+2)n\,v_\ell(n_{\rm ch})$; so $\beta_T$ has normalised length at most $(4f+3)n\,v_\ell(n_{\rm ch})$, and in particular all terms are finite. \end{proof}