% Section 9 (continued). The boundary of the tempered interval in all dimensions: the Gram matrix degenerates onto the % invariant theory of SL_2 (Rumer--Teller--Weyl), and the symmetry T -> -T. \subsection{The boundary of the tempered interval}\label{ss:arthur-boundary} \Cref{prop:g4-spectrum} showed that for $g=4$ the Gram matrix has rank $2$ at $T=\pm2$. The rank is the Catalan number $C_2$, and this holds in every dimension: at the boundary of the tempered interval the twisted singlet vectors become the classical singlet products of the invariant theory of $\SL_2$. The following proposition refines \cref{cor:gram-signature}(ii) by computing the rank. \begin{proposition}[Degeneration at the boundary]\label{prop:boundary} Let $g\ge2$ be even and $C_{g/2}=\frac{1}{g/2+1}\binom{g}{g/2}$ the Catalan number. \begin{enumerate}[label=\textup{(\roman*)}] \item For every half-curve $a$, $v_a(1)=\bigotimes_{(l,r)}(\uparrow_l\downarrow_r-\downarrow_l\uparrow_r)$, the product over the arcs of $a$ of the singlets on their end-nodes, and $v_a(-1)=(-1)^{s(a)}v_a(1)$, where $s(a)$ is the number of arcs of $a$ crossing the seam. \item The vectors $v_a(1)$, $a\in\mathcal B_g$, span the space $\bigl((\C^{2})^{\otimes g}\bigr)^{\SL_2}$ of $\SL_2$-invariants, of dimension $C_{g/2}$. \item $(-1)^{g/2}G_g(\pm2)$ is positive semidefinite of rank $C_{g/2}$; its kernel has dimension $\binom{g}{g/2}-C_{g/2}$. \end{enumerate} \end{proposition} \begin{proof} (i) At $z=1$ the factor of an arc is $+1$ if $\sigma(l)=\uparrow$, $\sigma(r)=\downarrow$, and $-1$ if $\sigma(l)=\downarrow$, $\sigma(r)=\uparrow$ (\cref{def:spin}), which is the coefficient of $\sigma$ in the singlet on $(l,r)$; the product over the arcs gives the tensor product, the arcs being disjoint. At $z=-1$ the factor of an arc crossing the seam is multiplied by $z^{\pm1}=-1$ whatever the spins. (ii) The singlet $\uparrow\downarrow-\downarrow\uparrow$ spans $\Lambda^{2}\C^{2}$, on which $\SL_2$ acts through the determinant, which is $1$; so every $v_a(1)$ is invariant. Conversely, the products of singlets over the non-crossing perfect matchings of the $g$ nodes, placed on a line, form a basis of the invariants, and there are $C_{g/2}$ of them: this is the theorem of Rumer, Teller and Weyl \cite{RumerTellerWeyl1932}. Each non-crossing matching on the line is the set of arcs of a half-curve whose arcs do not cross the seam (the arcs over nested or disjoint intervals of $[0,g-1]$), so these basis vectors are among the $v_a(1)$. (iii) By \cref{thm:FT9}(a), $G_g(z+z^{-1})=V_g(z)\Fl_gV_g(z)^{\mathsf T}$. The flip changes the sign of each singlet, so $\Fl_gv_a(1)=(-1)^{g/2}v_a(1)$, and with (i), $(-1)^{g/2}G_g(\pm2)=D_\pm V_g(1)V_g(1)^{\mathsf T}D_\pm$ with $D_+=1$ and $D_-=\diag((-1)^{s(a)})$. This is a Gram matrix of real vectors, hence positive semidefinite, of rank the dimension of their span, which is $C_{g/2}$ by (ii). \end{proof} \begin{proposition}[Symmetry]\label{prop:T-symmetry} With $D_-=\diag((-1)^{s(a)})$ as above, $G_g(-T)=D_-\,G_g(T)\,D_-$ for all $T$. In particular the characteristic polynomial of $G_g(T)$ is invariant under $T\mapsto-T$, and the signature of $(-1)^{g/2}G_g(T)$ depends only on $\abs T$. \end{proposition} \begin{proof} Place the seam at $x\equiv-\tfrac12\pmod g$. An arc of $a$ crosses the seam line exactly when its interval contains a point of $-\tfrac12+g\Z$, and then once, transversally; so the diagram $D(a,b)$ meets the seam in $s(a)+s(b)$ points. A loop of $D(a,b)$ meets the seam, a properly embedded arc from one end of the cylinder to the other, in a number of points congruent modulo $2$ to its winding number, which is $0$ for a contractible loop and $\pm1$ otherwise. Summing over the loops, $m_T(a,b)\equiv s(a)+s(b)\pmod2$, and $G_g(-T)_{ab}=(-1)^{m_T(a,b)}G_g(T)_{ab}=(-1)^{s(a)+s(b)}G_g(T)_{ab}$. \end{proof} Exact computation confirms both propositions for $g\le8$ (\cref{app:computations}): the ranks at $T=\pm2$ are $1,2,5,14$, and the determinants are $\pm(T^{2}-4)^{t_g}$ with $t_g=1,5,22,93$. For $g=6$ the characteristic polynomial of $G_6(T)$ factors over $\Q(T)$ into two cubics, each with multiplicity two, and two quartics; the factors come in pairs exchanged by $T\mapsto-T$, as \cref{prop:T-symmetry} requires, and the constant terms are $\pm(T-2)^{4}(T+2)^{3}$, $\pm(T-2)^{3}(T+2)^{4}$, $\pm(T-2)^{5}(T+2)^{3}$ and $\pm(T-2)^{3}(T+2)^{5}$, whose exponents of $T-2$ add, with multiplicities, to $2\cdot4+2\cdot3+5+3=22=t_6$. The signatures at $T\in\{-\tfrac52,\tfrac52,\tfrac{82}9\}$ are $(10,10)$ for $g=6$ and $(35,35)$ for $g=8$, and $(20,0)$, $(70,0)$ on the tempered interval, as \cref{cor:gram-signature} predicts. \begin{remark}[Order of vanishing at the boundary]\label{rem:boundary-order} For $g=2$ the least eigenvalue of $(-1)^{g/2}G_g(T)$ is $2-\abs T$, and for $g=4$ it vanishes to second order in $2-\abs T$ (\cref{cor:g4-margin}). With eighty significant digits we compute the least eigenvalue at $T=2-\varepsilon$ for $\varepsilon=10^{-2},10^{-3},10^{-4}$ and $g\le8$ (\cref{app:computations}); the local exponents $\log(\lambda(\varepsilon)/\lambda(\varepsilon/10))/\log10$ are $1.0000$, $2.0001$, $3.0001$ and $4.0001$ for $g=2,4,6,8$, with leading coefficients $1$, $0.2222$, $0.0205$ and $0.00103$. These are the numerical values of the exact orders of \cref{thm:boundary-orders}, which proves that the least eigenvalue vanishes to order exactly $g/2$ for every even $g$, and of the coefficients of \cref{prop:boundary-kappa}. For the Goren--Oort classes this measures how close to degenerate the intersection form of a cuspidal block can be when the Satake parameter is close to the boundary of the unitary dual. \end{remark} \begin{remark}\label{rem:boundary-meaning} At $T=\pm2$ the Satake parameters of $\pi$ are equal, $\alpha_\pi=\beta_\pi$ up to sign, the excluded non-generic case. The Goren--Oort cycles then span, numerically, a space of dimension at most $C_{g/2}$, which is the dimension of the invariants of $\SL_2$ in $(\C^{2})^{\otimes g}$: the Tate classes of a non-generic $\pi$-part see the representation theory of the dual group $\SL_2$ of each factor, with its invariants and nothing more. The tempered interval is the open set on which the full space $\LTL$ of half-curves is realized nondegenerately; its boundary is where the Lefschetz-type degeneration of \cref{thm:FT9} begins, and beyond it the form has the signature of the compact dual. The three regimes, the interior, the boundary and the exterior, are the tempered, the degenerate and the Arthur-type parameters. \end{remark}