Structured proof · Unit 148
lemma Filling.IsFillingLevel.siegel_sum_le_lintegral_quadric
CMType E, WeilData E), \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s} (ok : IsAdmissible), T a finite set of finite places of E stable under conjugation, with gIdele(S)^{-1} integral at every finite place outside T (an instance Fact), and (hT) latBasis(S) an integral invertible matrix outside T and N(S)^{-1} integral outside T; let P be an integral place structure on LocProd(T)=\prod_{w\in T}E_w (integers R= P.R , character \psi, modulus md) and F a level on LocProd(T) with hF : IsFillingLevel(S,T,F). Lemma (Siegel's formula at T, one-sided). Let f be a [0,\infty]-valued function on the vectors over LocProd(T) (indexed by BesselIndex(\mathfrak{s})), s a finite set of pairs z=(c_z,y_z) of a class of S and a vector y_z\in E^{\kappa},t\in E with (ht) N(S)^{2}<|\Phi_v(t)|^{2} for every infinite place v, and c : Classes(S)\times E^{\kappa}\to\mathbb{R}_{\ge0}. Put x(z)= (representative of c_z){}^{-1}\cdot y_z\in\mathbb{A}_f^{\kappa}. Suppose that for every z\in s: N(S)\cdot\overline{y}_z\cdot y_z=t\overline{t}-N(S)^{2}, every coordinate of x(z) is integral outside T, and for all e in a neighbourhood of tailVector(\overline{\pi}(S),t,x(z)) taken at T (evalPlaces T), every k\in\mathsf{H}\cap congGroup(F) (\mathsf{H}=\mathtt{besselH}) and every y with k\cdot y=e,c(z)\le f(y). Then for all sufficiently small sets L\subseteq LocProd(T) (eventually in the small-sets filter of the neighbourhoods of 0) that are clopen: (\sum_{z\in s}c(z))\cdot\operatorname{vol}(L)\le(1+b(S)^{-6})\cdot\#Classes(S)\cdotsiegelConst(S)\cdot(\prod_v(|\Phi_v(t)|^{2}-N(S)^{2}))^{k(\mathfrak{s})-1}\cdot\int1[(J_T\cdot e)_{f_{\mathrm{top}}}-t\in L]\cdot f(e)d floorQuadric(F, top)(e), where J_T is the Gram matrix of latMiddle(S,\mathtt{LocProd}T),f_{\mathrm{top}} the top frame index and t is taken at T (ratToPlaces T); siegelConst(S)=(\pi^{k}/(k-1)!/N^{k})^{f}\cdot|d_E|^{1/4}\cdot\operatorname{vol}(\hat{O})^{k}.classSum_norm_eq) to n and \beta=(t\overline{t}-N^{2})/N: the class sum dominates \sum_{z\in s}c(z), so \sum c<r\cdot|C\cdot\int F| with r=(1+b^{-6})/(1+2^{-n}). The Fourier integral \int F, over the codifferent scaled by a large M, is continuous in (M-scale, t) by dominated convergence; evaluating it (enorm_integral_codifferent) turns it into the mass of n near the quadric, which off T is v times the mass at T (mass_near_quadric_off_places_le) and at T is at most \operatorname{md}(\pi)\cdotskewMeasure\cdot\int_{\mathrm{slab}}\Psi (eventually_mass_near_quadric_le). For small clopen L, averaging over L gives (\sum c)\cdot\operatorname{vol}(L)\le const\cdot\int1_{\mathrm{slab}}\cdot\Psi, and the constants combine to (1+b^{-6})\cdot\#\operatorname{Cl}\cdotsiegelConst\cdot(\prod(|t|^{2}-N^{2}))^{k-1}.Introduce the hypothesis
hs; if \sum_{z\in s}c(z)=0 the left side is 0 for every L (simp). Otherwise: (The quoted line 55 begins with the end of the statement, up to column 26 before the declaration's:=; that part is statement, not proof: the census's statement lines stop at the:=of aletinside the type; a second-reader message.)N(S)>0 (N is prime), and k(\mathfrak{s})=1000(2\varrho+2)+d for some d (\varrho_l e_k).
\beta=(t\overline{t}-N(S)^{2})/N(S)\in E.
t'=t taken at T (
evalPlacesT).\pi=\overline{\pi}(S) taken at T, a unit of
LocProd(T).\overline{\beta}=\beta (t\overline{t} and N are fixed by conjugation;
field_simp).Lean states
star β = βu: \operatorname{md}(N_T)^{1/2}=(\prod_v|\Phi_v(N)|)^{-1} (
md_evalPlaces_rpow_half; N and N^{-1} are integral outside T byhT.2);hN: \pi\cdot\overline{\pi}=N at T (from \overline{\pi}(S)\cdot\overline{\pi}(S)^{*}=N).p: \operatorname{Re}\Phi_v(\beta)>0 for every v, since \Phi_v(\beta)=(|\Phi_v t|^{2}-N^{2})/N and
ht.Lean states
0 < (Φ v β).reThe step function \Psi for the points
tailVector(\overline{\pi},t,x(z))_T, weights c,f and the group \mathsf{H}\cap K(g)_T (integral: K(g)_T consists of integral matrices): \Psi has compact support (cf), is invariant under small translations (uf) and under \mathsf{H}\cap K(g)_T (hk), \Psi\le f (h2), and c(z)\le\Psi(tail vector of x(z)) (hy).n: the locally constant function on \mathbb{A}_f^{\kappa},n(x)=\Psi(\mathtt{tailVector}(\pi,t',x_T)) if x is integral outside T and 0 otherwise (\Psi\circ
tailVectoris locally constant by uf; the integral-outside-T vectors form a clopen subgroup).cs: n has compact support — its support lies in (the image of supp \Psi under a continuous map into \mathbb{A}_f^{\kappa}) + the standard lattice, a sum of two compact sets.
Lean states
HasCompactSupport nSiegel's formula for n,K=
columnLevel(S) and \alpha=\beta (classSum_norm_eq; 3\le k): summability (sm) and the identity key:classSumof \sum_{\overline{x}x=\beta}n(h^{-1}x)=C\cdot\int F. Its invariance hypothesis: for k in the column level, n(kx)=n(x), since k is integral outside T (it preserves the integral vectors) and the tail vector of kx at T isinclHFin(k)_T applied to that of x (tailVector_evalPlaces), withinclHFin(k)_T\in\mathsf{H}\cap K(g)_T (inclHFin_mem_besselH;mem_principalLevel_iffwithcolumnLevel_eq), sohkapplies.Uses
classSum_norm_equnit 40,Filling.unit 148,tailVector_evalPlaces Filling.unit 148,inclHFin_mem_besselH Filling.unit 148,IsFillingLevel. mem_principalLevel_iff Filling.unit 148IsAdmissible The elements of the column level are integral outside T (
hasFiniteType_columnLevel).Lean states
k.1 ∈ intGL _ _Name C the real constant of Siegel's formula (
classSum(1)\cdot|d_E|^{1/4}\cdot\prod_v\pi^{k}/(k-1)!\cdot(\operatorname{Re}\Phi_v\beta)^{k-1}).r=(1+b(S)^{-6})/(1+2^{-n(\mathfrak{s})}).
hy: \sum c<r\cdot|C\cdot\int F|: since \sum c\ne0 and r>1 (2^{-n}<2^{-\varrho}\le b^{-6} bypow_six_le), \sum c<r\cdot\sum c, and \sum c\le|\mathtt{classSum}|=|C\cdot\int F| (key):the class sum is the double sum over classes and vectors of nonnegative terms (
classSum_eq_sum), which dominates the sum over s; for z\in s,\overline{y}_z y_z=\beta (by the quadric hypothesis), x(z) is integral outside T so n(x(z))=\Psi(tail vector) \ge c(z) (hy).nz: \int F\ne0 (as \sum c>0), and K_{0}: the constant r\cdot|C|\cdot(1+2^{-n})\cdot\operatorname{vol}(\hat{O})^{k}\cdot\operatorname{md}(\pi) is finite.
iF: the integrand of \int F is integrable (a nonzero integral).b(\tau)=(\pi\overline{\pi})^{-1}\tau\overline{\tau}-N-\beta_T for \tau\in
LocProd(T): the quadric value of the tail vector of \tau.Continuity: the integral \int_{\operatorname{codifferent}(m)}\psi(\tfrac{1}{2}z\cdot(-b(\tau)))\cdot(\ldots) depends continuously on (m,\tau) at (0,t') (dominated convergence, the integrand bounded by |n|), so there are neighbourhoods (
haof 0,hbof t') on which \sum c<r\cdot|C|\cdot|\text{value}| (h), as at (0,t') byhy:the dominated-convergence argument: measurability, the bound by the norm of the integrand, and pointwise convergence (for z in the codifferent, \psi(\tfrac{1}{2}z\cdot(\ldots)) is eventually constant).
b(t')=0: (\pi\overline{\pi})^{-1}t'\overline{t}'=N+\beta, because t\overline{t}=N(\beta+N) and \pi\overline{\pi}=N at T.
Lean states
b t' = 0Simplify h: the integral of an indicator is a set integral over the codifferent, and products of values of the additive character are values at sums.
For all small L: every l\in L has t'+l in the
hb-neighbourhood andtailVector(\pi,l,0) in the neighbourhood of local constancy of \Psi (hL); L is clopen (oL).It suffices (
le_mul_of_forall_lt) to show a\cdot\operatorname{vol}(L)\le K_{0}\cdot\int_{\mathrm{slab}}\Psi for every a<\sum c (then \Psi\le f,h2, and the constant is identified in steps 1.26–1.30):Slabs near the quadric at T: a neighbourhood V of 0 such that for measurable S'\subseteq V the slab integral of 1_L\cdot\Psi is \le\operatorname{md}(\pi)\cdot
skewMeasure(\ldots S')\cdot c (eventually_mass_near_quadric_le, with c from the strict inequalityhc).Uses
HyperbolicBasis.unit 148eventually_mass_near_quadric_le A natural M\ne0 with M\cdot\hat{O} inside both the
ha-neighbourhood and the preimage of V (mem_nhds_zero_finAdele_iff).M is a unit of \mathbb{A}_f with inverse m (i); the codifferent scaled by M has finite volume (o); and
idealZeta(\hat{O},3\varrho+5)\le1+2^{-(\varrho+1)} (z:idealZeta_intAdeles_pow_lewith u=\varrho+1,v=2\varrho and n=1, from [E:\mathbb{Q}]\le(\varrho+1)[E:\mathbb{Q}]\le2^{2\varrho} (degree_le); the zeta function is taken at u+v+4=3\varrho+5).Uses
isUnit_natCast_finAdeleunit 123,idealZeta_intAdeles_pow_leunit 41The mass near the quadric off T: v\ne\infty with the volume bound
hvand the factorisationspof the adelic slab integral as v times the slab integral at T (mass_near_quadric_off_places_leat \mu=3\varrho+5:idealZeta(\hat{O},3\varrho+5)\le2 from z, and 2(\mu+1)=6\varrho+12\le k byomegafrom 1000(2\varrho+2)\le k).Chain: a\cdot\operatorname{vol}(L)\le\int_{\tau\in L} (value of the continuous integral at \tau) \le (the slab integral over the translates t'+L) \le\operatorname{md}(\pi)\cdot
skewMeasure\cdot c\cdot(constant), by the bound of step 1.25.7 for \tau\in L and step 1.25.1 applied to the set m_T\cdot(L-slab) \subseteq V.Reorder the remaining goals.
For \tau\in L: a<r\cdot|C|\cdot|value at (1,t'+\tau)| by h (1\in M\cdot\hat{O}-neighbourhood, t'+\tau in the
hb-neighbourhood).Evaluate the codifferent integral: |\int_{\operatorname{codifferent}(M)}\int\psi(\tfrac{1}{2}z(\overline{x}x-\beta-\tau))n(x)|=\operatorname{vol}(\operatorname{codifferent}(M))\cdot\int_{m(\overline{x}x-\beta-\tau)\in\hat{O}}n (
enorm_integral_codifferent), andspturns this adelic slab integral into v\cdot\int_{\text{slab at }T}\Psi(\mathtt{tailVector}(\pi,t',y)).Reassociate the product of constants.
On the slab, 1_L((J\cdottail vector){}_{\mathrm{top}} -t')=1 (
form_tailVector: (J\mathtt{tailVector}(\pi,t'+\tau,y))_z=t'+\tau), and \Psi(\mathtt{tailVector}(\pi,t'+\tau,y))=\Psi(\mathtt{tailVector}(\pi,t',y)+\mathtt{tailVector}(\pi,\tau,0))=\Psi(\mathtt{tailVector}(\pi,t',y)) (linearity of the tail vector and local constancy,hL).The slab conditions agree: m(\overline{y}y-\beta-\tau)\in\hat{O}\iff m_T(\overline{y}y-(\pi\overline{\pi})^{-1}(t'+\tau)(t'+\tau)^{*}+N)\in R, a ring identity using \overline{\beta}=\beta,
hNand the definition of b.The constants: \operatorname{vol}(\text{codifferent})\cdot
skewMeasure\cdot v\leidealZeta\cdot\operatorname{vol}(\hat{O})^{k} (hv) andidealZeta\le1+2^{-n} (z).The finiteness side condition (r, the measures and the constants are finite).
The constant: rewrite u with
hN(\operatorname{md}(N_T)=\operatorname{md}(\pi_T)^{2}, so \operatorname{md}(\pi)=\prod_v|\Phi_v N|^{-1}).Keep only p,
eC, d,N_{0},u.Unfold r,C (
eC) and the class sum (classSum_eq_sum: \#\operatorname{Classes}), with |\Phi_v\beta|=\operatorname{Re}\Phi_v\beta>0 (p).Unfold
siegelConstand \beta: \Phi_v(\beta)=(|\Phi_v t|^{2}-N^{2})/N,k=1000(2\varrho+2)+d.The resulting identity K_{0}=(1+b^{-6})\cdot\#\operatorname{Classes}\cdot
siegelConst\cdot(\prod(|t|^{2}-N^{2}))^{k-1} is an identity of rational expressions (field).