3 versions of the statement of Siegel–Weil identity for smooth theta functions, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 3 , changes from version 2 are marked
Assume the source's Siegel–Weil formula. Fix its full arithmetic theta datum with CM extension $E/F$, and Hermitian spaces $A,B$ of ranks $a,b$, with
$$1\le a,\qquad 2a<b.$$
Let $2A$ denote the doubled space, $\psi$ an adelic additive character, $\chi:\mathbb A_E^\times\to S^1$, and $\omega$ an action for $(2A,B)$ satisfying the source's oriented Weil-datum conditions with splitting characters $(1,\chi)$. Let $f$ on the oriented oscillator space be continuous, smooth at infinity and invariant under a finite level of the Heisenberg action, with the prescribed rational quasi-periodicity. Choose additive Haar measure $\nu$ and a fundamental domain $\mathcal G$ of volume $1$ for $M_{b,a}(E)$ in $M_{b,a}(\mathbb A_E)$. Put
$$\iota(y)=(y,-y),\qquad \Phi(g)=\int_{\mathcal G}(\omega(g,1)f)(\iota(y))\,d\nu(y).$$
Let $P\subseteq U(2A)$ be the Siegel parabolic and let $m$ be any Haar measure on $U(B)(\mathbb A_F)$. Then $\Phi$ is left $P(F)$-invariant, its coset sum converges at every $g$, and
$$\sum_{\gamma\in P(F)\backslash U(2A)(F)}\Phi(\gamma g)
=\operatorname{Avg}_{U(B)(F)\backslash U(B)(\mathbb A_F)}(\omega(g,h)f)(0).$$
The right side uses normalized averaging with respect to the quotient measure induced by $m$ and the source's normalized average.$m$.
Version 2 , changes from version 1 are marked
Assume the source's Siegel–Weil formula. Fix its full arithmetic theta datum with CM extension $E/F$, and Hermitian spaces $A,B$ of ranks $a,b$, with
$$1\le a,\qquad 2a<b.$$
Let $2A$ denote the doubled space, $\psi$ an adelic additive character, $\chi:\mathbb A_E^\times\to S^1$, and $\omega$ an action for $(2A,B)$ satisfying the source's oriented Weil-datum conditions with splitting characters $(1,\chi)$. Let $f$ on the oriented oscillator space be continuous, smooth at infinity and invariant under a finite level of the Heisenberg action, with the prescribed rational quasi-periodicity. Choose additive Haar measure $\nu$ and a fundamental domain $\mathcal G$ of volume $1$ for $M_{b,a}(E)$ in $M_{b,a}(\mathbb A_E)$. Put
$$\iota(y)=(y,-y),\qquad \Phi(g)=\int_{\mathcal G}(\omega(g,1)f)(\iota(y))\,d\nu(y).$$
Let $P\subseteq U(2A)$ be the Siegel parabolic and let $m$ be any Haar measure on $U(B)(\mathbb A_F)$. Then $\Phi$ is left $P(F)$-invariant, its coset sum converges at every $g$, and
$$\sum_{\gamma\in P(F)\backslash U(2A)(F)}\Phi(\gamma g)
=\fint_{U(B)(F)\backslash=\operatorname{Avg}_{U(B)(F)\backslash U(B)(\mathbb A_F)}(\omega(g,h)f)(0)\,dh.$$A_F)}(\omega(g,h)f)(0).$$
The right side uses the quotient measure induced by $m$ and the source's normalized average.
Version 1 , first version
Assume the source's Siegel–Weil formula. Fix its full arithmetic theta datum with CM extension $E/F$, and Hermitian spaces $A,B$ of ranks $a,b$, with
$$1\le a,\qquad 2a<b.$$
Let $2A$ denote the doubled space, $\psi$ an adelic additive character, $\chi:\mathbb A_E^\times\to S^1$, and $\omega$ an action for $(2A,B)$ satisfying the source's oriented Weil-datum conditions with splitting characters $(1,\chi)$. Let $f$ on the oriented oscillator space be continuous, smooth at infinity and invariant under a finite level of the Heisenberg action, with the prescribed rational quasi-periodicity. Choose additive Haar measure $\nu$ and a fundamental domain $\mathcal G$ of volume $1$ for $M_{b,a}(E)$ in $M_{b,a}(\mathbb A_E)$. Put
$$\iota(y)=(y,-y),\qquad \Phi(g)=\int_{\mathcal G}(\omega(g,1)f)(\iota(y))\,d\nu(y).$$
Let $P\subseteq U(2A)$ be the Siegel parabolic and let $m$ be any Haar measure on $U(B)(\mathbb A_F)$. Then $\Phi$ is left $P(F)$-invariant, its coset sum converges at every $g$, and
$$\sum_{\gamma\in P(F)\backslash U(2A)(F)}\Phi(\gamma g)
=\fint_{U(B)(F)\backslash U(B)(\mathbb A_F)}(\omega(g,h)f)(0)\,dh.$$
The right side uses the quotient measure induced by $m$ and the source's normalized average.