Assume the following four hypotheses.
**Summary.** Fix the formalization's grid of Hermitian spaces $V_{i,j}$ and a family of twists $\xi_t$ of Hecke characters, with untwisted base point $t=\mu_0$. For each square of the grid there is a constant $c$ comparing two iterated theta-kernel integrals (through the larger and through the smaller of the two middle spaces). The theorem expresses the ratio $c_t/c_{\mu_0}$ as a ratio of values of Hecke $L$-functions at consecutive integers, times the corresponding ratio of constants for a pair of positive definite spaces, times algebraic factors that are units outside an explicit set of primes. It is proved from three cited hypotheses on theta integrals and one hypothesis on non-vanishing of $L$-values.**Parameters.** The statement is uniform over a datum $D$ of “Identifications for arithmetic family members”, with the following notation and additional data.1. *Ranks.* Use the ranks of “Family fields and Galois data”, writing $t_0$ for its odd parameter $t$. For integers $i,j\ge0$ put
$$\rho(i,j)=r+j\,t_0+i\,(r+6).$$
2. *Fields.* Use $E,F$ of “Family fields and Galois data”. Write $L,\sigma$ for the coefficient field and complex embedding of “Complex vector spaces and integral spans”, with the Galois and totally-complex properties in “Identifications for arithmetic family members”.
3. *Scale.* Real numbers $x>1$ and $0<\varepsilon<1/52$, and a further real number $b$ determined by the scale data.
4. *Characters.* A Hecke character of $E$ means a continuous homomorphism from the idele group of $E$ to $\mathbb{C}^\times$ that is trivial on $E^\times$. The data contain an index set $T$ with a base point $\mu_0\in T$ and Hecke characters $\mu^0_j$ ($0\le j<m$), $\eta$, $\delta$, $\delta'$, $\xi_t$ ($t\in T$) and $\chi_i$ ($1\le i\le m$) of $E$. The conditions on them include that $t\mapsto\xi_t$ is injective and $\xi_{\mu_0}=1$; the remaining conditions (on orders, ramification, infinity types and behaviour on $F$) have not been expanded. For $0\le i,j<m$ and $t\in T$ put
$$\nu_{t,i,j}=\mu^0_j\,\xi_t\,/\,\chi_{m-i}.$$
5. *Places.* A finite set $S_0$ of finite places of $F$, consisting of one place $v_0$ and the finite set of places that the formalization attaches to a fixed product of four auxiliary rational integers; for each $v\in S_0$ a chosen place $w(v)$ of $E$ above $v$, and $W_0=\{w(v):v\in S_0\}$; for each $t\in T$ a finite set $Q(t)$ of finite places of $E$. Put $P(t)=W_0\cup Q(t)$,
$$N_t=\prod_{w\in Q(t)\setminus W_0} N(w),\qquad c(v)=\begin{cases}1,& v=v_0,\\ 2,& v\in S_0\setminus\{v_0\}.\end{cases}$$
6. *Grid.* Hermitian spaces $V_{i,j}$ over $E$, each with an $\mathcal{O}_E$-lattice, for $0\le i,j\le m$. For $i\ge1$ the conditions say that $V_{i,j}$ has rank $\rho(i,j)$, signature $(\rho(i,j)-\lfloor (m-j)/2\rfloor,\ \lfloor (m-j)/2\rfloor)$ at every complex embedding of $E$, and that its lattice is self-dual; the spaces $V_{0,j}$ are taken from the standing data. Write $G_{i,j}(\mathbb{A})$ for the unitary group of $V_{i,j}$ over $\mathbb{A}_F\otimes_F E$ and $G_{i,j}(F)$ for its subgroup of rational points. The grid has two kinds of edges: $V_{i,j}$—$V_{i+1,j}$, to which the character $\chi$ with the appropriate index is attached, and $V_{i,j}$—$V_{i,j+1}$, which depends on $t\in T$.
7. *Weil data.* An additive character $\psi$ of $\mathbb{A}_F$ and, for every edge $e$ of the grid joining spaces $S$ and $S'$, a representation $\omega_e$ of $G_S(\mathbb{A})\times G_{S'}(\mathbb{A})$ (for one kind of edge the form of one of the two spaces is negated) on a space of functions on matrices of size $\operatorname{rank}S'\times\operatorname{rank}S$, together with Cartan involutions, bases, and distinguished test functions. The conditions require each $\omega_e$ to be a Weil representation in the formalization's axiomatic sense (not expanded). The *kernel* of a test function $f$ on the edge $e$ is
$$k_e(f;g,h)=\bigl(\omega_e(g,h)f\bigr)(0).$$A property $\mathcal{Q}$ of a grid with its family of characters and base point is said to hold *for all large parameters* if: there is a real $C_F^0$ such that for all reals $\varepsilon$ and $C_F\ge C_F^0$ there are reals $C_0$ and $x_0$ such that, for every real $C\ge C_0$, every choice of the data 1–3 with the given $\varepsilon$ and with $x\ge x_0$ satisfying the standing conditions, every family of characters and places (4, with base point $\mu_0$) satisfying its conditions, and every grid (5–6) for them built with the constants $(1,C_F,b)$, the property $\mathcal{Q}$ holds.**$L$-functions.** For a Hecke character $\chi$ of $E$, *an $L$-function of $\chi$* is an entire function $\Lambda$ such that for $\operatorname{Re}s>1$
$$\Lambda(s)=\prod_{w}\bigl(1-\chi_w(\varpi_w)\,N(w)^{-s}\bigr)^{-1},$$
the product over the finite places $w$ of $E$ at which $\chi$ is unramified (convergence of the product is part of the condition; ramified places contribute the factor $1$).**Integers attached to a square.** For $0\le i,j<m$ put
$$p_j=\Bigl\lfloor\frac{m-j-1}{2}\Bigr\rfloor,\quad q_j=\Bigl\lfloor\frac{m-j}{2}\Bigr\rfloor,\quad e=\frac{\rho(i+1,j+1)-\rho(i,j)}{2}=\frac{t_0+r+6}{2},\quad h_{i,j}=\frac{\rho(i+1,j+1)+\rho(i,j)}{2},$$
$$a_{i,j}=\rho(i+1,j+1)-2p_j,\qquad a'_{i,j}=\rho(i,j)-2q_j,\qquad e^0_{i,j}=\frac{a_{i,j}-a'_{i,j}}{2}=e+q_j-p_j .$$
Thus $p_j+q_j=m-j-1$; by item 6, $p_j$ is the negative index of $V_{i+1,j+1}$ and, when $i\ge1$, $q_j$ is that of $V_{i,j}$.**Square constants.** Fix Weil data, $0\le i,j<m$ and $t\in T$. The *square* at $(i,j)$ has corners $V_{i,j+1}$ and $V_{i+1,j}$ and two middle spaces, the big one $V_{i+1,j+1}$ and the small one $V_{i,j}$. For a finite formal combination $\Theta=\sum_d c_d\,(f_d,f'_d)$ of pairs of test functions on the two edges through the big middle space, put, for $g\in G_{i,j+1}(\mathbb{A})$, $u\in G_{i+1,j+1}(\mathbb{A})$, $g_1\in G_{i+1,j}(\mathbb{A})$,
$$K^{\mathrm{big}}_\Theta(g,u,g_1)=\sum_d c_d\;k(f_d;g,u)\,k_t(f'_d;g_1,u),$$
where $k$ is the kernel on the edge $V_{i,j+1}$—$V_{i+1,j+1}$ and $k_t$ the kernel on the $t$-dependent edge $V_{i+1,j}$—$V_{i+1,j+1}$,
and define $K^{\mathrm{small}}_{\Theta'}(g,u,g_1)$ in the same way for a combination $\Theta'$ on the two edges $V_{i,j}$—$V_{i,j+1}$ ($t$-dependent) and $V_{i,j}$—$V_{i+1,j}$ through the small middle space, with $u\in G_{i,j}(\mathbb{A})$. The formalization specifies a relation "$\Theta$ and $\Theta'$ are matched", depending on $t$, on a choice of adelic bases of the lattices, and on a fixed linear relation $\varrho$ between the archimedean (polynomial) parts of the test data; this relation has not been expanded. A complex number $c$ is a *square constant* at $(t,i,j)$ if for every choice of Haar measures and fundamental domains for $G(F)\backslash G(\mathbb{A})$ on the grid, normalised as the formalization prescribes for $t$, every matched pair $(\Theta,\Theta')$, every finitely supported $z\colon G_{i,j}(\mathbb{A})\to\mathbb{C}$ and all $g,g_1$ for which both integrals below converge absolutely,
$$\Bigl(\sum_\kappa z(\kappa)\Bigr)\int_{G_{i+1,j+1}(F)\backslash G_{i+1,j+1}(\mathbb{A})}K^{\mathrm{big}}_\Theta(g,u,g_1)\,du
= c\int_{G_{i,j}(F)\backslash G_{i,j}(\mathbb{A})}\sum_\kappa z(\kappa)\,K^{\mathrm{small}}_{\Theta'}(g,u\kappa,g_1)\,du .$$
The square is *non-degenerate* at $(t,i,j)$ if for some such measures, matched pair, $z$, $g$, $g_1$ with both integrals convergent, the integral on the right is non-zero.**Definite triangles.** A *triangle* consists of three Hermitian spaces $A,A',B$ over $E$ with lattices, adelic bases, Cartan involutions and bases at the complex places; for each $t\in T$ representations $\omega_t$ of $G_A(\mathbb{A})\times G_B(\mathbb{A})$ and $\omega'_t$ of $G_{A'}(\mathbb{A})\times G_B(\mathbb{A})$; test functions $f_t,f'_t$; and a measure and a subset on each of $G_A(\mathbb{A})$ and $G_{A'}(\mathbb{A})$. For polynomials $P,P'$ (archimedean test data) let $I_t(P)(h)$ and $I'_t(P')(h)$, $h\in G_B(\mathbb{A})$, be the integrals over these subsets, for these measures, of the kernels $(\omega_t(g,h)\Phi_{t,P})(0)$ and $(\omega'_t(g,h)\Phi'_{t,P'})(0)$, where $\Phi_{t,P}$ is the test function the formalization builds from $f_t$ and $P$. A function $c^0\colon T\to\mathbb{C}$ is a *constant of the triangle* if $c^0(t)\neq0$ for some $t$ and there are $P,P'$ such that for every $t$: both kernels are integrable over the subsets for every $h$, $I'_t(P')$ is not identically zero, and
$$I_t(P)(h)=c^0(t)\,I'_t(P')(h)\qquad\text{for all }h .$$
The triangle is the *definite triangle of the square $(i,j)$* if $\operatorname{rank}A=a_{i,j}$, $\operatorname{rank}A'=a'_{i,j}$, $\operatorname{rank}A+\operatorname{rank}A'=\operatorname{rank}B$; each of $A,A',B$ has Gram matrix $1$, lattice $\mathcal{O}_E^{\,n}$, and identity Cartan involutions and bases (so all three are positive definite), and satisfies the general conditions on lattices, adelic bases and involutions (not expanded); the measures are Haar measures and the subsets are fundamental domains for $G_A(F)$ and $G_{A'}(F)$; $\omega_t$ and $\omega'_t$ are Weil representations for $\psi$, in the formalization's axiomatic sense (not expanded), with the pairs of characters $(\beta,\beta/\alpha_t)$ and $(\alpha_t,\alpha_t/\beta)$, where $\alpha_t=\mu_{t,j+1}\,\eta^{\rho(i,j)\bmod 2}$ and $\beta=\chi_{m-i}\,\eta^{\rho(i,j)\bmod 2}$ are circle-valued characters of $(\mathbb{A}_F\otimes_F E)^\times$ and $\mu_{t,j+1}$ is the character the formalization forms from the $\mu^0$ and $\xi_t$ (not expanded); and $f_t,f'_t$ are vectors prescribed at the places of $P(t)$ in terms of $\alpha_t/\beta$, $\nu_{t,i,j}$ and its conductor exponents (these conditions have not been expanded).**Algebraic factors.** For a positive integer $N$, an element $\zeta\in L$ is a *unit away from $N$* if $\zeta N^{k}=a$ for some $k\ge0$ and some $a\in\mathcal{O}_L$ dividing a power of $N$ in $\mathcal{O}_L$. A complex number $u$ is a *step ratio* (for $t$) if
$$u=\sigma\Bigl(\beta_0\prod_{v\in S_0}\frac{g(v)}{g'(v)}\Bigr)$$
with $\beta_0\in L$ a unit away from $N_t$ and $g(v),g'(v)\in\mathcal{O}_L$ dividing $N(v)^{c(v)}$ for each $v\in S_0$.**Hypotheses.**
(H1) Hypothesis"Hypothesis list B: fifty-three assumed statements on Weil representations, theta lifts, discrete series, L-functions and complex multiplication.multiplication".
(H2) Theta"Theta integrals agree: for a matching datum the two theta integrals are proportional on matching functions, with a unique nonzero constant, and the constant changes by an L-value when a hyperbolic plane is removed.removed".
(H3) Local"Local matching: a matching datum for two Hermitian spaces of complementary dimensions admits matched quotient maps.maps".
(H4) (*Non-vanishing of $L$-values.*) For all large parameters, in the sense of "Grids of Hermitian spaces with Weil data, and properties of all grids with large parameters", every grid, with its family of characters $(\xi_t)_{t\in\mathcal T}$ and its base index $\mu_0$, has the following property. For all $0\le i,j<m$:
(a) for every $t\in\mathcal T$, the character $\nu_{t,i,j}$ has a partial $L$-function $\Lambda$, and $\Lambda(s)\ne0$ for every integer $s$ with $1-\gamma-(\kappa_j-\kappa_{j+1})\le s\le\rho(i,j)+\gamma$;
(b) each of the three characters $\nu_{\mu_0,i,j}$, $\nu_{\mu_0,i,j}\,\delta$, $\nu_{\mu_0,i,j}\,\delta'$ has a partial $L$-function $\Lambda$, and $\Lambda(s)\ne0$ for every integer $s\ge1$.
Then, for all large parameters, every grid, with its family of characters $(\xi_t)_{t\in\mathcal T}$ and its base index $\mu_0$, has the following property. Let Weil data on the grid be given, with their standard additive character $\psi$; let $\mathcal S$ be a choice of bases and normalisations for them and $\varrho$ archimedean matching data, and assume the rationality hypothesis for $(\mathcal S,\mu_0)$, in the sense of "Rationality hypothesis for a grid with Weil data". Square constants are taken for the adelic bases of $\mathcal S$ and for $\varrho$, in the sense of "Square constants of a grid: matched test data and normalised measures". Let $0\le i,j<m$ and $t\in\mathcal T$, and suppose that
(H4) (*Non-vanishing of $L$-values.*) For all large parameters and all $0\le i,j<m$:
(a) for every $t\in T$ the character $\nu_{t,i,j}$ has an $L$-function $\Lambda$ with $\Lambda(s)\neq0$ for every integer $s$ with $1-e^0_{i,j}\le s\le h_{i,j}$;
(b) each of the three characters $\nu_{\mu_0,i,j}$, $\nu_{\mu_0,i,j}\,\delta$, $\nu_{\mu_0,i,j}\,\delta'$ has an $L$-function $\Lambda$ with $\Lambda(s)\neq0$ for every integer $s\ge1$.**Rationality hypothesis.** Given Weil data and a choice of adelic bases and normalisations for the grid, the following numbers lie in $\sigma(L)$:- every complex $8$th root of unity; every complex root of unity of order $N(w)^{\ell(w)}$ for $w\in P(t)$, $t\in T$, where $\ell(w)$ is an exponent fixed by the grid (not expanded); and $\sqrt{N(w)}$ for $w\in P(t)$, $t\in T$, and for $w$ in a further set of places that is part of the chosen normalisations;
- for all $t$, $i$, $j$, all $L$-functions $\Lambda$ of $\nu_{t,i,j}$ and $\Lambda_0$ of $\nu_{\mu_0,i,j}$, and every integer $1\le s\le B_{\max}+1$ with $\Lambda_0(s)\neq0$: the ratio $\Lambda(s)/\Lambda_0(s)$ (the bound $B_{\max}$ is a function of the parameters, not expanded);
- for each square $(i,j)$ that has a definite triangle (defined above), there is one, with non-zero complex numbers $\Omega,\Omega'$, such that $I_t(P)(h)/\Omega$ and $I'_t(P')(h)/\Omega'$ lie in $\sigma(L)$ for all $t$, all monomials $P,P'$ whose kernels are integrable, and all $h$ in the kernel of the formalization's archimedean homomorphism on $G_B(\mathbb{A})$;
- three further families of numbers (local values of the characters, phases, and coefficients of local expansions attached to the chosen normalisations), whose definitions have not been expanded.Assume (H1)–(H4). Then the following holds for all large parameters. Let Weil data on the grid be given such that the additive character $\psi$ is continuous, unitary, trivial on $F$ and non-trivial, there is a family $(\theta_\tau)_\tau$ of ring homomorphisms $F_\infty\otimes_F E\to\mathbb{C}$ compatible with the fixed complex embeddings of $E$ (compatibility not expanded), and for every such family
$$\psi(x)=\exp\Bigl(-2\pi i\sum_{\tau}\theta_\tau(x\otimes1)\Bigr)\qquad(x\in F_\infty=F\otimes_{\mathbb{Q}}\mathbb{R}\subset\mathbb{A}_F).$$
Let a choice of adelic bases and normalisations for the grid and a relation $\varrho$ as above be given, and assume the rationality hypothesis.Let $0\le i,j<m$ and $t\in T$, and suppose that
- the square $(i,j)$ is non-degenerate at $t$ and $c$ is a square constant at $(t,i,j)$;
- the square $(i,j)$ is non-degenerate at $\mu_0$ and $c_0$ is a square constant at $(\mu_0,i,j)$;
- $c^0\colon\mathcal T\to\mathbb C$ is a constant of a definite triangle of the square $(i,j)$ is given, with$(i,j)$, in the sense of "Triangles of Hermitian spaces, their constants, and the definite triangle of a constant $c^0\colon T\to\mathbb{C}$;square";
- $\Lambda$ is anthe partial $L$-function of $\nu_{t,i,j}$ and $\Lambda_0$ is anthe partial $L$-function of $\nu_{\mu_0,i,j}$.
Then there are step ratios $u_1,\dots,u_{p_j+q_j}$$u_1,\dots,u_{m-j-1}$ for $t$ and a unit $\zeta\in L$$\zeta$ of $K$ away from $N_t$ such that
$$\frac{c}{c_0}\;\prod_{k=1}^{q_j}\frac{\Lambda(e+k)}{\Lambda_0(e+k)}
\;=\;\sigma(\zeta)\;\prod_{k=1}^{p_j+q_j}u_k\;\cdot\;\frac{c^0(t)}{c^0(\mu_0)}\;\prod_{k=0}^{p_j-1}\frac{\Lambda(e+q_j-k)}{\Lambda_0(e+q_j-k)} .$$$$\frac{c}{c_0}\;\prod_{l=1}^{\kappa_j}\frac{\Lambda(\gamma+l)}{\Lambda_0(\gamma+l)}
\;=\;\jmath(\zeta)\;\prod_{l=1}^{m-j-1}u_l\;\cdot\;\frac{c^0(t)}{c^0(\mu_0)}\;\prod_{l=0}^{\kappa_{j+1}-1}\frac{\Lambda(\gamma+\kappa_j-l)}{\Lambda_0(\gamma+\kappa_j-l)} .$$
Here $\gamma=(t_0+r+6)/2$, and a quotient whose denominator is $0$ is read as $0$.
Version 2 , changes from version 1 are marked
1 unchanged paragraph
**Parameters.** The statement is uniform over a datum $D$ of “Identifications for arithmetic family members”, with the following notation and additional data.
**Parameters.** The statement is uniform over the following data, which the formalization fixes once for its whole argument. Items 1 and 2 are part of the datum described in Data, families of data, classes of families, and properties of all sufficiently constrained families of a class. Their standing conditions are long lists that belong to the formalization's own organisation and have not been expanded; only the parts that occur in the statement are described.
1. *Ranks.* EvenUse the ranks of “Family fields and Galois data”, writing $t_0$ for its odd parameter $t$. For integers $k,m$ and an odd integer $t_0$ with $m\ge 2$, $m+3\le k$, $k+m+4\le t_0$, $3m<t_0$ (among further inequalities). Put $r=k+m-1$ and, for integers $i,j\ge 0$,$i,j\ge0$ put
$$\rho(i,j)=r+j\,t_0+i\,(r+6).$$
2. *Fields.* A number field $E$,Use $E,F$ of “Family fields and Galois over $\mathbb{Q}$, contained in a cyclotomicdata”. Write $L,\sigma$ for the coefficient field and containing square rootscomplex embedding of $-d$“Complex vector spaces and $-q$integral spans”, with the Galois and totally-complex properties in “Identifications for two integers $d,q$; a subfield $F$ (the standing conditions include that $F$ is the maximal real subfield of $E$); and a number field $L$ with a fixed embedding $\sigma\colon L\to\mathbb{C}$, Galois over $\mathbb{Q}$ and totally complex.arithmetic family members”.
3. *Scale.* Real numbers $x>1$ and $0<\varepsilon<1/52$, and a further real number $b$ determined by the scale data.
4. *Characters.* A Hecke character of $E$ means a continuous homomorphism from the idele group of $E$ to $\mathbb{C}^\times$ that is trivial on $E^\times$. The data contain an index set $T$ with a base point $\mu_0\in T$ and Hecke characters $\mu^0_j$ ($0\le j<m$), $\eta$, $\delta$, $\delta'$, $\xi_t$ ($t\in T$) and $\chi_i$ ($1\le i\le m$) of $E$. The conditions on them include that $t\mapsto\xi_t$ is injective and $\xi_{\mu_0}=1$; the remaining conditions (on orders, ramification, infinity types and behaviour on $F$) have not been expanded. For $0\le i,j<m$ and $t\in T$ put
$$\nu_{t,i,j}=\mu^0_j\,\xi_t\,/\,\chi_{m-i}.$$
5. *Places.* A finite set $S_0$ of finite places of $F$, consisting of one place $v_0$ and the finite set of places that the formalization attaches to a fixed product of four auxiliary rational integers; for each $v\in S_0$ a chosen place $w(v)$ of $E$ above $v$, and $W_0=\{w(v):v\in S_0\}$; for each $t\in T$ a finite set $Q(t)$ of finite places of $E$. Put $P(t)=W_0\cup Q(t)$,
$$N_t=\prod_{w\in Q(t)\setminus W_0} N(w),\qquad c(v)=\begin{cases}1,& v=v_0,\\ 2,& v\in S_0\setminus\{v_0\}.\end{cases}$$
6. *Grid.* Hermitian spaces $V_{i,j}$ over $E$, each with an $\mathcal{O}_E$-lattice, for $0\le i,j\le m$. For $i\ge1$ the conditions say that $V_{i,j}$ has rank $\rho(i,j)$, signature $(\rho(i,j)-\lfloor (m-j)/2\rfloor,\ \lfloor (m-j)/2\rfloor)$ at every complex embedding of $E$, and that its lattice is self-dual; the spaces $V_{0,j}$ are taken from the standing data. Write $G_{i,j}(\mathbb{A})$ for the unitary group of $V_{i,j}$ over $\mathbb{A}_F\otimes_F E$ and $G_{i,j}(F)$ for its subgroup of rational points. The grid has two kinds of edges: $V_{i,j}$—$V_{i+1,j}$, to which the character $\chi$ with the appropriate index is attached, and $V_{i,j}$—$V_{i,j+1}$, which depends on $t\in T$.
7. *Weil data.* An additive character $\psi$ of $\mathbb{A}_F$ and, for every edge $e$ of the grid joining spaces $S$ and $S'$, a representation $\omega_e$ of $G_S(\mathbb{A})\times G_{S'}(\mathbb{A})$ (for one kind of edge the form of one of the two spaces is negated) on a space of functions on matrices of size $\operatorname{rank}S'\times\operatorname{rank}S$, together with Cartan involutions, bases, and distinguished test functions. The conditions require each $\omega_e$ to be a Weil representation in the formalization's axiomatic sense (not expanded). The *kernel* of a test function $f$ on the edge $e$ is
$$k_e(f;g,h)=\bigl(\omega_e(g,h)f\bigr)(0).$$
17 unchanged paragraphs
Version 1 , first version
**Summary.** Fix the formalization's grid of Hermitian spaces $V_{i,j}$ and a family of twists $\xi_t$ of Hecke characters, with untwisted base point $t=\mu_0$. For each square of the grid there is a constant $c$ comparing two iterated theta-kernel integrals (through the larger and through the smaller of the two middle spaces). The theorem expresses the ratio $c_t/c_{\mu_0}$ as a ratio of values of Hecke $L$-functions at consecutive integers, times the corresponding ratio of constants for a pair of positive definite spaces, times algebraic factors that are units outside an explicit set of primes. It is proved from three cited hypotheses on theta integrals and one hypothesis on non-vanishing of $L$-values.
**Parameters.** The statement is uniform over the following data, which the formalization fixes once for its whole argument. Items 1 and 2 are part of the datum described in Data, families of data, classes of families, and properties of all sufficiently constrained families of a class. Their standing conditions are long lists that belong to the formalization's own organisation and have not been expanded; only the parts that occur in the statement are described.
1. *Ranks.* Even integers $k,m$ and an odd integer $t_0$ with $m\ge 2$, $m+3\le k$, $k+m+4\le t_0$, $3m<t_0$ (among further inequalities). Put $r=k+m-1$ and, for integers $i,j\ge 0$,
$$\rho(i,j)=r+j\,t_0+i\,(r+6).$$
2. *Fields.* A number field $E$, Galois over $\mathbb{Q}$, contained in a cyclotomic field and containing square roots of $-d$ and $-q$ for two integers $d,q$; a subfield $F$ (the standing conditions include that $F$ is the maximal real subfield of $E$); and a number field $L$ with a fixed embedding $\sigma\colon L\to\mathbb{C}$, Galois over $\mathbb{Q}$ and totally complex.
3. *Scale.* Real numbers $x>1$ and $0<\varepsilon<1/52$, and a further real number $b$ determined by the scale data.
4. *Characters.* A Hecke character of $E$ means a continuous homomorphism from the idele group of $E$ to $\mathbb{C}^\times$ that is trivial on $E^\times$. The data contain an index set $T$ with a base point $\mu_0\in T$ and Hecke characters $\mu^0_j$ ($0\le j<m$), $\eta$, $\delta$, $\delta'$, $\xi_t$ ($t\in T$) and $\chi_i$ ($1\le i\le m$) of $E$. The conditions on them include that $t\mapsto\xi_t$ is injective and $\xi_{\mu_0}=1$; the remaining conditions (on orders, ramification, infinity types and behaviour on $F$) have not been expanded. For $0\le i,j<m$ and $t\in T$ put
$$\nu_{t,i,j}=\mu^0_j\,\xi_t\,/\,\chi_{m-i}.$$
5. *Places.* A finite set $S_0$ of finite places of $F$, consisting of one place $v_0$ and the finite set of places that the formalization attaches to a fixed product of four auxiliary rational integers; for each $v\in S_0$ a chosen place $w(v)$ of $E$ above $v$, and $W_0=\{w(v):v\in S_0\}$; for each $t\in T$ a finite set $Q(t)$ of finite places of $E$. Put $P(t)=W_0\cup Q(t)$,
$$N_t=\prod_{w\in Q(t)\setminus W_0} N(w),\qquad c(v)=\begin{cases}1,& v=v_0,\\ 2,& v\in S_0\setminus\{v_0\}.\end{cases}$$
6. *Grid.* Hermitian spaces $V_{i,j}$ over $E$, each with an $\mathcal{O}_E$-lattice, for $0\le i,j\le m$. For $i\ge1$ the conditions say that $V_{i,j}$ has rank $\rho(i,j)$, signature $(\rho(i,j)-\lfloor (m-j)/2\rfloor,\ \lfloor (m-j)/2\rfloor)$ at every complex embedding of $E$, and that its lattice is self-dual; the spaces $V_{0,j}$ are taken from the standing data. Write $G_{i,j}(\mathbb{A})$ for the unitary group of $V_{i,j}$ over $\mathbb{A}_F\otimes_F E$ and $G_{i,j}(F)$ for its subgroup of rational points. The grid has two kinds of edges: $V_{i,j}$—$V_{i+1,j}$, to which the character $\chi$ with the appropriate index is attached, and $V_{i,j}$—$V_{i,j+1}$, which depends on $t\in T$.
7. *Weil data.* An additive character $\psi$ of $\mathbb{A}_F$ and, for every edge $e$ of the grid joining spaces $S$ and $S'$, a representation $\omega_e$ of $G_S(\mathbb{A})\times G_{S'}(\mathbb{A})$ (for one kind of edge the form of one of the two spaces is negated) on a space of functions on matrices of size $\operatorname{rank}S'\times\operatorname{rank}S$, together with Cartan involutions, bases, and distinguished test functions. The conditions require each $\omega_e$ to be a Weil representation in the formalization's axiomatic sense (not expanded). The *kernel* of a test function $f$ on the edge $e$ is
$$k_e(f;g,h)=\bigl(\omega_e(g,h)f\bigr)(0).$$
A property $\mathcal{Q}$ of a grid with its family of characters and base point is said to hold *for all large parameters* if: there is a real $C_F^0$ such that for all reals $\varepsilon$ and $C_F\ge C_F^0$ there are reals $C_0$ and $x_0$ such that, for every real $C\ge C_0$, every choice of the data 1–3 with the given $\varepsilon$ and with $x\ge x_0$ satisfying the standing conditions, every family of characters and places (4, with base point $\mu_0$) satisfying its conditions, and every grid (5–6) for them built with the constants $(1,C_F,b)$, the property $\mathcal{Q}$ holds.
**$L$-functions.** For a Hecke character $\chi$ of $E$, *an $L$-function of $\chi$* is an entire function $\Lambda$ such that for $\operatorname{Re}s>1$
$$\Lambda(s)=\prod_{w}\bigl(1-\chi_w(\varpi_w)\,N(w)^{-s}\bigr)^{-1},$$
the product over the finite places $w$ of $E$ at which $\chi$ is unramified (convergence of the product is part of the condition; ramified places contribute the factor $1$).
**Integers attached to a square.** For $0\le i,j<m$ put
$$p_j=\Bigl\lfloor\frac{m-j-1}{2}\Bigr\rfloor,\quad q_j=\Bigl\lfloor\frac{m-j}{2}\Bigr\rfloor,\quad e=\frac{\rho(i+1,j+1)-\rho(i,j)}{2}=\frac{t_0+r+6}{2},\quad h_{i,j}=\frac{\rho(i+1,j+1)+\rho(i,j)}{2},$$
$$a_{i,j}=\rho(i+1,j+1)-2p_j,\qquad a'_{i,j}=\rho(i,j)-2q_j,\qquad e^0_{i,j}=\frac{a_{i,j}-a'_{i,j}}{2}=e+q_j-p_j .$$
Thus $p_j+q_j=m-j-1$; by item 6, $p_j$ is the negative index of $V_{i+1,j+1}$ and, when $i\ge1$, $q_j$ is that of $V_{i,j}$.
**Square constants.** Fix Weil data, $0\le i,j<m$ and $t\in T$. The *square* at $(i,j)$ has corners $V_{i,j+1}$ and $V_{i+1,j}$ and two middle spaces, the big one $V_{i+1,j+1}$ and the small one $V_{i,j}$. For a finite formal combination $\Theta=\sum_d c_d\,(f_d,f'_d)$ of pairs of test functions on the two edges through the big middle space, put, for $g\in G_{i,j+1}(\mathbb{A})$, $u\in G_{i+1,j+1}(\mathbb{A})$, $g_1\in G_{i+1,j}(\mathbb{A})$,
$$K^{\mathrm{big}}_\Theta(g,u,g_1)=\sum_d c_d\;k(f_d;g,u)\,k_t(f'_d;g_1,u),$$
where $k$ is the kernel on the edge $V_{i,j+1}$—$V_{i+1,j+1}$ and $k_t$ the kernel on the $t$-dependent edge $V_{i+1,j}$—$V_{i+1,j+1}$,
and define $K^{\mathrm{small}}_{\Theta'}(g,u,g_1)$ in the same way for a combination $\Theta'$ on the two edges $V_{i,j}$—$V_{i,j+1}$ ($t$-dependent) and $V_{i,j}$—$V_{i+1,j}$ through the small middle space, with $u\in G_{i,j}(\mathbb{A})$. The formalization specifies a relation "$\Theta$ and $\Theta'$ are matched", depending on $t$, on a choice of adelic bases of the lattices, and on a fixed linear relation $\varrho$ between the archimedean (polynomial) parts of the test data; this relation has not been expanded. A complex number $c$ is a *square constant* at $(t,i,j)$ if for every choice of Haar measures and fundamental domains for $G(F)\backslash G(\mathbb{A})$ on the grid, normalised as the formalization prescribes for $t$, every matched pair $(\Theta,\Theta')$, every finitely supported $z\colon G_{i,j}(\mathbb{A})\to\mathbb{C}$ and all $g,g_1$ for which both integrals below converge absolutely,
$$\Bigl(\sum_\kappa z(\kappa)\Bigr)\int_{G_{i+1,j+1}(F)\backslash G_{i+1,j+1}(\mathbb{A})}K^{\mathrm{big}}_\Theta(g,u,g_1)\,du
= c\int_{G_{i,j}(F)\backslash G_{i,j}(\mathbb{A})}\sum_\kappa z(\kappa)\,K^{\mathrm{small}}_{\Theta'}(g,u\kappa,g_1)\,du .$$
The square is *non-degenerate* at $(t,i,j)$ if for some such measures, matched pair, $z$, $g$, $g_1$ with both integrals convergent, the integral on the right is non-zero.
**Definite triangles.** A *triangle* consists of three Hermitian spaces $A,A',B$ over $E$ with lattices, adelic bases, Cartan involutions and bases at the complex places; for each $t\in T$ representations $\omega_t$ of $G_A(\mathbb{A})\times G_B(\mathbb{A})$ and $\omega'_t$ of $G_{A'}(\mathbb{A})\times G_B(\mathbb{A})$; test functions $f_t,f'_t$; and a measure and a subset on each of $G_A(\mathbb{A})$ and $G_{A'}(\mathbb{A})$. For polynomials $P,P'$ (archimedean test data) let $I_t(P)(h)$ and $I'_t(P')(h)$, $h\in G_B(\mathbb{A})$, be the integrals over these subsets, for these measures, of the kernels $(\omega_t(g,h)\Phi_{t,P})(0)$ and $(\omega'_t(g,h)\Phi'_{t,P'})(0)$, where $\Phi_{t,P}$ is the test function the formalization builds from $f_t$ and $P$. A function $c^0\colon T\to\mathbb{C}$ is a *constant of the triangle* if $c^0(t)\neq0$ for some $t$ and there are $P,P'$ such that for every $t$: both kernels are integrable over the subsets for every $h$, $I'_t(P')$ is not identically zero, and
$$I_t(P)(h)=c^0(t)\,I'_t(P')(h)\qquad\text{for all }h .$$
The triangle is the *definite triangle of the square $(i,j)$* if $\operatorname{rank}A=a_{i,j}$, $\operatorname{rank}A'=a'_{i,j}$, $\operatorname{rank}A+\operatorname{rank}A'=\operatorname{rank}B$; each of $A,A',B$ has Gram matrix $1$, lattice $\mathcal{O}_E^{\,n}$, and identity Cartan involutions and bases (so all three are positive definite), and satisfies the general conditions on lattices, adelic bases and involutions (not expanded); the measures are Haar measures and the subsets are fundamental domains for $G_A(F)$ and $G_{A'}(F)$; $\omega_t$ and $\omega'_t$ are Weil representations for $\psi$, in the formalization's axiomatic sense (not expanded), with the pairs of characters $(\beta,\beta/\alpha_t)$ and $(\alpha_t,\alpha_t/\beta)$, where $\alpha_t=\mu_{t,j+1}\,\eta^{\rho(i,j)\bmod 2}$ and $\beta=\chi_{m-i}\,\eta^{\rho(i,j)\bmod 2}$ are circle-valued characters of $(\mathbb{A}_F\otimes_F E)^\times$ and $\mu_{t,j+1}$ is the character the formalization forms from the $\mu^0$ and $\xi_t$ (not expanded); and $f_t,f'_t$ are vectors prescribed at the places of $P(t)$ in terms of $\alpha_t/\beta$, $\nu_{t,i,j}$ and its conductor exponents (these conditions have not been expanded).
**Algebraic factors.** For a positive integer $N$, an element $\zeta\in L$ is a *unit away from $N$* if $\zeta N^{k}=a$ for some $k\ge0$ and some $a\in\mathcal{O}_L$ dividing a power of $N$ in $\mathcal{O}_L$. A complex number $u$ is a *step ratio* (for $t$) if
$$u=\sigma\Bigl(\beta_0\prod_{v\in S_0}\frac{g(v)}{g'(v)}\Bigr)$$
with $\beta_0\in L$ a unit away from $N_t$ and $g(v),g'(v)\in\mathcal{O}_L$ dividing $N(v)^{c(v)}$ for each $v\in S_0$.
**Hypotheses.**
(H1) Hypothesis list B: fifty-three assumed statements on Weil representations, theta lifts, discrete series, L-functions and complex multiplication.
(H2) Theta integrals agree: for a matching datum the two theta integrals are proportional on matching functions, with a unique nonzero constant, and the constant changes by an L-value when a hyperbolic plane is removed.
(H3) Local matching: a matching datum for two Hermitian spaces of complementary dimensions admits matched quotient maps.
(H4) (*Non-vanishing of $L$-values.*) For all large parameters and all $0\le i,j<m$:
(a) for every $t\in T$ the character $\nu_{t,i,j}$ has an $L$-function $\Lambda$ with $\Lambda(s)\neq0$ for every integer $s$ with $1-e^0_{i,j}\le s\le h_{i,j}$;
(b) each of the three characters $\nu_{\mu_0,i,j}$, $\nu_{\mu_0,i,j}\,\delta$, $\nu_{\mu_0,i,j}\,\delta'$ has an $L$-function $\Lambda$ with $\Lambda(s)\neq0$ for every integer $s\ge1$.
**Rationality hypothesis.** Given Weil data and a choice of adelic bases and normalisations for the grid, the following numbers lie in $\sigma(L)$:
- every complex $8$th root of unity; every complex root of unity of order $N(w)^{\ell(w)}$ for $w\in P(t)$, $t\in T$, where $\ell(w)$ is an exponent fixed by the grid (not expanded); and $\sqrt{N(w)}$ for $w\in P(t)$, $t\in T$, and for $w$ in a further set of places that is part of the chosen normalisations;
- for all $t$, $i$, $j$, all $L$-functions $\Lambda$ of $\nu_{t,i,j}$ and $\Lambda_0$ of $\nu_{\mu_0,i,j}$, and every integer $1\le s\le B_{\max}+1$ with $\Lambda_0(s)\neq0$: the ratio $\Lambda(s)/\Lambda_0(s)$ (the bound $B_{\max}$ is a function of the parameters, not expanded);
- for each square $(i,j)$ that has a definite triangle (defined above), there is one, with non-zero complex numbers $\Omega,\Omega'$, such that $I_t(P)(h)/\Omega$ and $I'_t(P')(h)/\Omega'$ lie in $\sigma(L)$ for all $t$, all monomials $P,P'$ whose kernels are integrable, and all $h$ in the kernel of the formalization's archimedean homomorphism on $G_B(\mathbb{A})$;
- three further families of numbers (local values of the characters, phases, and coefficients of local expansions attached to the chosen normalisations), whose definitions have not been expanded.
Assume (H1)–(H4). Then the following holds for all large parameters. Let Weil data on the grid be given such that the additive character $\psi$ is continuous, unitary, trivial on $F$ and non-trivial, there is a family $(\theta_\tau)_\tau$ of ring homomorphisms $F_\infty\otimes_F E\to\mathbb{C}$ compatible with the fixed complex embeddings of $E$ (compatibility not expanded), and for every such family
$$\psi(x)=\exp\Bigl(-2\pi i\sum_{\tau}\theta_\tau(x\otimes1)\Bigr)\qquad(x\in F_\infty=F\otimes_{\mathbb{Q}}\mathbb{R}\subset\mathbb{A}_F).$$
Let a choice of adelic bases and normalisations for the grid and a relation $\varrho$ as above be given, and assume the rationality hypothesis.
Let $0\le i,j<m$ and $t\in T$, and suppose that
- the square $(i,j)$ is non-degenerate at $t$ and $c$ is a square constant at $(t,i,j)$;
- the square $(i,j)$ is non-degenerate at $\mu_0$ and $c_0$ is a square constant at $(\mu_0,i,j)$;
- a definite triangle of the square $(i,j)$ is given, with a constant $c^0\colon T\to\mathbb{C}$;
- $\Lambda$ is an $L$-function of $\nu_{t,i,j}$ and $\Lambda_0$ is an $L$-function of $\nu_{\mu_0,i,j}$.
Then there are step ratios $u_1,\dots,u_{p_j+q_j}$ and a unit $\zeta\in L$ away from $N_t$ such that
$$\frac{c}{c_0}\;\prod_{k=1}^{q_j}\frac{\Lambda(e+k)}{\Lambda_0(e+k)}
\;=\;\sigma(\zeta)\;\prod_{k=1}^{p_j+q_j}u_k\;\cdot\;\frac{c^0(t)}{c^0(\mu_0)}\;\prod_{k=0}^{p_j-1}\frac{\Lambda(e+q_j-k)}{\Lambda_0(e+q_j-k)} .$$