\teamanchor{proof.weighted-fit-denominators}% \subsection{Split Hecke tests at the selected reading} \teamanchor{proof.weighted-fit-hecke-packets}% Fix one of the auxiliary pairs with the corresponding power of the common fitted twist. Let \(\xi_w=(A_wq_w^{t'-1})^{-1}\) be the test parameter at an eligible split place. The \hyperlink{proof.weighted-genuine-theta-annihilator}{spherical kernel identity} gives \(H_w(\xi_w)=0\) on the genuine lift image. We prove a local determinant bound for this image \(Z\) and label idempotent \(e_c\). The left vectors are integral at all readings above \(\ell\) and the right vectors are integral at \(j_\iota\). Each right vector is orthogonal to \(Z^\perp\cap\operatorname{im}e_c\cap\ker H_w(\xi_w)\) at the applicable split tests. \paragraph{The local Hecke polynomial.} \teamanchor{proof.weighted-fit-string-orthogonality}% At a split place \(w\) write \(q=\operatorname{N}w\) and let \(\pi\) be the unitary local action of \(\mathrm{GL}_n(E_w)\). Let \(I_w\) be the upper pro-\(p_w\) Iwahori, where \(p_w=\operatorname{char}k_w\), and \(P_I\) its orthogonal averaging operator. For a uniformizer \(\varpi\), put \(t_w=\operatorname{diag}(\varpi,1,\ldots,1)\). On \(I_w\)-fixed vectors the unnormalized Hecke operator \(U\) of \(I_wt_wI_w\) is \(q^{n-1}P_I\pi(t_w)\). The \(q^{n-1}\) translations are indexed by the freely varying first-row entries of \(I_w/(I_w\cap t_wI_wt_w^{-1})\). Let \(x\) be a nonzero spherical eigenvector at \(w\), and \(s_j\) the eigenvalue of the sum of the translations indexed by sublattices of \(\mathcal O_w^n\) containing \(\varpi\mathcal O_w^n\) and having residue codimension \(j\). For a lattice \(L\), its translate \(x_L\) is well defined because \(x\) is spherical. Write \(T_j\) for the corresponding partial sum over the lattices whose reduction contains the first line. Thus \(T_0=x\), \(T_n=0\), and \(s_n\pi(t_w^{-1})x=T_{n-1}\), since the full top spherical translation is by \(\varpi I_n\). It follows that \(s_n\ne0\). These sums are \(I_w\)-fixed. For \(0\le j4r'+2\) for \(y\). The auxiliary twist and its conjugate conductor avoid all the chosen level primes, and \(\chi\) is unramified at this prime. Thus \(\psi(\gamma_{\mathrm{sc}})=\chi(\gamma_{\mathrm{sc}})=1\). The powers \(y^{i\ell^\nu}\), \(0\le i\le r'\), have distinct residues for every \(\nu\), since taking an \(\ell^\nu\)-power is injective in the residue field. For any \(g\in G_E\), the residual polynomial \(\det(1-ZU_0(g))\) has degree at most \(r'\) and constant term \(1\). Choose \(i\) for which its value at the residue of \(y^{i\ell^\nu}\) is nonzero. Then \(\delta=\gamma_{\mathrm{sc}}^i\) lies in \(\ker\chi\), and \(\det(1-U_0(\delta^{\ell^\nu}g))\) is an \(\ell\)-adic unit. This unit condition persists throughout an open neighborhood of \(\delta^{\ell^\nu}g\). On the same Frobenius datum put \[ B_w(X)=\prod_{0\le ih_2^2\) the base is unramified over \(\mathbf Q_\ell\) because its cyclotomic conductor is smaller than \(h_2\). Use cyclotomic inertia with residue order \(\ell-1>t-1\) and \(h_0=0\). Set \(a=\gamma_{\rm cyc}^{-1}\) and \(h_*=H=h_2h_0\). The assembled auxiliary primes have \(q_w\equiv1\bmod\ell^\nu\) and avoid the conductor of the fitted twist. \paragraph{Separating the test from the unwanted packets.} \teamanchor{proof.weighted-fit-hecke-separator}% For the fixed tuple label \(c\), use the base space containing the image of its idempotent \(e_c\). The finite group character formula shows that \(G e_c\) preserves the integral smooth forms at \(j_\iota\): the group order divides \(G\), the character values are algebraic integers, and the tame factors are units. Work packetwise on this base level and then at the indicated Taylor--Wiles level. Take the Ribet normalizer \[ B_x=N_x(\gamma_0 a)-I-y_0(N_x(a)-I) +\ell^{M_\ell+h_*}\sum_g \lambda_g(N_x(g)-I), \qquad b_x=\det B_x , \] where \(\gamma_0,y_0\) are the scalar data on \(x_0\) in its short Selmer condition and \(a=\gamma_{\rm cyc}^{-1}\). For every genuine packet \(b_x=0\) by the trivial summand in \eqref{eq:weighted-fit-galois-string}. For every nonweak base packet there is \(g\) with \(\det(N_x(g)-I)\ne0\). One can choose the finitely supported nonnegative integers \(\lambda_g\) so \(b_x\ne0\) on all such packets. Add the terms successively: at the next packet the determinant as a polynomial in the new integer coefficient has nonzero leading term, and the determinants on the previous packets are nonzero at coefficient zero. Avoid their finitely many roots. Each \(b_x\) is integral by the stable lattice. The polynomial \[ p(T)=\prod_{x\ {\rm nonweak}}(T-b_x) \] is integral and \(p(0)\ne0\), with the empty product equal to \(1\). The base normalizer and \(p(0)\) here are fixed before choosing the depth of the triangular primes. The locus \(p(b_x)\ne0\) on the base is contained in the weak packets. Thus the fixed base function \(T=Ap(b)\) is supported on weak packets residually congruent to \(x_0\). The right-hand orthogonality controls the part of those packets outside the genuine lift image. Write \(l=e_c\Xi'\) and \(w=e_cP_Z\Xi'\). The commuting normal Hecke actions and \(e_c\) preserve the orthogonal decomposition by packets, and \(Z\) is an invariant subspace. Thus the weak-packet components of \(l-w\) lie in \(\operatorname{im}e_c\cap Z^\perp\cap\ker H_v(\xi_v)\) for an eligible split \(v\). The right-hand test gives zero pairing with each component. Its projection to the \(Z\)-part gives zero as well, so these components vanish. Consequently \(l,w\) agree after every diagonal operation supported where \(p(b_x)\ne0\). The form \(w\) is supported on the genuine packets. This verification allows a complementary subspace within the same weak Hecke packet as a genuine lift.% \paragraph{Uniform detection of the unramified Tate cocycles.} \teamanchor{proof.weighted-fit-triangle-detection}% Let \(E\subseteq\mathbf Q(\zeta_N)\) and let \(\chi\) be the \(\ell\)-adic cyclotomic character on \(G_E\). There is a finite set \(S_{\rm det}\subset G_E\) that detects every continuous \(O/\ell^\nu O\)-valued cocycle for \(\chi^{-e}\) unramified off \(\ell\), for every \(\nu\ge1\), \(e\ge0\), and ring of integers \(O\) of a finite extension of \(\mathbf Q_\ell\). Unramified means zero on the inertia groups at the places outside the allowed set. Detection means that zero values on \(S_{\rm det}\) force the cocycle to vanish. The same set satisfies \(\#S_{\rm det}\le y^{20}\) for \(N\le y\) and \(\ell\le y^2\). Put \(M'=N\ell^2\), \(F=\mathbf Q(\zeta_{M'})\), and \(d=[F:\mathbf Q]\le M'\). Since \(M'\ge4\), the field \(F\) is totally imaginary. Take coset representatives for \(G_E/G_F\) and lifts in \(G_F\) of a basis of the maximal elementary abelian \(\ell\)-quotient of \(G_F\) unramified away from \(\ell\). Global Artin reciprocity bounds the dimension of that quotient by \[ \dim_{\mathbf F_\ell}\operatorname{Cl}(F)/\ell+ \sum_{v\mid\ell}\dim_{\mathbf F_\ell} \mathcal O_{F_v}^{\times}/(\mathcal O_{F_v}^{\times})^\ell \ \le\ \log_\ell h_F+2d. \] Indeed, in the inverse limit of the ray class groups for moduli supported above \(\ell\), the kernel of passage to the ordinary class group is the image of the product of local unit groups. At \(v\mid\ell\) the deep principal units are isomorphic by the local logarithm to a full additive lattice of rank \([F_v:\mathbf Q_\ell]\). The pro-\(\ell\) unit group has this rank and cyclic torsion (the local \(\ell\)-power roots of unity). Summing its generator bounds uses \(\sum_{v\mid\ell}[F_v:\mathbf Q_\ell]=d\) and \(\#\{v\mid\ell\}\le d\). The field discriminant is at most \((M')^d\) in absolute value. For this upper bound one can use the power basis for \(\zeta_{M'}\): the identity obtained by differentiating \(X^{M'}-1=\Phi_{M'}(X)((X^{M'}-1)/\Phi_{M'}(X))\) at \(\zeta_{M'}\) shows that the norm of \(\Phi'_{M'}(\zeta_{M'})\) divides \((M')^d\) up to sign. Minkowski gives an integral ideal of norm at most \((M')^d\) in every ideal class, since \((4/\pi)^{r_2}d!/d^d\le2^d\) and \(M'\ge4\). The number of sublattices of index \(n\) in \(\mathbf Z^d\) is at most \(n^{2d-2}\). In a Hermite form there are at most \(n^{d-1}\) choices of the diagonal, and for each diagonal the reduction bounds on the other entries give at most \(n^{d-1}\) choices. Counting ideals among the sublattices up to index \((M')^d\) gives \(h_F\le (M')^{2d^2}\). Consequently \(\#S_{\rm det}\le3M'+2(M')^3\le3(M')^3\). If \(N\le y\) and \(\ell\le y^2\), then \(M'\le y^5\) and \(3y^{15}\le y^{20}\). For detection, fix the module \(M=O/\ell^\nu O\) and induct on \(k\) for cocycles with values in \(M[\ell^k]\), starting with the zero module at \(k=0\). If \(z\) vanishes on \(S_{\rm det}\), so does \(\ell z\), which takes values in \(M[\ell^{k-1}]\) and is zero by induction. The resulting \(\ell\)-torsion-valued restriction to \(G_F\) is a homomorphism, since \(F\) contains \(\mu_\ell\). It is unramified off \(\ell\) and vanishes on the chosen generators, hence is zero. For \(b\in G_F\) and a chosen coset representative \(s\), the identity \(z(sb)=z(s)+\chi(s)^{-e}z(b)\) gives \(z=0\). This proves detection for a fixed set, including cocycles with values in the ramified coefficient rings. \footnote{For Artin reciprocity and ray class fields use Artin and Tate, \href{https://doi.org/10.1090/chel/366}{\emph{Class Field Theory}}, Chapter VII \S3 and Chapter VIII \S\S1--2. For the convex body theorem use Minkowski, \href{https://archive.org/details/geometriederzahl00minkrich}{\emph{Geometrie der Zahlen}}.} \paragraph{Triangular primes from the primitive reciprocity laws.} \teamanchor{proof.weighted-fit-triangle-assembly}% Fix the field \(E\), selected coefficient prime \(\ell\), denominator test and fitted twist of this application. Here \(E\) is the CM field containing \(\mu_{5040}\). The quadratic extension \(E/E^+\) is unramified at every finite place and its number of complex places is at least \(\varphi(5040)/2\ge4\). To see the unit conjugate difference used by that law, take a primitive \(\zeta_{28}\in E\), put \(i=\zeta_{28}^7\) and \(\omega=\zeta_{28}^2-\zeta_{28}^4-\zeta_{28}^8\). The fourteenth cyclotomic equation gives \(\omega+\overline\omega=1\), so \(i\omega-\overline{i\omega}=i\) is a unit in \(\mathcal O_E\). Use \(N\) equal to the cyclotomic conductor used for \(E\), \(y=h_2\), and \(t_{\mathrm a}>0\) equal to the rank difference of the auxiliary pair in the current denominator test. Use the cyclotomic separator \(\gamma_{\rm cyc}\) and loss \(h_0\) described above. Thus \(N+t_{\mathrm a}1\) one also has \(v_\ell(4)\le h_0\). At \(\ell=2\) this uses \(\mu_4\subset E\) and the nonzero difference at exponent \(1\); at odd \(\ell\) it holds because \(v_\ell(4)=0\). It follows for \(00\), unramified off \(\ell\), and zero at every \(\phi_j\) of type \(e\). Then \(2b(g_s)=0\) for each test point \(s\). Put \(d_e(g)=\chi(g)^{-e}-1\). The identity \((as)g_s=sa\) and the cocycle law give \[ d_e(a)(2b)(s)-d_e(s)(2b)(a) =-\chi(as)^{-e}(2b)(g_s)=0 . \] The expression \(d_e(a)(2b)(g)-d_e(g)(2b)(a)\) is an unramified-off-\(\ell\) cocycle, so detection makes it zero on \(G_E\). The argument works integrally at \(2\), and is paired with \(4d_e(a)^2\mid\ell^H\), already proved. Finally \[ (\#J+\#S_{\rm det})H=t_{\mathrm a}\#S_{\rm det}\,y h_0 \le y^{22}h_0 . \] For \(h_0=0\) the cost is zero at every prime with a finite detecting set. The ordered types and their count are independent of \(\nu\). These are the triangular inputs to the Tate-block argument on the current packet at the actual depth. Each prime and its inverse-conjugate reading use the same variable and the already chosen fitted character. For a Tate character \(\xi=\chi^{-e}\), the paired differences at \(\tau,\phi\) read \(c+c\circ\operatorname{conj}\), since \(\xi(\tau)=\xi(\phi)=1\) modulo \(\ell^\nu\) and the conjugate arguments are inverses. This even cocycle is subject to the triangular relation. On the module left after all the prescribed tame zeros and Frobenius equalities, the odd map \(c\mapsto c\circ\operatorname{conj}-c\) has kernel killed by \(C=\ell^{h_*}\) when \(e>0\). In its kernel \(c\) is even. The triangle applied to \(c+c\circ\operatorname{conj}\) says \(4(\xi(a)-1)c\) is a coboundary; the Ribet normalizer's coboundary condition kills it on multiplying by \(\xi(a)-1\). The factor \(4(\xi(a)-1)^2\) divides \(C\). This works at \(2\) without a parity projector. The strict local condition away from the ramified places follows from the local crystalline relations: at \(\ell\), crystalline cocycles in \(O(-e)\) vanish on the cyclotomic kernel for \(e>0\), since their rational classes are coboundaries. For \(e=0\) the finite condition is unramified and the final everywhere-unramified group is bounded by the class number. Therefore the quotient used in the Tate-block cost is bounded by the local defect and the already established odd or class-number bound. The triangular prime construction uses the primitive reciprocity law on the same field and Frobenius conditions as above. The trace ideal over the integral Hecke algebra adjoins one variable \(X_i\) per pair. Its generators include \(\ell^\nu\operatorname{tr}N_x(g)\) and \[ \operatorname{tr}((N_x(\tau_i)-1)N_x(g))- X_i\operatorname{tr}(((X-1)e_i)(N_x(\phi_i))N_x(g)). \] The inverse-conjugate reading uses the same variable. Indeed write \(\bar h=chc\). Polarization gives \[ \operatorname{tr}N_x((\bar h^{-1})^a g)= \chi(g)^{1-t'}\chi(h)^{a(t'-1)} \operatorname{tr}N_x\bigl(h^a(cgc)^{-1}\bigr). \] The factor \(\chi(h)^{a(t'-1)}\) is \(1\) modulo \(\ell^\nu\) for \(h=\tau_i,\phi_i\). Its error is thus in the trace ideal. \paragraph{The first-order Ribet polynomial.} \teamanchor{proof.weighted-fit-ribet-fitting}% Fix the coefficient reading, auxiliary pair, tuple, fitted twist and triangular primes of the preceding test. Write \(x_0\) for its distinguished genuine packet, \(\mathcal X\subseteq Y\) for the genuine packets, and \(Y\) for the finite catalogue at the deeper level. Put \(P=\ell^\nu\), \(P_0=\ell^{M_\ell}\), \(C=\ell^{h_*}\), and \(\Lambda=O[X_j:j\in J]\), where \(O\) is a common finite coefficient DVR. On \(\mathcal X\) take the direct-sum lattice \(U_x=\rho_x\oplus\bigoplus_{0\le er b_\ell\). Smith normal form says that the length of this annihilator equals the sum of the exponents of \(L\) truncated at \(v_O(P_0)\). Thus none is truncated and \(L\) has full rank and length of its cokernel at most \(b_{\mathrm{main}}\). Full matrix span means \(\rho_{x_0}(\Lambda[G_E])|_{X=0} =M_{r'}(O)\). Left multiplication by preimages of matrix units permits placing any ordinary row of \(L\) in any one position of an evaluated block row, with the other positions zero. Group a basis of \(L\) into \(r'\)-row blocks and lift them in this way to rows of a square matrix \(M_0\) over \(A\), all in \(\mathcal N\). For \(x\in\mathcal X\) write \(D_x=\det\rho_x(M_0)\), the determinant of the flattened main blocks over \(\Lambda\). Then \(v_O(D_{x_0}(0))\le b_{\mathrm{main}}\). \emph{The scalar rows and their relations.} Apply \(\eta_e\) to the rows, discarding the first, old-tame coordinates. Any \(O\)-linear form on the constant coordinate space with values in \(O/P\) annihilating an indicated projected relation module gives a scalar cocycle \(u(g)\) by evaluation at \(z(g)\). Here and below annihilation means that the form kills constant vectors whose images belong to the module. The displayed rows supply the cocycle and tuple relations. The old-tame coordinates have been discarded, so the generator relations give \(u(\delta_v)=0\). The cocycles are therefore continuous and unramified away from \(\ell\) and the new pairs. If one of these cocycles is a coboundary \(u(g)=(\xi_e(g)-1)m\), the row \(([g]-1)\omega\) gives \((\xi_e(g)-1)u(\omega)=0\), where \(u(\omega)\) is the form applied to \(\omega\). For \(e>0\), the triangular separation gives \(\xi_e(a)-1\mid C\). Since \(\xi_e(\gamma_0)=1\), \[ u(\omega)= \left(1-y_0+ P_0\,\frac{C}{\xi_e(a)-1}\sum_g\lambda_g(\xi_e(g)-1)\right)u(a). \] The scalar in parentheses is a unit. It follows that \((\xi_e(a)-1)u(g)=0\) for every \(g\). For \(e=0\) every coboundary is zero. These are the hypotheses of the Tate-block length argument. On every projected module used below, that argument gives the triangular cost at type \(e\) with constant \(C\) and length bound \(b_e=v_O(\ell)(L_e+v_\ell(X))\). In this expression \(X\) is the integer bounding the odd cocycle modules in the budget calculation, including the class-number bound for \(e=0\). If all the last coordinates are also discarded, the cocycle vanishes on \(s\), hence on both tame readings, so it is unramified outside \(\ell\). The detecting condition now makes the cocycle zero. Duality for \(O/P\) shows that the projection of \(\eta_e(\mathcal N)\) to the middle coordinates contains each standard basis row. Indeed a constant row outside this projection has nonzero image detected by an \(O/P\)-valued form, by Smith normal form applied to the preimage of the projection in the constant coordinate lattice, which contains \(P\) times that lattice. For a middle generator such a form would have a nonzero value on the corresponding \(g_i\). Choose rows \(m_{e,i}\in\mathcal N\) projecting to the middle unit rows under \(\eta_e\). They can be made simultaneous. Starting with a zero row for each \(i\), correct a row \(w\) at the next \(e\) by adding \(\sum_j(\mathbf e_i(j)-w_j)m_{e,j}\), with \(j\) running over the middle coordinates. At the already treated characters these coefficients evaluate to zero. Call the resulting rows \(\nu_i\). For each \(e\), use the rows \(\eta_e(\nu_i)\) to clear the middle coordinates and keep the last coordinates \(s\). Let \(N_e\subseteq\Lambda^s\) be the image of \(\mathcal N\) under this linear operation after \(\eta_e\), and \(\Phi_e\) its restriction to constant rows. The image of \(z(g)\) for \(g\in s\) is the corresponding standard basis vector modulo \(N_e\). Also \[ \Phi_e(z(\tau_{j,\pm}))- X_j\Phi_e(z(\phi_{j,\pm}))\in N_e. \] Here one can remove \(e_j\) because its value on \(\xi_e(\phi_{j,\pm})\) is \(1\bmod P\) and \(P\Lambda^s\subseteq N_e\). Every form on the constant lattice vanishing on \(\Phi_e^{-1}(N_e)\) still gives one of the cocycles just examined. \emph{Fitting determinants for the types.} Let \(\mathfrak q=(X_j^2:j\in J)\), \(I_e=\{j:\mathrm{ty}(j)=e\}\), \(P_e=\prod_{j\in I_e}X_j\), and \(P_{0\) is least with \(\varpi^a\Phi(v)\in H\) and \(\varpi\) is a uniformizer. If \(v=z(g)\) for \(g\in\mathcal L_e\), this costs one in the Fitting valuation and strictly reduces the image of \(Z(H)\) modulo the zero conditions on \(\mathcal L_e\). The image drops because some old form has \(\varpi^{a-1}u(g)\ne0\) and every new form has that value zero. The finite relative length \(\lambda_1\) forces this procedure to terminate with all the prescribed vectors adjoined, and bounds the total cost. Next, in order for \(j\in I_e\) adjoin \(v_j=\Phi(z(\phi_{j,+})-z(\phi_{j,-}))\). Before adjoining \(v_j\), a form in \(Z(H)\) has equal values on the two \(\tau_i\) for every \(i1}(Z-\alpha_i)\). On the \(\zeta\)-eigenspace of \(R_x(\tau)\), the same local attachment at \(\phi\tau^b\), with preimage \(\varpi u^b\), gives \[ \bigl(R_x(\phi)-\alpha_1 I\bigr) H_\theta(\zeta^b R_x(\phi))=0,\qquad 0\le b