\section{The bound for denominators}\label{sec:denominators} This section applies Ribet's lemma to the Galois representations of the systems of Hecke eigenvalues in a space of forms and proves the bound for the denominator of the projection to the lifts (\cref{thm:denominator-bound}). The auxiliary places of a triangle are added to the level; the tie parameters are realised by first-order deformations of the norm maps from the deep auxiliary level to the base level; and the top coefficient of Ribet's element, an operator in the Hecke algebra, clears the denominator. \subsection{The Hecke algebra and tied traces}\label{ss:tied-traces} Let base data $B$ fix a type of forms; the forms of level $L$ have principal level at auxiliary places $L_j$ and maximal level at the other places off the places of the data. A \emph{system} of level $L$ is an isotypic space (forms with given Hecke eigenvalues at almost all places) containing a nonzero form of level $L$; it has a Galois representation $x.\mathrm{gal}$. The \emph{Hecke algebra} $\mathbb T$ is the ring of $\ell$-adic functions $t$ on systems such that scaling each system $x$ by $\iota^{-1}(t(x))$ preserves the integral forms. Let $N_x$ be the twist of $x.\mathrm{gal}$ by a character $a$ trivial at the tame generators. The \emph{trace} $\operatorname{tr}[P(h)g]$ is the function $x\mapsto\operatorname{tr}(P(N_xh)N_xg)$. For polynomials $H_j$ and variables $\alpha_j$, the \emph{tied ideal} $\mathfrak a\subseteq\mathbb T[\alpha]$ is generated by the $\ell^\nu\operatorname{tr}[g]$ and the traces $\operatorname{tr}[(\gamma_j-1-\alpha_j(\varphi_j-1)H_j(\varphi_j))g]$ of the tied relations. \lean{New.Patching.TaylorWilesPlaces.LocalChoice, New.Patching.TaylorWilesPlaces.nonempty_localChoice, New.Patching.TaylorWilesPlaces.LocalChoice.indLine, New.Patching.TaylorWilesPlaces.LocalChoice.indDet, New.Patching.TaylorWilesPlaces.LocalChoice.diamond, New.Patching.TaylorWilesPlaces.LocalChoice.transfer_indLine, New.Patching.TaylorWilesPlaces.LocalChoice.indDet_diamond, New.Patching.BaseLevel.placeRep, New.Patching.BaseLevel.lineRep, New.Patching.BaseLevel.commute_heckeAction_residueRep, New.Patching.BaseLevel.localFormRep_apply_eq_lineRep, New.Patching.BaseLevel.mem_levelSpace_proIwahori, New.Patching.BaseLevel.mem_parahoricEigenspace_line, New.Patching.BaseLevel.mem_parahoricEigenspace_det, New.Patching.BaseLevel.heckeEigenvalues_mem_heckeAlgebra, New.Patching.BaseLevel.IsGalRepTwist, New.Patching.BaseLevel.IsGalRepTwist.coe_apply, New.Patching.BaseLevel.charpoly_coeff_mem_heckeAlgebra, New.Patching.BaseLevel.IsCongruent, New.Patching.BaseLevel.exists_indicator_isCongruent, New.Patching.BaseLevel.traceElement, New.Patching.BaseLevel.tameTrace, New.Patching.BaseLevel.tameTrace_one, New.Patching.BaseLevel.tiedIdeal, New.Patching.BaseLevel.weightedSum_mul_heckeAction_eq_of_eigen, New.Patching.BaseLevel.tameTrace_smul_eq_diamond_sub_one, New.Patching.BaseLevel.aevalHecke, New.Patching.BaseLevel.tameTrace_smul_eq_aevalHecke, New.Patching.BaseLevel.weightedSum_indDet_mul_tameTrace, New.Patching.BaseLevel.norm_mul_traceElement_tameGenerator_eq_zero, New.Patching.BaseLevel.weightedSum_indLine_mem_levelSpace, New.Patching.BaseLevel.exists_aevalHecke_weightedSum, New.Patching.BaseLevel.map_aevalHecke_valMinAbs_mul_tameTrace, New.Patching.BaseLevel.lineRep_mul_eq_self, New.Patching.BaseLevel.heckeAction_mul_norm_mul_eq_zero} At an auxiliary place $w=w_j$ of norm $q$, with $\ell^\nu\mid q-1$, a \emph{local choice} is a uniformiser $\varpi$ and a unit $z$ whose local Artin symbols are the classes of $\varphi_j$ and of $\gamma_j$, together with a logarithm $\mathrm{ind}\colon\F_w^\times\to\Z/\ell^\nu$ with $\mathrm{ind}(\bar z)=1$; local choices exist by local class field theory, $\bar z$ generating $\F_w^\times$ modulo $\ell^\nu$-th powers. On $\GL_n(\F_w)$ we use $\mathrm{ind}\circ\det$, and on the stabiliser $P$ of the line of the first basis vector the logarithm $\mathrm{ind}_1(g)=\mathrm{ind}(g_{11})$ of the first entry. A \emph{weighted norm} over a finite group $\Gamma$ acting on forms, for a homomorphism $\chi\colon\Gamma\to\Z/\ell^\nu$ and a weight $f\colon\Z/\ell^\nu\to\Z$, is $\sum_{\gamma}f(\chi(\gamma))\gamma$. Two systems are \emph{congruent} if the characteristic polynomials of their representations $N$ agree modulo the maximal ideal at every Galois element. \begin{proposition}[The dictionary at an auxiliary place]\label{prop:dictionary} \begin{enumerate}[label=\textup{(\alph*)}] \item The coefficients of the characteristic polynomials of the $N_xg$, and the indicator of the systems congruent to a given one, lie in $\mathbb T$. \item At an auxiliary place $w$ off the base level, the tame generator acts as a diamond operator: on a form on which $\GL_n(\F_w)$ acts through $\psi\circ\mathrm{ind}\circ\det$, $\operatorname{tr}[(\gamma-1)gp(\varphi)]=(\langle\gamma\rangle-1)\operatorname{tr}[gp(\varphi)]$, with $\langle\gamma\rangle=\mathrm{diag}(\bar z,1,\dots,1)$. \item The Frobenius element acts through a normalised Hecke operator: if the stabiliser of a line acts through $\psi\circ\mathrm{ind}$ of the first entry with $\psi(n!)\ne1$, then $\operatorname{tr}[(\gamma-1)gp(\varphi)]=p(\tilde U)\operatorname{tr}[(\gamma-1)g]$, $\tilde U=a(\varphi)U$ with $U$ the Hecke operator of $\mathrm{diag}(\varpi,1,\dots,1)$ for the pro-unipotent Iwahori subgroup. \end{enumerate} \end{proposition} \begin{proof} (a) \emph{Eigenvalues.} At a place $w$ of prime norm off the level $L$, the function sending a system to its $j$-th Hecke eigenvalue at $w$, read in $\bar\Q_\ell$, lies in $\mathbb T$: the Hecke operator is supported at a place not above $\ell$, an integral combination of translations, and keeps the integral forms. \emph{Coefficients.} The twist by $a$ multiplies the $i$-th coefficient of the characteristic polynomial of $N_xg$ by a power of $a(g)$. The untwisted coefficients are limits, along Frobenius elements near $g$ (\cref{thm:B-classfield}(d)), of coefficients of Hecke polynomials (\cref{ss:B-galois}), which are integers times eigenvalues; $\mathbb T$ is closed under such limits, the systems being finitely many and the integral structure being preserved coefficientwise. \emph{The indicator.} For each system $x'$ not congruent to $\pi$ choose a coefficient $c_{x'}\in\mathbb T$ whose values at $x'$ and $\pi$ are incongruent, and put $s_\pi=\prod_{x'}(c_{x'}-c_{x'}(x'))$. It vanishes at every non-congruent $x'$ and has norm at least $1$ at each $x$ congruent to $\pi$, since then $c_{x'}(x)\equiv c_{x'}(\pi)\not\equiv c_{x'}(x')$. The indicator is $1-\prod_{x}(1-s_\pi/s_\pi(x))$ over the congruent $x$, an integral polynomial in $s_\pi$ with coefficients of norm at most $1$; this is the idempotent of one factor of the decomposition of a finite algebra over a henselian local ring. (b) Let $y$ be a form of the system $x$ on which $\GL_n(\F_w)$ acts through $\psi\circ\mathrm{ind}\circ\det$. The maximal compact subgroup at $w$ acts on $y$ by $k\mapsto\psi(\mathrm{ind}(\det k))$, and the pro-$p$ Iwahori subgroup fixes $y$. By local--global compatibility for Iwahori eigenvectors (\cref{thm:B-galois}(b)), inertia at $w$ acts on $N_x$ through the characters $\psi\circ\mathrm{ind}$ of the torus, all equal on the image of $\gamma$; so every eigenvalue of $N_x(\gamma)$ is $\iota(\psi(\mathrm{ind}\,\bar z))=\iota(\psi(1))$. $N_x(\gamma)$ has finite order (inertia at $w\nmid\ell$ acts on $N_x$ through a finite quotient, $a$ being trivial at $\gamma$), hence is semisimple, hence the scalar $\iota\psi(1)$. On the other side the diamond $\langle\gamma\rangle$ acts on $y$ by $\psi(\mathrm{ind}\det\langle\gamma\rangle)=\psi(1)$. Both sides of the claim, applied to $y$, are $(\psi(1)-1)\operatorname{tr}[gp(\varphi)]y$. (c) On such a form the pro-unipotent Iwahori subgroup acts as the identity: an element of the stabiliser with first entry and determinant $1$ fixes the form, and the pro-unipotent Iwahori subgroup reduces into such elements. The parahoric of the line acts by $k\mapsto\psi(\mathrm{ind}\,k_{11})$. By \cref{thm:B-galois}(b) the polynomial $\prod_i(X-\iota\xi_i(\varpi))$ of the Iwahori eigencharacter kills Frobenius on the Galois side, and the operator $U$ acts on the Iwahori-fixed vectors of this eigencharacter with the eigenvalue attached to the first entry. Hence, in traces against an element $T$ of the Galois group, a polynomial in $\tilde U$ applied to $y$ acts as the same polynomial in the Frobenius matrix on the summand where inertia acts by $\psi$; the factor $\gamma-1$ projects to this summand, as on the other summands inertia acts as the identity and $\psi(n!)\ne1$ separates them ($\psi$ is nontrivial on the image of $\mathrm{ind}$ of the elements of order dividing $n!$). This gives the identity. \end{proof} \subsection{The family at the auxiliary places}\label{ss:aux-family} Let $\mathrm{Nm}_j$ be the sum over $\GL_n(\F_{w_j})$, $n_{\rm Aut}$ the common multiple of the stabiliser orders, and $\equiv$ equality after a reduction killing every operator $T$ with $\ell^\nu\mid2n!\,T$. \lean{New.Selmer.exists_integral_combination_norm_ge, New.Selmer.exists_diagonal_mem_norm_ge, New.Selmer.pow_finrank_le_nnnorm_det, New.Selmer.norm_coeff_lt_one_of_mul_monic, New.Selmer.norm_eval_one_lt_one, New.Selmer.exists_integral_multiple_eval_one, New.Selmer.exists_one_le_nnnorm_one_sub_pow_mul_root, New.Selmer.exists_eventually_one_le_norm_eval_charpoly, New.Selmer.norm_coeff_comp_sub_charpoly_smul_lt_one, New.Selmer.normalizingAvatar_eq_of_isFrob, New.Selmer.isRoot_hecke_chain, New.Selmer.prod_X_sub_C_dvd_comp_of_hasHeckePolyAt, New.Selmer.eventually_exists_hasRootChain, New.Selmer.orthogonal_mem_invtSubmodule_heckePolyOnForms, New.Selmer.le_of_isotypic_mem} \lean{New.Patching.BaseLevel.integralEnd_mul_apply, New.Patching.BaseLevel.isSMulRegular_integralEnd, New.Patching.BaseLevel.map_traceElement_sub_pow_mul, New.Patching.BaseLevel.exists_mul_traceElement_tameGenerator_eq_frob, New.Patching.BaseLevel.commute_of_mem_localOperators_of_ne, New.Patching.BaseLevel.exists_deformed_norm_family, New.Patching.BaseLevel.exists_norm_apply_eq_smul, New.Patching.BaseLevel.sub_dvd_pow_sub_smul_pow, New.Patching.BaseLevel.heckeAction_pow_apply, New.Patching.BaseLevel.norm_mul_heckeAction_apply, New.Patching.BaseLevel.sum_mul_residueRep_apply_eq_smul, New.Patching.BaseLevel.smul_top_coeff_mem_ellIntegralForms, New.Patching.BaseLevel.C_prod_sub_prod_mul_mem, New.Patching.BaseLevel.exists_heckeAlgebra_ribetElement, New.Patching.BaseLevel.exists_diagOp_mem_ellIntegralForms} We first collect four facts. For a descent pair $O$ and an isotypic space $x$ write $u_x$ for the twist of $x.\mathrm{gal}$ by the normalising character $\chi$ of $O$ (\cref{ss:rep-type}), and $t=t_O$. A system is a \emph{weak lift} if every $u_x(g)$ has the eigenvalue $1$. A system has a \emph{root chain} at $w$ for $H$ if its Hecke polynomial, with the variable rescaled by the Frobenius value of $\chi$, is $\prod_{ih_\Delta^2$, take $\gamma$ in an inertia group of $\Q$ at $\ell$ whose cyclotomic character reduces to a generator $b$ of $(\Z/\ell)^\times$; it fixes $E$, which lies in a cyclotomic field of conductor prime to $\ell$. As $b$ has order $\ell-1$ and $0