\subsection{Allowances at the coefficient primes} The allowances in this subsection are determined by the selected square and its fixed datum. For each rational prime \(\ell\) use \(v_\ell(\ell)=1\) and set \[ c_\ell=v_\ell(G)+2^{-\ell},\qquad G=\prod_{v\,\mathrm{chosen}}|\operatorname{GL}_{rt}(\mathbf F_{q_v})|, \qquad v_\ell=9c_\ell\log\ell. \] The last symbol, used without an argument, is the allowance for a ramified ratio. Write \(B_0=\mathcal B/(m\kappa)\). We will obtain allowances \(\beta_{j,\ell}\ge0\) for the two local determinant tests and bound their sum at each stage by \(B_0\). The sum of the ramified allowances is at most \(x^{999}\). \paragraph{Special values for the critical parity.} \teamanchor{proof.shared-critical-selmer-values}% Let \(L/\mathbf Q\) be abelian CM of degree \(n_L\), with maximal real subfield \(F_L\), and let \(N_L\) be divisible by the conductors of its primitive Dirichlet characters. For \(k\ge2\) put \[ H_{\ell,k}(L)=H^2_{\mathrm{\acute et}} (\mathcal O_L[1/\ell],\mathbf Z_\ell(k)), \qquad w_k(L)=|H^0(L,\mathbf Q/\mathbf Z(k))|. \] Use the corresponding notation for \(F_L\). The factor \(\Lambda_k(L)\) is the product of \(L(1-k,\xi)\) over primitive associates of the characters of \(L\) with \(\xi(-1)=(-1)^k\). By Artin factorization it equals \(\zeta_{F_L}(1-k)\) for even \(k\), and \(L(1-k,\chi_{L/F_L})\) for odd \(k\). For even \(k\), Huber--Kings at odd primes and Kolster at \(2\) give \[ \log_\ell|H_{\ell,k}(F_L)| =v_\ell(\Lambda_k(L))+v_\ell(w_k(F_L)). \] The real regulator in this parity has rank zero. The torsion in degree one is the \(\ell\)-part of \(w_k(F_L)\) by the coefficient sequence. The Euler factors removed above \(\ell\) are \(\ell\)-units at \(1-k\). \cite[Theorems~1.3.1 and~1.4.1]{f2-huber-kings} \cite[Appendix~A, Theorem~A.1 and Corollary~A.3]{f2-rognes-weibel-dyadic} For odd \(k\ge3\), Kolster's higher relative class number formula for abelian CM fields gives \[ \log_\ell\frac{|H_{\ell,k}(L)|}{|H_{\ell,k}(F_L)|} =v_\ell(\Lambda_k(L))+v_\ell(w_k(L)) +v_\ell(Q_k)-([F_L:\mathbf Q]+1)v_\ell(2), \qquad Q_k\in\{1,2\}. \] These are the ordinary cohomology groups of the respective rings of \(\ell\)-integers. \cite{f2-kolster-relative}\footnote{See also \href{https://www.labmath.uqam.ca/~annales/volumes/32-2/PDF/175-187.pdf\#page=9} {Kolster--Sands, \emph{Annihilation of motivic cohomology groups in cyclic \(2\)-extensions}, \S5 and Theorem~6.1, pp.~181--183}. Apply their absolute abelian formula with the cyclic extension \(L/F_L\) of degree two. Their factor \(2^{[F_L:\mathbf Q]+1}/Q_k(L)\) and their relative order \(h_k(L)/h_k(F_L)\) give the displayed valuation after moving the power of two to the other side.} Let \(P_k=\prod_{p\le k+1}p\), and let \(f_\xi\) be the primitive conductor of \(\xi\). The special-value formula is \[ L(1-k,\xi)=-\frac{f_\xi^{\,k-1}}{k} \sum_{a=1}^{f_\xi}\xi(a)B_k(a/f_\xi). \] It follows by decomposing the Dirichlet series into Hurwitz zeta functions \cite[25.11.14 and~25.11.36]{dlmf}. Expanding the Bernoulli polynomial and using von Staudt--Clausen on \(B_j\) for \(2\le j\le k\) shows that \(kP_k f_\xi L(1-k,\xi)\) is an algebraic integer. The same expansion and \(|B_j|\le j!\) give \(|B_k(u)|\le3k!\) on \([0,1]\), so \(|L(1-k,\xi)|\le3(k f_\xi)^k\). The parity list is Galois-stable and the factors are nonzero by the functional equation. Thus \[ M_k(L)=\Lambda_k(L)\prod_{\xi(-1)=(-1)^k} kP_k f_\xi \] is a nonzero rational integer, and \(P_k\le(2k)^k\) gives \[ \log|M_k(L)| \le n_L\bigl(\log3+\log(kN_L)+k\log(2k)+k\log(kN_L)\bigr). \] In particular \(v_\ell(\Lambda_k(L))\le v_\ell(M_k(L))\). If \(\ell^a\mid w_k(L)\), the cyclotomic image in \((\mathbf Z/\ell^a\mathbf Z)^\times\) has index at most \(n_L\) and exponent dividing \(k\). Its order is at most \(k\) at odd \(\ell\) and at most \(2k\) at \(2\), by the cyclic structure of the odd prime-power units and the two cyclic factors at \(2\). It follows that \(\ell^a\le2n_Lk\) at odd \(\ell\) and \(2^a\le4n_Lk\) at \(2\). Each odd prime in \(w_k(L)\) contributes at most \(\log(2n_Lk)\) to its logarithm, and there are at most \(n_Lk\) of them. In particular \(\log w_k(L)\ll n_Lk\log(2n_Lk)\). \paragraph{A common integer for the Tate-twisted cocycles.} \teamanchor{proof.weighted-fit-odd-class-budget}% Put \(N_{\rm cyc}=dN_1\), \(F=E^+\), and \(n_E=[E:\mathbb Q]\). The weighted field \(E=K(\mu_{N_1})\) lies in \(\mathbb Q(\mu_{N_{\rm cyc}})\). Since \(12\mid N_1\), we have \(E=F(i)=F(\zeta_3)\). The discriminant of \(E/F\) divides both \((4)\) and \((3)\) by the orders generated by \(i\) and by \(\zeta_3\). Hence \(E/F\) is unramified at every finite place. The restriction and corestriction maps between its rings of \(\ell\)-integers satisfy \(\operatorname{cor}\operatorname{res}=2\) and \(\operatorname{res}\operatorname{cor}=1+c\), where \(c\) is complex conjugation on \(E\). The cocycles to be bounded have coefficients in \((O/\ell^\nu O)(-e)\), with \(0\le e0\) they vanish on the kernels of the cyclotomic character in the decomposition groups above \(\ell\), and they obey \(z(cgc^{-1})=-z(g)\). Take \(e>0\) and \(O=\mathbb Z_\ell\). Embed the coefficients into \(B=(\mathbb Q_\ell/\mathbb Z_\ell)(-e)\). At \(v\mid\ell\) the local cocycle factors through the cyclotomic image of the decomposition group, which is open because \(E_v/\mathbb Q_\ell\) is finite. At odd \(\ell\) this image has a procyclic subgroup inside \(1+\ell\mathbb Z_\ell\) of index prime to \(\ell\). At \(2\) it is itself procyclic because \(i\in E\). In either case a topological generator of the procyclic subgroup acts on \(B\) with its action minus one a nonzero scalar. That scalar acts surjectively on the divisible module \(B\), so \(H^1\) of the subgroup vanishes. The prime-to-\(\ell\) quotient at odd \(\ell\) has vanishing \(H^1\) on the invariant module as well. Thus the global cohomology class belongs to the strict localization kernel at the places over \(\ell\). \teamanchor{proof.selmer-minus-parts}% Conjugation acts on coefficients by \((-1)^e\), so the cohomology class of an odd cocycle has eigenvalue \(\epsilon=(-1)^{e+1}\). Every coboundary as a function on \(G_E\) is even, since \(\chi(cgc^{-1})=\chi(g)\). An odd cocycle that is a coboundary in \(B\) is therefore killed by two. The map to the strict localization kernel is injective at odd \(\ell\), and has kernel of order at most two at \(\ell=2\). For the latter assertion the image of the coboundary map is \(B/B^{G_E}\), again a divisible group whose two-torsion has order two, since \(B^{G_E}\) is finite cyclic. Set \(k=e+1\) and \[ H_{L,\ell,k}=H^2_{\mathrm{\acute et}} (\mathcal O_L[1/\ell],\mathbb Z_\ell(k)) \qquad(L=E,F). \] At finite coefficients the cohomology over the ring of \(\ell\)-integers agrees with Galois cohomology unramified outside \(\ell\). Poitou--Tate duality pairs the finite localization kernels in degrees one and two. Filtered direct limits commute with these kernels since the set of places above \(\ell\) is finite. The finite cohomology groups in degree one give the Mittag--Leffler condition for identifying inverse-limit cohomology in degree two. Consequently the strict localization kernel is the equivariant Pontryagin dual of the wild kernel \(A\subset H_{E,\ell,k}\). There are only complex infinite places. The \(\ell\)-adic groups \(H_{L,\ell,k}\) are finite for \(k\ge2\).\cite[VI, \S8]{f1weibel-kbook} \cite[Propositions~6.12--6.13]{f2-rognes-weibel-dyadic} The signed parts have the same orders on the two sides, including at \(2\). Indeed \[ |(A^\vee)^\epsilon| = |A/(1-\epsilon c)A| = |A^\epsilon| \le |H_{E,\ell,k}^{\,\epsilon}|. \] Here superscripts are the kernels of \(c-\epsilon\). This yields the required bound on the raw finite cocycles from the signed part of \(H_{E,\ell,k}\), with the one possible factor of two just proved. \cite[Theorem~I.4.10(a) and Proposition~II.2.9]{f1milne-adt} Use the \hyperlink{proof.shared-critical-selmer-values}{critical special values} with \(L=E\), \(F_L=F\) and \(N_L=N_{\rm cyc}\), so that \(\Lambda_k=\Lambda_k(E)\). This compares the ordinary groups \(H_{L,\ell,k}\) calculated with the same coefficients as the wild kernel. At odd \(\ell\), \(H_{E,\ell,k}^+\simeq H_{F,\ell,k}\) by transfer, and \(H_{E,\ell,k}\) is the sum of its two sign parts. Thus the even-\(k\) formula controls the invariant part and the odd-\(k\) ratio controls the anti-invariant part, both by \(v_\ell(\Lambda_k)+v_\ell(w_k(E))\), using \(w_k(F)\mid w_k(E)\). For the coefficient prime \(2\), abbreviate \(H_L=H_{L,2,k}\). If \(k\) is even then \(2H_E^+\subseteq\operatorname{res}H_F\), so \(|H_E^+|\le |H_F||H_E[2]|\). If \(k\) is odd, then \(k\ge3\) and \((1+c)H_E\supseteq 2\operatorname{res}H_F\). The kernel of restriction is killed by \(2\), and the kernel of doubling on its image is contained in \(H_E[2]\). Consequently \[ |H_E^-| = \frac{|H_E|}{|(1+c)H_E|} \le\frac{|H_E|}{|H_F|}|H_F[2]||H_E[2]|. \] The coefficient sequence embeds \(H_L/2H_L\) into \(H^2_{\mathrm{\acute et}}(\mathcal O_L[1/2],\mu_2)\). By the Kummer sequence the latter has order at most \[ h_L\,2^{\#\{v\mid2\ \mathrm{in}\ L\}+r_1(L)}. \] Indeed, the class group of \(\mathcal O_L[1/2]\) is a quotient of the ordinary class group, and the \(2\)-torsion of the Brauer group has local invariants only at the real and dyadic places. Since \(H_L\) is finite, \(|H_L[2]|=|H_L/2H_L|\). A common upper bound for the dyadic error, including the possible factor of two on passing from raw cocycles to classes, is therefore \[ C_2=1+2n_E+\lceil\log_2 h_E\rceil+\lceil\log_2 h_F\rceil . \] The bound at \(2\) now uses the critical part of the wild kernel and applies to the weighted field. For \(E\) the integer \(M_k=M_k(E)\) from the \hyperlink{proof.shared-critical-selmer-values}{special value calculation} satisfies \(v_\ell(\Lambda_k)\le v_\ell(M_k)\) and \[ \log|M_k|\ll n_Ek\log(2kN_{\rm cyc}),\qquad \log w_k(E)\ll n_Ek\log(2n_Ek). \] It follows that the single positive integer \[ X=h_E\,2^{C_2}\prod_{k=2}^t |M_k|w_k(E) \] bounds every finite cocycle length by \(v_\ell(X)\) for \(O=\mathbb Z_\ell\). The factor \(2^{C_2}\) is shared because the same bound is used separately for each \(e\). For a finite coefficient extension \(O/\mathbb Z_\ell\), the defining cocycle conditions commute with finite free base change. In a \(\mathbb Z_\ell\)-basis of \(O\), each of the coefficient components obeys the identical conditions at the same modulus \(\ell^\nu\). Ordinary \(O\)-length is therefore the ramification index times \(\mathbb Z_\ell\)-length. With \(v_\ell(\ell)=1\), the normalized bound remains \(v_\ell(X)\). Finally \(E,F\) have root discriminants at most \(N_{\rm cyc}\) by the cyclotomic different and the discriminant tower formula. Minkowski's bound and the count of ideals of each possible norm give \(\log h_L\ll n_E^2\log(2N_{\rm cyc})\) for \(L=E,F\). Summing the displayed estimates gives \[ \log X \ll n_E^2\log(2N_{\rm cyc}) + n_E t^2\log(2n_EtN_{\rm cyc}). \] \teamanchor{proof.weighted-fitting-budget}% \paragraph{The local length and its sum over primes.} Put \(h_2=r^8\), take \(b_1\) to be the datum's integral rounding of \(a/x\), and set \(g=g_0g_1\) and \[ A=(2b_1)!\left(\prod_{\max(0,b_1-30h_2^3)