\section{Auxiliary forms}\label{sec:auxiliary} \Cref{thm:twist-for-each-prime} needs, besides the family $y$ under study, auxiliary forms $z_i$ completing it to a basis, whose twisted lifts become integral after multiplication by a scalar $\gamma(\xi)$ of controlled size, and whose untwisted lifts are short. This section constructs them (\cref{thm:auxiliary-forms}). The idea is to read the values of the chain $\Theta_\vartheta y$ through periods of forms on two grids of spaces, and to move these periods along paths through the grids, turn by turn, from the \emph{first path}, along which the periods compute the pairing with $\Theta_\vartheta$, to the \emph{last path}, along which all spaces are definite and the periods are finite sums with explicit denominators and sizes. Each turn is an exchange on one square of a grid, whose constant is a ratio of Hecke values; there are $m^2$ turns. \subsection{Moves, paths and path data}\label{ss:paths} The two grids $Y^a_b$ and $\tilde Y^b_a$, $0\le a,b\le m$, are those of \cref{ss:grids}; a \emph{node} is a triple $(z,a,b)$. Fix an $m$-fold twist $\vartheta$ with set of places $Q$, let $\varpi=\pi_M$ and $\mathfrak b=\varpi^{\lceil b\rceil}$, and let the \emph{grid modulus} be $\mathfrak m=\mathfrak bQ$. An \emph{edge tuple} is a matrix modulo $\mathfrak m$ for each pair of adjacent nodes. The \emph{lift move} $(a,b)\to(a+1,b)$ in grid $z$ is the theta lift with the character of the horizontal edge of index $a$, the joint harmonic of the two nodes at infinity and the indicator of a matrix modulo $\mathfrak m$ at the finite places; the \emph{transposed move} $(a,b+1)\to(a,b)$ is the transposed lift with the character of the vertical edge, which carries $\vartheta^{b+1}$. The character of an edge of index $l$ is $\mu_{l+1}\vartheta^{l+1}\upsilon^{\lfloor N/2\rfloor}$ (vertical) or $\mu_{l+1}\upsilon^{\lceil N/2\rceil}$ (horizontal), with $\mu_{l+1}$ the untwisted character of lift $l+1$ and $N$ the rank of the end. In grid $Y$ conjugate forms move; in grid $\tilde Y$ forms move. \lean{New.Data.instNeZeroNatB, New.Data.gridLevelGen, New.Data.gridModulus, New.Data.gridModulus_one_ideal, New.Data.triangleTwist, New.Data.triangleExponent, New.Data.instNeZeroTriangleExponent, New.Data.triangleModulus, New.Data.triangleModulus_false, New.Data.triangleModulus_true, New.Data.gridModulus_ideal_le_triangleModulus_ideal, New.Data.reduceToTriangle, New.Data.piM_dvd_gridLevelGen, New.Data.gridSpace, New.Data.gridKernel, New.Data.GridForm, New.Data.gridChar, New.Data.gridChar_true, New.Data.gridChar_false, New.Data.gridTamePart, New.Data.triangleGLCard, New.Data.GridNode, New.Data.NodeIndex, New.Data.nodeLevel, New.Data.levelIndex, New.Data.gridLevelForms, New.Data.isConjKernelPair_gridKernel, New.Data.gridChar_hasWeight, New.Data.isEdgeFamily_grid_succ_left, New.Data.isEdgeFamily_grid_succ_right, New.Data.gridSpace_diag, New.Data.gridSpace_subdiag, New.Data.pointTransposedLift, New.Data.transposedChain, New.Data.transposedChain_of_lt, New.Data.transposedChain_self, New.Data.transposedMove, New.Data.liftMove, New.Data.gridChar_det, New.Data.levelIndex_eq_card_GL_untwisted, New.IsSumOfRootsOfUnity, New.IsSumOfRootsOfUnity.zero, New.IsSumOfRootsOfUnity.of_isOfFinOrder, New.IsSumOfRootsOfUnity.mul_left, New.IsSumOfRootsOfUnity.sum, New.IsSumOfRootsOfUnity.mul_mem_nsmul, New.Data.EdgeTuple, New.Data.NodeFamily, New.Data.IsVerticalEdge, New.Data.edgeChar, New.Data.tuplesOn, New.Data.edgeMatrixCountBound, New.Data.vectorCountBound, New.Data.IsAdmissibleFamily, New.Data.tupleAction, New.Data.edgeCharProd, New.Data.IsPathDatum, New.Data.IsPathDatum.mono, New.Data.edgeCharProd_mul, New.Data.isOfFinOrder_edgeCharProd, New.Data.tupleAction_mul, New.Data.tupleAction_one, New.Data.mem_tuplesOn, New.Data.tuplesOn_empty, New.Data.sum_tuplesOn_insert, New.Data.sum_tuplesOn_tupleAction, New.Data.IsPathDatum.sum_tupleAction, New.Data.card_matrix_le_edgeMatrixCountBound, New.Data.card_tuplesOn_le, New.Data.columnEdge, New.Data.rowEdge, New.GridPath.formMap, New.GridPath.edges_append, New.GridPath.formMap_append, New.GridPath.formMap_congr, New.GridPath.eq_and_le_of_mem_edges, New.GridPath.card_edges_le, New.TwoGridPath.edges, New.Data.card_tuplesOn_edges_le, New.Data.PeriodTriple, New.Data.gridPeriod, New.Data.IsProportional} The \emph{triangle modulus} of grid $z$ is $\mathfrak m_0=\varpi Q$ for $z$ false and $\mathfrak b$ for $z$ true; it divides $\mathfrak m$, and it is the modulus of the point data along the first columns. The \emph{level} of a node is a subgroup of the invertible matrices modulo $\mathfrak m$: trivial at the nodes $Y_b=Y^0_b$ and the kernel of reduction modulo $\mathfrak b$ elsewhere. A \emph{node family} is an invertible matrix $g_q$ modulo $\mathfrak m$ at each node $q$; it acts on edge tuples by $S(p,q)\mapsto g_q^{-1}S(p,q)g_p$, and the \emph{edge character product} of a family on a set $w$ of edges is the product over the edges $(p,q)\in w$ of their characters at $\det g_q/\det g_p$. A family is \emph{admissible} if at the two ends $Y^0_m$ and $\tilde Y^m_0$ it lies in the level of the node, and at each $\tilde Y^a_a$ it is $g\oplus1$ for its member $g$ at $Y^a_a$. A complex number is a \emph{sum of at most $N$ roots of unity} if it is $\sum_{i\le N}\zeta_i$ with each $\zeta_i$ a root of unity or $0$. \begin{lemma}[Tuples and data]\label{lem:tuples} \begin{enumerate}[label=\textup{(\alph*)}] \item Sums of at most $N$ roots of unity are closed under multiplication by roots of unity, and a sum over a finite set $X$ of such numbers is a sum of at most $\#X\cdot N$ roots of unity. \item The action on tuples is a right action, the edge character product is multiplicative in the family, and its values are roots of unity. A sum over the tuples supported on $w$ does not change when the tuples are moved by a family; for a path datum $\Psi$ on $w$ and an admissible $g$, $\sum_S\Psi(S)f(gS)$ is the edge character product of $g$ times $\sum_S\Psi(S)f(S)$. \item The number of matrices of an edge between nodes with indices at most $m$ is at most $N_{\mathfrak m}=\#(\OO_E/\mathfrak m)^{(2n_m)^2}$, and a path through the two grids has at most $2m$ edges; so at most $N_{\mathfrak m}^{2m}$ tuples are supported on it. \item The map along a path is the composite of the moves by the matrices of its edges, a transposed move where the second index drops and a lift move where the first grows; it depends only on the matrices of its edges and is multiplicative under concatenation of paths. \end{enumerate} \end{lemma} \begin{proof} (a) A root of unity times a root of unity is a root of unity, and sums concatenate. (b) $(gh)S=h(gS)$ by associativity of matrix multiplication, and the edge character product of $gh$ is the product by the multiplicativity of the characters; the characters of the edges are of finite order on the residue ring, so their values are roots of unity. Moving by a family is a bijection of the tuples supported on $w$, which gives the invariance of the sum; for a path datum, $\Psi(g^{-1}S)$ is $\Psi(S)$ times the inverse of the character product, and substituting $S\mapsto gS$ gives the formula. (c) The ranks of the nodes with indices at most $m$ are at most $2n_m$; each step of a path changes one index by one, and the indices run from $0$ to $m$. (d) is the definition, with the composites associated. \end{proof} A \emph{path through the two grids} goes from $(m,0)$ to $(0,m)$ by steps up or left and meets the diagonal once, at $(l,l)$; its first half lies in grid $\tilde Y$ and its second half in grid $Y$, and both halves are recorded as paths from $(0,m)$ to $(l,l)$. The \emph{first path} is the pair of first columns, through $(0,0)$; the \emph{last path} goes through $(m,m)$. A \emph{turn} replaces a node $(i,j)$ by $(i+1,j+1)$. A \emph{path datum} on a set $w$ of edges is a function $\Psi$ of the edge tuples that depends only on the matrices at $w$, is fixed by the admissible families of invertible matrices at the nodes up to the characters of the edges, vanishes unless the vertical edges carry left invertible matrices, and has as values sums of at most $N$ roots of unity. The \emph{period} of $\Psi$ on a path $\Gamma$ at a real point $g$ of $\U(\tilde Y^l_l)$ is, for a twist, a conjugate form $y'$ on $Y_m$ and a form $\varphi$ on $\tilde Y^m_0$, the sum over the tuples $S$ of $\Psi(S)$ times the pairing at $g$ of the images of $y'$ and $\varphi$ along the two halves. Write $\Psi\propto\Xi$ if at every real point the period of $\Psi$ is a multiple of $\Xi$ by a number that depends neither on the twist nor on the forms; a pair of paths $(\Gamma',\Gamma)$ \emph{transfers periods} with bound $k$ and constants $c(\vartheta)$ if path data $\Psi'$ on $\Gamma'$ give path data $\Psi$ on $\Gamma$ with the root of unity bound multiplied by $k$, and $\Psi\propto\Xi$ implies $\Psi'\propto\Xi/c$. \lean{New.GridPath.append, New.GridPath.column, New.GridPath.row, New.GridPath.column_self, New.GridPath.column_of_lt, New.GridPath.le_and_le, New.GridPath.eq_row, New.GridPath.squares_append, New.GridPath.bounds_of_mem_squares, New.GridPath.squares_row, New.GridPath.notMem_squares_down_right_append, New.GridPath.squares_right_down_append, New.GridPath.exists_corner_or_eq_down_or_eq, New.TwoGridPath, New.TwoGridPath.first, New.TwoGridPath.last, New.TwoGridPath.mem_squares, New.TwoGridPath.diagonalIndex_le, New.TwoGridPath.squares_subset, New.TwoGridPath.squares_first, New.TwoGridPath.squares_last, New.TwoGridPath.Turn.squares_eq, New.TwoGridPath.Turn.mem_product, New.TwoGridPath.Turn.exists_corner_of_lt, New.TwoGridPath.Turn.exists_half_true_eq_of_gt, New.TwoGridPath.Turn.exists_eq_down_and_eq_right, New.TwoGridPath.exists_turn, New.TwoGridPath.turn_induction} The pairing at the diagonal node is the \emph{diagonal period}: for a conjugate form $y$ on $Y^j_j$ and a form $\varphi$ on $\tilde Y^j_j=Y^j_j\oplus E\tilde e_j$, the integral over $[\U(Y^j_j)]$ of $y(h)\varphi((h\oplus u^j)g)$, where $u$ is the \emph{flip scalar} $\bar t/t$ of $\U(1)$, $t$ a fixed idele generating $\mathfrak m$ times a fixed idele of the Weil data. A monotone path in one grid from $(a_0,b_0)$ to $(a,b)$ is a word in the steps \emph{down} $(a,b+1)\to(a,b)$ and \emph{right} $(a,b)\to(a+1,b)$; its \emph{squares} are the unit squares between it and the first column, named by their lower left corners: a step down from $(a,b+1)$ contributes the $(i,b)$ with $ia$ in grid $Y$, or the mirror image of one in grid $\tilde Y$, that corner is a turn off the diagonal. Otherwise both halves have no corners; below the last row (that is, if $l8(n+1)^2$ exceeding the growth of the Haar measure. (b) Both points send the last basis vector to the coordinates of the column, so $\gamma^{-1}\gamma'$ fixes it and is block diagonal $\mathrm{diag}(h,1)$. Both columns are congruent to the last basis vector modulo $a$, so their difference is $a$ times a lattice vector, nonzero; a nonzero lattice vector has length at least the first minimum (the definite summand $\langle1\rangle$ has no short vector and does not lower it), and $a$ stretches the coordinates at each place by at least $R$. The last column of $1$ is $\tilde e$, of length $1$ at each place. (c) Away from the base point, norms and mutual distances are at least $\rho=d^2/2$, since $\norm{x_{\rm base}}\le d\le d^2/2$. For points of a space of dimension at most $A-2$ whose norms and mutual distances are at least $\rho$, the packing estimate $\sum_i\norm{x_i}^{-A}\le(5/\rho)^A$ holds, by comparing the disjoint balls of radius $\rho/2$ about the points with balls about $0$. Hence the sum is at most $d^A(10/d^2)^A=(10/d)^A\le10/d$, as $d\ge10$. (d) Unfold the period over the cosets $\gamma\U(V)(E)$ of the rational points of $V\oplus\langle1\rangle$, which the last columns index (\cref{lem:deep-poincare}(b)); only the cosets meeting the level condition contribute, and the unfolding is the identity $\sum_\gamma\int_{[\U(V)]}=\int_{\U(V)(\Ad)}$ for an integrable function, valid because the $L^1$ norms of the terms are summable. The coset of $1$ gives, after translating by $x$ and using the level of $F$, $\vol(K_a)$ times the real convolution. For the other cosets, the product of the local operator norms of the translate is at least $\norm{\mathrm{col}(\gamma)}/d$, so by (a) the term of $\gamma$ is at most $\vol(K_a)\,\mathrm{sc}\,S\,(d/\norm{\mathrm{col}(\gamma)})^A$; the columns are $d^2$-separated by (b) since $d^2\le R\lambda$, and the base column has norm at most $\#\Phi\le d$, so (c) bounds the sum by $10/d$. \end{proof} \begin{lemma}[Halving]\label{lem:deep-halving} Assume the size conditions, large gaps for $4A$ of $l_w$ and for $2A$ of $l'_w$, $\abs{l_w(i)}\le L$, a real point $\omega$ with $\norm\omega^2\le\beta$, and the lower bound $\beta^{-N}\vol\le\abs{\int c_{l}(g)\overline{c_{l'}(\omega^{-1}(g\oplus1)\omega)}\,dg}$ for the local pairings at every infinite place. Let $y$ be a form on $V$ of type $l$ and the deep level, bounded by $S$, and orthogonal to $x\mapsto\varphi((x\oplus1)\omega)$ for all forms $\varphi$ of type $l'$ and deep level on $V\oplus\langle1\rangle$. \begin{enumerate}[label=\textup{(\alph*)}] \item The majorant $u\mapsto\prod_w\deg(l_w)(2/\norm{u_w})^{2A}$ of the type kernel is integrable with integral at most $R/(16\beta)\cdot(\beta^N(2\beta)^{3A})^{-\#\Phi}$, and for $u$ within $R^{-2}$ of $1$ the type kernel at $u^{-1}z$ and at $z$ differ by at most $\beta/R$ times the sum of the majorants there. \item Where the first minimum of $V$ at $x$ is below the threshold of \cref{thm:B-cusp}(c) for $\delta=R^{-2}$, $\norm{y(x)}\le S/2$. \item The Poincar\'e series of the translated coefficient for $l'$ and the deep level has period $0$ against $y$. \item Where the first minimum is at least that threshold, the real convolution at $x$ of the translated coefficient with $y$ is at most $10S/R$ times $\mathrm{sc}(A,\alpha,\omega)$, and $\norm{y(x)}\le S/2$. \item Hence $y=0$. \end{enumerate} \end{lemma} \begin{proof} (a) The integral of the majorant is a product of local integrals, each finite for a gap $4A$; the size conditions $\beta\ge2000(n+L+1)^6$ and $\beta^{20A(\#\Phi+1)}\le R$ make the product small against $R$. The coefficients are Lipschitz under left translation with constant at most $\beta$, there are at most $\beta$ factors, each of norm at most $1$, and the product of numbers of modulus at most one is Lipschitz with the sum of the constants; this gives the variation bound. (b) By \cref{thm:B-cusp}(c), with $\delta=R^{-2}$, it suffices to bound $\norm{y(x(u,1))-y(x)}$ by $S/2$ for real $u$ within $R^{-2}$ of $1$. Write both values as convolutions of $y$ with its type kernel; by (a) the difference is at most $S\beta/R$ times twice the integral of the majorant, which is at most $S/2$. (c) The Poincar\'e series, up to the nonzero formal degrees, is the conjugate of the value at $(h\oplus1)\omega$ of a form of type $l'$ and deep level on $V\oplus\langle1\rangle$: the series converges to such a form by the decay (\cref{lem:deep-poincare}(a)), and it is fixed by the type kernel because each term is. The orthogonality hypothesis gives period $0$. (d) Above the threshold, $\lambda\ge(R^{-2}/(M\kappa^2))^n\ge R^{-3n}$ because $M\kappa^2\le\beta\le R$, so $R^2\le R^{3n+2}\lambda$. Apply \cref{lem:deep-poincare}(d) with $d=R$ and the generator of the deep level, of modulus at least $R^{3n+2}$ at every place, in the role of $a$: then $d^2\le R^{3n+2}\lambda$, and with (c) it bounds $\vol(K)$ times the convolution by $\vol(K)\,\mathrm{sc}\,S\,(10/R)$; the positive volume cancels. \emph{Undoing the smoothing.} Average the convolution of (d) over the type kernel of $y$: by Fubini and the rank one formula for the real convolution of coefficients, the result is $\eta\,y(x)$, where $\eta$ is the product over the places of the local pairings normalised by the values of the kernels at $1$; by the lower bound, $\abs\eta\ge(\beta^{-N}\vol)^{\#\Phi}$. The integrand is bounded by the majorant of (a) times the bound of (d), and the constants cancel to give $\norm{y(x)}\le S/2$. (e) Every bound $S$ of $\norm y$ is halved by (b) and (d), so $\norm y=0$. \end{proof} \begin{proposition}[Deep level detects forms]\label{prop:deep-level} \begin{enumerate}[label=\textup{(\alph*)}] \item The parameter of $Y_0$ and minus that of $\tilde Y^0_0$ are \emph{steep}: for one numbering, at every infinite place the sign is $+$ and the lowest $K$-type has weight $0$ on the base indices of $X_0$ other than the last, and on the other indices the signs alternate and the weight decreases strictly within $[-3B,-B]$, $B=\kappa+\Delta/2$. \item (Poincar\'e series of deep level.) Let $F$ be automorphic on $V$ of level $\alpha\ne0$, bounded by $S$, and $\varphi$ a translated product of discrete series coefficients for parameters of $V\oplus\langle1\rangle$ with a large gap. If $\abs\alpha_v\ge R$ at all infinite places and $d^2\le R\lambda$ for the first minimum $\lambda$ of the lattice at the point $x$, the period against $F$ of the Poincar\'e series with centre $x\oplus1$ is the volume of the principal level times the real convolution of $\varphi$ with $F$ at $x$, up to that volume times $(10/d)$ times explicit constants and $S$. \item There is a real point $g$ of $\U(\tilde Y^0_0)$ such that a form $y$ of level $J_M$ on $Y_0$ vanishes as soon as it is Petersson orthogonal to $x\mapsto\varphi((x\oplus1)g)$ for all forms $\varphi$ on $\tilde Y^0_0$ of level $\mathfrak b$. \end{enumerate} \end{proposition} \begin{proof} (a) Number the indices of the node $(0,0)$ by $\nu$, so that the doubled parameter at $y$ is $2\lambda_\tau(\nu y)+z$, where $\lambda_\tau$ is the target parameter (\cref{prop:grids}(b)) and $z\in\{0,1\}$ the flag. The sign is $+$ on the first $k-1$ entries (the \emph{near} entries) and alternates on the others. Twice the lowest $K$-type is the doubled parameter minus a signed count $L$ of the entries below and above (\cref{ss:A-coefficients}): $L$ counts the entries below entry $\nu y$ minus those above, with the opposite count for the entries of the opposite sign. By induction on the number $N=r+z$ of indices, $\abs L\le N$, and at a near entry $L+N=N+\min(N,k)-1-2i-((N-k)\bmod2)$, because a far entry lies below every near one ($\kappa_0$ being large against the gap) and the far signs alternate. On the near entries this cancels the doubled parameter, so the lowest $K$-type vanishes there. The far entries of $\lambda_\tau$ are $\Delta/2-\kappa_j$ with $\kappa_j$ between $B=\kappa_0$ and $\kappa_\Delta\le2B$, and $\abs L\le N$ is small against the gaps, so on the far entries the lowest $K$-type decreases strictly and lies in $[-3B,-B]$. (b) is \cref{lem:deep-poincare}(d). (c) At each infinite place, steepness of the two parameters (a) gives, by the restriction theorem for discrete series with a large gap (\cref{thm:A-restriction}), a point $\omega_w$ with $\norm{\omega_w}^2\le\beta$ at which the local pairing of the coefficients of $Y_0$ and of $\tilde Y^0_0$ is bounded below by $\beta^{-20(2r+1)^2}$ times a volume. The size conditions hold for the data, the generator $\varpi^{\lceil b\rceil}$ of the deep level having modulus $\sqrt M^{\lceil b\rceil}$ at every infinite place, which is large against all the constants by the choice of $b$; the gap conditions hold by the construction of the grids. \Cref{lem:deep-halving}(e) with $g=\omega$ applies to every form of level $J_M$, which is of the deep level since $J_M$ contains it. \end{proof} \lean{New.Data.gridChar_detFin_eq_one, New.Data.pairWeil_gridChar_modDatum_eq_self, New.Data.formRep_transposedChain_eq_self, New.Data.triangleRep_weightedChain_eq_self, New.Data.integral_transposedChain_mul_weightedChain, New.Data.eq_zero_of_weightedChain_triangleLift_eq_zero, New.Data.map_transposedChain_le_gridLevelForms, New.Data.gridLevelForms_eq_map_transposedChain, New.Data.exists_forall_diagonalPeriodForm_ne_zero, New.Data.IsFlatRestriction, New.Data.exists_isFlatRestriction, New.Data.exists_isFlatRestriction_range_eq_top, New.Data.IsFlatRestriction.integral_lowerChainUpTo, New.Data.exists_isPathDatum_integral_eq, New.Data.exists_isPathDatum_first} \lean{New.Data.finMean_isUnit_indicator, New.Data.disjoint_edges_column, New.Data.exists_triangleGLCard_eq_mul_levelIndex, New.Data.diagonalPeriodForm_formRep, New.Data.formRep_block_one_eq_self, New.Data.gridKernel_zero_true_eq_star, New.Data.exists_petersson_eq_diagonalPeriodForm, New.Data.formRep_formMap_column_tupleAction, New.Data.diagonalPeriodForm_tupleAction, New.Data.sum_tuplesOn_union, New.Data.edges_column, New.Data.mem_edges_first, New.Data.edgePointDatum, New.Data.columnPointDatum, New.Data.firstPointDatum, New.Data.columnPointDatum_congr, New.Data.isSumOfRootsOfUnity_firstPointDatum, New.Data.hasLeftInv_of_edgePointDatum_ne_zero, New.Data.pointTransposedLift_eq_sum, New.Data.transposedChain_eq_sum, New.Data.transposedChain_one_true_eq_transposedChain, New.Data.pairing_transposedChain_eq_sum, New.Data.map_eq_one_and_edgeChar_eq_one_of_mem_nodeLevel, New.Data.firstPointDatum_invariant, New.Data.fintypeQuotientNodeLevel, New.Data.LevelCosets, New.Data.LevelCosets.out, New.Data.LevelCosets.family, New.Data.firstPathDatum, New.Data.firstPathDatum_invariant, New.Data.card_levelCosets_le, New.Data.isPathDatum_firstPathDatum, New.Data.sum_firstPathDatum_mul, New.Data.card_levelCosets_eq, New.Data.exists_diagonalPeriodForm_transposedChain_eq, New.Data.exists_isPathDatum_diagonalPeriodForm_eq} \begin{lemma}[The flat chain]\label{lem:flat-chain} \begin{enumerate}[label=\textup{(\alph*)}] \item The character of an edge of a first column is trivial on the determinants of the finite integral points trivial modulo the triangle modulus, and such pairs of points fix the data of the edge; so they fix the images of forms under the transposed chain and under the weighted chain of lifts along the column. \item For $i\le m$, $\int T_i\varphi\cdot U=\int T_0\varphi\cdot y$, where $U$ is the weighted chain of $i$ lifts of $y$ and $T_b$ the transposed chain from $m$ to $b$. \item In grid $\tilde Y$, the weighted chain of lifts from $\tilde Y^0_0$ to $\tilde Y^m_0$ at the trivial twist is injective on the forms of level $\mathfrak b$, and $\Theta^\flat$ maps the forms of level $\mathfrak b$ on $\tilde Y^m_0$ onto those on $\tilde Y^0_0$. \end{enumerate} \end{lemma} \begin{proof} (a) The tame part of the character is trivial outside the places of the triangle modulus (the chosen places and the places of the twist in grid $Y$; the chosen places in grid $\tilde Y$, where the characters are untwisted), so its value at the determinant of an integral point depends only on the point modulo the triangle modulus. A pair $(u,u')$ of such points acts on the datum through its reduction, which is trivial, and through the two characters, which are $1$. The last transposed lift has a datum fixed by $(u,1)$, so $u$ fixes every transposed lift and the chain; likewise for the lifts and $(1,u)$. (b) By induction on $i$: across the edge from $i$ to $i+1$, the lift and the transposed lift carry the same weight, and moving the weight inside the lift, transposing and regrouping it with the transposed lift gives the step. (c) The triangle of grid $\tilde Y$ is a triangle in the sense of \cref{ss:triangles} (\cref{prop:theta-triangle}(c) for $z$ true), so the weighted chain is injective on the base (\cref{thm:triangle-chains}(a)). The image of $\Theta^\flat$ lies in the forms of level $\mathfrak b$ by (a). If a form $\zeta$ of level $\mathfrak b$ on $\tilde Y^0_0$ is orthogonal to the image, let $U$ be the chain of lifts of $\bar\zeta$; by (b) at $\varphi=\bar U$, $\norm U^2=\langle\zeta,\Theta^\flat\bar U\rangle=0$, so $U=0$ and $\zeta=0$ by injectivity. The space being finite dimensional, the image is everything. \end{proof} \begin{lemma}[Point data on the first path]\label{lem:first-point-data} \begin{enumerate}[label=\textup{(\alph*)}] \item The diagonal period at $(0,0)$ is unchanged when $y$ is translated by a finite point $u$ and $\varphi$ by $\mathrm{diag}(u,1)$; forms of level $\mathfrak b$ on $\tilde Y^0_0$ are fixed by $\mathrm{diag}(u,1)$ for $u$ of level $\mathfrak b$ on $Y_0$. The period with a form $\varphi$ on $\tilde Y^0_0$, as a functional of the forms $y$ of level $\varpi Q$ on $Y_0$, is the Petersson product with a form of level $J_M$, linear in $\varphi$. \item The transposed point lift of an edge of a first column is the order of the general linear group of the smaller node modulo the triangle modulus times the sum, over the matrices modulo $\mathfrak m$ that reduce to the inclusion modulo the triangle modulus, of the transposed moves by these matrices. Hence the pairing of the images of $y'$ and $\varphi$ under the two transposed chains is the product of these orders over the nodes of both columns times $\sum_S\Psi^1(S)$ times the pairing of the images along the first path by $S$, with $\Psi^1(S)$ the product of the point data of the edges. \item $\Psi^1$ takes the values $0$ and $1$, and where it is nonzero the matrices of the vertical edges are left invertible modulo $\mathfrak m$, the two moduli having the same primes. \item A node family on the first path whose members lie in the levels of the nodes fixes $\Psi^1$ up to the edge characters, which are $1$ there. \end{enumerate} \end{lemma} \begin{proof} (a) Both periods are integrals of a function invariant under the rational points, the second translated by $u$, and the block sum of a rational point with $1$ is rational. A form of level $\mathfrak b$ is fixed by a point of the principal level $\mathfrak b$, and $\mathrm{diag}(u,1)$ is one. For the Petersson product, the conjugate of the period is a linear functional on the finite-dimensional space of forms of level $J_M$, represented by a form; for $y$ of level $\varpi Q$ one may replace $y$ by its mean over $J_M$, because translation by $J_M$ changes neither the period (take $v$ supported on the places of $\mathfrak b$ and their conjugates, with $uv$ of level $\mathfrak b$, so that $v\in J_M$ is trivial at the places of $Q$ and fixes $y$, and $(uv,1)$ fixes $\varphi$) nor the Petersson product. (b) Pull the datum back along the reduction from $\mathfrak m$ to the triangle modulus and expand it in indicator functions; the pull-back is the point datum of the edge and each summand is a transposed move. Iterating along the column and gluing the tuples of the two columns, which have disjoint edges, gives the formula. (c) The value is a product of indicators. If a matrix reduces to the standard inclusion modulo $\mathfrak m_0$, the transposed inclusion times the matrix reduces to $1$, so it is invertible modulo $\mathfrak m$, which has the same primes. (d) A member of the level reduces to $1$ modulo the triangle modulus, so it fixes the inclusion, and the characters are trivial on it by \cref{lem:flat-chain}(a). \end{proof} \begin{proposition}[The first path]\label{prop:first-path} \begin{enumerate}[label=\textup{(\alph*)}] \item The chain of the $m$ lifts of grid $\tilde Y$ from $\tilde Y^0_0$ is injective on level $\mathfrak b$, and $\Theta^\flat$ maps the forms of level $\mathfrak b$ on $\tilde Y^m_0$ onto those on $\tilde Y^0_0$. \item There are a real point $g$ and a surjective flat restriction $r$ at $g$ onto the forms of level $J_M$ on $Y_0$. \item There are path data $\Psi_\vartheta$ on the first path, with values sums of at most $N^{2m}$ roots of unity ($N$ the number of matrices modulo $\mathfrak m$ between two nodes), and a constant $\alpha$ such that for every flat restriction $r$ at $g$ the pairing of a conjugate form $y'$ on $Y_m$ with $\Theta_\vartheta(r\varphi)$ is $\alpha$ times the period of $\Psi_\vartheta$ on the first path. \end{enumerate} \end{proposition} \begin{proof} (a) is \cref{lem:flat-chain}(c). (b) Let $g$ be the point of \cref{prop:deep-level}(c). For $\varphi$ of level $\mathfrak b$ on $\tilde Y^m_0$, $\Theta^\flat\varphi$ is of level $\mathfrak b$ on $\tilde Y^0_0$, and by \cref{lem:first-point-data}(a) there is a form $r\varphi$ of level $J_M$ with $\langle y,r\varphi\rangle$ equal to the period of $\bar y$ and $\Theta^\flat\varphi$ at $g$ for every $y$ of level $\varpi Q$; $r$ is linear. This is a flat restriction. If $y\ne0$ of level $J_M$ were orthogonal to the range of $r$, it would be orthogonal to the restrictions of all $\Theta^\flat\varphi$, that is, by (a), of all forms of level $\mathfrak b$ on $\tilde Y^0_0$, and \cref{prop:deep-level}(c) gives $y=0$; the forms of level $J_M$ form a finite-dimensional space, so $r$ is onto. (c) \emph{Transposition.} The chain $\Theta_\vartheta$ is the weighted chain of lifts with the weights the orders of the general linear groups (the indices of the principal levels); by \cref{lem:flat-chain}(b) the pairing of $y'$ with $\Theta_\vartheta(r\varphi)$ is $\int y'_0\cdot r\varphi$, with $y'_0$ the transposed chain of $y'$ down to $Y_0$, which has level $\varpi Q$ by \cref{lem:flat-chain}(a); by the definition of a flat restriction this is the diagonal period at $g$ of $y'_0$ and $\Theta^\flat\varphi$. \emph{Point data.} By \cref{lem:first-point-data}(b) this period is a product of orders times $\sum_S\Psi^1(S)$ times the period along the first path by $S$. \emph{Symmetrisation.} Let $\Psi^0$ be the sum over the families of coset representatives of the levels at the nodes $Y_i$ and $\tilde Y^i_0$, $ip}\kappa_w(h))+n-1-2p$, $0\le p