\section{Endpoint periods and a completion of the rows} \label{sec:weighted-endpoint} \paragraph{Endpoint period maps.} \teamanchor{proof.weighted-completion-period}% Write \(\mathcal H_0\) for the full principal-level space on \(Y_0\) and \(\mathcal H_{\rm c}\) for the prescribed core forms on \(Z_{0,0}=Y_0\perp\langle1\rangle\). Let \(\mathscr F\) be the level space on the definite end of the core column. Write \(S\colon\mathscr F\to\mathcal H_{\rm c}\) for its fixed untwisted descent. It is onto by the \hyperlink{proof.weighted-endpoint-first-path}{transpose calculation} below. For each real translate \(a_\infty\) let \(r_{a_\infty}\colon\mathcal H_{\rm c}\to \mathcal H_0\) represent the bordered restriction pairing by Riesz duality. Write \(K\) for the chosen principal level on \(Y_0\) and \(K^{\rm deep}\) for the level of modulus \(\bar\pi_G^{b_1}\) there. The restriction identity against a test of the twisted bottom level uses the same \(r_{a_\infty}\). Indeed, for \(k\in K\) choose \(v\) supported at the chosen places with reduction inverse to \(k\) at depth \(b_1\). Then \(v\) fixes the test, since it is principal modulo the chosen places and is trivial on the twist places. The element \(kv\) lies in \(K^{\rm deep}\), so its block image fixes the core form. By simultaneous finite translation in the period, replacing the test by its \(k\)-translate does not change the period. Averaging over \(K\) gives the asserted pairing against \(r_{a_\infty}\), independent of the twist. Put \(Q_{a_\infty}=r_{a_\infty}S\). Write \(T_\vartheta\) for the final-level chain on \(\mathcal H_0\), with restriction \(\Theta_\vartheta\) to \(W\). At \(Y_m\) let \(K_{\rm full}\) be the full integral terminal level. Write \(K_\vartheta^{\rm pr}\) for its subgroup with identity reduction at the chosen and twist places, in the specified split coordinates. Write \(K_\vartheta^{\rm res}\) for the subgroup with identity reduction at the chosen places and upper block triangular reduction at the places of \(Q_\vartheta\), with block sizes \(r,t,\ldots,t\) and \(m\) blocks of size \(t\). The latter is the restriction level used in the \hyperlink{proof.weighted-chain-level-index}{chain norm}. Its tame character on an element with diagonal blocks \(k_{ll,w}\) is \(\prod_{w\mid Q_\vartheta}\prod_{l=1}^m \vartheta_w^l(\det k_{ll,w})\), trivial on \(K_\vartheta^{\rm pr}\). The initial path identity, exchanges and normalization of the last path give \begin{equation} \label{eq:weighted-completion-period} [K_{\rm full}:K_\vartheta^{\rm pr}]\int\Delta_{h,v}\, T_\vartheta(Q_{a_\infty}\phi) =\frac{\alpha_{a_\infty}}{c'_\vartheta} \mathcal E_\vartheta(\Delta_{h,v},\phi). \end{equation} The integral takes the automorphic realization of the algebraic form at level \(K_\vartheta^{\rm pr}\), with \(\Delta_{h,v}\) the dual-weight class delta test at \(h\) of value \(v\). The determinant uses the class sum at \(K_\vartheta^{\rm res}\). Both levels use the same lift at a given adelic argument. The denominator \(c'_\vartheta\) is independent of the real translate, whose scalar is \(\alpha_{a_\infty}\). \paragraph{The first path and its level weights.} \teamanchor{proof.weighted-endpoint-first-path}% The weighted lift with the inclusion datum and the descent on the first column of a grid use the same kernel. Their transpose identity follows by Fubini in the bilinear pairing of a form and its conjugate type, with the factor \(q_j\) on each arrow. Each endpoint image after a nonempty sequence is fixed by the kernel of reduction in its triangle ring. The inclusion datum is fixed there on either side, since both determinant characters are trivial on this kernel. In \(Z\) take the actual untwisted ring of depth \(b_1\). The core descent maps its terminal principal-level space to the bottom principal-level space. If a bottom vector annihilates the image, test the transpose identity with the conjugate of its upward image at the terminal level. The resulting pairing is the squared norm of the upward image. The \hyperlink{proof.weighted-forward-chain-injectivity}{forward chain induction} applies to the full deep base in \(Z\) with triangle ring \(\mathcal O_E/\mathfrak b\), so the upward chain is injective. Thus the bottom vector is zero, proving surjectivity of \(S\) on the full core space. For the initial path put \(R=\mathcal O_E/(\mathfrak bQ_\vartheta)\). In the grid let \(I_{z,a,b}\) be the index of the residue subgroup at node \((a,b)\). This subgroup is trivial on the first column of \(V\). In \(Z\) and off the first column of \(V\) it is the kernel of reduction to \(\mathcal O_E/\mathfrak b\). Thus \(I_{1,a,b}\) and \(I_{0,a,b}\) for \(a>0\) are independent of the twist. On the first column of \(V\), the ratio \(q_j/I_{0,0,j}\) is independent of the twist by reduction of matrices from \(\mathfrak bQ_\vartheta\) to \(\mathfrak M Q_\vartheta\). At a truncated discrete valuation ring the kernel consists of all matrices congruent to the identity at the smaller depth. Its size is the corresponding residue cardinality to the power \(N^2\) at a node of rank \(N\). On the first column of \(Z\) the two orders are equal. Expand the two first-column descents by pulling back their respective inclusion data to \(R\), and then summing point indicators. The coefficient is either zero or one. The matrices on the twisted edges have left inverses because they reduce to the inclusion at every maximal ideal and hence split over each local factor of \(R\). The sum has at most \(|R|^{(2n_m)^2(2m)}\) terms. Let \(\Phi\) be this sum as a linear functional on functions of tuples. If \(g_p\) acts at node \(p\) and a matrix on edge \(p\to q\) changes to \(g_q^{-1}Xg_p\), the character of the edge is evaluated at \(\det(g_q)/\det(g_p)\). Write \(\eta(g)\) for the product of these unitary factors over the two legs. Initially \(\Phi\) has the required covariance for the residue subgroup at every node because reductions to the triangle rings act trivially there. Choose one representative \(t_x\) for each tuple of cosets of these subgroups at the \(2m\) nonterminal nodes. At the bottom node of \(Z\), use the block extension of the chosen bottom representative in \(V\). Keep the former coset index in the sum so its multiplicity is retained. At the terminal nodes take the identity. For a function \(F\) of the tuple write \(A_gF(X)=F(g\cdot X)\), and put \(\Lambda_0(F)=\sum_x\eta(t_x)\Phi(A_{t_x^{-1}}F)\). To check covariance, permute the cosets by an admissible family \(g\). The error \(t_{gx}^{-1}gt_x\) lies in the level at each node. At the modified bottom node of \(Z\) this holds because the error in \(V\) is the identity and both lifts are the same block extension there. The character of this error cancels against the changed coefficient \(\eta(t_{gx})\). Thus \(\Lambda_0(A_gF)=\eta(g)\Lambda_0(F)\). The coefficient in each term is a root of unity. This second sum adds at most \(2m\) tuple powers, giving order \(4m\) in the compact model. In the actual bilinear period at the bottom, simultaneous translation in the two groups by \(k\) and \(k\perp1\) preserves the integral for every real translate. Interior translations on each leg cancel, leaving exactly \(\eta(t_x)^{-1}\) on the term read at \(t_x^{-1}\). Hence the coset sum contributes the product of the \(2m\) vertex indices. This converts the weight product from the expansion into \(\prod_{jr+z\), the rank is at least twice the negative count plus two. The total rank is at most \(4n_m\) and the weight \(w_{a+1}+w_{b+1}\) exceeds \(2n_m\). The floor and ceiling in \(V\) add to half the total rank because the two ranks have the same parity. The two products in \(Z\) have integral halves. In the square rule this gives \(\nu^{-1}=\mu^0_{a+1}\mu^0_{b+1}\vartheta^{l}\), where \(l=b+1\) for \(V\) and \(l=a+1\) for \(Z\). The residue exponent of \(\omega\) at chosen places is \(a+b+2\le 2m\), and the twist is nontrivial at its places by the \(m\)-fold condition. Use the \hyperlink{proof.weighted-grid-real-transport}{pointwise complementary-period identity} with \(e=t\) on the finite functions of modulus \(\mathfrak M^{b_1} Q_\vartheta\). Its arbitrary residue depth covers both grids, including the ordinary \(V\)-square of the diagonal move. Let \(\mathcal V_0(a_\infty)\) be the real test on the initial path. Move the right translate on the core form into the adjacent real Weil vector by covariance of its theta kernel. This uses the same real action at every twist, since \(\vartheta\) has weight zero. At each square let \(T_\square\) be the small-to-large real map from the pointwise identity. The zero-slice extension uses fixed Schwartz factors of value one. The top construction uses the fixed compact chart and bump and tensors with its fixed determinant vector. The real cone maps have positive exponents along this descent to \(e=t\). Their estimates give continuity in the Schwartz topology. Thus \(T_\square\) depends only on the real data of the square. The finite Tate factors remain in the normalized comparison scalar \(c_\square(\vartheta)\), whose squared modulus is the fixed multiple of \(\Pi_{\nu,S}(t)\) in the complementary identity. Use \(T_\square\otimes 1\) on the whole real test, with the other edges as tensor factors. First take a finite sum of decomposable real tests. At fixed exterior arguments and fixed finite tuple, the spectator factors come out of the integral over the square intermediate group. The finite tuple map below then extends linearly over the partner graph with the same \(T_\square\) on every term. The primitive-support estimate in the \hyperlink{proof.weighted-grid-primitive}{split model} bounds the absolute intermediate integral by a Schwartz seminorm times a power of the exterior heights. It applies to the complete column and row stacks of the partner data. To pair at an exterior node, integrate the prefix of the leg from its initial form. The \hyperlink{proof.weighted-grid-real-contraction}{one-edge first-occurrence calculation} applies in the traversed orientation to each pure Schwartz factor. The output is a smooth cusp form of the prescribed type. The theta kernel's derivative bounds and the zero-constant-term rapid decay estimate bound its rapid-decay seminorms by Schwartz and input cusp seminorms at the fixed finite level. These estimates justify Fubini at the intermediate group and the adjacent exterior node. Rapid decay also bounds the paired border integral. A short vector in the smaller lattice is still short in the larger lattice of the block embedding, and a fixed translate changes the height bound by a constant. For each fixed finite tuple this gives continuous multilinear bounds on pure tests and hence continuous linear periods on the Schwartz space of the direct sum. Density of finite sums of pure tests gives the same identities for arbitrary real tests. The seminorm bounds may depend on the tuple. All tuples use the same real map and scalar in the pointwise identity. The finite move on the actual tuple sums uses the following direct description. For matrices \((X,Y)=(X_k,Y_k)\) in the partner graph give the pair coefficient \(\chi(\det k)/|\mathrm{GL}_b(R)|\), with \(b\) in this formula the smaller intermediate rank, and give all other pairs coefficient zero. Completions of a pair differ by a determinant-one block shear, so the coefficient is well defined. For fixed primitive \(Y\), sum over its orbit \(Yg\) with weight \(\chi(\det g)^{-1}\). The two partner sums then give the pointwise square rule with this graph coefficient. Indeed each of the \(|\mathrm{GL}_b(R)|\) replacements gives the same product of weights and kernel values. If a block of \(Y\) has a left inverse, the opposite block of \(X\) does as well. To see this, reduce at each maximal ideal and use \(\ker X=\operatorname{im}Y\): a vector in the kernel of the opposite block would give a vector of \(\operatorname{im}Y\) with zero projection on the original primitive block. That projection is injective on \(\operatorname{im}Y\). Full column rank in all residue fields gives a left inverse over \(R\). Use one representative for each right \(\mathrm{GL}_b(R)\)-orbit of \(Y\). Retaining this representative and multiplying its graph coefficient by \(|\mathrm{GL}_b(R)|\) gives the same functional as keeping the average. This follows by averaging over the admissible change of basis at the removed node, extended by one on the extra line in a diagonal move. The action is free on the primitive frames. Under exterior changes \(g\), new-row change \(f\) and old-column change \(v\), the completion changes from \(k\) to \(g^{-1}k\operatorname{diag}(v,f)\). The character of its determinant is exactly the quotient of the new and old edge characters. Consequently the new functional has the required covariance and root-of-unity coefficients. The two new matrix variables add at most two to the tuple order. The finite split matching at depth \(b_1\) uses this graph over \(R\). At stage \(j\) move the last vertical descent past the \(j\) lifts in each grid. Apply the square rule with all other edges fixed and with the complementary pairing as the linear functional. These \(2j\) moves raise the order by \(4j\) and use \(2j\) square products. What remains is the pair of descents to the diagonal \((j,j)\). There is an isometry \(Z_{j,j}=V_{j,j}\perp L_j\), with line sign \((-1)^j\), by the negative counts and the actual diagonal basis identifications. In the off-diagonal position the groups \(Z_{j,j+1}\) and \(V_{j+1,j}\) are identified by a relabeling, since they have equal negative counts and the same even rank \(N_j=r+(2j+1)t\). Use this common group for the seesaw. At the old diagonal the \(V\)-rank is odd: adding the line preserves the ceiling of half the rank. Thus the kernel on the \(Z\)-edge leaving that diagonal splits into the corresponding untwisted \(V\)-kernel and the kernel from \(L_j\) of line character one. At the new diagonal the floor increases by one. The new twisted \(V\)-kernel is multiplied by the kernel to \(L_{j+1}\) of line character \(\upsilon\). At the common even-rank group the twisted and untwisted characters differ by \(\vartheta^{j+1}\). This twist enters the line reversal only through a unitary determinant factor at the line argument. \paragraph{The normalized reversal on the diagonal line.} \teamanchor{proof.weighted-endpoint-line-reversal}% Fix \(jt+\kappa+2\) and \(2w_1-h>\kappa\). In decreasing order the two full lists therefore strictly alternate, beginning and ending with the reflected list. \paragraph{An integral compact terminal pairing.} \teamanchor{proof.weighted-endpoint-compact-branching}% Use the two definite spaces \(V_{m,m}\) and \(Z_{m,m}\) with their fixed block embedding. At a CM-type place let \(n\) be the rank on the \(V\)-side. Write \(\lambda=(\lambda_1,\ldots, \lambda_{n+1})\) for the highest weight whose doubled parameter is the negative of the terminal \(Z\) row parameter, and \(\nu=(\nu_1,\ldots,\nu_n)\) for the highest weight with the terminal \(V\) row parameter. The two actual algebraic weights are \(\lambda\) and \(-w_0\nu=(-\nu_n,\ldots,-\nu_1)\). For descending rank \(d\) entries the \(i\)-th doubled parameter is \(2\mu_i+d+1-2i\). The two successive doubled gaps are thus \(2(\lambda_i-\nu_i)+1\) and \(2(\nu_i-\lambda_{i+1})+1\). Both are positive, so \(\lambda_i\ge\nu_i\ge\lambda_{i+1}\). Apply the \hyperlink{proof.exterior-branching-contraction}{integral exterior contraction} to these interlacing weights. It pairs the \(Z\)-side weight \(\lambda\) with the \(V\)-side weight \(-w_0\nu\) by an integer bilinear form of norm at most one in the two unscaled Weyl Gram norms. Its added-line character has exponent \[ s_\tau=\sum_{i=1}^{n+1}\lambda_i-\sum_{i=1}^{n}\nu_i =\lambda_{n+1}+\sum_{h=1}^n(\lambda_h-\nu_h). \] The shortened columns belong to the \(Z\)-side diagram, so their total number is at most its box count \(C_{\rm W}\). The last reflected entry is \(-2w_m-t\), hence \(\lambda_{n+1}=-w_m+(n-t)/2\). The bounds \(w_m\le2b\) and \(n=O(x^{11/2})\) give \(|\lambda_{n+1}|\le\lceil20b\rceil\). Tensoring over the CM-type places with the specified block reindexing gives one integer matrix \(B_{\rm end}\) with \[ \|B_{\rm end}\|_{\rm bil}\le1,\qquad \sum_\tau |s_\tau|\le C_{\rm W}+f\lceil20 b\rceil . \] Take any real coefficient covectors \(L_-,L_+\) in the terminal compact models, with the translate already in the real datum. At the finite points \(h\) and \(h\perp u^m\), write their algebraic values as \(v_-,v_+\). The compact integral with probability Haar is \[ \int L_-(\rho_-(k^{-1})v_-)\, L_+(\rho_+((k\perp1)^{-1})v_+)\,dk =\beta(L_-,L_+)\, B_{\rm end}(v_-,v_+). \] The invariant space for the common compact block is one-dimensional by the branching calculation, and the same contraction applies in the conjugate Weyl models. Thus \(\beta\) is a fixed bilinear functional of the real covectors alone. The original finite measure is \(I_{0,m,m}^{-1}\) times the measure giving the grid terminal level mass one. Apply this rescaling to the tuple-averaged integrand, whose right invariance and free classes give the finite class sum. This is the factor \(I_{0,m,m}^{-1}\) in the last-path cancellation. \paragraph{The two definite CM jet comparisons.} \teamanchor{proof.weighted-endpoint-edge-jets}% Write \(z=0,1\) for the \(V,Z\) legs. The rank at step \(j\) is \(N_{z,j}=r+z+j(t+z)+m(t-z)\) for \(0\le j\le m\). All signs are positive and the adelic frame is the standard one, including at \(V_{0,m}=Y_m\). At each embedding in the CM type \(\Phi\), let \(l_j\) be the negative of the grid parameter at this node. Write \(l_{j,i}\) in decreasing order when assigning the highest weight \(\lambda_{j,i}=(l_{j,i}-N_{z,j}-1+2i)/2\). The finite matrices and the Weyl bases keep their original indices. The decreasing order specifies the highest flags. For one edge put \(n=N_{z,j}\), \(n'=N_{z,j+1}\) and \(\Delta=n'-n=t+z\). Its splitting characters are \[ a=\gamma_{z,j,\vartheta}\upsilon^{\lfloor(n+1-z)/2\rfloor}, \qquad b=\gamma_{z,j,\vartheta}\upsilon^{\lfloor(n'+1-z)/2\rfloor}, \qquad \gamma_{z,j,\vartheta}= \begin{cases} \mu_{j+1}^0 & z=0,\\ \mu_{j+1}^0\vartheta^{j+1} & z=1 . \end{cases} \] Here \(\mu_{j+1}^0\) has real weight \(-w_{j+1}\) and tame part \(\omega^{j+1}\), and \(\upsilon\) is restricted to norm-one ideles. Write \(a_\tau,b_\tau\) for the weights of \(a,b\) at \(\tau\). They are independent of \(\vartheta\). The new positive block lies above the old grid entries. The preceding positive centres are at most \(2w_j\), separated from \(2w_{j+1}\) by at least \(2h\). The small central base entries have modulus at most \(\kappa\), the remaining base entries \(2(h_2-w_i)\) are negative, and the negative blocks are centred below zero. The inequalities for \(w_1,h,t,\kappa\) put these entries below the first positive block. After negating the parameter the new block is thus the last \(\Delta\) entries. In the decreasing orders, \[ l_{j+1,i}-l_{j,i}=\Delta+2(a_\tau-b_\tau)\quad(i\le n),\qquad l_{j+1,n+k}=2a_\tau+\Delta-n+1-2k\quad(1\le k\le\Delta). \] For \(z=0\), \(m\) is even and \(t\) is odd. The old entries shift by \(+1\) for even \(j\) and \(-1\) for odd \(j\). The parity \(n\equiv j+1\bmod 2\) gives this shift from the ceilings in \(a_\tau,b_\tau\). The new negated block has centre \(-2w_{j+1}+(n\bmod 2)\). For \(z=1\), the old entries are unchanged, \(n,n'\) are even, and the new negated centre is \(-2w_{j+1}\). The highest weights therefore satisfy \(\lambda_{j+1,i}=\lambda_{j,i}+a_\tau-b_\tau\) for \(i\le n\) and \(\lambda_{j+1,i}=a_\tau\) for \(i>n\). Set \(e_{z,j,\tau}=\lambda_{j,n}\). The diagram \(\kappa_{z,\tau}\) has column multiplicity \(\lambda_{j,i}-\lambda_{j,i+1}\) at \(i