Chapter VI · Unit 148
Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup
Data.ramifiedColumns_fill_rows ). The proof is a second-moment (Petersson-type) argument: the mean over s of the squared Hilbert–Schmidt norm of \mathcal{P}^* s \mathcal{P} is unfolded into sums of amplitudes over rational elements \gamma grouped by double cosets (classes c, c') and by their reductions s modulo g; amplitude sums vanish unless the unipotent characters agree, degenerate terms and incoherent pairs are negligible by discriminant gains, lattice counts and a weighted Schur test, the main term is bounded nearly sharply by positive kernels of local Bessel integrals at finitely many places and a sieve (one-sided Poisson summation), and a variance inequality turns the moment bound into the spreading statement. Chunk 148-a holds the set-up and the first layer: the record Filling of the data and its standing hypotheses IsAdmissible; abstract sieve systems and Bessel systems; the groups \mathsf{U}, \mathsf{U}^0, \mathsf{H}, \mathsf{S}, the classes, terms, amplitudes and constants; dictionaries between rational, finite adelic and real coordinates; links of frames (Lagrangian, invariant under \mathsf{U} on both sides); Siegel's lemma for hermitian lattices and a convergent height zeta function of subspaces; strong approximation for \mathsf{U}; normal forms and levels of terms; the bound of the index of a determinant of pairings by agreeing characters; box partitions (cutoffs) for the arithmetic unipotent groups \mathsf{U}_c(g) and the frame-counting bound; the exact covolume of \mathsf{U}_c(g); and convergence, change of weight, moves, vanishing for disagreeing characters and the identity term of the amplitude sums.Notes
- Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem 44 pages · PDF
- The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel 27 pages · PDF
- From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data 24 pages · PDF
- Links of pairs of terms: integral lifts and the discriminant gain 16 pages · PDF
- The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation 42 pages · PDF
- Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums 34 pages · PDF
- The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs 43 pages · PDF
- Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels 37 pages · PDF
What it holds · 497 declarations
lemma
Filling.lines 16–17one-stepisStable_besselS For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): the rational Bessel subgroup \mathsf{S}(E) is stable: for rational u,u'\in\mathsf{U} (\subseteq\mathsf{S}) and \gamma,u^{-1}\gamma u'\in\mathsf{S} iff \gamma\in\mathsf{S}.The Lean statement
New/Filling/AmplitudeSums.lean · line 16 lemma isStable_besselS : S.IsStable (S.ratMiddle E).besselS := byinstance
(anonymous)lines 22–23one-stepFor a shape \mathfrak{s}, a subgroup A of G_1 and a measure \nu on A that is a Haar measure of the unimodular group A (h): the orbit measure of (A,\nu) on G_1 (Haar measure weighted by a chosen cutoff) is \sigma-finite (an instance), since the cutoff is finite almost everywhere.The Lean statement
New/Filling/AmplitudeSums.lean · line 22 instance : SigmaFinite (orbitMeasure ν (@volume 𝔰.G₁ _)) :=lemma
Filling.lines 25–28one-stepmeasurePreserving_pi_orbitMeasure For \mathfrak{s},A,\nu with h as above and a finite type P (implicit): the map ((x_p)_p,(a_p)_p)\mapsto(a_p\cdot x_p)_p carries (\prod_p\mathtt{orbitMeasure}(\nu))\times(\prod_p\nu) to the Haar measure of (G_1)^{P} (unfolding, factor by factor).The Lean statement
New/Filling/AmplitudeSums.lean · lines 25–27 lemma measurePreserving_pi_orbitMeasure {P} [Fintype P] : MeasurePreserving (fun p ↦ (p.2 · |>.1) * p.1) (.prod (.pi fun _ ↦ orbitMeasure ν volume) (.pi fun _ ↦ ν)) (@volume (P → 𝔰.G₁) _) := (measurePreserving_pi _ _lemma
Filling.lines 30–35argumenttsum_integral_apply For a measurable space X with a measure \mu, a countable type J, a finite type I and measurable g_j:X\to\mathbb{C}^{I} (m) with \sum_j\int^{-}\lVert g_j\rVert d\mu<\infty (h), and a coordinate i\in I: (\sum_j\int g_j d\mu)_i=\int\sum_j g_j(x)_i d\mu(x).Structured proof, 1 step Lemma 9.2, p. 26 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 30–32 lemma tsum_integral_apply {X J I} [MeasurableSpace X] {μ : Measure X} [Countable J] [Fintype I] {g : J → X → EuclideanSpace ℂ I} (m : ∀ j, Measurable (g j)) (h : ∑' j, ∫⁻ x, ‖g j x‖ₑ ∂μ < ∞) i : (∑' j, ∫ x, g j x ∂μ) i = ∫ x, ∑' j, g j x i ∂μ := .trans ((funext fun j ↦instance
(anonymous)line 39one-stepFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): the finite group \mathsf{G}=GRes(S) is a finite type (an instanceFintype, from finiteness).The Lean statement
New/Filling/AmplitudeSums.lean · line 39 noncomputable instance : Fintype S.GRes := .ofFinite _lemma
Filling.lines 41–44argumentbesselFn_mul_of_mem_classUnip For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma, a class c (implicit), u\in\mathsf{U}_c(g) and an archimedean point y:besselFn(S,\mathtt{ratToInf}(u)\cdot y)=besselFn(S,y).Structured proof, 1 step Lemma 9.3, p. 26 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 41–42 lemma besselFn_mul_of_mem_classUnip {c} (u : S.classUnip c) y : S.besselFn (S.ratToInf u * y) = S.besselFn y := have := u.2lemma
Filling.lines 46–49one-stepbesselKernel_besselU_mul For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma, rational u,u'\in\mathsf{U} (implicit; a,a'), \gamma\in G(S,E) and an archimedean point y:besselKernel(u\gamma u'^{-1},\mathtt{ratToInf}(u)\cdot y)= (unipotentChar(\mathtt{ratToFin}u)^{-1}\cdotunipotentChar(\mathtt{ratToFin}u'))\cdotbesselKernel(\gamma,y).The Lean statement
New/Filling/AmplitudeSums.lean · lines 46–48 lemma besselKernel_besselU_mul {u u'} (a : u ∈ besselU) (a' : u' ∈ besselU) γ y : S.besselKernel (u * γ * u'⁻¹) (S.ratToInf u * y) = ((S.unipotentChar (S.ratToFin u))⁻¹ * S.unipotentChar (S.ratToFin u')) • S.besselKernel γ y := bylemma
Filling.lines 54–58argumentlintegral_classCutoff_mul_prod Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), functions w_v:G_1\to[0,\infty] (implicit), measurable (hm) and invariant under left translation by \mathsf{U} (hU), and a class c: \int^{-}\beta_c(y)\cdot\prod_v w_v(y_v)dy=\nu\cdot\prod_v\int^{-}w_v d(\mathtt{besselQuotMeasure}),\nu=unipCovolume(S).Structured proof, 1 step Lemma 8.3, p. 25 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 54–56 lemma lintegral_classCutoff_mul_prod {w : _ → _} (hm : ∀ v, Measurable (w v)) (hU : ∀ v, besselU.FixesLeft (w v)) c : ∫⁻ y, S.classCutoff c y * ∏ v, w v (y v) = .ofReal S.unipCovolume * ∏ v, ∫⁻ y, w v y ∂besselQuotMeasure := by simp (disch := measurability)lemma
Filling.lines 64–106argumentamplitudeAbs_lt_top_and_cut_le Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), the side \sigma, a set T\subseteq G(S,E) and c,s (a class and an element of \mathsf{G}), with X(d)=T\captermsOver(S,c,s,d): (1) for every class c', (a) there is M\ge0 with \sum_{\gamma\in X(c')}\beta_{c'}(\gamma^{-1}y)\cdot\prod_v\lVert W_{\sigma,v}((\gamma^{-1}y)_v)\rVert\le M for every y, and (b) \sum_{\gamma\in X(c')}amplitudeAbs(S,c,c',\gamma)<\infty; and (2) \sum_d\sum_{\gamma\in X(d)}\int^{-}\beta_c(y)\beta_d(\gamma^{-1}y)\cdot\lVert\mathtt{besselKernel}_{\sigma}(\gamma,y)-\mathtt{besselKernel\_cut}(\gamma,y)\rVert dy\le\nu\cdot b^{-k^{3}f}/2 (\gamma^{-1}y=ratToInf(\gamma)^{-1}\cdot y,\nu=unipCovolume, k=|\kappa|, f the number of infinite places).Structured proof, 17 steps Theorem D, p. 3 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 64–69 lemma amplitudeAbs_lt_top_and_cut_le : let X d := T ∩ S.termsOver c s d; (∀ c', (∃ M : NNReal, ∀ y, ∑' γ : X c', S.classCutoff c' ((S.ratToInf γ)⁻¹ * y) * ∏ v, ‖(S.besselSys v).W σ (((S.ratToInf γ)⁻¹ * y) v)‖ₑ ≤ M) ∧ ∑' γ : X c', S.amplitudeAbs c c' γ < ∞) ∧ ∑' (d) (γ : X d), ∫⁻ y, S.classCutoff c y * S.classCutoff d ((S.ratToInf γ)⁻¹ * y) * ‖S.besselKernel γ y - S.besselKernel (σ := .cut) γ y‖ₑ ≤ .ofReal (S.unipCovolume * (S.b ^ (𝔰.k ^ 3 * numInfPlaces E))⁻¹ / 2)lemma
Filling.lines 110–111one-stepsummable_amplitude Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), the side \sigma, a set T, classes c,c' and s\in\mathsf{G}: the family (\operatorname{amplitude}(S,c,c',\gamma))_{\gamma\in T\cap\mathtt{termsOver}(c,s,c')} is summable.The Lean statement
New/Filling/AmplitudeSums.lean · line 110 lemma summable_amplitude : Summable fun γ : ↥(T ∩ S.termsOver c s c') ↦ S.amplitude c c' γ :=lemma
Filling.lines 119–158argumenthasSum_amplitudeSum_change_of_weight Change of weight. Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), the side \sigma, a stable set T (hT; implicit T), classes c,c',s\in\mathsf{G} and a weight \varphi(\gamma,y)\in[0,\infty] with \sum_{(u_1,u_2)\in\mathsf{U}_c(g)\times\mathsf{U}_{c'}(g)}\varphi(u_1\gamma u_2^{-1},\mathtt{ratToInf}(u_1)\cdot y)=1 for every \gamma\in X=T\captermsOver(c,s,c') and every y (h), each \varphi(\gamma,\cdot) measurable (hm, by default by measurability): the integrals \int\varphi(\gamma,y)\cdotbesselKernel(\gamma,y)dy,\gamma\in X, have sum A_T(c,s,c')=amplitudeSum(S,T,c,s,c'), each integrand is integrable, and \sum_{\gamma\in X}\int^{-}\varphi(\gamma,y)\cdot\lVert\operatorname{kernel}_{\sigma}-\mathtt{kernel\_cut}\rVert\le\nu\cdot b^{-k^{3}f}/2.Structured proof, 14 steps Theorem E, p. 4 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 119–125 lemma hasSum_amplitudeSum_change_of_weight c s c' (φ : _ → _ → _) (h : ∀ γ ∈ T ∩ S.termsOver c s c', ∀ y, ∑' u : S.classUnip c × S.classUnip c', φ (u.1 * γ * u.2⁻¹) (S.ratToInf u.1 * y) = 1) (hm : ∀ γ, Measurable (φ γ) := by measurability) : let X := T ∩ S.termsOver c s c'; HasSum (fun γ : X ↦ ∫ y, (φ γ y).toReal • S.besselKernel γ y) (S.amplitudeSum T c s c') ∧ (∀ γ : X, Integrable fun y ↦ (φ γ y).toReal • S.besselKernel γ y) ∧ ∑' γ : X, ∫⁻ y, φ γ y * ‖S.besselKernel γ y - S.besselKernel (σ := .cut) γ y‖ₑ ≤ .ofReal (S.unipCovolume * (S.b ^ (𝔰.k ^ 3 * numInfPlaces E))⁻¹ / 2)lemma
Filling.lines 163–179argumentamplitudeSum_move Moves. Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a stable set T (hT; T implicit), classes c,c_1,c',c_1',t,t'\in\mathsf{G} and \sigma,\sigma'\in G(S,E) (all implicit) with \sigma\in\mathsf{S} (h), \sigma\intermsOver(c,t,c_1) (o), \sigma'\in\mathsf{S} (h'),\sigma'\intermsOver(c',t',c_1') (o'),\gamma\in T\iff\sigma\gamma\sigma'^{-1}\in T for all \gamma (e), and a continuous linear map L withbesselKernel(\sigma\gamma\sigma'^{-1},\mathtt{ratToInf}(\sigma)\cdot y)=L(\mathtt{besselKernel}(\gamma,y)) for all \gamma,y (hL), and s\in\mathsf{G}: A_T(c,t\cdot s\cdot t'^{-1},c')=L(A_T(c_1,s,c_1')).Structured proof, 5 steps Proposition 9.5, p. 28 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 163–166 lemma amplitudeSum_move {c t c₁ σ c' t' c₁' σ'} (h : σ ∈ besselS) (o : σ ∈ S.termsOver c t c₁) (h' : σ' ∈ besselS) (o' : σ' ∈ S.termsOver c' t' c₁') (e : ∀ γ, γ ∈ T ↔ σ * γ * σ'⁻¹ ∈ T) (L : _ →L[ℂ] _) (hL : ∀ γ y, S.besselKernel (σ * γ * σ'⁻¹) (S.ratToInf σ * y) = L (S.besselKernel γ y)) s : S.amplitudeSum T c (t * s * t'⁻¹) c' = L (S.amplitudeSum T c₁ s c₁') := bylemma
Filling.lines 181–187argumentamplitudeSum_besselU_mul Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), the side \sigma, a stable set T (hT), u,u'\in K=latStabilizer(S) (implicit) lying in \mathsf{U} (hu,hu'), classes c,c' and s\in\mathsf{G}: A_T(c,\operatorname{reduction}(u)\cdot s\cdot\operatorname{reduction}(u')^{-1},c')= (unipotentChar(u)^{-1}\cdotunipotentChar(u'))\cdot A_T(c,s,c').Structured proof, 2 steps Proposition 9.5, p. 28 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 181–183 lemma amplitudeSum_besselU_mul {u u' : S.latStabilizer} (hu : u.1 ∈ besselU) (hu' : u'.1 ∈ besselU) c s c' : S.amplitudeSum T c (S.reduction u * s * (S.reduction u')⁻¹) c' = ((S.unipotentChar u)⁻¹ * S.unipotentChar u') • S.amplitudeSum T c s c' := bylemma
Filling.lines 192–194argumentamplitudeSum_eq_zero_of_not_agrees Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), the side \sigma, a set T, classes c,c',s\in\mathsf{G} and T stable (hT): if s does not agree (hs: \negAgrees(S,s)), then A_T(c,s,c')=0.Structured proof, 1 step Theorem F, p. 4 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · line 192 lemma amplitudeSum_eq_zero_of_not_agrees (hs : ¬S.Agrees s) : S.amplitudeSum T c s c' = 0 :=lemma
Filling.lines 201–220argumentamplitudeSum_besselS_one The identity term. Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), classes c,c' and tuples i,j of Bessel coordinates: with the full Bessel functions, the (i,j) entry of A_{\mathsf{S}(E)}(c,1,c') (the sum of the amplitudes over the rational points of the Bessel subgroup that are terms over (c,1,c')) is \nu=unipCovolume(S) if c=c' and i=j, and 0 otherwise.Structured proof, 6 steps Theorem F, p. 4 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/AmplitudeSums.lean · lines 201–202 lemma amplitudeSum_besselS_one i j : S.amplitudeSum (σ := .full) (S.ratMiddle E).besselS c 1 c' (i, j) = ite (c = c' ∧ i = j) S.unipCovolume 0 := bydef
Shape.line 18argumentopenCellConst For a shape \mathfrak{s} with k=|\kappa| and r=2\varrho+k+1:openCellConst(\mathfrak{s})=c_G=\operatorname{vol}U(k)/\operatorname{vol}U(r)\cdot2\pi^{k}/(k-1)!, where \operatorname{vol}U(j)=volU(j)=\prod_{i<j}2\pi^{i+1}/i! and 2\pi^{k}/(k-1)\nesphereDensity(k,1); for k\ge1 the last factor is \operatorname{vol}U(k)/\operatorname{vol}U(k-1).The Lean statement
New/Filling/BesselSystem.lean · line 18 def Shape.openCellConst := volU 𝔰.k / volU 𝔰.r * sphereDensity 𝔰.k 1lemma
Shape.line 20one-stepopenCellConst_pos For a shape \mathfrak{s}: 0<openCellConst(\mathfrak{s}).The Lean statement
New/Filling/BesselSystem.lean · line 20 lemma Shape.openCellConst_pos : 0 < 𝔰.openCellConst := by simp [openCellConst]; positivitydef
Shape.line 24argumentbandConst For a shape \mathfrak{s}:bandConst(\mathfrak{s})=\Theta=\operatorname{vol}U(k)/\operatorname{vol}U(r)\cdot\pi^{(2\varrho+1)k}, with k=|\kappa| and r the rank of the whole space.The Lean statement
New/Filling/BesselSystem.lean · line 24 def Shape.bandConst := volU 𝔰.k / volU 𝔰.r * π ^ ((2 * 𝔰.ϱ + 1) * 𝔰.k)def
besselSizeline 29argumentFor a shape \mathfrak{s} (implicit) and y\in G_1:besselSize(y)=\inf over s in the Bessel subgroup \mathsf{S} of G_1 of (\lVert s y\rVert+1), \lVert\cdot\rVert the operator norm on complex matrices (for the L^{2} norms,Norms.).L2Operator The Lean statement
New/Filling/BesselSystem.lean · line 29 def besselSize := ⨅ s : besselS, ‖(s.1 * y).1.1‖ + 1abbrev
InCutline 33argumentFor a shape \mathfrak{s} (implicit), y\in G_1 and a real number b:InCut(y,b) holds iffbesselSize(y)\le b^{6n+2},n=\varrho+1 (that is b^{6\varrho+8}); the cut Bessel function vanishes where it fails.The Lean statement
New/Filling/BesselSystem.lean · line 33 abbrev InCut := besselSize y ≤ b ^ (6 * 𝔰.n + 2)def
frameBoxline 36argumentFor a shape \mathfrak{s} (implicit) and a real number \rho:frameBox(\rho) is the set of y\in G_1 such that every frame vector y^{-1}f_a (a=0,\ldots,\varrho;frameVector y a) has Euclidean norm at most \rho. (The census lists the section variable y too; the definition binds its own y in the set.)The Lean statement
New/Filling/BesselSystem.lean · line 36 def frameBox ρ := {y : 𝔰.G₁ | ∀ a, ‖frameVector y a‖ ≤ ρ}def
gramDiscRealline 40argumentFor a shape \mathfrak{s} (implicit) and a complex (\varrho+1)\times(\varrho+1) matrix Z:gramDiscReal(Z)=\mathsf{g}(Z)=\operatorname{Re}(\mathtt{frameDisc}(1,Z))=|\det Z|^{2}-|D_{\varrho}(Z)|^{2}, D_{\varrho} the leading principal minor of order \varrho.The Lean statement
New/Filling/BesselSystem.lean · line 40 def gramDiscReal (Z : 𝔰.FrameMat) := (frameDisc 1 Z).redef
cellMasslines 44–45argumentFor a shape \mathfrak{s} (implicit), y\in G_1 and real numbers deg, \rho,d:cellMass(y, deg, \rho,d)=(\rho^{9n}/\mathsf{g})^{10^{5}n^{4}}\cdot d^{2}/(\deg\cdot c_G\cdot(\mathsf{g}/2)^{k-1}), where n=\varrho+1,k=|\kappa|, c_G=openCellConst(\mathfrak{s}) and \mathsf{g}=gramDiscReal(Z(y)) for the frame matrix Z(y)=realFrameGram(y)=(h(f_a,y f_b))_{a,b}.The Lean statement
New/Filling/BesselSystem.lean · line 44 def cellMass ρ d := (ρ ^ (9 * 𝔰.n) / gramDiscReal (realFrameGram y)) ^ (10 ^ 5 * 𝔰.n ^ 4) *def
besselCorrelationlines 49–50argumentFor a group G with a measurable structure and a measure \mu, a type I, a function W:G\to\mathbb{C}^{I} and \gamma\in G:besselCorrelation(\mu,W,\gamma) is the vector J(\gamma)\in\mathbb{C}^{I\times I} with coordinates J(\gamma)_{ij}=\int W_i(y)\cdot\operatorname{conj}(W_j(\gamma^{-1}y))d\mu(y), the tensor \int W(y)\otimes W(\gamma^{-1}y)^{*}d\mu(y). (The census lists the section variables \mathfrak{s} and y too.)The Lean statement
New/Filling/BesselSystem.lean · lines 49–50 def besselCorrelation {G I} [Group G] [MeasurableSpace G] (μ : Measure G) (W : G → EuclideanSpace ℂ I) (γ : G) : EuclideanSpace ℂ (I × I) := .toLp 2 fun x ↦ ∫ y, W y x.1 * conj (W (γ⁻¹ * y) x.2) ∂μdef
SchurLelines 54–55argumentFor a shape \mathfrak{s} (implicit), a finite type I,W:G_1\to\mathbb{C}^{I} and D\in[0,\infty]:SchurLe(W,D) holds iff for every integrable \varphi:G_1\to\mathbb{C} the function \gamma\mapsto\int_{G_1}\varphi(y)\cdot W(\gamma y)dy has squared L^{2} norm on \mathsf{U}\backslash G_1 (for the quotient measurebesselQuotMeasure) at most D\cdot\int|\varphi|^{2}: \int^{-}\lVert\int\varphi(y)W(\gamma y)dy\rVert^{2}d\gamma\le D\cdot\int^{-}|\varphi(y)|^{2}dy. (The census lists the section variable y too.)The Lean statement
New/Filling/BesselSystem.lean · line 54 def SchurLe D := ∀ φ : _ → ℂ, Integrable φ →def
HasSchurBoundlines 59–62argumentFor a shape \mathfrak{s} (implicit), a finite type I,W:G_1\to\mathbb{C}^{I}, a unitary representation rep : U(\kappa)\to U(\mathbb{C}^{I}) of the compact unitary group of X_0, a real number B and D\in[0,\infty]:HasSchurBound(W, rep, B,D) holds iff there are continuous functions V_w:G_1\to\mathbb{C}^{I} indexed by words w (finite lists of pairs (a,b) of basis indices of V) with V_[]=W such that for every word w: V_w is a Bessel function for rep (IsBesselFunction); V_{(a,b)::w} is the right derivative of V_w along E_{\mathrm{ab}}, in the sense that for every curve \gamma:\mathbb{R}\to G_1 and every matrix X with \gamma'(t)=\gamma(t)X at t,(V_w\circ\gamma)'(t)=\sum_{a,b}X_{\mathrm{ab}}V_{(a,b)::w}(\gamma(t)); and if |w|\le2n^{2} (n=\varrho+1) thenSchurLe(V_w,B^{2|w|}\cdot D). (The census also lists the section variable b, which occurs only as a bound summation variable.)The Lean statement
New/Filling/BesselSystem.lean · line 59 def HasSchurBound rep B D := ∃ V : _ → C(_, _), W = V [] ∧ ∀ w, IsBesselFunction rep (V w) ∧def
normCorrelationlines 67–69argumentFor a shape \mathfrak{s} (implicit), y\in G_1, a finite type I,W:G_1\to\mathbb{C}^{I} and a sequence p:\mathbb{N}\to\mathbb{C}^{\times}:normCorrelation(y,W,p)=c(p)\cdotbesselCorrelation(\operatorname{vol},W,w_p y), where w_p=weylElem(\varrho,p) is the Weyl element of length \varrho (e_a\mapsto p_a e_a^{*},e_a^{*}\mapsto e_a/\overline{p}_a for a<\varrho) and c(p)=\sqrt{c_G}\cdot\sqrt{|p_{\varrho}|^{2}-1}^{k-1}\cdot|I|^{-1}\cdot\prod_{a<\varrho}|p_a|^{k+1+2(\varrho-a-1)}, with c_G=openCellConst(\mathfrak{s}),k=|\kappa|, and vol the Haar measure of G_1.The Lean statement
New/Filling/BesselSystem.lean · line 67 def normCorrelation p := (√𝔰.openCellConst * √(‖(p 𝔰.ϱ).1‖ ^ 2 - 1) ^ (𝔰.k - 1) / card I * ∏ a ∈def
HasBandLimitslines 74–77argumentFor a shape \mathfrak{s} (implicit), a finite type I, a real number b,W:G_1\to\mathbb{C}^{I}, a real number deg and forms J_i(p,q)\in\mathbb{C} on sequences p,q:\mathbb{N}\to\mathbb{C}^{\times}:HasBandLimits(b,W, deg, J) holds iff (1) J is a sieve system on \mathbb{C},SieveSystem(\mathtt{unitOrOne},x\mapsto x^{-1},\varrho,J, wave, (1+b^{-10})/\deg,\Lambda,\beta) with head bounds \Lambda_i(p)=headWeight(n^{6},i,p) and frequency weight \beta(\xi)=\Theta\cdot b^{2000n^{9}}\cdotdampedPower(k-n^{7}, |\xi|^{-1}) (n=\varrho+1,k=|\kappa|, \Theta=bandConst(\mathfrak{s})); and (2) for every \sigma in the subgroup \operatorname{GT}_{\varrho} of G_1 fixing all e_a and e_a^{*} (the unitary group of X_0\oplus\mathbb{C}z) and all p,q with p_{\varrho}=h(z,\sigma z) (the corner entry of the frame matrix Z(\sigma)) and q_{\varrho}=p_{\varrho}: J_n(p,q)=\langle\mathtt{normCorrelation}(\sigma,W,p),\mathtt{normCorrelation}(\sigma,W,q)\rangle.The Lean statement
New/Filling/BesselSystem.lean · line 74 def HasBandLimits J := SieveSystem unitOrOne (·⁻¹.1) 𝔰.ϱ J wave ((1 + b⁻¹ ^ 10) / deg) (headWeightclass
Sideline 80argumentSide is the type with the two values full and cut, a class: which Bessel function is used, the full one or its cut.The Lean statement
New/Filling/BesselSystem.lean · line 80 class inductive Side | full | cutstructure
IsCutPairlines 85–96argumentFor a shape \mathfrak{s} (implicit), a finite type I, a real number b, a natural number f, a unitary representation rep of U(\kappa) on \mathbb{C}^{I} and a pair W=(W_{\mathrm{full}},W_{\mathrm{cut}}) of continuous functions G_1\to\mathbb{C}^{I} indexed by Side:IsCutPair(b,f, rep, W) is the record of: (isBesselFunction) W_{\mathrm{full}} and W_{\mathrm{cut}} are Bessel functions for rep; (integrable) W_{\mathrm{full}} is integrable for the quotient measure \mu=besselQuotMeasureon \mathsf{U}\backslash G_1; \int^{-}\lVert W_{\mathrm{full}}\rVert^{2}d\mu=|I|; \int^{-}\lVert W_{\mathrm{cut}}\rVert^{2}d\mu\le|I|; W_{\mathrm{cut}}(y)\ne0 impliesInCut(y,b); \int^{-}\lVert W_{\mathrm{cut}}-W_{\mathrm{full}}\rVert^{2}d\mu\le(b^{-5r^{2}})^{2}\cdot|I| (r the rank of V); and (exists_majorant) there are a measurable A:G_1\to[0,\infty], invariant under left translation by \mathsf{U}, and a finite measure m on G_1 such that, for both sides t and every y, \lVert W_t(y)\rVert\le A(y) where W_{\mathrm{full}}(y)=W_{\mathrm{cut}}(y) and b^{3r^{3}f}\lVert W_t(y)\rVert\le A(y) elsewhere, A(y)\le m(\{g:\mathtt{InCut}(y g,b)\}) for every y, and m(G_1)\cdot\int^{-}A d\mu\le b^{2r^{3}}\cdot|I|. (The census also lists the section variable y, which occurs only as a bound variable.)The Lean statement
New/Filling/BesselSystem.lean · line 85 structure IsCutPair rep (W : Side → C(𝔰.G₁, EuclideanSpace ℂ I)) wherestructure
BesselSystemlines 102–109argumentFor a shape \mathfrak{s}, a real number b and a natural number f: a Bessel systemBesselSystem(\mathfrak{s},b,f) is a record of a nonempty finite type I; a pair W of continuous functions W_{\mathrm{full}},W_{\mathrm{cut}}:G_1\to\mathbb{C}^{I}; a real number \deg>0; a unitary representation rep of U(\kappa) on \mathbb{C}^{I} withIsCutPair(b,f, rep, W); irreducibility: every matrix M commuting with all \operatorname{rep}(h) is scalar; Schur bounds:HasSchurBound(W_{\mathrm{full}}, rep, P,\deg{}^{-1}\cdot|I|) for every P\ge b^{5}; 8r\le b (r the rank of V); and band limits: formsbandLimitwithHasBandLimits(b,W_{\mathrm{cut}}, deg,bandLimit). (The census also lists the section variables I,W, deg, which the structure's own fields shadow.)The Lean statement
New/Filling/BesselSystem.lean · line 102 structure BesselSystem wherelemma
Filling.lines 21–75argumentsum_latticeDisc_inv_le Lemma. Let E be stably unramified and S admissible, and let s\in\mathbb{N}. Then \Sigma_{c\in\mathtt{Classes}(S)}\Sigma_TlatticeDisc(S,c,T)^{-(k+1)}\le \#Classes(S)\cdot N^{-\operatorname{kf}}\cdot\tau^{s+1}, the inner sum over all E-subspaces T of X_0=E^{\kappa} with \dim T+s=k, wherelatticeDisc(S,c,T) is the discriminant (sublatticeDisc) of L_c\cap T,L_c the X_0-part of the lattice of the class c,\tau=tailScale(S),k=|\kappa| and f the number of infinite places (sums in [0,\infty]; each term isENNReal.of the real inverseofReal latticeDisc(S,c,T)^{-(k+1)}, so a discriminant 0 contributes 0, not \infty).Structured proof, 31 steps Proposition 7.1, p. 27 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 21–24 lemma sum_latticeDisc_inv_le [StablyUnram E] [ok : S.IsAdmissible] s : ∑ c, ∑' T : {T : Submodule E _ // finrank E T + s = 𝔰.k}, ENNReal.ofReal (S.latticeDisc c T.1 ^ (𝔰.k + 1))⁻¹ ≤ .ofReal (card S.Classes / S.N ^ (𝔰.k * numInfPlaces E) * S.tailScale ^ (s + 1)) := S.of_size_bounds (bylemma
Filling.lines 93–125argumentHasLevel. norm_shared_vector_lt Lemma (shared vectors are short). Let S be admissible, j\in\{0,\ldots,\varrho+1\},\gamma\in G(E) near and of level j (IsNear(S,\gamma)\wedgeHasLevel(S,j,\gamma)), u\in G(E) with u\in\mathsf{U}^{0}, an index b\in\{0,\ldots,\varrho\} with j\le b, and Y=paddedLeading(j,Z(\gamma)) (the matrix whose rows a<j are those of Z(\gamma)=frameProducts(S,\gamma) and whose other rows are those of the identity). Then for every infinite place v and every a\in\{1,\ldots,\varrho\}: 2\cdot|\Phi_v(((u\gamma)f\cdot\det(Y)\cdot(Y^{-1})_{\cdot,b})_{e_a})|<q_0^{(\varrho+1)^{4}}, i.e. the e_a-coordinate of the vector u\gamma f\cdot(\det Y\cdot column b of Y^{-1}) is small, q_0=levelPrime(S,0).Structured proof, 16 steps Lemma 7.2, p. 28 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 93–95 lemma HasLevel.norm_shared_vector_lt (h : S.IsNear γ ∧ S.HasLevel j γ) {u b Y} (U : u ∈ besselU0) (hb : ↑j ≤ b.1) (H : paddedLeading j (S.frameProducts γ) = Y) v a : 2 * ‖Φ v ((frameImage (u * γ).1.1 *ᵥ Y.det • Y⁻¹ᵀ b) (.inl a))‖ < S.levelPrime 0 ^ 𝔰.n ^ 4 := bylemma
Filling.lines 130–215argumenttsum_invPowWeight_le_of_codim_le Lemma. Let E be stably unramified, S admissible, c a class, j\in\{0,\ldots,\varrho+1\},t an element of the reduced Bessel image \overline{S},s\in\mathbb{N},A a set of pairs p=(c',\gamma)\inClasses(S)\times G(E) withIsLabelledTerm(S,j,c,t,p) for all p\in A (\gamma is the near representative of its \mathsf{U}^{0}-double coset, has level j and lies over (c,s',c') for some s' with \overline{S}-component t), T an E-subspace of X_0 with k\le\dim T+s, and n a function to \mathbb{N} on the finite adelic group such that for every p\in A,frameValueIndex(S,c,\mathtt{termElem}(S,c,p),\mathtt{gIdele}(S),T) divides n(\mathtt{termElem}(S,c,p)) (termElem(S,c,p)=h_c^{-1}\gamma h_c'). Then \Sigma_{p\in A}invPowWeight(S,c,n,p)\le b^{2000(\varrho+1)^{6}(s+1)f}, whereinvPowWeight(S,c,n,p)=n(\mathtt{termElem}(S,c,p))^{-k} (1/0 read as 0).Structured proof, 42 steps Proposition 7.3, p. 29 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 130–134 lemma tsum_invPowWeight_le_of_codim_le [StablyUnram E] {t} s (h : A ⊆ {p | S.IsLabelledTerm j c t p}) T {n : _ → ℕ} (hQ : ∀ p ∈ A, S.frameValueIndex c (S.termElem c p) S.gIdele T ∣ n (S.termElem c p)) (hT : 𝔰.k ≤ finrank E T + s) : ∑' p : A, S.invPowWeight c n p ≤ .ofReal (S.b ^ (2000 * 𝔰.n ^ 6 * (s + 1) * numInfPlaces E)) := S.of_size_bounds fun _ _ _ o ↦ bylemma
Filling.lines 222–226argumentsubmoduleIndex_gIdele_smul Lemma. For \hat{O}_E-submodules N\le M of (\mathbb{A}_{E,f})^{n} with 1\lesubmoduleIndex(N,M) (the index of N in M is finite and nonzero):submoduleIndex(g\cdot M,M)=submoduleIndex(g\cdot N,N),g=gIdele(S); the index ofgMin M equals that ofgNin N.Structured proof, 3 steps Lemma 7.4, p. 31 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 222–223 lemma submoduleIndex_gIdele_smul {n} {M N : Submodule (Ô E) (n → 𝔸f E)} (h : 1 ≤ submoduleIndex N M) (i : N ≤ M) : submoduleIndex (S.gIdele • M) M = submoduleIndex (S.gIdele • N) N :=lemma
Filling.lines 232–297argumentsum_pairWeight_le Lemma. Let E be stably unramified, S admissible and j\in\{0,\ldots,\varrho+1\}. Then \Sigma_c\Sigma_{c'}\Sigma_{\gamma}\Sigma_{\gamma'}pairWeight(S,j,c,c',\gamma,\gamma')\le2\tau^{2},\tau=tailScale(S)=b^{\operatorname{kf}/4}, wherepairWeight(S,j,c,c',\gamma,\gamma') istermWeight(S,j,i,c,(c',\gamma),(c',\gamma'),T^{\circ}) for congruent terms \gamma,\gamma' over (c, \cdot, c') that are both near representatives of level j, with T^{\circ}=commonLink(\gamma,\gamma') and i=k-\dim T^{\circ}, and 0 otherwise (sums over classes and over G(E), in [0,\infty]).Structured proof, 37 steps Proposition 7.5, p. 31 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 232–233 lemma sum_pairWeight_le : ∑ c, ∑ c', ∑' (γ) (γ'), S.pairWeight j c c' γ γ' ≤ .ofReal (2 * S.tailScale ^ 2) := bylemma
Filling.lines 304–363argumentenorm_amplitudeSum_le_classSize_top Lemma. Let E be stably unramified, S admissible, and use the cut Bessel functions. Let T be a stable set of rational points (IsStable(S,T): u^{-1}\gamma u'\in T iff \gamma\in T for rational u,u'\in\mathsf{U}) withtermDisc(S,\gamma)\ne0 for all \gamma\in T. Then for all classes c,c' and s\in\mathsf{G}: \lVert\mathtt{amplitudeSum}(S,T,c,s,c')\rVert\le\Sigma_{\gamma\in T\cap\mathtt{termsOver}(S,c,s,c')}[\mathtt{IsNearRep}(S,c,c',\gamma)]\cdot\nu\cdotclassSize(S,\top,\mathtt{termDiscNorm}(S,\gamma)), the sum over the near terms that are the chosen representatives of their double cosets \mathsf{U}_c^{0}(g)\gamma\mathsf{U}_c'^{0}(g),\nu=unipCovolume(S),\top=\varrho+1.Structured proof, 27 steps Theorem B, p. 2 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 304–306 lemma enorm_amplitudeSum_le_classSize_top (hT : S.IsStable T) (h : ∀ γ ∈ T, S.termDisc γ ≠ 0) c s c' : ‖S.amplitudeSum T c s c'‖ₑ ≤ ∑' γ : ↥(T ∩ S.termsOver c s c'), ite (S.IsNearRep c c' γ) (.ofReal (S.unipCovolume * S.classSize ⊤ (S.termDiscNorm γ))) 0 := bylemma
Filling.lines 368–394argumentenorm_amplitudeSum_le_classSize Lemma. Let E be stably unramified, S admissible, and use the cut Bessel functions. Let T be stable (IsStable(S,T)) and j\in\{0,\ldots,\varrho+1\} withHasLevel(S,j,\gamma) for all \gamma\in T. Then for all classes c,c' and s\in\mathsf{G}: \lVert\mathtt{amplitudeSum}(S,T,c,s,c')\rVert\le\Sigma\nu\cdotclassSize(S,j,\mathtt{classGauge}(S,j,c,c',\gamma)), the sum over the \gamma\in T\captermsOver(S,c,s,c') such thatAgrees(S,s) andIsNearRep(S,c,c',\gamma); in particular the block is 0 unless s agrees (Agrees(S,s): integral u,u'\in\mathsf{U} with \overline{u}s=s\overline{u}' have the same value ofunipotentChar). \nu=unipCovolume(S).Structured proof, 14 steps Theorem B, p. 2 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/BlockBound.lean · lines 368–370 lemma enorm_amplitudeSum_le_classSize (hT : S.IsStable T) {j} (h : ∀ γ ∈ T, S.HasLevel j γ) c s c' : ‖S.amplitudeSum T c s c'‖ₑ ≤ ∑' γ : {γ ∈ T ∩ S.termsOver c s c' | S.Agrees s ∧ S.IsNearRep c c' γ}, .ofReal (S.unipCovolume * S.classSize j (S.classGauge j c c' γ)) := bylemma
Filling.lines 45–55argumentliouville_gram Liouville inequality for Gram determinants. Let E be a stably unramified CM field, \sigma,\tau finite, Q a \tau\times\tau matrix over E that is totally positive definite (\Phi_w(Q) positive definite at every infinite place w;hQ), a,b\tau\times\sigma matrices over E with \det(a^{H}Qb)\ne0 (h), v,v'\in\operatorname{GL}_{\sigma}(\mathbb{A}_f), and x a real number with x\ge0 (hx) such that x\le[\delta] whenever \delta=\det(v^{H}\cdot(a^{H}Qb)\cdot v') is a unit of \mathbb{A}_f (i). Then x^{2}\le[\det v]^{2}\cdot|N(\det a^{H}Qa)|\cdot|N(\det b^{H}Qb)|\cdot[\det v']^{2},N the norm to \mathbb{Q} and [\cdot]=genIndex.Structured proof, 3 steps Lemma 3.7, p. 12 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 45–49 lemma liouville_gram [Fintype σ] [Fintype τ] [StablyUnram E] {Q : Matrix τ τ E} (hQ : ∀ w, (Q.map (Φ w)).PosDef) (a b : Matrix τ σ E) (v v' : GL σ (𝔸f E)) (h : (aᴴ * Q * b).det ≠ 0) {x} (hx : 0 ≤ x) (i : let δ := (vᴴ * (finAdeleMat (aᴴ * Q * b) * v'.1)).det; IsUnit δ → x ≤ genIndex δ) : x ^ 2 ≤ genIndex v.1.det ^ 2 * (|↑(Algebra.norm ℚ (aᴴ * Q * a).det)| * |↑(Algebra.norm ℚ (bᴴ * Q * b).det)| * genIndex v'.1.det ^ 2) := bydef
Filling.lines 59–60argumentlinkMetric For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):linkMetric(S)=Q_1=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N^{-1}\cdot L^{H}L on two copies of X_0\oplus Ez, with T=ratMiddle(S,E) and L=zFormPair(T).The Lean statement
New/Filling/BoxPartition.lean · line 59 def linkMetric := (2⁻¹ : E) • (S.ratMiddle E).fromBlocks 0 0 (S.ratMiddle E) + (S.N :def
Filling.lines 64–65argumentlinkDiscSq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a matrix v over E with rows (\kappa\sqcup\{z\})^{2} and columns \tau' (finite) and e\in\operatorname{GL}_{\tau'}(\mathbb{A}_f):linkDiscSq(S,v,e)=|N(\det v^{H}Q_1v)|\cdot[\det e]^{2},Q_1=linkMetric(S): the squared discriminant of the lattice with adelic basis v\cdot e.The Lean statement
New/Filling/BoxPartition.lean · line 64 def linkDiscSq (e : GL τ' (𝔸f E)) :=lemma
Filling.lines 72–74one-stepframePair_last_eq_zFormPair_mul For R,\mathfrak{s},T (implicit) and k\in U(\mathtt{T.splitGram}): the rows of (framePair(k)){}^{H}\cdot J for the two columns z and kz equalzFormPair(T)\cdotlinkMatrix(k): h(z,t)=T_z\cdot(middle of t) and h(kz,t)=T_z\cdot(middle of k^{-1}t).The Lean statement
New/Filling/BoxPartition.lean · lines 72–74 lemma framePair_last_eq_zFormPair_mul (k : T.G) : ((framePair k).submatrix id (.map (fun _ ↦ 𝔰.top) fun _ ↦ 𝔰.top))ᴴ * T.splitGram = zFormPair T * linkMatrix k := by have := U.form_mul_inv_eq k; simp_all [← ext_iff, Shape.Form.splitGram.eq_1]lemma
Filling.lines 76–78one-stepclassCoord_eq_fromBlocks For filling data S (E,\mathfrak{s} implicit; S an argument of the statement) and a class c:classCoord(S,c) is block diagonal: the identity on the e-block and the e^{*}-block, and on X_0\oplus Ez the matrix with columnsclassCoordX{}_0(S,c) (for X_0) and z.The Lean statement
New/Filling/BoxPartition.lean · lines 76–77 lemma classCoord_eq_fromBlocks {S : Filling E 𝔰} c : S.classCoord c = fromBlocks 1 0 0 (((S.classCoordX₀ c).fromCols (fromRows 0 1)).fromBlocks 0 0 1) := by simp [classCoordX₀,def
Filling.lines 86–88argumentHasIntegralLifts For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a class c,\gamma\in G(S,E) and a matrix m over \mathbb{A}_f with rows (\kappa\sqcup\{z\})^{2} and columns \tau:HasIntegralLifts(S,c,\gamma,m) holds iff there are a finite type \rho, a matrix t over E (rows the basis of V, columns \rho) whose columns are orthogonal to e_1,\ldots,e_{\varrho} and \gamma e_1,\ldots,\gamma e_{\varrho} ((\mathtt{isotropicFramePair}\gamma)^{H}\cdot J\cdot t=0), and w over \mathbb{A}_f (\rho\times\tau) withclassCoord(c)\cdot t\cdot w integral, such that m=linkMatrix(\gamma)\cdot t\cdot w: the columns of m are the link images of vectors of the lattice h_c\Lambda_0 that are adelic combinations of rational vectors orthogonal to X and \gamma X.The Lean statement
New/Filling/BoxPartition.lean · line 86 def HasIntegralLifts (γ : S.G E) m := ∃ ρ, ∃ (_ : Fintype ρ) (t : Matrix 𝔰.BesselIndex ρ E) (w :lemma
Filling.lines 90–96argumentfinrank_link For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E): \operatorname{dim}_{E}\operatorname{link}(\gamma)=k+1 (k=|\kappa|): the link is Lagrangian in a space of dimension 2(k+1).Structured proof, 4 steps Lemma 3.4, p. 12 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · line 90 lemma finrank_link (γ : S.G E) : finrank E (link γ) = 𝔰.k + 1 := bylemma
Filling.lines 98–100argumentgram_classCoordX₀ For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classCoordX{}_0(c)^{H}\cdotlatMiddle(S,\mathbb{A}_f)\cdotclassCoordX{}_0(c)=1.Structured proof, 1 step Lemma 3.3, p. 11 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · line 98 lemma gram_classCoordX₀ : (S.classCoordX₀ c)ᴴ * S.latMiddle (𝔸f E) * S.classCoordX₀ c = 1 := bylemma
Filling.lines 102–104one-stepclassCoord_gram For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a class c and matrices t,t' over E with rows the basis of V: (classCoord(c)\cdot t){}^{H}\cdot J_{\mathrm{lat}}\cdot(\mathtt{classCoord}(c)\cdot t')=t^{H}\cdotratGram(S)\cdot t' (mapped to \mathbb{A}_f).The Lean statement
New/Filling/BoxPartition.lean · lines 102–103 lemma classCoord_gram : (S.classCoord c * finAdeleMat t)ᴴ * (S.latMiddle (𝔸f E)).splitGram * (S.classCoord c * finAdeleMat t') = finAdeleMat (tᴴ * S.ratGram * t') := bylemma
Filling.lines 106–108argumentlinkMetric_posDef For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place w: \Phi_w(\mathtt{linkMetric}(S)) is positive definite.Structured proof, 1 step Lemma 3.5, p. 12 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · line 106 lemma linkMetric_posDef w : (S.linkMetric.map (Φ w)).PosDef :=lemma
Filling.lines 110–113one-stepgram_linkForm_eq_zero_of_le_link For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E), finite \sigma,\tau, matrices v (columns \tau) and u (columns \sigma) over E with rows (\kappa\sqcup\{z\})^{2} (v,\gamma implicit): if the columns of v and of u lie in \operatorname{link}(\gamma) (h,h'), then v^{H}\cdotlinkForm\cdot u=0.The Lean statement
New/Filling/BoxPartition.lean · lines 110–112 lemma gram_linkForm_eq_zero_of_le_link [Fintype σ] [Fintype τ] {u : Matrix _ σ E} (h : colSpan v ≤ link γ) (h' : colSpan u ≤ link γ) : vᴴ * S.linkForm * u = 0 := bylemma
Filling.lines 115–118argumentdet_gram_linkMetric_ne_zero For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a finite \tau and a matrix v over E with rows (\kappa\sqcup\{z\})^{2} and columns \tau (implicit): if v has a left inverse (the premise), then \det(v^{H}\cdot Q_1\cdot v)\ne0,Q_1=linkMetric(S).Structured proof, 2 steps Lemma 3.5, p. 12 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · line 115 lemma det_gram_linkMetric_ne_zero [Fintype τ] : HasLeftInv v → (vᴴ * S.linkMetric * v).det ≠ 0lemma
Filling.lines 121–123one-stepcard_eq_finrank_colSpan For a field E, finite \sigma,\tau and a \sigma\times\tau matrix v over E (implicit): if v has a left inverse (h), then |\tau|=\dimcolSpan(v).The Lean statement
New/Filling/BoxPartition.lean · lines 121–123 lemma card_eq_finrank_colSpan [Fintype σ] [Fintype τ] {v : Matrix σ τ E} (h : HasLeftInv v) : card τ = finrank E (colSpan v) := by simp [v.mulVecLin.finrank_range_of_inj h.mulVec_injective]lemma
Filling.lines 125–134argumentgram_linkMatrix_mul For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma,\gamma'\in G(S,E), finite \sigma,\tau and matrices t (columns \sigma), t' (columns \tau) over E with rows the basis of V (implicit), if the columns of t are orthogonal to X+\gamma X (h) and those of t' to X+\gamma'X (h'), then for a,c\in E: (linkMatrix(\gamma)t){}^{H}\cdot\operatorname{diag}(\mathtt{aT},-\mathtt{cT})\cdot(\mathtt{linkMatrix}(\gamma')t')=a\cdot(t^{H}Jt')-c\cdot(t^{H}J(\gamma\gamma'^{-1})t'),J=ratGram(S).Structured proof, 3 steps Lemma 3.6, p. 12 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 125–129 lemma gram_linkMatrix_mul {t : Matrix 𝔰.BesselIndex σ E} {t' : Matrix 𝔰.BesselIndex τ E} (h : (isotropicFramePair γ)ᴴ * S.ratGram * t = 0) (h' : (isotropicFramePair γ')ᴴ * S.ratGram * t' = 0) (a c : E) : (linkMatrix γ * t)ᴴ * (a • S.ratMiddle E).fromBlocks 0 0 (-c • S.ratMiddle E) * (linkMatrix γ' * t') = a • (tᴴ * S.ratGram * t') - c • (tᴴ * S.ratGram * ((γ * γ'⁻¹).1.1 * t')) := bylemma
Filling.lines 136–138one-stepclassCoord_mul_framePair For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E), classes c,c' (implicit):classCoord(c)\cdotframePair(\gamma)=framePair(\mathtt{termPosition}(c,c',\gamma)) (over \mathbb{A}_f).The Lean statement
New/Filling/BoxPartition.lean · lines 136–137 lemma classCoord_mul_framePair {c} : S.classCoord c * finAdeleMat (framePair γ) = framePair (S.termPosition c c' γ) := bylemma
Filling.lines 142–143one-stepclassCoord_mul_isotropicFramePair For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c' and \gamma\in G(S,E) (implicit):classCoord(c)\cdotisotropicFramePair(\gamma)=isotropicFramePair(\mathtt{termPosition}(c,c',\gamma)).The Lean statement
New/Filling/BoxPartition.lean · lines 142–143 lemma classCoord_mul_isotropicFramePair : S.classCoord c * finAdeleMat (isotropicFramePair γ) = isotropicFramePair (S.termPosition c c' γ) := congr(submatrix $classCoord_mul_framePair id _)lemma
Filling.lines 145–146one-stepisIntMatrix_framePair For R,\mathfrak{s},T (implicit), k\in U(\mathtt{T.splitGram}) and a subring O (implicit): if the matrix of k is integral over O (the premise), so isframePair(k).The Lean statement
New/Filling/BoxPartition.lean · line 145 lemma isIntMatrix_framePair {k : T.G} {O} : IsIntMatrix O k.1.1 → IsIntMatrix O (framePair k) :=lemma
Filling.lines 158–212argumentle_genIndex_det_of_fixesNormAtLeast Agreeing characters force shared vectors up the flag. Let S' be filling data over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), k\in K=latStabilizer(S') whose reduction \overline{s} agrees (Agrees(S',\overline{s}); s), x a number, t an integral matrix (rows the basis of V, columns \tau',ht) and P= (framePairk){}^{H}\cdot t (i) its matrix of pairings with f and kf, whose rows for e_a and k e_a vanish (z: the forms vanish on X andkX), \rho:\tau'\simeq\{1,2\}, and \delta the determinant of the 2\times2 submatrix of P at the rows z,kz. If \delta is a unit of \mathbb{A}_f andFixesNormAtLeast(S',\overline{s},x), then x\le[\delta]=genIndex(\delta).Structured proof, 20 steps Theorem A, p. 2 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 158–163 lemma le_genIndex_det_of_fixesNormAtLeast [StablyUnram E] {k x} (s : S'.Agrees (S'.reduction k)) {t : Matrix 𝔰.BesselIndex τ' _} {P} (ht : IsIntMatrix (Ô E) t) (i : (framePair k.1)ᴴ * t = P) (z : P.submatrix (.map castSucc castSucc) id = 0) (ρ : τ' ≃ Unit ⊕ Unit) : let g := .map (fun _ ↦ 𝔰.top) (fun _ ↦ 𝔰.top) ∘ ρ IsUnit (P.submatrix g id).det → S'.FixesNormAtLeast (S'.reduction k) x → x ≤ genIndex (P.submatrix g id).detlemma
Filling.lines 227–250argumentexists_mem_classUnip Let S be filling data over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), c a class, m a finite type (implicit), p:m\to\{0,\ldots,\varrho-1\},x the matrix with columns e_{p(b)} (e), u a matrix over E with rows the basis of V and columns m whose e_a^{*}-entries vanish for a\le\max p (h_0) and withclassCoord(c)\cdot u integral (hu), and s an m\times m matrix over E with s^{H}=-s (h) and integral (hs). Then there is \gamma\in\mathsf{U}_c(g) and \tau\in E with \gamma=1+g\cdot(x\cdot u^{H}J-(u+x(\tau\cdot u^{H}Ju-s))\cdot x^{H}J) (J=\mathtt{ratGram}), and \gamma\in\mathsf{U}_c^{0}(g) if moreover the columns of u are orthogonal to the frame. (The census also lists the section variable \tau of the file; the statement binds its own \tau.)Structured proof, 8 steps Lemma 5.1, p. 15 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 227–232 lemma exists_mem_classUnip c {m} [Fintype m] (p : m → _) (u : Matrix 𝔰.BesselIndex m E) s {x} (h₀ : ∀ a b b', a ≤ p b' → u (eStar a) b = 0) (h : sᴴ = -s) (hu : IsIntMatrix (Ô E) (S.classCoord c * finAdeleMat u)) (hs : IsIntMatrix (Ô E) (finAdeleMat s)) (e : inclMatrix E (.inl <| p · : _ → 𝔰.BesselIndex) = x) : ∃ γ ∈ S.classUnip c, ((∀ b a, (uᴴ * S.ratGram) b (𝔰.besselFrame a) = 0) → γ ∈ S.classUnip₀ c) ∧ ∃ τ : E, γ.1.1 = 1 + (S.g : E) • (x * (uᴴ * S.ratGram) - (u + x * (τ • (uᴴ * S.ratGram * u) - s)) * (xᴴ * S.ratGram)) := bylemma
Filling.lines 252–263argumentexists_eichler_classUnip Let S be filling data over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), c a class, a<\varrho,l a row vector over E (implicit) supported on the free entries of row a (l_j=0 unlessIsFreeEntry(a,j); h) with l\cdotclassBasis(c) integral (k), and s an integral skew element of \mathcal{O}_E (\overline{s}=-s). Then there is \gamma\in\mathsf{U}_c(g) whose rows e_b (b<\varrho) are, at every column j with j\ne e_a^{*} or l=0: \gamma(e_b,j)=\delta(e_b,j)+g\cdot[b=a]\cdot(l_j+[j=e_a^{*}]\cdot s).Structured proof, 3 steps Lemma 5.2, p. 16 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 252–255 lemma exists_eichler_classUnip c a {l} (h : ∀ j, ¬IsFreeEntry (a, j) → l j = 0) (k : algebraMap .. ∘ l ᵥ* (classBasis c).1 ∈ intVectors (Ô E) _) (s : skewAdjoint (𝓞 E)) : ∃ γ : S.classUnip c, ∀ b j, j ≠ eStar a ∨ l = 0 → γ.1.1 (.inl b) j = ite (.inl b = j) 1 0 + S.g * ite (b = a) (l j + ite (j = eStar a) s.1.val 0) 0 := bylemma
Filling.lines 270–274argumenttsum_le_of_encard_range_le Colouring. For a type \alpha, a type \beta, a set A\subseteq\alpha, a relation R on \alpha,N,x\in[0,\infty] and weights w:\alpha\to[0,\infty] (all implicit), and a colouring \varphi:A\to\beta with at most N colours (h) such that elements of one colour are R-related (r): if every subset B\subseteq A, nonempty, of pairwise R-related elements has \sum_{a\in B}w(a)\le x (H), then \sum_{a\in A}w(a)\le N\cdot x.Structured proof, 2 steps Lemma 6.1, p. 16 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 270–272 lemma tsum_le_of_encard_range_le {β} {A : Set α} {R : α → α → Prop} {N x : ℝ≥0∞} {w : α → ℝ≥0∞} (φ : A → β) (h : encard (range φ) ≤ N) (r : ∀ a b, φ a = φ b → R a b) (H : ∀ᵉ (B ⊆ A) (_ ∈ B), (∀ a ∈ B, ∀ b ∈ B, R a b) → ∑' a : B, w a ≤ x) : ∑' a : A, w a ≤ N * x := bylemma
Filling.lines 276–282argumenttsum_le_of_colouring For a type \alpha, a finite type \iota, a set A\subseteq\alpha (implicit), an additive group \beta,f:\alpha\to\beta^{\iota}, subgroups K,K' of \beta (implicit) with [K':K\cap K']=relIndex(K,K')\ne0 (k), f(a)_i\in K' for a\in A and all i (h), weights w and x\in[0,\infty]: if every nonempty B\subseteq A whose elements have f(a)_i-f(b)_i\in K for all a,b\in B and i has \sum_B w\le x (the premise), then \sum_A w\lerelIndex(K,K')^{|\iota|}\cdot x.Structured proof, 3 steps Lemma 6.2, p. 16 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 276–278 lemma tsum_le_of_colouring {β} [AddCommGroup β] (f : α → ι → β) {K K'} (k : relIndex K K' ≠ 0) (h : ∀ᵉ (a ∈ A) (i), f a i ∈ K') (w : α → ℝ≥0∞) x : (∀ᵉ (B ⊆ A) (_ ∈ B), (∀ᵉ (a ∈ B) (b ∈ B) (i), f a i - f b i ∈ K) → ∑' a : B, w a ≤ x) → ∑' a : A, w a ≤ .ofReal (K.relIndex K' ^ card ι) * x := bylemma
Filling.lines 287–292argumentencard_integral_le For a number field E' with chosen complex embeddings (PlaceEmbedding E'), a type \alpha, a finite type \iota, a set A\subseteq\alpha,r with 0\le r (o) and f:\alpha\to E'^{\iota} such that for a\in A all f(a)_i are algebraic integers with |\Phi_v(f(a)_i)|\le r at every infinite place v (h), and f injective on A (j): \#A\le(1+2r)^{2\cdot|\iota|\cdot m},m the number of infinite places of E'.Structured proof, 1 step Lemma 6.3, p. 16 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums Input 3, p. 5 of A crude bound for a class number, and divisibility of indices of submodules
The Lean statement
New/Filling/BoxPartition.lean · lines 287–289 lemma encard_integral_le [PlaceEmbedding E'] {r} (f : α → ι → E') (o : 0 ≤ r) (h : ∀ᵉ (a ∈ A) (i), IsIntegral ℤ (f a i) ∧ ∀ v, ‖Φ v (f a i)‖ ≤ r) (j : InjOn f A) : A.encard ≤ ENNReal.ofReal ((1 + 2 * r) ^ (card ι * numInfPlaces E' * 2)) := bylemma
Filling.lines 296–298one-stepsubmoduleIndex_smul_intVectors For a stably unramified CM field E', a finite type \iota and an integral finite idele c (implicit;hc: c\in\hat{O}): [\hat{O}^{\iota}:c\cdot\hat{O}^{\iota}]=[c]^{|\iota|}.The Lean statement
New/Filling/BoxPartition.lean · lines 296–297 lemma submoduleIndex_smul_intVectors (hc : ↑c ∈ Ô E') : submoduleIndex (c • intVectors (Ô E') ι) (intVectors ..) = genIndex c.1 ^ card ι := by simpa [colLattice,lemma
Filling.lines 300–302one-stepsubmoduleIndex_smul_ne_zero For E',\iota,c as above with c\in\hat{O} (hc): the index of c\cdot\hat{O}^{\iota} in \hat{O}^{\iota} is nonzero.The Lean statement
New/Filling/BoxPartition.lean · lines 300–301 lemma submoduleIndex_smul_ne_zero (hc : ↑c ∈ Ô E') : submoduleIndex (c • intVectors (Ô E') ι) (intVectors ..) ≠ 0 := mod_castabbrev
Filling.line 305aliasIndexBelow For a shape \mathfrak{s} (implicit) and a level j\in\{0,\ldots,\varrho+1\}:IndexBelow(j) is the set of indices a\in\{0,\ldots,\varrho-1\} with a<j.The Lean statement
New/Filling/BoxPartition.lean · line 305 abbrev IndexBelow := {a : Fin 𝔰.ϱ // a.1 < j}abbrev
Filling.lines 313–314aliasxRows For a shape \mathfrak{s}, a type R (both implicit) and a matrix Z over R with \varrho+1 columns:xRows(Z) is the submatrix of the first \varrho rows of Z, all columns; for Z=Z(\gamma) the products of \gamma f with the basis of X.The Lean statement
New/Filling/BoxPartition.lean · line 313 abbrev xRows {𝔰 : Shape} {R : Type*} (Z : Matrix _ (Fin (𝔰.ϱ + 1)) R) :=def
Filling.line 318argumentpaddedLeading For a commutative ring R, a shape \mathfrak{s} (implicit), a level j and a (\varrho+1)-square matrix Z over R:paddedLeading(j,Z) is the square matrix whose rows a<j are those of Z and whose other rows are those of the identity matrix.The Lean statement
New/Filling/BoxPartition.lean · line 318 def paddedLeading := of fun a b ↦ ite (a.1 < ↑j) (Z a b) (ite (a = b) 1 0)lemma
Filling.lines 320–323argumentdet_paddedLeading For a commutative ring R,\mathfrak{s}, a level j and a matrix Z (implicit): detpaddedLeading(j,Z)=D_j(Z), the leading principal minor of order j.Structured proof, 2 steps Lemma 6.6, p. 17 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · line 320 @[simp] lemma det_paddedLeading {j Z} : (@paddedLeading 𝔰 R j Z _).det = leadingMinor Z j := byabbrev
Filling.line 327aliasframeMiddle For a commutative ring R,\mathfrak{s} (implicit) and a square matrix \gamma on V:frameMiddle(\gamma) is the submatrix of rows in the block X_0\oplus Ez and columns at the frame: the middle coordinates of \gamma f.The Lean statement
New/Filling/BoxPartition.lean · line 327 abbrev frameMiddle γ := (@frameImage R 𝔰 γ).toRows₂.toRows₁def
Filling.line 331argumentlatticeDisc For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit) and a class c:latticeDisc(S,c) is the function V\mapstosublatticeDiscof L_c\cap V for subspaces V of X_0,L_c the part in X_0 of the lattice of c (sublatticeDiscfor the pairclassCoordX{}_0(c)^{H}\cdotlatMiddle,classCoordX{}_0(c), whose product is 1 bygram_classCoordX{}_0).The Lean statement
New/Filling/BoxPartition.lean · line 331 def latticeDisc := sublatticeDisc (S.gram_classCoordX₀ c)def
Filling.lines 335–337argumentframeValueIndex For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a class c,k\inGFin(S), a finite idele a and a subspace V of X_0:frameValueIndex(S,c,k,a,V)=[M:M\cap a\cdot M'] (0 if infinite), where M is the \hat{O}-span of the vectors (h(\operatorname{kf}_{l},y))_l for y in the lattice h_c^{-1}(V\otimes\mathbb{A}_f)\cap\ldots (y=classCoordX{}_0(c)\cdot(\mathtt{sublatticeBasis} of V)\cdot(integral vectors)) and M' is the \hat{O}-span of the columns ofxRows(Z_{\mathrm{lat}}(k))^{H}, i.e. of the (h(\operatorname{kf}_{l},e_i))_l.The Lean statement
New/Filling/BoxPartition.lean · line 335 def frameValueIndex (a : (𝔸f E)ˣ) V := submoduleIndex (a • colLattice _def
Filling.lines 341–342argumentxRowsIndex For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a level j and k\inGFin(S):xRowsIndex(S,j,k) is the index of the \hat{O}-span of the conjugated first \min(j,\varrho) rows of Z_{\mathrm{lat}}(k) in the \hat{O}-span of the conjugated first \varrho rows (0 if infinite).The Lean statement
New/Filling/BoxPartition.lean · line 341 def xRowsIndex := submoduleIndex (colLattice (Ô E) (((S.latMiddle _).frameGram k).submatrixdef
Filling.lines 348–349argumentsaturationIndex For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit) and k\inGFin(S):saturationIndex(S,k)=\mathfrak{d} is the index of the \hat{O}-span of the e_a and ke_{a} (the columns ofisotropicFramePair(k)) in \Lambda_0\cap(X+\mathtt{kX}),\Lambda_0=\hat{O}^{\mathrm{basis}} (all adelic; 0 if infinite).The Lean statement
New/Filling/BoxPartition.lean · line 348 def saturationIndex := submoduleIndex (colLattice (Ô E) (isotropicFramePair k))def
Filling.lines 353–354argumentpairInvariant For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), classes c,c' and \gamma,\gamma'\in G(S,E):pairInvariant(S,c,c',\gamma,\gamma')=\operatorname{disc}(L_c\cap T^{\circ})\cdot o\cdot\mathfrak{d} with T^{\circ}=commonLink(\gamma,\gamma'),k=termPosition(c,c',\gamma),o=frameValueIndex(S,c,k,1,T^{\circ}) and \mathfrak{d}=saturationIndex(S,k).The Lean statement
New/Filling/BoxPartition.lean · line 353 def pairInvariant c c' γ γ' := S.latticeDisc c (commonLink γ γ') * S.frameValueIndex cabbrev
Filling.line 357aliastermElem For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a class c and a pair p=(c',\gamma):termElem(S,c,p)=termPosition(S,c,c',\gamma)=h_c^{-1}\gamma h_{c'}.The Lean statement
New/Filling/BoxPartition.lean · line 357 abbrev termElem (p : S.Classes × S.G E) := S.termPosition c p.1 p.2def
Filling.lines 361–362argumentminorNorm For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a level j and \gamma_1\in G(S,E):minorNorm(S,j,\gamma_1)=|N_{E/\mathbb{Q}}(D_j(Z(\gamma_1)))|/N^{2(j-\varrho)f} (natural subtraction: the divisor is N^{2f} when j=\varrho+1 and 1 otherwise).The Lean statement
New/Filling/BoxPartition.lean · line 361 def minorNorm := |(Algebra.norm ℚ (leadingMinor (S.frameProducts γ₁) j) : ℝ)| / S.N ^def
Filling.lines 366–367argumentclassGauge For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a level j, classes c,c' and \gamma\in G(S,E):classGauge(S,j,c,c',\gamma)=\mathsf{g}^{*}=\max(\prod_v|\mathsf{g}(\gamma)|_v, N^{f}\cdotminorNorm(S,j,\gamma))/(i(k)\cdot i(k^{-1})),k=termPosition(c,c',\gamma) and i=xRowsIndex(S,j,\cdot).The Lean statement
New/Filling/BoxPartition.lean · line 366 def classGauge := (S.termDiscNorm γ ⊔ S.N ^ numInfPlaces E * S.minorNorm j γ) /def
Filling.line 371argumentIsNearRep For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), classes c,c' and \gamma\in G(S,E):IsNearRep(S,c,c',\gamma) holds iff \gamma is near and \gamma is the chosen representative of its double coset \mathsf{U}_c^{0}(g)\cdot\gamma\cdot\mathsf{U}_{c'}^{0}(g).The Lean statement
New/Filling/BoxPartition.lean · line 371 def IsNearRep := S.IsNear γ ∧ (DoubleCoset.mk (S.classUnip₀ c) (S.classUnip₀ c') γ).out = γdef
Filling.line 375argumentinvPowWeight For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a class c, a function n :GFin(S)\to\mathbb{N} and a pair p=(c',\gamma):invPowWeight(S,c,n,p)=n(\mathtt{termElem}(c,p))^{-k}\in[0,\infty],k=|\kappa|, with the inverse of 0 read as 0.The Lean statement
New/Filling/BoxPartition.lean · line 375 def invPowWeight (n : _ → ℕ) p := ENNReal.ofReal (n (S.termElem c p) ^ 𝔰.k)⁻¹def
Filling.lines 380–383argumenttermWeight For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a level j, a natural number i, a class c, pairs p,p' and a subspace V of X_0:termWeight(S,j,i,c,p,p',V)=M_i^{-1}\cdot\operatorname{disc}(L_c\cap V)^{-(k+1)}\cdot([\hat{O}:g\hat{O}]^{\min(j,\varrho)}\cdot o)^{-k}\cdot\mathfrak{d}^{-k}\in[0,\infty], each inverse taken in \mathbb{R} and then mapped into [0,\infty] (so the inverse of 0 is read as 0, not \infty), with M_i=countWeight(S,i),[\hat{O}:g\hat{O}]^{\min(j,\varrho)} the index of g\cdot\hat{O}^{\mathtt{IndexBelow}(j)},o=frameValueIndex(c, \cdot, 1,V) at the term of p and \mathfrak{d}=saturationIndexat the term of p' (viainvPowWeight).The Lean statement
New/Filling/BoxPartition.lean · line 380 def termWeight i c (p p' : S.Classes × S.G E) V :=def
Filling.lines 387–389argumentpairWeight For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a level j, classes c,c' and \gamma,\gamma'\in G(S,E):pairWeight(S,j,c,c',\gamma,\gamma')=termWeight(S,j,k-\dim T^{\circ},c,(c',\gamma),(c',\gamma'),T^{\circ}) with T^{\circ}=commonLink(\gamma,\gamma'), if \gamma,\gamma' are congruent terms and both are kept near representatives (IsNearRep) of level j; otherwise 0.The Lean statement
New/Filling/BoxPartition.lean · line 387 def pairWeight c c' γ γ' := ite (S.CongruentTerms c c' γ γ' ∧def
Filling.lines 393–395argumentIsLabelledTerm For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a level j, a class c,t\in\overline{S}=reducedImage(S,\mathsf{S}) and a pair p=(c',\gamma):IsLabelledTerm(S,j,c,t,p) holds iff \gamma is a near representative for (c,c') of level j and \gamma lies over (c,s,c') for some s\in\mathsf{G} whose \overline{S}-component, in the fixed decomposition \mathsf{G}\simeq\mathsf{G}/\overline{S}\times\overline{S}, is t.The Lean statement
New/Filling/BoxPartition.lean · line 393 def IsLabelledTerm (t : S.reducedImage besselS) (p : S.Classes × S.G E) :=lemma
Filling.lines 401–402one-stepHasLevel. minorNorm_pos For filling data S_1 (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a level j' and \gamma_2\in G(S_1,E) (implicit): ifHasLevel(S_1,j',\gamma_2) (h), thenminorNorm(S_1,j',\gamma_2)>0.The Lean statement
New/Filling/BoxPartition.lean · line 401 lemma HasLevel.minorNorm_pos (h : S₁.HasLevel j' γ₂) : 0 < S₁.minorNorm j' γ₂ := by simp [minorNorm,lemma
Filling.lines 404–405one-stepHasLevel. inv For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a level j and \gamma (implicit): ifHasLevel(S,j,\gamma) (h), thenHasLevel(S,j,\gamma^{-1}).The Lean statement
New/Filling/BoxPartition.lean · lines 404–405 lemma HasLevel.inv {S : Filling E 𝔰} {j : Fin (𝔰.ϱ + 2)} {γ} (h : S.HasLevel j γ) : S.HasLevel j γ⁻¹ := h.imp .inv (by simp [leadingMinor, frameDisc, ← conjTranspose_submatrix, mul_comm])lemma
Filling.lines 407–408one-stepHasLevel. paddedLeading_mul_inv For S_1,j',\gamma_2 (implicit) withHasLevel(S_1,j',\gamma_2) (h):paddedLeading(j',Z(\gamma_2))\cdotpaddedLeading(j',Z(\gamma_2))^{-1}=1 (its determinant D_{j'} is nonzero).The Lean statement
New/Filling/BoxPartition.lean · lines 407–408 lemma HasLevel.paddedLeading_mul_inv (h : S₁.HasLevel j' γ₂) : paddedLeading j' (S₁.frameProducts γ₂) * (paddedLeading j' (S₁.frameProducts γ₂))⁻¹ = 1 := by simp [h.2]lemma
Filling.lines 413–418argumentHasLevel. exists_shared_frame_vector Shared vectors. For S_1,j',\gamma_2 (implicit) withHasLevel(S_1,j',\gamma_2) (h) and a frame index b\ge j' (implicit; h_0): the combination of the frame \gamma_2f given by column b ofpaddedLeading(j',Z(\gamma_2))^{-1} lies in the span of the frame f: f\cdot w=(\gamma_2f)\cdot(column b of the inverse) for some w.Structured proof, 2 steps Lemma 6.10, p. 19 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 413–414 lemma HasLevel.exists_shared_frame_vector (h : S₁.HasLevel j' γ₂) {b} (h₀ : ↑j' ≤ b.1) : ∃ w, frameImage 1 *ᵥ w = frameImage γ₂.1.1 *ᵥ col (paddedLeading j' (S₁.frameProducts γ₂))⁻¹ b :=lemma
Filling.lines 425–429one-stepxRows_conjTranspose_mul_eq For a commutative ring R with involution, a type \sigma, a shape \mathfrak{s}, a Gram matrix T,k\in U(\mathtt{T.splitGram}) and n over R with rows the basis of V and columns \sigma (all implicit): if the columns of n are orthogonal to X +kXand their link images are orthogonal to z\oplus z (zFormPair(T)\cdotlinkMatrix(k)\cdot n=0), thenxRows(Z(k))^{H}\cdot(-(e-part of n))=frameMiddle(k)^{H}\cdot T\cdot(middle part of n).The Lean statement
New/Filling/BoxPartition.lean · lines 425–428 lemma xRows_conjTranspose_mul_eq {R σ} [CommRing R] [StarRing R] {𝔰 : Shape} {T : 𝔰.Form R} {k : T.G} {n : Matrix 𝔰.BesselIndex σ R} : (isotropicFramePair k)ᴴ * T.splitGram * n = 0 → zFormPair T * linkMatrix k * n = 0 → (xRows (T.frameGram k))ᴴ * -n.toRows₁ = (frameMiddle k.1.1)ᴴ * T * n.toRows₂.toRows₁ := by simp +contextual [← framePair_last_eq_zFormPair_mul,lemma
Filling.lines 443–447one-stepframeVector_sub_eq_sum For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma,\gamma'\in G(S,E) (implicit) whose frame images agree outside the e-rows (h), an archimedean point y, an infinite place v and a frame index b:frameVector(\mathtt{ratToInf}(\gamma)_v^{-1}y,b)-frameVector(\mathtt{ratToInf}(\gamma')_v^{-1}y,b)=\sum_{a<\varrho}\Phi_v((\gamma-\gamma')(e_a,f_b))\cdot(\mathtt{basisScale}(f_b)/\mathtt{basisScale}(e_a))\cdotframeVector(y,a).The Lean statement
New/Filling/BoxPartition.lean · lines 443–447 lemma frameVector_sub_eq_sum (h : (frameImage γ.1.1).toRows₂ = toRows₂ (frameImage γ')) y v b : frameVector ((S.ratToInf γ v)⁻¹ * y) b - frameVector ((S.ratToInf γ' v)⁻¹ * y) b = ∑ a, (Φ v ((γ.1.1 - γ') (.inl a) (𝔰.besselFrame b)) * (S.basisScale v (𝔰.besselFrame b) / S.basisScale v (𝔰.besselFrame a.castSucc))) • frameVector y a.castSucc := by ext; simp_all [frameVector, sub_mul]; grindlemma
Filling.lines 453–505argumentisBoxPartition_epsilon Under the standing hypotheses (IsAdmissibleS), for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit) and a class c: the function chosen by Hilbert's \varepsilon among those withIsBoxPartition(S,c,\cdot) has the property:IsBoxPartition(S,c,\varepsilon(\mathtt{IsBoxPartition}(S,c))) — that is, a box partition for c exists.Structured proof, 29 steps Proposition 7.2, p. 20 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 453–454 lemma isBoxPartition_epsilon : S.IsBoxPartition c (epsilon (S.IsBoxPartition c)) := have := S.thousand_le_blemma
Filling.lines 507–508one-steptsum_classCutoff_eq_one Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a class c and an archimedean point y: \sum_{u\in\mathsf{U}_c(g)}\beta_c(\mathtt{ratToInf}(u)\cdot y)=1.The Lean statement
New/Filling/BoxPartition.lean · line 507 lemma tsum_classCutoff_eq_one : ∑' u : S.classUnip c, S.classCutoff c (S.ratToInf u * y) = 1 := bylemma
Filling.lines 513–556argumenttsum_classCutoff_box_le Frame count. Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a class c,s\in\mathsf{G}, an index type \alpha, archimedean points y,y',x\in[0,\infty] and maps k (classes), \gamma,\delta (rational points), w (weights in [0,\infty]) on \alpha (all implicit): if p\mapsto(k_p,\delta_p) is injective (hi), if for every p with w_p\ne0: \gamma_p\intermsOver(c,s,k_p),\delta_p^{-1}\gamma_p\in\mathsf{U}_{k_p}(g),\gamma_p^{-1}y\inboxedPointsand w_p\le\beta_{k_p}(\delta_p^{-1}y')\cdot x (H), and if V is a real subspace (implicit) containing the differences F_p-F_q of the moved frames F_p= (frameVector(\mathtt{ratToInf}(\gamma_p)_v^{-1}y_v)){}_v for p,q in the support (hV), then \sum_p w_p\le b^{6n^{2}\cdot\dim V}\cdot x.Structured proof, 15 steps Theorem B, p. 3 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 513–518 lemma tsum_classCutoff_box_le {c s α y y' x} {k γ δ w : α → _} (hi : ∀ {p q}, k p = k q → δ p = δ q → p = q) (H : ∀ p ∈ w.support, γ p ∈ S.termsOver c s (k p) ∧ (δ p)⁻¹ * γ p ∈ S.classUnip (k p) ∧ (S.ratToInf (γ p))⁻¹ * y ∈ S.boxedPoints ∧ w p ≤ S.classCutoff (k p) ((S.ratToInf (δ p))⁻¹ * y') * x) {V : Submodule ℝ _} (hV : let F p v := frameVector ((S.ratToInf (γ p) v)⁻¹ * y v); ∀ᵉ (p ∈ w.support) (q ∈ w.support), F p - F q ∈ V) : ∑' p, w p ≤ .ofReal (S.b ^ (6 * 𝔰.n ^ 2 * finrank ℝ V)) * x := S.of_size_bounds fun _ _ _ o ↦ bylemma
Filling.lines 558–561argumentexists_classUnip_mul_mem_boxedPoints Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a class c and an archimedean point y (implicit) withInCut(y_v,b) at every v (h): some u\in\mathsf{U}_c(g) hasratToInf(u)\cdot y\inboxedPoints(S).Structured proof, 1 step Lemma 7.3, p. 21 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/BoxPartition.lean · lines 558–559 lemma exists_classUnip_mul_mem_boxedPoints {y} (h : ∀ v, InCut (y v) S.b) : ∃ u ∈ S.classUnip c, S.ratToInf u * y ∈ S.boxedPoints := (ENNReal.summable.tsum_ne_zero_iff.1 (tsum_classCutoff_eq_onelemma
Filling.lines 563–564one-stepmeasurable_classCutoff Under the standing hypotheses, for filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit) and a class c: \beta_c=classCutoff(S,c) is measurable.The Lean statement
New/Filling/BoxPartition.lean · line 563 @[fun_prop] lemma measurable_classCutoff : Measurable (S.classCutoff c) :=lemma
Filling.lines 19–21automationFits. mem_unipotent_iff Lemma. For h :Fits(S,V,l, kw, Y,\eta) and g\in G(\varepsilon): g lies in the unipotent subgroup of the grading Y iffadelicEquiv(h)(g)\in\mathsf{U} (the Bessel unipotent group of S), and g lies in the Bessel group of Y iffadelicEquiv(h)(g)\in\mathsf{S} (the Bessel subgroup of S).The Lean statement
New/Filling/ColumnCoords.lean · lines 19–20 lemma mem_unipotent_iff {g} : (g ∈ Y.unipotent ↔ h.adelicEquiv g ∈ besselU) ∧ (g ∈ Y.besselGroup ↔ h.adelicEquiv g ∈ besselS) := by constructor <;> apply forall₂_congr <;> simp! [h.index_eq,lemma
Filling.lines 23–25automationFits. adelicToFin_adelicEquiv_inclX Lemma. For h :Fits(S,V,l, kw, Y,\eta) and a in the adelic unitary group of X_0 (a=(a_{\infty},a_f)):adelicToFin(S)(\mathtt{adelicEquiv}(h)(\mathtt{Y.inclX}(a)))=inclHFin(S)(a_f): the finite part of the embedded X_0-element, in the lattice basis, is the embedding of a_f.The Lean statement
New/Filling/ColumnCoords.lean · lines 23–24 lemma adelicToFin_adelicEquiv_inclX a : S.adelicToFin (h.adelicEquiv (Y.inclX a)) = S.inclHFin a.2 := bylemma
Filling.lines 27–28one-stepFits. finiteEquiv_inclX Lemma. For h :Fits(S,V,l, kw, Y,\eta) and a in the adelic unitary group of X_0:finiteEquiv(h)((\mathtt{Y.inclX}(a))_f)=inclHFin(S)(a_f) (\eta is central, so the conjugation by \iota(\eta) disappears).The Lean statement
New/Filling/ColumnCoords.lean · line 27 lemma finiteEquiv_inclX a : h.finiteEquiv (Y.inclX a).2 = S.inclHFin a.2 := bylemma
Filling.lines 30–34computationFits. adelicToInf_inclX Lemma. For h :Fits(S,V,l, kw, Y,\eta) and a in the adelic unitary group of X_0:adelicToInf(S)(\mathtt{adelicEquiv}(h)(\mathtt{Y.inclX}(a)))= (toBesselH(\mathfrak{s},1)(a_{\infty,v})){}_v: at each infinite place the image acts on X_0 by a_v and fixes the other basis vectors.The Lean statement
New/Filling/ColumnCoords.lean · lines 30–31 lemma adelicToInf_inclX a : S.adelicToInf (h.adelicEquiv (Y.inclX a)) = (toBesselH 𝔰 1 ⟨a.1 ·, @signMatrix_one .. ▸ (a.1 _).2⟩) := bydef
Filling.lines 38–46computationFits. weylBesselEquiv Definition. For h :Fits(S,V,l, kw, Y,\eta): a linear isomorphism A from the Weyl coordinates of type \operatorname{kw} (WeylIndex) to the Bessel coordinates \mathbb{C}^{\mathtt{BesselCoord}(S)}, together with the property A(v)\cdot W(\mathtt{toBesselH}(\mathfrak{s},1)(g)\cdot y)=A(S_{\mathrm{kw}}(g^{T})\cdot v)\cdot W(y) for g\in\prod_v U(X_0)(\mathbb{R}) and y\in G_{\infty} (W=besselFn(S, \cdot, \cdot) as a vector, S_{\mathrm{kw}} the Schur matrix of weight kw): the Kronecker product over the places of the coordinate changes ofIsBessel.The Lean statement
New/Filling/ColumnCoords.lean · lines 38–39 noncomputable def weylBesselEquiv : {A : _ ≃ₗ[ℂ] _ // ∀ (g : _ → _) y v, A v ⬝ᵥ S.besselFn ((toBesselH 𝔰 1 <| g ·) * y) = A (schur kw (g · |>.1.1ᵀ) *ᵥ v) ⬝ᵥ S.besselFn y} := bydef
Filling.lines 51–53computationFits. columnCoords Definition. For h :Fits(S,V,l, kw, Y,\eta):columnCoords(h) is the linear isomorphism from the algebraic forms of weight (\operatorname{kw},0) and level K_c on U(X_0) (levelSpaceofalgFormRep(\operatorname{kw},0) for the column level) to \ell^{2}(\mathtt{Classes}(S)\times\mathtt{BesselCoord}(S)): evaluate at the class representatives (freeLevelEquiv, the stabilisers being trivial), then change coordinates byweylBesselEquiv(h).The Lean statement
New/Filling/ColumnCoords.lean · lines 51–52 noncomputable def columnCoords : levelSpace (algFormRep kw 0) S.columnLevel ≃ₗ[ℂ] EuclideanSpace ℂ (S.Classes × S.BesselCoord) := freeLevelEquiv _ _ 1 S.aut_columnLevel ≪≫ₗ .piCongrRight (fun _ ↦lemma
Filling.lines 16–17one-stepreduction_apply_congr For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), k,l\in K=latStabilizer(S) (k implicit), i\in\{0,1\}, a chosen place w above q_i and basis indices a,b (implicit): if the (a,b) entries of k and l are equal (hypothesis h), then the (a,b) entries of their reductions at w are equal.The Lean statement
New/Filling/CrudeBoundDefs.lean · lines 16–17 lemma Filling.reduction_apply_congr {k} l i w {a b} (h : k.1.1 a b = l.1.1 a b) : S.reduction k i w a b = S.reduction l i w a b := congr(⟦⟨$h _, _⟩⟧)lemma
Filling.lines 19–23argumentexists_reduceAboveG_eq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and any prescribed residues t_x\in\mathbb{F}_w, one for each x=((i,w),b) (w a chosen place, b a Boolean): there is y\in\hat{O} withreduceAboveG(S,x)(y)=t_x for every x (Chinese remainder theorem at the chosen places and their conjugates).Structured proof, 3 steps Lemma 3.5, p. 21 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/CrudeBoundDefs.lean · line 19 lemma Filling.exists_reduceAboveG_eq (t : ∀ _, _) : ∃ y, ∀ x, S.reduceAboveG x y = t x := ⟨∑ x,def
Filling.lines 27–29argumentvectorFixer For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), i\in\{0,1\} (implicit), a chosen place w above q_i and d=(b,v) with b a Boolean and v\in\mathbb{F}_w^{\varrho+1} nonzero:vectorFixer(S,w,d) is the subgroup of \mathsf{G} of the s such thatidOrInvAdjoint(b)(s_w) fixes the nonzero vector f\cdot v=\sum_a v_a f_a of the span of the frame over \mathbb{F}_w (for b true this is the inverse adjoint, i.e. the action modulo \overline{w}).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 27 def Filling.vectorFixer {i} (w : S.chosenPlaces i) (d : _ × {v : _ → ResField w.1 // v ≠ 0}) :=def
Filling.lines 33–34argumentFixesNormAtLeast For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), s\in\mathsf{G} and a number x:FixesNormAtLeast(S,s,x) holds iff there is a finite set A of pairs (w,b) (w a chosen place above some q_i,b a Boolean) with x\le\prod_{(w,b)\in A}q_{i(w)} such that for every (w,b)\in A,s\invectorFixer(S,w,(b,v)) for some nonzero v: modulo each prime w or \overline{w} of A,s fixes a nonzero vector of the span of the frame.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 33 def Filling.FixesNormAtLeast s x := ∃ A : Finset ((Σ i, S.chosenPlaces i) × _), x ≤ ∏ p ∈ A,def
Filling.lines 38–39argumentfixingSet For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a finite set Sg of chosen places above q_0 and a choice d_w=(b_w,v_w) for every chosen place w above q_0:fixingSet(S,Sg,d) is the set of s\in\mathsf{G} with s\invectorFixer(S,w,d_w) for every w\in Sg, and such that either Sg contains all chosen places above q_0 or for some chosen w above q_0 every leading minor of Z(s_{0,w})=latMiddle(S,\mathbb{F}_w)-frameGramof s_{0,w} is nonzero.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 38 def Filling.fixingSet Sg (d : ∀ _, _) := {s | (∀ w ∈ Sg, s ∈ S.vectorFixer (i := 0) w (d w)) ∧abbrev
Filling.line 45aliaszFormPair For a commutative ring R, a shape \mathfrak{s} (both implicit) and a Gram matrix T on V_{\varrho} over R:zFormPair(T) is the 2\times2(\kappa\sqcup\{z\}) block diagonal matrix with two copies of the row of T indexed by z; for T=ratMiddleit maps a pair (x,x') to (h(z,x),h(z,x')).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 45 abbrev Filling.zFormPair := T.toRows₂.fromBlocks 0 0 T.toRows₂def
commonLinklines 51–52argumentFor a commutative ring R with involution, a shape \mathfrak{s} and a Gram matrix T (implicit) and \gamma,\gamma'\in U(\mathtt{T.splitGram}):commonLink(\gamma,\gamma')=T^{\circ} is the submodule of R^{\kappa} (=X_0) of the X_0-parts x of the pairs (x,x') that lie in \operatorname{link}(\gamma)\cap\operatorname{link}(\gamma') and have both components orthogonal to z (in the kernel ofzFormPair(T)).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 51 def commonLink :=def
HasCommonFlagVectorlines 56–57argumentFor a commutative ring R with involution, \mathfrak{s} and T (implicit), \gamma\in U(\mathtt{T.splitGram}),c,c'\in R and a frame index a:HasCommonFlagVector(\gamma,c,c',a) holds iff there are x,y\in R^{\varrho+1} with f\cdot x=(\gamma f)\cdot y (the frames f and \gamma f share a vector), x_a=c,y_a=c', and x_b=y_b=0 for every b>a.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 56 def HasCommonFlagVector a := ∃ x y, frameImage 1 *ᵥ x = frameImage γ.1.1 *ᵥ y ∧ x a = c ∧ y a = c' ∧def
IsNormalFormlines 61–62argumentFor a commutative ring R with involution, \mathfrak{s} and T (implicit), a natural number j and \gamma\in U(\mathtt{T.splitGram}):IsNormalForm(j,\gamma) holds iff there is c\in R with c\cdot\overline{c}=1 such that for every frame index a\ge j,HasCommonFlagVector(\gamma,c,1,a): the flags of f and \gamma f share a vector with leading coefficients c and 1 at a. (The census also lists the section variable c, which the definition binds by \exists.)The Lean statement
New/Filling/CrudeBoundDefs.lean · line 61 def IsNormalForm (j : ℕ) (γ : T.G) := ∃ c, c * star c = 1 ∧ ∀ a, j ≤ a.1 →abbrev
Filling.line 68aliasratGram For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):ratGram(S)=ratMiddle(S,E).splitGram, the Gram matrix over E of the form h on V: two dual isotropic blocks of \operatorname{rank}\varrho around \operatorname{diag}(1 on X_0,-N at z).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 68 abbrev Filling.ratGram := (S.ratMiddle E).splitGramabbrev
Filling.line 72aliaslinkForm For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):linkForm(S) is the block diagonal matrix \operatorname{diag}(T,-T) over E,T=ratMiddle(S,E): the Gram matrix of h\oplus(-h) on two copies of X_0\oplus Ez.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 72 abbrev Filling.linkForm := (S.ratMiddle E).fromBlocks 0 0 (-S.ratMiddle E)def
Filling.line 76aliasclassCoord For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classCoord(S,c) is the matrix ofclassBasis(S,c)^{-1}, which takes rational coordinates to coordinates in the basis of the lattice h_c\Lambda_0.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 76 def Filling.classCoord := (S.classBasis c)⁻¹.1def
Filling.line 80argumentclassCoordX₀ For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classCoordX{}_0(S,c)=middleBaseChange(\mathfrak{s},\overline{\pi})\cdot\widetilde{c}^{-1}, the matrix whose columns are the standard basis vectors of X_0 written in the basis of the middle part of the lattice of c (\widetilde{c} the chosen representative).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 80 def Filling.classCoordX₀ (c : S.Classes) := middleBaseChange 𝔰 S.piBar * c.out⁻¹.1.1abbrev
Filling.lines 85–86aliascountWeight For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a natural number i:countWeight(S,i)=\#\overline{S}\cdot\#Classes(S)\cdot N^{-\operatorname{kf}}\cdot(2\tau^{2})^{i}, with \overline{S}=reducedImage(S,\mathsf{S}),k=|\kappa|, f the number of infinite places and \tau=tailScale(S).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 85 abbrev Filling.countWeight i := Nat.card (S.reducedImage besselS) * card S.Classes / S.N ^def
Filling.lines 92–93argumentHasLevel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), j\in\{0,\ldots,\varrho+1\} and \gamma\in G(S,E):HasLevel(S,j,\gamma) holds iffIsNormalForm(j,\gamma), the leading minor D_j(Z(\gamma)) is nonzero, and \mathsf{g}(\gamma)=termDisc(S,\gamma)\ne0 exactly when j=\varrho+1 (\varrho<j\iff\mathsf{g}(\gamma)\ne0).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 92 def Filling.HasLevel := IsNormalForm j.1 γ ∧ leadingMinor (S.frameProducts γ) j ≠ 0 ∧def
Filling.lines 97–98argumentCongruentTerms For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c' and \gamma,\gamma'\in G(S,E):CongruentTerms(S,c,c',\gamma,\gamma') holds iff \gamma and \gamma' both lie intermsOver(S,c,s,c') for one and the same s\in\mathsf{G}.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 97 def Filling.CongruentTerms (c' : S.Classes) (γ γ' : S.G E) := ∃ s, γ ∈ S.termsOver c s c' ∧def
Filling.line 102argumenttermDiscNorm For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E):termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|, the product over the infinite places of the absolute values of \mathsf{g}(\gamma)=termDisc(S,\gamma).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 102 def Filling.termDiscNorm := ∏ v, ‖Φ v (S.termDisc γ)‖def
Filling.lines 106–107argumentboxedPoints For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):boxedPoints(S) is the set of archimedean points y\in\prod_v G_1 with y_v\inframeBox(\mathtt{boxSize}(S)) andInCut(y_v,b) at every infinite place v.The Lean statement
New/Filling/CrudeBoundDefs.lean · line 106 def Filling.boxedPoints :=def
Filling.line 111argumentIsNear For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E): \gamma is near,IsNear(S,\gamma), iff there is y\inboxedPoints(S) withratToInf(\gamma)^{-1}\cdot y\inboxedPoints(S).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 111 def Filling.IsNear := ∃ y ∈ S.boxedPoints, (S.ratToInf γ)⁻¹ * y ∈ S.boxedPointsdef
Filling.lines 115–116argumentCharsAgree For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E):CharsAgree(S,\gamma) holds iffunipotentChar(\mathtt{ratToFin}(u))=unipotentChar(\mathtt{ratToFin}(u')) for all rational u,u'\in\mathsf{U} with u\gamma=\gamma u' (the finite character agrees at u and at \gamma^{-1}u\gamma on \mathsf{U}\cap\gamma\mathsf{U}\gamma^{-1}).The Lean statement
New/Filling/CrudeBoundDefs.lean · line 115 def Filling.CharsAgree := ∀ u ∈ besselU, ∀ u' ∈ besselU, u * γ = γ * u' →lemma
Filling.lines 24–41argumentamplitudeSum_eq_zero_of_not_charsAgree Lemma. Let E be stably unramified, S admissible, \sigma a side, and T a stable set of rational points (IsStable(S,T)) such that no \gamma\in T satisfiesCharsAgree(S,\gamma) (CharsAgree(S,\gamma): for all rational u,u'\in\mathsf{U} with u\gamma=\gamma u',unipotentChar(S,\mathtt{ratToFin}(S)(u))=unipotentChar(S,\mathtt{ratToFin}(S)(u'))). ThenamplitudeSum(S,T,c,s,c')=0 for all classes c,c' and s\in\mathsf{G}.Structured proof, 8 steps Proposition 9.1, p. 35 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/CrudeEnergy.lean · lines 24–26 lemma Filling.amplitudeSum_eq_zero_of_not_charsAgree [StablyUnram E] [S.IsAdmissible] [Side] {T} (hT : S.IsStable T) (h : ∀ γ ∈ T, ¬S.CharsAgree γ) c s c' : S.amplitudeSum T c s c' = 0 := bylemma
Filling.lines 46–61argumenthasCommonFlagVector_of_le Lemma. Let \gamma\in G(E) satisfyCharsAgree(S,\gamma), let a\in\{0,\ldots,\varrho\} and c,c'\in E, and supposeHasCommonFlagVector(\gamma,c,c',a): there are coefficient vectors x,y with f\cdot x=\gamma f\cdot y (f the frame (e_1,\ldots,e_{\varrho},z)), x_a=c,y_a=c' and x_b=y_b=0 for b>a. Then c\cdot\overline{c}=c'\cdot\overline{c}', andHasCommonFlagVector(\gamma,c,c',b) holds for every b\ge a.Structured proof, 9 steps Lemma 9.2, p. 35 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/CrudeEnergy.lean · lines 46–47 lemma Filling.hasCommonFlagVector_of_le {γ} (hr : S.CharsAgree γ) a c c' (h : HasCommonFlagVector γ c c' a) : c * star c = c' * star c' ∧ ∀ b ≥ a, HasCommonFlagVector γ c c' b := bylemma
Filling.lines 67–82argumentCharsAgree. exists_hasLevel Lemma (agreeing characters force shared vectors up the flag). If \gamma\in G(E) satisfiesCharsAgree(S,\gamma) andtermDisc(S,\gamma)=0 (\mathsf{g}(\gamma)=|D_{\varrho+1}|^{2}-N^{2}|D_{\varrho}|^{2}=0 for the leading minors D_l of Z(\gamma)), thenHasLevel(S,j,\gamma) for some j\in\{0,\ldots,\varrho+1\} (normal form of level j,D_j\ne0, and \varrho<j iff \mathsf{g}(\gamma)\ne0; so in fact j\le\varrho).Structured proof, 6 steps Proposition 9.3, p. 36 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/CrudeEnergy.lean · lines 67–68 lemma Filling.CharsAgree.exists_hasLevel {γ} (hr : S.CharsAgree γ) (h : S.termDisc γ = 0) : ∃ j, S.HasLevel j γ := (exists_minimal_of_wellFoundedLT (IsNormalForm ·.1 γ) ⟨⊤, 1, by simp; lia⟩).implemma
Filling.lines 108–160argumentenergy_le_of_level_pairs Lemma (incoherent and degenerate pairs are negligible). Let E be stably unramified and S admissible, and use the cut Bessel functions. Let C,w be reals with 0\le C and 0\le w,\Omega\subseteq\mathsf{G},T a stable set of rational points, X\ne0 a natural number such that every s\in\Omega satisfiesFixesNormAtLeast(S,s,X) (s fixes, modulo chosen places of total norm \ge X, a nonzero vector of the span of the frame), \mathsf{d}_1\le C (\mathsf{d}_1=\mathtt{besselEnergy}(S)), and \tau^{20}\mathsf{d}_1\le C if some \gamma\in T over some (c,s,c') with s\in\Omega is in normal form of level 0. Let j\in\{0,\ldots,\varrho+1\} withHasLevel(S,j,\gamma) for all \gamma\in T,R a set of links such that \tau^{12}/X^{k}\cdot\mathsf{d}\le C whenever \varrho<j and some link is not in R (\mathsf{d}=\mathtt{mainEnergy}(S)), and assumelinkEnergy(T,\Omega,R)\le w\cdot\nu^{2}. Then \operatorname{energy}(\mathtt{amplitudeSum}(S,T),\Omega)\le w+C/b^{30}/4^{\varrho+1-j} (\tau=\mathtt{tailScale}(S),\nu=\mathtt{unipCovolume}(S)).Structured proof, 32 steps Theorem D, p. 3 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/CrudeEnergy.lean · lines 108–111 lemma Filling.energy_le_of_level_pairs j R (hc : ∀ γ ∈ T, S.HasLevel j γ) (h₂ : 𝔰.ϱ < j → (∃ Λ, Λ ∉ R) → S.tailScale ^ 12 / X ^ 𝔰.k * S.mainEnergy ≤ C) (h : linkEnergy T Ω R ≤ .ofReal (w * S.unipCovolume ^ 2)) : energy (S.amplitudeSum T) Ω ≤ w + C / S.b ^ 30 / 4 ^ j.rev.1 := S.of_size_bounds fun g t u z v y ↦ bylemma
Filling.lines 166–172argumentenergy_le_of_level_lt Lemma. Let E be stably unramified and S admissible; cut Bessel functions. Let 0\le C,\Omega\subseteq\mathsf{G},T stable, X\ne0 withFixesNormAtLeast(S,s,X) for all s\in\Omega,\mathsf{d}_1\le C, and \tau^{20}\mathsf{d}_1\le C if some \gamma\in T over some (c,s,c') with s\in\Omega is in normal form of level 0. Let n\in\{0,\ldots,\varrho+1\} be such that every \gamma\in T withCharsAgree(S,\gamma) has a level j<n. Then \operatorname{energy}(\mathtt{amplitudeSum}(S,T),\Omega)\le C/b^{30}/4^{\varrho+1-n}.Structured proof, 4 steps Theorem D, p. 3 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/CrudeEnergy.lean · lines 166–167 lemma Filling.energy_le_of_level_lt n (h : ∀ γ ∈ T, S.CharsAgree γ → ∃ j < n, S.HasLevel j γ) : energy (S.amplitudeSum T) Ω ≤ C / S.b ^ 30 / 4 ^ n.rev.1 := bylemma
Filling.lines 180–191argumentenergy_le_of_linkEnergy_le Lemma (crude estimate). Let E be stably unramified and S admissible. Let 0\le C,0\le w,\Omega\subseteq\mathsf{G},T stable, X\ne0 withFixesNormAtLeast(S,s,X) for all s\in\Omega,\mathsf{d}_1\le C,\tau^{20}\mathsf{d}_1\le C if some \gamma\in T over some (c,s,c') with s\in\Omega is in normal form of level 0; let R be a set of links with \tau^{12}/X^{k}\cdot\mathsf{d}\le C if some link is not in R, and assume that the link energy of the terms of T with \mathsf{g}\ne0, for the cut Bessel functions, islinkEnergy(T\cap\{\gamma:\mathtt{termDisc}(S,\gamma)\ne0\},\Omega,R)\le w\cdot\nu^{2}. Then for the full Bessel functions \operatorname{energy}(\mathtt{amplitudeSum}(S,T),\Omega)\le(1+b^{-4})^{2}\cdot w+b^{-12}\cdot C.Structured proof, 4 steps Theorem E, p. 3 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/CrudeEnergy.lean · lines 180–183 lemma Filling.energy_le_of_linkEnergy_le R (h₂ : (∃ Λ, Λ ∉ R) → S.tailScale ^ 12 / X ^ 𝔰.k * S.mainEnergy ≤ C) (h : linkEnergy (T ∩ {γ | S.termDisc γ ≠ 0}) Ω R ≤ .ofReal (w * S.unipCovolume ^ 2)) : energy (S.amplitudeSum (σ := .full) T) Ω ≤ (1 + (S.b ^ 4)⁻¹) ^ 2 * w + (S.b ^ 12)⁻¹ * C := bylemma
Data.lines 18–34argumentexists_last_stage_map Lemma (last step of the seesaw). For data D of parameters P and M with e :D.=M (m the number of lifts), there is a \mathbb{C}-linear map R fromm Stage(D,M) (smooth algebraic forms on X_M of weight (\kappa,e_M)) to the algebraic forms on Y_M such that (1) for every twist \vartheta, finitely supported coefficients \Psi on translations, form y of principal level on Y_0 and column \varphi: ifliftChainY(\vartheta,M,y)=R(\mathtt{chainComb}(\vartheta,\Psi,\mathtt{translateDatum},M,\varphi)) then \iota(\vartheta,y)=B\mu(\vartheta,\Psi,\varphi); and (2) for every linear functional t on Weyl coordinates there is C\in\mathbb{C} such that for every form x on Y_M, every \psi\inStage(D,M) and every function F on the adelic group of Y_M with F(\mathtt{inclX}(k))=algFormCoeff(1,t,\psi)(\mathtt{blockEmb}(k,1)) for all k (lastGrading(D,e).inclX), the integral of F\cdot\overline{x} over the quotient (ratBessel(\mathtt{lastGrading}(D,e)).qms) equals C\cdot\langle x,R\psi\rangle.Structured proof, 4 steps Proposition 7.1, p. 30 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/DegreeBounds.lean · lines 18–22 lemma Data.exists_last_stage_map {P} (D : Data P) {M} e : ∃ R : D.Stage M →ₗ[ℂ] _, (∀ {ϑ Ψ y} {φ : D.Column}, liftChainY ϑ M y = R (chainComb ϑ Ψ D.translateDatum M φ) → ι ϑ y = Bμ ϑ Ψ φ) ∧ ∀ t, ∃ C, ∀ x {ψ} {F : _ → ℂ}, (∀ k, F ((D.lastGrading e).inclX k) = algFormCoeff 1 t ψ (.blockEmb (e := .refl _) Sum.elim_one_one.symm (k, 1))) → (D.lastGrading e).ratBessel.qms[F * star x.1] = C * inner ℂ x (R ψ) := bylemma
Data.lines 42–50argumentcard_besselCoord_mul_factorial_le Lemma. For data D: \#BesselCoord(\operatorname{filling}(D))\cdot((k-1)!)^{f}\le((b^{1/4})^{5})^{k\cdot f}, where \operatorname{filling}(D) is the filling data attached to D,BesselCoordthe index tuples of its Bessel systems, k=D., f=k D.the number of infinite places and b=f D..b Structured proof, 4 steps Theorem F, p. 6 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/DegreeBounds.lean · lines 42–43 lemma card_besselCoord_mul_factorial_le : Fintype.card D.filling.BesselCoord * (D.k - 1)! ^ D.f ≤ ((√√D.b ^ 5) ^ D.k) ^ D.f := bylemma
Data.lines 52–54automationrowParameter_sub_mem Lemma. For data D, an infinite place v and indices i<l:rowParameter(D,v,i)-rowParameter(D,v,l)\in[1,w(D,l+2-k,v)], whererowParameter(D,v,i)=k/2-1-i for i<k-1 and h_2-w(D,i+2-k,v) otherwise, and w(D,j,v) is the weight w_j(v).The Lean statement
New/Filling/DegreeBounds.lean · lines 52–53 lemma rowParameter_sub_mem v {i l} (h : i < l) : (D.rowParameter v i - D.rowParameter v l : ℝ) ∈ Set.Icc 1 ↑(D.w (l + 2 - D.k) v) :=lemma
Data.lines 61–78argumentlog_filling_besselDegree_mem_Icc Lemma. For data D, with \deg=besselDegree(\operatorname{filling}(D)) (the product over the infinite places of the degrees of the Bessel systems) and w(v)=nominalWeight(D,v): log \deg+f\cdot\Sigma_{k-1\le l<r}\log l! lies in the interval [\Sigma_v m(k-1)\cdot\log w(v),\Sigma_v m\cdot r\cdot(\log w(v)+1/x)],v over the f infinite places, m=D., r=m D., x=r D..x Structured proof, 12 steps Theorem F, p. 6 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/DegreeBounds.lean · lines 61–63 lemma log_filling_besselDegree_mem_Icc : log D.filling.besselDegree + D.f * ∑ l ∈ Ico (D.k - 1) D.r, .log l ! ∈ Set.Icc (∑ v, D.m * ((D.k - 1) * log (D.nominalWeight v))) (∑ v, D.m * (D.r * (log (D.nominalWeight v) + D.x⁻¹))) := bydef
latMiddleGramlines 17–19argumentFor a commutative ring R (implicit), a shape \mathfrak{s} and an element N of R:latMiddleGram(\mathfrak{s},N) is the square matrix over R indexed by \kappa\sqcup\{z\} with diagonal entries 1 at the indices i\ne k_0 of \kappa,0 at k_0 and -N at z, entries -1 at the two positions (k_0,z) and (z,k_0), and 0 elsewhere. It is the Gram matrix of X_0\oplus Ez (form 1 on X_0,-N at z) in the basis x_i (i\ne k_0),v,z, where v=x_{k_0}/\pi+z/N (\pi=\operatorname{conj}(\overline{\pi}); this is the k_0-column of the lattice basisbesselLatticeBasis(\mathfrak{s},\overline{\pi}), whose k_0-entry is \operatorname{conj}(\overline{\pi})^{-1}; any v=x_{k_0}/p+z/N with p\cdot\overline{p}=N gives the same Gram matrix, and the Lean comment writes x_{k_0}/\overline{\pi}) is isotropic, h(v,z)=-1 and h(z,z)=-N (N=\pi\overline{\pi}).The Lean statement
New/Filling/EichlerFlag.lean · lines 17–18 def latMiddleGram {R} [CommRing R] (𝔰 : Shape) (N : R) : 𝔰.Form R := let c := of fun i _ ↦ ite (i = 𝔰.k₀) (-1) 0def
middleBaseChangeline 29argumentFor a shape \mathfrak{s} and a unit p of a commutative ring R with involution:middleBaseChange(\mathfrak{s},p) is the (\kappa\sqcup\{z\})\times\kappa matrix over R whose rows indexed by \kappa form the diagonal matrix with \overline{p} at k_0 and 1 elsewhere, and whose row z has the entry -p^{-1} in column k_0 and 0 elsewhere. Its columns are the orthonormal vectors x_i of X_0 written in the basis x_i (i\ne k_0),v,z of X_0\oplus Ez, where v=x_{k_0}/\overline{p}+z/(p\overline{p}): x_{k_0}=\overline{p}v-z/p.The Lean statement
New/Filling/EichlerFlag.lean · line 29 def middleBaseChange := (scaleAt (star p.1) 𝔰.k₀).fromRows (of fun () j ↦ ite (j = 𝔰.k₀) (-p⁻¹) 0)def
besselLatticeBasislines 33–37argumentFor a commutative ring R with involution, a shape \mathfrak{s} and a unit p of R:besselLatticeBasis(\mathfrak{s},p) is the invertible matrix in GL over R indexed by the basis of the whole space V=H^{\varrho}\oplus X_0\oplus Ez that is the identity on the vectors e_a and e_a^{*} and, on X_0\oplus Ez, has the columns x_i (i\in\kappa,i\ne k_0),v=x_{k_0}/\overline{p}+z/(p\overline{p}) in the place of x_{k_0}, and z. So its columns are e_a; x_i (i\ne k_0),v,z; e_a^{*} in standard coordinates. (The definition supplies the inverse, block diagonal withmiddleBaseChange(\mathfrak{s},p) on X_0, and checks both products bysimpandgrind.)The Lean statement
New/Filling/EichlerFlag.lean · lines 33–34 def besselLatticeBasis : GL 𝔰.BesselIndex R := by use fromBlocks 1 0 0 (((scaleAt (star p⁻¹.1) 𝔰.k₀).fromBlocks 0 (of fun _ j ↦ ite (j =def
frameDiscline 43argumentFor a commutative ring R with involution, a shape \mathfrak{s} (implicit), N\in R and a square matrix Z of size \varrho+1 over R:frameDisc(N,Z)=\det Z\cdot\operatorname{conj}(\det Z)-N^{2}\cdot D_{\varrho}(Z)\cdot\operatorname{conj}(D_{\varrho}(Z)), where D_{\varrho}(Z) is the leading principal minor of order \varrho (the determinant of the upper left \varrho\times\varrho block). For Z=Z(\gamma) this is the Gram discriminant \mathsf{g}(\gamma)=|D_{\varrho+1}|^{2}-N^{2}|D_{\varrho}|^{2}.The Lean statement
New/Filling/EichlerFlag.lean · line 43 def frameDisc Z := let d := leadingMinor Z 𝔰.top.castSucc; Z.det * star Z.det - N ^ 2 * (d * star d)lemma
gram_besselLatticeBasislines 45–48computationLet R be a commutative ring with involution, \mathfrak{s} a shape (implicit), p a unit of R and N\in R. If p\cdot\overline{p}=N, then B^{H}\cdotsplitGram(\mathtt{middleGram}(N))\cdot B=splitGram(\mathtt{latMiddleGram}(\mathfrak{s},N)) for B=besselLatticeBasis(\mathfrak{s},p): in the lattice basis the form of H^{\varrho}\oplus X_0\oplus Ez with h(z,z)=-N has the Gram matrix built fromlatMiddleGram(\mathfrak{s},N).Structured proof, 2 steps Lemma 2.3, p. 7 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/EichlerFlag.lean · lines 45–46 lemma gram_besselLatticeBasis : p * star ↑p = N → (besselLatticeBasis 𝔰 p).1ᴴ * (𝔰.middleGram N).splitGram * besselLatticeBasis 𝔰 p = (latMiddleGram 𝔰 N).splitGram := byabbrev
framePairline 52argumentFor a commutative ring R with involution, a shape \mathfrak{s} and a Gram matrix T on V_{\varrho} over R (all implicit), and an element \gamma of the unitary group U(\mathtt{T.splitGram}) of the whole space:framePair(\gamma) is the matrix with 2(\varrho+1) columns whose first \varrho+1 columns are the frame f=(e_1,\ldots,e_{\varrho},z) (the columns of the identity at the frame indices) and whose last \varrho+1 columns are the image \gamma f: the block matrix (f|\gamma f).The Lean statement
New/Filling/EichlerFlag.lean · line 52 abbrev framePair := (frameImage 1).fromCols (frameImage γ.1.1)abbrev
isotropicFramePairline 55argumentFor R,\mathfrak{s},T as inframePair(implicit) and \gamma in U(\mathtt{T.splitGram}):isotropicFramePair(\gamma) is the matrix with the 2\varrho columns e_1,\ldots,e_{\varrho},\gamma e_1,\ldots,\gamma e_{\varrho}:framePair(\gamma) without the columns z and \gamma z.The Lean statement
New/Filling/EichlerFlag.lean · line 55 abbrev isotropicFramePair := (framePair γ).submatrix id (.map castSucc castSucc)def
linkMatrixline 59argumentFor R,\mathfrak{s},T as above (implicit) and \gamma in U(\mathtt{T.splitGram}):linkMatrix(\gamma) is the matrix of the linear map R^{\text{basis of }V}\to(R^{\kappa\sqcup\{z\}})^{2},t\mapsto (middle coordinates of t, middle coordinates of \gamma^{-1}t), the middle coordinates being those on X_0\oplus Ez (the rows of t and of \gamma^{-1}t in the block V_{\varrho}).The Lean statement
New/Filling/EichlerFlag.lean · line 59 def linkMatrix := let m (x : T.G) := x.1.1.toRows₂.toRows₁; (m 1).fromRows (m γ⁻¹)def
linkline 63argumentFor R,\mathfrak{s},T as above (implicit) and \gamma in U(\mathtt{T.splitGram}): the link of \gamma is the submodule \operatorname{link}(\gamma) of (R^{\kappa\sqcup\{z\}})^{2} that is the image underlinkMatrix(\gamma) of the kernel of t\mapsto (isotropicFramePair(\gamma)){}^{H}\cdot J\cdot t,J=T.; that is, the set of pairs (middle part of t, middle part of \gamma^{-1}t) for the vectors t orthogonal to e_1,\ldots,e_{\varrho} and to \gamma e_1,\ldots,\gamma e_{\varrho}. With X the span of e_1,\ldots,e_{\varrho} it is the module of the pairs (class of t, class of \gamma^{-1}t) in (X^{\bot}/X)^{2} for t\bot X+\gamma X.splitGram The Lean statement
New/Filling/EichlerFlag.lean · line 63 def link := ((isotropicFramePair γ)ᴴ * T.splitGram).mulVecLin.ker.map (linkMatrix γ).mulVecLindef
dampedPowerline 68argumentFor a natural number k and a real number r:dampedPower(k,r)=r^{k}\cdot\min(1,r)^{6}.The Lean statement
New/Filling/EichlerFlag.lean · line 68 def dampedPower k (r : ℝ) := r ^ k * min 1 r ^ 6def
headWeightline 72argumentFor natural numbers K and i and a sequence p:\mathbb{N}\to\mathbb{C}^{\times} of nonzero complex numbers:headWeight(K,i,p)=\prod_{l<i}dampedPower(K, |p_0p_1\cdots p_l|^{-1}), the product of the damped powers of the inverse absolute values of the partial products of p.The Lean statement
New/Filling/EichlerFlag.lean · line 72 def headWeight K i (p : ℕ → ℂˣ) := ∏ l ∈ range i, dampedPower K ‖∏ a ∈ range (l + 1), (p a).1‖⁻¹structure
SieveSystemlines 81–91argumentFor types C and U, where C is a commutative ring with a measure and U a topological space, maps u:C\to U and \iota:U\to C, a length n\in\mathbb{N}, forms J_i(p,q)\in\mathbb{C} (i\in\mathbb{N},p,q:\mathbb{N}\to U sequences), a function \psi:C\to\mathbb{C}, a real number En, real head bounds \Lambda_i(p) and a function \beta:C\to\mathbb{R},SieveSystem(u,\iota,n,J,\psi,En,\Lambda,\beta) is the record of the following facts. (psi_zero) \psi(0)=1. (step) For every i\le n, all sequences p,q and every \xi\in C, the function f(c)=\psi(\xi c)\cdot J_{i+1}(p[i\mapsto u(c)],q[i\mapsto u(c)]) is integrable on C,\int f=J_i(p,q) when \xi=0, and |\int f|\le\beta(\xi)\cdot\Lambda_i(p)\cdot\Lambda_i(q) when \xi is a unit of C; here p[i\mapsto x] is p with entry i replaced by x. (posSemidef) For every finite type \kappa, every family a:\kappa\to(\mathbb{N}\to U) and t\in U with a_k(n)=t for all k, the matrix (J_{n+1}(a_k,a_l))_{k,l} is positive semidefinite. (continuous) (p,q)\mapsto J_{n+1}(p,q) is continuous. (norm_bot_le) |J_0(p,q)|\le En for all p,q. (off_diagonal) For every i<n and all p,q such that \xi=\iota(p_i)-\iota(q_i) is a unit, |J_{i+1}(p,q)|\le\beta(\xi)\cdot\Lambda_{i+1}(p)\cdot\Lambda_{i+1}(q).The Lean statement
New/Filling/EichlerFlag.lean · lines 81–82 structure SieveSystem (u : C → U) (ι : U → C) (n : ℕ) (J : ℕ → _ → _ → ℂ) (ψ : C → ℂ) (En : ℝ) (Λ : ℕ → _ → ℝ) (β : C → ℝ) wherelemma
SieveSystem.lines 96–112argumentpi Let C be a commutative ring with a measure that is s-finite, U a topological space, \tau a finite type, and K=SieveSystem(u,\iota,n,J,\psi,En,\Lambda,\beta) a sieve system on C (with u:C\to U,\iota:U\to C,n,J,\psi,En,\Lambda,\beta implicit). Let \iota':\mathbb{C}^{\times}\to\mathbb{C} and \Lambda' be given (implicit), and for each v\in\tau forms J_v', a bound En_v' and a function \gamma_v:\mathbb{C}\to\mathbb{R} such that H_v=SieveSystem(\mathtt{unitOrOne},\iota',n,J_v', wave, En_v',\Lambda',\gamma_v) is a sieve system on \mathbb{C} (unitOrOne(c)=c if c\ne0, else 1; \operatorname{wave}(c)=\exp(c-\overline{c})). Then the product is a sieve system on the ring (\tau\to\mathbb{C})\times C with its product measure:SieveSystem(u^{+},\iota^{+},n,J^{+},\psi^{+},En^{+},\Lambda^{+},\beta^{+}) holds for u^{+}(x)=((\mathtt{unitOrOne}(x_v))_v,u(x_C)),\iota^{+}(y)=((\iota'(y_v))_v,\iota(y_U)),J_i^{+}(p,q)=(\prod_v J_{v,i}'(p_v,q_v))\cdot J_i(p_C,q_C),\psi^{+}(x)=(\prod_v\operatorname{wave}(x_v))\cdot\psi(x_C),En^{+}=(\prod_v En_v')\cdot En,\Lambda_i^{+}(p)=(\prod_v\Lambda_i'(p_v))\cdot\Lambda_i(p_C) and \beta^{+}(x)=(\prod_v\gamma_v(x_v))\cdot\beta(x_C); here p_v and p_C are the sequences of v-components and of C-components of a sequence p in (\tau\to\mathbb{C}^{\times})\times U.Structured proof, 6 steps Proposition 2.8, p. 8 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/EichlerFlag.lean · lines 96–100 lemma SieveSystem.pi (K : SieveSystem u ι n J ψ En Λ β) [SFinite (@volume C _)] {ι' Λ'} {J' En' γ : τ → _} (H : ∀ v, SieveSystem unitOrOne ι' n (J' v) wave (En' v) Λ' (γ v)) : SieveSystem (Prod.map (unitOrOne ∘ ·) u) (.map (ι' ∘ ·) ι) n (fun i p q ↦ (∏ v, J' v i ((·.1 v) ∘ p) ((·.1 v) ∘ q)) * J i ((·.2) ∘ p) ((·.2) ∘ q)) (fun x ↦ (∏ v, wave (x.1 v)) * ψ x.2) ((∏ v, En' v) * En) (fun i p ↦ (∏ v, Λ' i ((·.1 v) ∘ p)) * Λ i ((·.2) ∘ p)) fun x ↦ (∏ v, γ v (x.1 v)) * β x.2 := bylemma
SieveSystem.lines 116–120argumentstep_sum Let K=SieveSystem(u,\iota,n,J,\psi,En,\Lambda,\beta) be a sieve system on C (C,U,\tau,u,\iota,n,J,\psi,En,\Lambda,\beta as inSieveSystem, \tau finite), i\le n a natural number (hypothesishi) and a:\tau\to(\mathbb{N}\to U) a finite family of sequences. Put F(c)=\sum_{p,q\in\tau}J_{i+1}(a_p[i\mapsto u(c)],a_q[i\mapsto u(c)]). Then F is integrable, \int F=\sum_{p,q}J_i(a_p,a_q), and for every unit \xi of C, |\int\psi(\xi c)F(c)dc|\le\beta(\xi)\cdot(\sum_p\Lambda_i(a_p))^{2}.Structured proof, 1 step Lemma 2.9, p. 9 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/EichlerFlag.lean · lines 116–119 lemma SieveSystem.step_sum (K : SieveSystem u ι n J ψ En Λ β) {i} (hi : i ≤ n) (a : τ → _) : let F c := ∑ p, ∑ q, J (i + 1) (update (a p) i (u c)) (update (a q) i (u c)) Integrable F ∧ ∫ c, F c = ∑ p, ∑ q, J i (a p) (a q) ∧ ∀ ξ, IsUnit ξ → ‖∫ c, ψ (ξ * c) * F c‖ ≤ β ξ * (∑ p, Λ i (a p)) ^ 2lemma
SieveSystem.lines 125–139argumentnonneg_and_lowerSemicontinuous Let C carry a topology that is first countable, let K=SieveSystem(u,\iota,n,J,\psi,En,\Lambda,\beta) be a sieve system on C (C,U,\tau,u,\iota,n,J,\psi,En,\Lambda,\beta as inSieveSystem, \tau finite), i\le n (hypothesis h), b:C\to(\tau\to(\mathbb{N}\to U)) a family of sequences depending on x\in C and c:C\to U such that b(x)_p has entry c(x) at i for all x and p (hypothesis e). Put F(x)=\sum_{p,q}J_{i+1}(b(x)_p,b(x)_q). Then F(x) is a nonnegative real number for every x (0\le F in the order of \mathbb{C}), and at every x at which all the maps x'\mapsto b(x')_p are continuous, x\mapsto\max(\operatorname{Re}F(x),0) (as an element of [0,\infty]) is lower semicontinuous.Structured proof, 4 steps Proposition 2.10, p. 9 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/EichlerFlag.lean · lines 125–129 lemma SieveSystem.nonneg_and_lowerSemicontinuous [TopologicalSpace C] [FirstCountableTopology C] (K : SieveSystem u ι n J ψ En Λ β) {i} (h : i ≤ n) (b : C → τ → ℕ → U) {c : C → U} (e : ∀ x p, b x p i = c x) : let F x := ∑ p, ∑ q, J (i + 1) (b x p) (b x q); 0 ≤ F ∧ ∀ x, (∀ p, ContinuousAt (b · p) x) → LowerSemicontinuousAt (ENNReal.ofReal <| RCLike.re <| F ·) xdef
finHeadWeightlines 145–146argumentFor a semilocal field A (a finite product of non-archimedean local fields, with compact open subring O,SemilocalField), natural numbers K and i and a sequence p:\mathbb{N}\to A^{\times} of units:finHeadWeight(K,i,p)=\prod_{l<i}w_l with D_l=p_0p_1\cdots p_l and w_l=\sqrt{\mathtt{genIndex}(D_l)}^{K} if D_l\in O,w_l=0 otherwise; heregenIndex(D) is the inverse module of D, which for D\in O equals the index [O:D\cdot O]. So it is the product of [O:D_l O]^{K/2}, taken to be 0 as soon as some D_l is not integral.The Lean statement
New/Filling/EichlerFlag.lean · line 145 def finHeadWeight {A} [SemilocalField A] K i (p : ℕ → Aˣ) := ∏ l ∈ .range i,lemma
isUnimodular_latMiddleGramlines 148–150one-stepLet A be a commutative ring with involution, R a subring of A (implicit), \mathfrak{s} a shape and N\in A (implicit) with N\in R and \overline{N}=N (hypothesis h). ThenlatMiddleGram(\mathfrak{s},N) is unimodular over R: it is hermitian and it is the matrix of an element ofGL(R), i.e. invertible with inverse over R (the inverse islatMiddleGram(\mathfrak{s},0)+N\cdot E_{k_0k_0}).The Lean statement
New/Filling/EichlerFlag.lean · lines 148–149 lemma isUnimodular_latMiddleGram [StarRing A] 𝔰 {N : A} (h : N ∈ R ∧ star N = N) : IsUnimodular R (latMiddleGram 𝔰 N) := by use ?_, ⟨latMiddleGram 𝔰 N, latMiddleGram 𝔰 0 + diagonal (Pi.singlelemma
frameImage_one_mulVeclines 152–153one-stepFor a commutative ring A, a shape \mathfrak{s} and a coefficient vector i'\in A^{\varrho+1} (all implicit): f\cdot i', the frame f=(e_1,\ldots,e_{\varrho},z) applied to i', is the vector whose e-coordinates are i_0',\ldots,i_{\varrho-1}', whose X_0-coordinates are 0, whose z-coordinate is i_{\varrho}' and whose e^{*}-coordinates are 0.The Lean statement
New/Filling/EichlerFlag.lean · line 152 lemma frameImage_one_mulVec : @frameImage A 𝔰 1 *ᵥ i' = init i' ⊕ᵥ ((0 ⊕ᵥ fun _ ↦ i' 𝔰.top) ⊕ᵥ 0) :=lemma
frameImage_mulVeclines 155–156one-stepFor a commutative ring A, a shape \mathfrak{s} (implicit), a square matrix \gamma over A on the basis of the whole space and a vector x\in A^{\varrho+1}: (\gamma f)\cdot x=\gamma\cdot(f\cdot x), where \gamma f=frameImage(\gamma) is the matrix of the columns of \gamma at the frame indices and f=frameImage(1).The Lean statement
New/Filling/EichlerFlag.lean · lines 155–156 lemma frameImage_mulVec γ x : @frameImage A 𝔰 γ *ᵥ x = γ *ᵥ frameImage 1 *ᵥ x := by simp [← mul_inclMatrix]lemma
exists_star_vecMul_eqlines 158–159one-stepFor a commutative ring A with involution, a shape \mathfrak{s} (implicit), a hermitian invertible matrix J over A indexed by the basis of the whole space (IsHermUnit J) and a row vector l: there is a vector v with \overline{v}^{T}\cdot J=l, namely v=\operatorname{conj}(l\cdot J^{-1}); every linear form is h(v,\cdot) for some v.The Lean statement
New/Filling/EichlerFlag.lean · lines 158–159 lemma exists_star_vecMul_eq [StarRing A] (J : Matrix 𝔰.BesselIndex _ A) [h : IsHermUnit J] l : ∃ v, star v ᵥ* J = l := ⟨star (l ᵥ* ↑h.2.unit⁻¹), by simp [-coe_units_inv]⟩lemma
exists_mem_besselU_eq_eichlerMaplines 165–175argumentLet A be a commutative ring with involution, \mathfrak{s} a shape, T a Gram matrix on V_{\varrho} over A such that J=T.is hermitian and invertible, and \tau\in A with \tau+\overline{\tau}=1 (splitGram TraceOne A). Let a\in\{0,\ldots,\varrho\},j\in A^{\varrho+1} with j_b=0 for all b\ge a (hypothesis l), r\in A,v a vector of the whole space and m=\overline{v}^{T}J=h(v,\cdot) (hypothesis Z) with m(f_b)=0 for all frame vectors f_b,b<a (hypothesis H). Then there is u in the unipotent group \mathsf{U}=besselU(T) with \sigma(u)=r\cdot\sum_{b\ge1}m(f_b)\cdot j_{b-1} (\sigma=simpleRootSum, the sum of the entries of u just above the diagonal on the frame) and whose matrix is the Eichler map E(x,v,\varsigma): w\mapsto w+x\cdot h(v,w)-(v+\varsigma x)\cdot h(x,w), for x=r\cdot(f j)=r\cdot\sum_b j_b f_b and \varsigma=\tau\cdot h(v,v). (The census also lists the file's section variables C,U,\tau,u,A,[\mathtt{CommRing}C],[\mathtt{MeasureSpace}C],[\mathtt{TopologicalSpace}U], [Fintype \tau],[\mathtt{CommRing}A]: the statement contains the letters u and \tau only as a bound variable and insideTraceOne..)τ Structured proof, 3 steps Proposition 2.11, p. 10 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/EichlerFlag.lean · lines 165–168 lemma exists_mem_besselU_eq_eichlerMap [h : IsHermUnit T.splitGram] [TraceOne A] a j r {m} (Z : star v ᵥ* T.splitGram = m) (l : ∀ b ≥ a, j b = 0) (H : ∀ b < a, m (𝔰.besselFrame b) = 0) : ∃ u ∈ T.besselU, simpleRootSum u = r * m ∘ 𝔰.besselFrame ⬝ᵥ cons 0 (init j) ∧ u.1.1 = eichlerMap T.splitGram (r • frameImage 1 *ᵥ j) v (TraceOne.τ * star v ⬝ᵥ T.splitGram *ᵥ v) := bylemma
Data.lines 16–28argumentrelIndex_latStabilizer Lemma. For data D: the relative index of \iota^{-1}(K) in K_f (\iota=inclHFinof \operatorname{filling}(D),K=latStabilizer(\operatorname{filling}(D)),K_f the integral points of U(X_0)(\mathbb{A}_f)) is (N^{k}-1)^{f}: the elements of K_f preserving the lattice of Y_0 have index (N^{k}-1)^{f}.Structured proof, 5 steps Theorem D, p. 3 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/FillingAdmissible.lean · lines 16–17 lemma relIndex_latStabilizer : (comap D.filling.inclHFin D.filling.latStabilizer).relIndex (Kf ..) = (D.N ^ D.k - 1 : ℝ) ^ D.f := bylemma
Data.lines 30–37argumentcard_classes_filling Lemma. For data D: \#Classes(\operatorname{filling}(D))= \#reducedImage(\operatorname{filling}(D),\mathsf{H})\cdot(N^{k}-1)^{f}\cdot\operatorname{mass}(E,k),\operatorname{mass}(E,k) the mass of the standard hermitian lattice of \operatorname{rank}k.Structured proof, 2 steps Theorem D, p. 3 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/FillingAdmissible.lean · lines 30–31 lemma card_classes_filling : card D.filling.Classes = Nat.card (D.filling.reducedImage besselH) * (D.N ^ D.k - 1) ^ D.f * mass D.E D.k := byinstance
(anonymous)lines 40–81argumentInstance. For data D, the filling data \operatorname{filling}(D) satisfy the standing hypothesesFilling.: the column level is \iota^{-1}(K(g)), the reduction K\to\mathsf{G} is onto, and all the size inequalities ofIsAdmissible IsAdmissiblehold (|\Phi_v(\varpi)|\le b,1\le|\kappa_v|\le b^{23},N\le b^{60n}, the band bound \le1/\deg,\tau^{44}\mathsf{d}_1\le\mathsf{d},\tau^{18}\cdotcodimFactor\cdot\mathsf{d}\le\mathsf{d}_1,codimFactor\le1, \#BesselCoord\le b^{2\operatorname{kf}},(N^{k}/b)^{f}\le index, and the packet-constant bound).Structured proof, 11 steps Theorem D, p. 3 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/FillingAdmissible.lean · line 40 instance : D.filling.IsAdmissible := bylemma
Data.lines 26–36argumentstdClassSum_carrierXi_eq_lineMultiplier Lemma (a polynomial identity used inNew.). For data D, indices j,i and renamings f,g of variables into n: renaming the rows and columns of the product of the determinants \det(\eta; x),\eta fromRows. Separation detRows(j,i) (stackedDetProd(\mathtt{posEquiv}j,\mathtt{detRows}(j,i))), by f on the basis-vector columns of W_j and g on those of L^{+}, gives \Sigma_l (renamedletterPolyof the l-th basis vector in the positive letters of W_j, by f)\cdot(renamedlinePolyCoords(j,i)_l, by g).Structured proof, 4 steps Lemma 7.4, p. 19 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/FillingData.lean · lines 26–29 lemma Data.stdClassSum_carrierXi_eq_lineMultiplier {P} {D : Data P} j i {n} (f g : _ → n) : renameRowsCols id (f ∘ D.basisVec ∘ (↑) ⊕ᵥ g) (stackedDetProd (posEquiv j) (detRows j i)) = ∑ l, renameRowsCols id f (letterPoly (D.signsW j) (untwistedAuxPair j).ord 1 _ (Pi.single l 1)) * renameRowsCols id g ((linePolyCoords j i) l) := bylemma
Data.line 42automationcard_X₀ Lemma. For data D: the index set of X_0=X(D,0) has k=D.elements.k The Lean statement
New/Filling/FillingData.lean · line 42 lemma Data.card_X₀ : Fintype.card (D.X 0) = D.k := by grind [card_X, n]instance
Data.lines 45–49computationunitarySignFrameY Instance (definition). For data D: a fixed orthonormal frame (a unitary matrix p with p^{H}J_1p=\operatorname{diag} of the signs of Y_0,signsY(D,0)), as aFrameinstance, obtained fromexists_frame_gradedGramfor the standard indexingbesselIndexEquiv.The Lean statement
New/Filling/FillingData.lean · line 45 noncomputable instance Data.unitarySignFrameY : Frame _ (D.signsY 0 ·) := Nonempty.some <|lemma
Data.lines 56–118argumentexists_besselSystem Lemma. For data D and an infinite place v there is a Bessel system B on G_1 (for the bound b=D.and f=b D.) withf IsBessel(B,\mathtt{paramW}(D,v),\kappa(D,v)): its degree is \deg(B)=weylDimensionPoly(\mathtt{paramW}(D,v)) (Weyl's dimension formula for the doubled parameter \varsigma(v); that it equals the formal degree of \varsigma(v) is Harish-Chandra's identity, supplied in the construction and not part ofIsBessel); there are mutually inverse matrices A,A' with A\cdot W_{\mathrm{full}}(g\cdot y)=(\operatorname{schur}(\kappa(v))(g^{T}))^{T}\cdot A\cdot W_{\mathrm{full}}(y) for every g\in U(X_0) and every y (the transpose of the Schur action at the transposed element, transported by A); and W_{\mathrm{full}} is fixed by the reproducing kernel of the discrete series of \varsigma(v): \intdsKernel(\varsigma(v))(x)\cdot W_{\mathrm{full}}(y\cdot\varphi^{-1}(x))_i dx=W_{\mathrm{full}}(y)_i for every y and i (\varphi=\mathtt{frameEquiv}).Structured proof, 25 steps Proposition 7.3, p. 18 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/FillingData.lean · lines 56–57 lemma Data.exists_besselSystem v : ∃ B : BesselSystem _ D.b D.f, IsBessel B (D.paramW v) (D.κ v) := byinstance
Data.lines 122–123computationinstLbHPowRealNatOfNatϱHMulLb Instance. For data D: 2^ϱ has the lower log-bound 10\cdot\log b (HasLogLower(2^{\varrho},10\cdot\mathtt{logB})), i.e. \exp(10\log b)\le2^{\varrho}.The Lean statement
New/Filling/FillingData.lean · line 122 instance Data.instLbHPowRealNatOfNatϱHMulLb : D.HasLogLower (ofNat(2) ^ D.ϱ) (10 * D.logB) := ⟨bydef
Data.lines 127–140computationfilling Definition. For data D: \operatorname{filling}(D) is the filling dataFillingattached to D: level N with \overline{\pi}=piIdele(D), the primes g_0,g_1 with the chosen places, \varpi, the column level, and at each infinite place v the Bessel system chosen byexists_besselSystem(D,v); the size conditions ofFillingare verified from the log-bounds of D.The Lean statement
New/Filling/FillingData.lean · line 127 noncomputable def Data.filling := by refine' (Filling.mk (fintypeChosen := _) _ _ D.piIdele _ _ _ _lemma
Data.lines 144–149argumentcolumnLevel_zero_eq_comap Lemma. For data D:columnLevel(D,0)=\iota^{-1}(\mathtt{principalLevel}(\operatorname{filling}(D))),\iota=inclHFin(\operatorname{filling}(D)): the level of the columns on X_0 is the preimage of K(g) under the embedding of U(X_0)(\mathbb{A}_f) in U(Y_0)(\mathbb{A}_f).Structured proof, 2 steps Theorem D, p. 3 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/FillingData.lean · lines 144–145 lemma Data.columnLevel_zero_eq_comap : D.columnLevel 0 = D.filling.principalLevel.comap D.filling.inclHFin := bydef
Data.lines 13–14computationpoincare Definition. For parameters P and admissible data D for P,\operatorname{poincare}(D) :Column(D)\toprincipalForms(D,Y_0(D)) is the \mathbb{C}-linear map \mathcal{P}_D= (poincareMapoffilling_fits(D)) \circcolumnCoords(D): a column \psi is translated by the central elementlatticeScale(D,0) and read in the coordinates \ell^{2}(Classes \timesBesselCoord) of \operatorname{filling}(D) (columnCoords(D)), and then sent to its Poincaré series \varphi\mapsto\sum_a\varphi_a\sum_{\gamma\in\Gamma}cutBessel(a)(\gamma\cdot) (Fits.), a form of parameterpoincareMap paramW(D) fixed by the principal level at the chosen places, on the space Y_0(D).The Lean statement
New/Filling/FillingTheorem.lean · line 13 noncomputable def Data.poincare : D.Column →ₗ[ℂ] D.principalForms (D.spaceY 0) :=lemma
Data.lines 22–40argumentramifiedColumns_fill_rows Theorem (filling). For parameters P, admissible data D for P and a unit c\in\mathbb{C}^{\times}, put for s\in\mathsf{G}_D B_s=goodProjTranslate(D,s)\circ\operatorname{poincare}(D)\circ(c\cdot\mathtt{ramifyingOp}(D,\mathtt{piPlaces}(D))) :Column(D)\to\operatorname{rows}(D), wheregoodProjTranslate(D,s)(y)=\#\mathsf{G}_D\cdot e_0(D)\cdot(s\cdot y) (s acting onprincipalForms(D,Y_0(D)) through the principal representation, e_0(D)\in\mathbb{C}[\mathsf{G}_D] the good idempotent, whose image is \operatorname{rows}(D)), \operatorname{poincare}(D)=\mathcal{P}_D is the Poincaré series map, andramifyingOp(D,\mathtt{piPlaces}(D))=\prod_{w|\pi}(1-z_w) onColumn(D),z_w the translation by the scalarcentralGen(D,w), the product over all finite places w dividing \pi=\pi(D). Then the family (B_s)_{s\in\mathsf{G}_D} is spread with defect b_D^{-2} (IsSpread): for every \mathbb{C}-subspace F of \operatorname{rows}(D), with \varphi=\dim F/\dim\operatorname{rows}(D) (read as 0 when dim \operatorname{rows}(D)=0), there is s\in\mathsf{G}_D with \dim_{\mathbb{C}}\{\psi\in\mathtt{Column}(D):B_s(\psi)\in F\}\le((1+\varphi)/2+b_D^{-2})\cdot\dim_{\mathbb{C}}Column(D).Structured proof, 8 steps Theorem A, p. 2 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FillingTheorem.lean · lines 22–23 lemma Data.ramifiedColumns_fill_rows : IsSpread (D.goodProjTranslate · ∘ₗ D.poincare ∘ₗ (c.1 • D.ramifyingOp .univ)) (D.b ^ 2)⁻¹ := bylemma
Data.lines 45–47argumentfinrank_rows_ne_zero Lemma. For parameters P and admissible data D for P: \dim_{\mathbb{C}}\operatorname{rows}(D)\ne0.Structured proof, 2 steps Corollary 1.1, p. 2 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem Input 4, p. 8 of The main inequality, the bound for the primes, and the zero-free half-plane
The Lean statement
New/Filling/FillingTheorem.lean · line 45 lemma Data.finrank_rows_ne_zero : finrank ℂ D.rows ≠ 0 := fun e ↦ (D.ramifiedColumns_fill_rows 1lemma
Filling.lines 16–33argumentexists_step_function Lemma. Let A be a semilocal field with an involution and an integral place structure P (integers R=P.), n a finite index type, G a subgroup ofR GL_n(A),H a subgroup of G whose elements are integral matrices (i:H\le\mathtt{GL\_n}(R)\cap G),\iota a type, p:\iota\to A^{n},f:A^{n}\to[0,\infty],s\subseteq\iota a finite set and c:\iota\to\mathbb{R}_{\ge0}. Suppose (hf) that for every z\in s, for every x in some neighbourhood of p(z), every k\in H and every y\in A^{n} with k\cdot y=x satisfy c(z)\le f(y). Then there is \Phi:A^{n}\to\mathbb{R}_{\ge0} with compact support such that \Phi(x+v)=\Phi(x) for all x and all v in some neighbourhood of 0,\Phi(k\cdot x)=\Phi(x) for all k\in H and x,\Phi(x)\le f(x) for all x, and c(z)\le\Phi(p(z)) for every z\in s.Structured proof, 5 steps Lemma 4.4, p. 25 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FiniteSystem.lean · lines 16–20 lemma Filling.exists_step_function {A n : Type} [SemilocalField A] [StarRing A] [P : IntegralPlace A] [Fintype n] {G H ι} {p : ι → _} {f : _ → ℝ≥0∞} {s : Finset ι} {c : ι → ℝ≥0} (hf : ∀ z ∈ s, ∀ᶠ x in 𝓝 (p z), ∀ k ∈ H, ∀ y, k.1.1 *ᵥ y = x → c z ≤ f y) (i : H ≤ (intGL n P.R).subgroupOf G) : ∃ Φ : _ → ℝ≥0, HasCompactSupport Φ ∧ (∀ᶠ v in 𝓝 0, ∀ x, Φ (x + v) = Φ x) ∧ (∀ k ∈ H, ∀ x, Φ (k.1.1 *ᵥ x) = Φ x) ∧ (∀ x, Φ x ≤ f x) ∧ ∀ z ∈ s, c z ≤ Φ (p z) := bylemma
Filling.lines 47–148argumentIsFillingLevel. siegel_sum_le_lintegral_quadric Let E be a number field with a CM structure and Weil data (Field E,CMTypeE,WeilDataE), \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, withgIdele(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 onLocProd(T)=\prod_{w\in T}E_w (integers R=P., character \psi, modulus md) and F a level onR LocProd(T) withhF:IsFillingLevel(S,T,F). Lemma (Siegel's formula at T, one-sided). Let f be a [0,\infty]-valued function on the vectors overLocProd(T) (indexed byBesselIndex(\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 oftailVector(\overline{\pi}(S),t,x(z)) taken at T (evalPlacesT), every k\in\mathsf{H}\capcongGroup(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\subseteqLocProd(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)dfloorQuadric(F, top)(e), where J_T is the Gram matrix oflatMiddle(S,\mathtt{LocProd}T),f_{\mathrm{top}} the top frame index and t is taken at T (ratToPlacesT);siegelConst(S)=(\pi^{k}/(k-1)!/N^{k})^{f}\cdot|d_E|^{1/4}\cdot\operatorname{vol}(\hat{O})^{k}.Structured proof, 44 steps Proposition 4.5, p. 25 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FiniteSystem.lean · lines 47–55 lemma siegel_sum_le_lintegral_quadric {f s} {t : E} (ht : ∀ v, S.N ^ 2 < ‖Φ v t‖ ^ 2) {c : _ → ℝ≥0} : let x (z : S.Classes × _) := z.1.out⁻¹.1.1 *ᵥ (↑) ∘ z.2 (∀ z ∈ s, (S.N * star z.2 ⬝ᵥ z.2 = t * star t - S.N ^ 2 ∧ ∀ i, x z i ∈ integralOff T) ∧ ∀ᶠ e in 𝓝 (evalPlaces T ∘ tailVector S.piBar t (x z)), ∀ k ∈ besselH ⊓ F.congGroup, ∀ y, k *ᵥ y = e → ↑(c z) ≤ f y) → ∀ᶠ L in (𝓝 0).smallSets, IsClopen L → (∑ z ∈ s, ↑(c z)) * volume L ≤ .ofReal ((1 + S.b⁻¹ ^ 6) * Fintype.card S.Classes * S.siegelConst * (∏ v, (‖Φ v t‖ ^ 2 - S.N ^ 2)) ^ (𝔰.k - 1)) * ∫⁻ e, {e | ((S.latMiddle _).splitGram *ᵥ e) (𝔰.besselFrame 𝔰.top) - ratToPlaces T t ∈ L}.indicator f e ∂F.floorQuadric 𝔰.toplemma
Filling.lines 156–223argumentIsFillingLevel. sum_blocks_le_topKernel Let E be a number field with a CM structure and Weil data (Field E,CMTypeE,WeilDataE), \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, withgIdele(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 onLocProd(T)=\prod_{w\in T}E_w (integers R=P., character \psi, modulus md) and F a level onR LocProd(T) withhF:IsFillingLevel(S,T,F). Let \pi be a side (the Side instance used bycosetAmplitude; Lean binds it although the census does not list it) and Z an intermediate group of F. Lemma (phase sums are sharply dominated by local Bessel kernels). Let T_0 be a finite set of units of E,j a finite index type, and for i\in j let c_i,c_i' be classes of S,\gamma_i\in G(E) (the rational unitary group of the middle form), n_i\inlatStabilizer(S), and t\in E^{\times}, such that (h) the tuples (c_i,c_i',\operatorname{reduction}(S,n_i),\gamma_i) are pairwise distinct; (hu) \gamma_i lies in the floor groupGT(\varrho); (hs)frameProducts(S,\gamma_i)(top, top) =t; (ht) N(S)^{2}<|\Phi_v(t)|^{2} for every v; (hn)toPlaces(S,T,n_i)\in Z; (ho)termPosition(S,c_i,c_i',\gamma_i) is integral outside T. Let i_0\in j,R a complex matrix and \rho a real function, both indexed by the tuples p : Fin \varrho\to T_0, and r\in\mathbb{R}. Put a(p)=padTuple(p,t) (the sequence p_0,\ldots,p_{\varrho-1},t,1,1,\ldots), \omega(p)= its image at T (ratToPlacesT), y_i=r^{2}\cdot\lVert\sum_p\mathtt{cosetAmplitude}(S,T,c_i,\operatorname{reduction}(S,n_i),c_i',\mathtt{weylElem}(\varrho,a(p))\cdot\gamma_i)\rVert^{2} and G=(\prod_v(|\Phi_v(t)|^{2}-N(S)^{2}))^{k(\mathfrak{s})-1}. Suppose (hR) for every i,R is the Gram matrix of the vectors \rho(p)\cdotbesselCorrelation(\operatorname{vol},\mathtt{besselFn}(S,\cdot),\mathtt{ratToInf}(S)(\mathtt{weylElem}(\varrho,a(p))\cdot\gamma_i)); (w) \rho(p)\cdotheadDensity(F,\varrho,\omega(p),1)=r\cdot\sqrt{G} for every p; and (hw)termPosition(S,c_i,c_i',\mathtt{weylElem}(\varrho,a(p))\cdot\gamma_i) is integral outside T for all i,p. Then for all sufficiently small L\subseteqLocProd(T) that are open, compact and contain 0: \sum_i y_i\le(1+b(S)^{-6})\cdotpacketConst(S)\cdot\operatorname{Re}\sum_{p,q}R_{pq}\cdottopKernel(L,Z,\omega(p),\omega(q))/\operatorname{vol}(L)/massRatio(Z), wherepacketConst(S)= \#reducedImage(S,\mathsf{S})\cdotunipOrder(S)\cdot\#Classes(S)\cdotsiegelConst(S) andmassRatio(Z)=\mathsf{M}(Z)\mathsf{M}(\mathtt{congGroup}F)/unipotentMass(F)^{2}.Structured proof, 28 steps Proposition 4.6, p. 28 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FiniteSystem.lean · lines 156–169 lemma sum_blocks_le_topKernel {T₀ : Finset _} {j} [Fintype j] {c c' : j → _} {γ : j → S.G E} {n : j → _} {t : Eˣ} (h : (fun i ↦ (c i, c' i, S.reduction (n i), γ i)).Injective) (hu : ∀ i, γ i ∈ GT 𝔰.ϱ) (hs : ∀ i, S.frameProducts (γ i) 𝔰.top 𝔰.top = t) (ht : ∀ v, S.N ^ 2 < ‖Φ v t.1‖ ^ 2) (hn : ∀ i, S.toPlaces T (n i) ∈ Z.1) (ho : ∀ i, S.IsIntegralOff T (S.termPosition (c i) (c' i) (γ i))) (i : j) {R : Matrix _ _ ℂ} {ρ : _ → ℝ} {r} : let a (p : Fin 𝔰.ϱ → T₀) := padTuple (p · |>.1) t let ω p := Units.map (ratToPlaces T) ∘ a p let y i := r ^ 2 * ‖∑ p, S.cosetAmplitude T (c i) (S.reduction (n i)) (c' i) (weylElem 𝔰.ϱ (a p) * γ i)‖ ^ 2 let G := (∏ v, (‖Φ v t.1‖ ^ 2 - S.N ^ 2)) ^ (𝔰.k - 1) (∀ i, R = .gram ℂ fun p ↦ ρ p • besselCorrelation volume (.toLp 2 <| S.besselFn ·) (S.ratToInf (weylElem 𝔰.ϱ (a p) * γ i))) → (∀ p, ρ p * (F.headDensity 𝔰.ϱ (ω p) 1).toReal = r * √G) → (∀ i p, S.IsIntegralOff T (S.termPosition (c i) (c' i) (weylElem 𝔰.ϱ (a p) * γ i))) → ∀ᶠ L in (𝓝 0).smallSets, IsOpen L ∧ IsCompact L ∧ 0 ∈ L → ∑ i, y i ≤ (1 + S.b⁻¹ ^ 6) * S.packetConst * (∑ p, ∑ q, R p q * (F.topKernel L Z (ω p) (ω q) / volume.real L / Z.massRatio.toReal)).relemma
Filling.lines 235–293argumentIsFillingLevel. exists_finite_sieveSystem Lemma. Let E be a number field with a CM structure and Weil data, \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s},T a finite set of finite places of E stable under conjugation, P an integral place structure onLocProd(T) (an implicit argument, also an instance), F a level withhF:IsFillingLevel(S,T,F),Sg a finite set of chosen places of S above q_0(S),d frame-vector data (for each chosen place w above q_0(S): a flag and a nonzero vector over \mathbb{F}_w), and suppose (an instance)gIdele(S)^{-1} is integral outside T. Then there is an intermediate group Z of F such that (i)toPlaces(S,T,k)\in Z for every k\inlatStabilizer(S) with \operatorname{reduction}(S,k)\infixingSet(S,Sg,d), and (ii) for every open additive subgroup L ofLocProd(T) that is compact, the kernels J(j,p,q)= (floorForm(F,j,p,q,\mathtt{besselVector}(Z),1) if j\le\varrho,topKernel(L,Z,p,q)/\operatorname{vol}(L) if j=\varrho+1)/massRatio(Z) form a sieve systemSieveSystem(\mathtt{unitOrOne},x\mapsto g(S)_T^{-1}\cdot x^{-1},\varrho,J,\mathtt{charOnPlaces}(S,T),(1+b(S)^{-6})/(b(S)^{6k(\mathfrak{s})})^{\#Sg},\mathtt{finHeadWeight}(n(\mathfrak{s})^{6}),\mathtt{frequencyGain}(S,T)). Unfolded, with \Lambda=finHeadWeight(n^{6}) and \beta=frequencyGain(S,T): \psi=charOnPlaces(S,T) has \psi(0)=1; for i\le\varrho and sequences p,q of units and \xi\inLocProd(T), the function c\mapsto\psi(\xi c)\cdot J(i+1,p[i\mapsto\mathtt{unitOrOne}(c)],q[i\mapsto\mathtt{unitOrOne}(c)]) is integrable, its integral is J(i,p,q) when \xi=0, and has norm \le\beta(\xi)\cdot\Lambda(i,p)\Lambda(i,q) when \xi is a unit; for every finite family of sequences with a common \varrho-th term the matrix of J(\varrho+1) is positive semidefinite; J(\varrho+1) is continuous; \lVert J(0,p,q)\rVert\le(1+b^{-6})/(b^{6k})^{\#Sg}; and for i<\varrho, with \xi=g_T^{-1}(p_i^{-1}-q_i^{-1}) a unit, \lVert J(i+1,p,q)\rVert\le\beta(\xi)\cdot\Lambda(i+1,p)\Lambda(i+1,q).Structured proof, 19 steps Proposition 4.7, p. 29 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FiniteSystem.lean · lines 235–242 lemma Filling.IsFillingLevel.exists_finite_sieveSystem {E 𝔰} [Field E] [CMType E] [WeilData E] {S : Filling E 𝔰} [S.IsAdmissible] {T : Finset _} [T.StarStable] {P : IntegralPlace (LocProd T)} {F} (hF : S.IsFillingLevel T F) Sg d [Fact (↑S.gIdele⁻¹ ∈ integralOff T)] : ∃ Z, (∀ k, S.reduction k ∈ S.fixingSet Sg d → S.toPlaces T k ∈ Z.1) ∧ ∀ L : OpenAddSubgroup (LocProd T), IsCompact L.carrier → SieveSystem unitOrOne (ratToPlaces T S.g⁻¹ * ·⁻¹.1) 𝔰.ϱ (fun j p q ↦ (if j ≤ 𝔰.ϱ then F.floorForm j p q Z.besselVector 1 else F.topKernel L Z p q / volume.real L.carrier) / Z.massRatio.toReal) (S.charOnPlaces T) ((1 + S.b⁻¹ ^ 6) / (S.b ^ (6 * 𝔰.k)) ^ #Sg) (finHeadWeight (𝔰.n ^ 6)) (S.frequencyGain T) := (hF.exists_intermediateGroup_lines Sg d).imp fun Z ⟨hm, hk⟩ ↦ bylemma
Filling.lines 19–34argumentvolume_nonunits_le Lemma. Let E be a number field with a CM structure, \mathfrak{s} a shape, S filling data over E of shape \mathfrak{s},T a finite set of finite places of E stable under complex conjugation (fT), and P an integral place structure onLocProd(T)=\prod_{w\in T}E_w with ring of integers R=P.and unit group R^{\times}=R P.. Suppose (k) that every place of T is a chosen place p of S (above q_0(S) or q_1(S)) or the complex conjugate \overline{p} of one: T\subseteq\bigcup_{i,p\in\mathtt{chosenPlaces}(S,i)}\{p,\overline{p}\}. Then 2\le b(S)^{9} and the Haar measure of the non-units satisfies \operatorname{vol}(R\setminus R^{\times})\le b(S)^{-9} (both read in [0,\infty] throughintUnits ENNReal.).ofReal Structured proof, 6 steps Lemma 4.1, p. 23 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FixedLines.lean · lines 19–21 lemma volume_nonunits_le (k : T ⊆ univ.biUnion fun p : Σ i, S.chosenPlaces i ↦ {p.2.1, star p.2.1}) : 2 ≤ ENNReal.ofReal (S.b ^ 9) ∧ volume (P.R \ P.intUnits) ≤ (.ofReal (S.b ^ 9))⁻¹ := bylemma
Filling.lines 40–81argumentIsFillingLevel. exists_intermediateGroup_one_prime Lemma. Let E a number field with a CM structure (Field E,CMTypeE), \mathfrak{s} a shape, S filling data over E of shape \mathfrak{s} (Filling), T and T_0 finite sets of finite places of E with T stable under complex conjugation (fT), P an integral place structure onLocProd(T)=\prod_{w\in T}E_w (ring of integers R=P., Haar measure, modulus md, character \psi), F a level onR LocProd(T) (Level (Fin (k(𝔰) − (6ϱ(𝔰) + 13))) (latMiddle(S, LocProd T)) (ϱ(𝔰) + 1 + 2ϱ(𝔰) + 5)) with the instance h :IsFillingLevel(S,T,F) (F is a standard level in the sense ofIntegralPlace., P.\psi=IsStdLevel charOnPlaces(S,T), and the unitF.of F is the image ofg gIdele(S)=g(S) at T), and Sg a finite set of chosen places of S above q_0(S); assume S is admissible (IsAdmissible). Let o be either nothing or a place w\in Sg, let d assign to every chosen place w above q_0(S) a pair d_w= (a flag, a nonzero vector v_w over the residue field \mathbb{F}_w) (the data ofvectorFixer), suppose (hT) that g(S)^{-1}=gIdele(S)^{-1} is integral at every finite place outside T_0, and suppose (f) that if o=w then T=T_0\cap\{w,\overline{w}\} (for every finite place j: j\in T\iff j\in T_0 and (j=w or \overline{j}=w)). Write K_T=unitaryLevel(R,1,J_T) for the integral unitary group at T (J_T the Gram matrix oflatMiddle(S,\mathtt{LocProd}T)), \mathsf{M}=groupMeasure(F) and \varkappa(Z)=floorZeroForm(F,Z)=\int|\int_Z\operatorname{phase}(\mathtt{F.g},y x y^{-1})d\mathsf{M}(y)|^{2}d\mathsf{M}(x). Then there is an intermediate group Z (a subgroup withcongGroup(F)=K(g)_T\le Z\le K_T) such that (i) for every k in the integral group K=latStabilizer(S) with \operatorname{reduction}(S,k)\infixingSet(S,Sg,d),toPlaces(S,T,k)\in Z, and (ii)\varkappa(Z)\cdot\mathsf{M}(K_T)\cdot c_o\le\varkappa(K_T)\cdot\mathsf{M}(Z), where c_o=1 if o is nothing and c_o=b(S)^{6k(\mathfrak{s})} if o is a place.Structured proof, 18 steps Lemma 4.2, p. 23 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FixedLines.lean · lines 40–45 lemma IsFillingLevel.exists_intermediateGroup_one_prime (o : Option Sg) d (hT : ↑S.gIdele⁻¹ ∈ integralOff T₀) (f : ∀ w ∈ o, ∀ j, j ∈ T ↔ j ∈ T₀ ∧ (j = w ∨ star j = w)) : ∃ Z : F.IntermediateGroup, (∀ k, S.reduction k ∈ S.fixingSet Sg d → S.toPlaces T k ∈ Z.1) ∧ let K := unitaryLevel R 1 _ F.floorZeroForm Z * F.groupMeasure K * o.elim 1 (fun _ ↦ .ofReal (S.b ^ (6 * 𝔰.k))) ≤ F.floorZeroForm K * F.groupMeasure Zlemma
Filling.lines 86–143argumentIsFillingLevel. exists_intermediateGroup_lines Lemma. Let E a number field with a CM structure (Field E,CMTypeE), \mathfrak{s} a shape, S filling data over E of shape \mathfrak{s} (Filling), T a finite set of finite places of E stable under complex conjugation (fT) (the section's second set T_0 belongs toexists_intermediateGroup_one_primeand is no argument here: the hypothesishTis about T), P an integral place structure onLocProd(T)=\prod_{w\in T}E_w (ring of integers R=P., Haar measure, modulus md, character \psi), F a level onR LocProd(T) (Level (Fin (k(𝔰) − (6ϱ(𝔰) + 13))) (latMiddle(S, LocProd T)) (ϱ(𝔰) + 1 + 2ϱ(𝔰) + 5)) with the instance h :IsFillingLevel(S,T,F) (F is a standard level in the sense ofIntegralPlace., P.\psi=IsStdLevel charOnPlaces(S,T), and the unitF.of F is the image ofg gIdele(S)=g(S) at T), and Sg a finite set of chosen places of S above q_0(S); assume S is admissible and E carries Weil data (WeilData E). Let d be frame-vector data (for each chosen place w above q_0(S): a flag and a nonzero vector over \mathbb{F}_w), and suppose (hT, an instance) thatgIdele(S)^{-1} is integral at every finite place outside T. With K_T=unitaryLevel(R,1,J_T),\mathsf{M}=groupMeasure(F) and \varkappa(Z)=floorZeroForm(F,Z): there is an intermediate group Z (K(g)_T=\mathtt{congGroup}(F)\le Z\le K_T) such that (i)toPlaces(S,T,k)\in Z for every k\inlatStabilizer(S) with \operatorname{reduction}(S,k)\infixingSet(S,Sg,d), and (ii)\varkappa(Z)\cdot\mathsf{M}(K_T)\cdot(b(S)^{6k(\mathfrak{s})})^{\#Sg}\le\varkappa(K_T)\cdot\mathsf{M}(Z).Structured proof, 33 steps Proposition 4.3, p. 24 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/FixedLines.lean · lines 86–91 lemma IsFillingLevel.exists_intermediateGroup_lines [WeilData E] d [hT : Fact (↑S.gIdele⁻¹ ∈ integralOff T)] : ∃ Z : F.IntermediateGroup, (∀ k, S.reduction k ∈ S.fixingSet Sg d → S.toPlaces T k ∈ Z.1) ∧ let K := unitaryLevel R 1 _ F.floorZeroForm Z * F.groupMeasure K * .ofReal (S.b ^ (6 * 𝔰.k)) ^ #Sg ≤ F.floorZeroForm K * F.groupMeasure Zdef
Filling.lines 26–27computationcharOnPlaces Definition.charOnPlaces(S,T) is the additive character of \prod_{w\in T}E_w obtained from the self-dual character x\mapsto\psi_f(-x/\varpi) of the finite adeles (selfDualChar(S)) by extending an element of \prod_{w\in T}E_w by zero off T (adeleOfLocal).The Lean statement
New/Filling/GlobalSieve.lean · line 26 noncomputable def charOnPlaces : AddChar (LocProd T) ℂ :=lemma
Filling.lines 29–31one-stepcharOnPlaces_evalPlaces Lemma. For a finite adele x integral at every finite place outside T (x\in\mathtt{integralOff}(T)):charOnPlaces(S,T)(\mathtt{evalPlaces}(T)(x))=selfDualChar(S)(x) (the components off T are integral and the character is trivial on integral adeles).The Lean statement
New/Filling/GlobalSieve.lean · lines 29–30 lemma charOnPlaces_evalPlaces {x} (h : x ∈ integralOff T) : S.charOnPlaces T (evalPlaces T x) = S.selfDualChar x := .symm (eq_of_div_eq_one (S.selfDualChar.map_sub_eq_div .. ▸def
Filling.lines 35–36computationfrequencyGain Definition. For \xi\in\prod_{w\in T}E_w:frequencyGain(S,T,\xi)=\sqrt{\xi}^{k-n^{7}}/\operatorname{den}(\xi)^{6}\cdot b^{n^{9}f}, with n=\varrho+1,[\xi]=genIndex(\xi) (the generalised index [R:\xi R], the inverse of the module of \xi) and \operatorname{den}(\xi)=denomIndex(O,\xi)=[O:O\cap\xi^{-1}O] for the integers O of \prod_{w\in T}E_w.The Lean statement
New/Filling/GlobalSieve.lean · line 35 noncomputable def frequencyGain (ξ : LocProd T) := √(genIndex ξ) ^ (𝔰.k - 𝔰.n ^ 7) / denomIndex Odef
Filling.line 40computationratPoint Definition. For scales l=(l_v)_v (complex numbers indexed by the infinite places) and t\in E:ratPoint(T,l,t)=((l_v\cdot\Phi_v(t))_v,\mathtt{ratToPlaces}(T)(t))\in\mathbb{C}^{f}\times\prod_{w\in T}E_w.The Lean statement
New/Filling/GlobalSieve.lean · line 40 noncomputable def ratPoint (l : _ → ℂ) t := (fun v ↦ l v * Φ v t, ratToPlaces T t)lemma
Filling.lines 49–80argumentsum_frequencies_le Lemma. Let E carry Weil data and let T be stable under conjugation. Let B\ge1,k\in\mathbb{N},X a finite set of elements of E,c=(c_v) complex and x=(x_v) real numbers indexed by the infinite places with |c_v|^{-1}\le|x_v|\le B for all v, and suppose every y\in X is nonzero and integral outside T. Then \Sigma_{y\in X} (\prod_vdampedPower(k, |c_v\cdot\Phi_v(y)|^{-1})) \cdot\sqrt{y}_T^{k}/\operatorname{den}(y)^{6}\le(\prod_v|x_v|^{k}\cdot(b\cdot B^{2})^{3})\cdot(b\cdot\operatorname{rd}_{E})^{3f}, wheredampedPower(k,r)=r^{k}\cdot\min(1,r)^{6},[y]_T=genIndex(\mathtt{ratToPlaces}(T)(y)),\operatorname{den}(y)=denomIndex(O,\mathtt{ratToPlaces}(T)(y)),\operatorname{rd}_{E} the root discriminant and f the number of infinite places.Structured proof, 14 steps Proposition 5.3, p. 22 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/GlobalSieve.lean · lines 49–53 lemma sum_frequencies_le [WeilData E] [T.StarStable] B k X (c : _ → ℂ) (x : _ → ℝ) (hB : 1 ≤ B) (hx : ∀ v, ‖c v‖⁻¹ ≤ |x v| ∧ |x v| ≤ B) (h : ∀ y ∈ X, y ≠ 0 ∧ y ∈ ratIntegralOff T) : ∑ y ∈ X, (∏ v, dampedPower k ‖c v * Φ v y‖⁻¹) * (√(genIndex (ratToPlaces T y)) ^ k / denomIndex O (ratToPlaces T y) ^ 6) ≤ (∏ v, |x v| ^ k * (S.b * B ^ 2) ^ 3) * (S.b * rootDiscr E) ^ (numInfPlaces E * 3) := bylemma
Filling.lines 92–164argumentone_sided_poisson Lemma (iterated one-sided Poisson summation). Let S be admissible, T a finite set of finite places, A a finite set of units of E with t,t^{-1} integral outside T for t\in A, and g^{-1} integral outside T. Let n\in\mathbb{N} and let K be a sieve system (SieveSystem) of depth n on \mathbb{C}^{f}\times\prod_{w\in T}E_w with forms J_i and unit map u. The map u replaces each zero complex coordinate by 1. It keeps the finite tuple when all its coordinates are nonzero and sends the whole tuple to 1 otherwise. The system uses the map p\mapsto(p_{\infty}^{-1},\mathtt{ratToPlaces}(T)(g^{-1})\cdot p_T^{-1}), character x\mapsto\prod_v\operatorname{wave}(x_v)\cdotcharOnPlaces(S,T)(x_T), bottom bound En, weights \Lambda and frequency bound \beta (so J_i integrates J_{i+1} over a common entry, J_{n+1} is continuous and positive on equal entries, |J_0|\le En, and unit frequencies and unequal entries are bounded by \beta\cdot\Lambda\cdot\Lambda). Let \Gamma,\varepsilon be reals with \varepsilon\ge0,\Lambda\ge0, and assume: for every a and every c=(c_v) with |c_v|^{-1}\le|\kappa_v|/g for all v and every finite set X of nonzero T-integers, \Sigma_{y\in X}\beta(\mathtt{ratPoint}(T,(c_v/\mathtt{frameScaleSq}(S,v,a))_v,y))\le\varepsilon. Puthd(i,p,t,a)= the unit image ofratPoint(T, (frameScaleSq(S,v,a)){}_v,padTuple(p,t,a)) for p : Fin i\to A and t\in E^{\times}, and c_a=\operatorname{vol}(\hat{O})/\prod_vframeScaleSq(S,v,a)^{2}. If (\Sigma_p\Lambda_i(\mathtt{hd}(i,p,1)))^{2}\le\Gamma\cdot\prod_{a<i}c_a for every i\le n, then for every i\le n and every V\subseteq A: \operatorname{Re}\Sigma_{t\in V}\Sigma_p\Sigma_q J_{i+1}(\mathtt{hd}(i,p,t),\mathtt{hd}(i,q,t))\le(\prod_{a\le i}c_a)\cdot(En+(2i+1)\cdot\Gamma\cdot\varepsilon),p,q over Fin i\to A.Structured proof, 38 steps Theorem C, p. 4 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/GlobalSieve.lean · lines 92–102 lemma one_sided_poisson {n J En Λ β} (K : SieveSystem (.map (unitOrOne ∘ ·) unitOrOne) (.map ((·⁻¹.1) ∘ ·) (ratToPlaces T S.g⁻¹ * ·⁻¹.1)) n J (fun x ↦ (∏ v, wave (x.1 v)) * S.charOnPlaces T x.2) En Λ β) {Γ ε} (hP : ∀ a (c : _ → ℂ), (∀ v, ‖c v‖⁻¹ ≤ |S.kappa v| / S.g) → ∀ X, (∀ y ∈ X, y ≠ 0 ∧ y ∈ ratIntegralOff T) → ∑ y ∈ X, β (ratPoint T (fun v ↦ c v / S.frameScaleSq v a) y) ≤ ε) (hε : 0 ≤ ε) (hΛ : ∀ i p, 0 ≤ Λ i p) : let hd i (p : Fin i → A) t a := .map (unitOrOne ∘ ·) unitOrOne (ratPoint T (S.frameScaleSq · a) (padTuple (p · |>.1) t a).1) let c a := volÔ E / ∏ v, S.frameScaleSq v a ^ 2 (∀ i ≤ n, (∑ p, Λ i (hd i p 1)) ^ 2 ≤ Γ * ∏ a ∈ range i, c a) → ∀ i ≤ n, ∀ V ⊆ A, (∑ t ∈ V, ∑ p, ∑ q, J (i + 1) (hd i p t) (hd i q t)).re ≤ (∏ a ∈ range (i + 1), c a) * (En + (2 * i + 1) * Γ * ε)lemma
Filling.lines 172–213argumentsieve Lemma (the sieve). Let S be admissible, T a finite set of finite places stable under conjugation, E with Weil data, A a finite set of units of E with t,t^{-1} integral outside T,g^{-1} integral outside T, and U\subseteq A. Let J' be a sieve system of depth \varrho on \prod_{w\in T}E_w with unit mapunitOrOne, map p\mapstoratToPlaces(T)(g^{-1})\cdot p^{-1}, charactercharOnPlaces(S,T), bottom bound e, weightsfinHeadWeight(n^{6}) and frequency boundfrequencyGain(S,T) (n=\varrho+1). For p : Fin \varrho\to A,t\in A and an index i put x_v(p,t,i)=unitOrOne(\mathtt{frameScaleSq}(S,v,i)\cdot\Phi_v(\mathtt{padTuple}(p,t,i))) and y(p,t)= the image ofpadTuple(p,t) in \prod_T E_w. Then \operatorname{Re}\Sigma_{t\in U}\Sigma_p\Sigma_q (\prod_v J_v(x_v(p,t),x_v(q,t)))\cdot J_n'(y(p,t),y(q,t))\le(\prod_{i<n}\operatorname{vol}(\hat{O})/\prod_v\mathtt{frameScaleSq}(S,v,i)^{2})\cdot((\prod_v(1+b^{-10})/\operatorname{deg}_{v})\cdot e+\mathtt{besselDegree}(S)^{-1}/b^{6\operatorname{kf}+10}), where J_v is the band-limit form of the Bessel system of S at v and \operatorname{deg}_{v} its degree.Structured proof, 22 steps Theorem D, p. 5 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/GlobalSieve.lean · lines 172–179 lemma sieve [WeilData E] [T.StarStable] {J' e U} (h' : SieveSystem unitOrOne (ratToPlaces T S.g⁻¹ * ·⁻¹.1) 𝔰.ϱ J' (S.charOnPlaces T) e (finHeadWeight (𝔰.n ^ 6)) (S.frequencyGain T)) (hU : U ⊆ A) : let x v (p : Fin 𝔰.ϱ → A) t i := unitOrOne (S.frameScaleSq v i * Φ v (padTuple (p · |>.1) t i).1) let y p t := Units.map (ratToPlaces T) ∘ padTuple (p · |>.1) t (∑ t ∈ U, ∑ p, ∑ q, (∏ v, (S.besselSys v).bandLimit 𝔰.n (x v p t) (x v q t)) * J' 𝔰.n (y p t) (y q t)).re ≤ (∏ i ∈ range 𝔰.n, volÔ E / ∏ v, S.frameScaleSq v i ^ 2) * ((∏ v, (1 + S.b⁻¹ ^ 10) / (S.besselSys v).deg) * e + S.besselDegree⁻¹ / S.b ^ (6 * 𝔰.k * numInfPlaces E + 10))abbrev
Filling.line 28computationIsIntegralOff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Definition.IsIntegralOff(S,T,x) for x inGFin(S): x and x^{-1} have entries integral at every finite place outside T (x\in\mathtt{GL}(\mathtt{integralOff}(T))).The Lean statement
New/Filling/GlobalToLocal.lean · line 28 abbrev IsIntegralOff (x : S.GFin) := x.1 ∈ intGL _ (integralOff T)def
Filling.lines 32–34computationcosetAmplitude For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Definition. For a side \sigma, classes c,c',s\in\mathsf{G} and \gamma\in G(E):cosetAmplitude(S,T,c,s,c',\gamma)=\Sigma_{(u,u')\in\mathsf{U}(E)\times\mathsf{U}(E)}[h_c^{-1}uh_{c} integral outside T and u\gamma u'^{-1}\intermsOver(S,c,s,c')]\cdot\operatorname{amplitude}(S,c,c',u\gamma u'^{-1}).The Lean statement
New/Filling/GlobalToLocal.lean · line 32 noncomputable def cosetAmplitude [Side] c s c' γ := ∑' x : besselU .. × besselU ..,def
Filling.lines 41–42computationtoPlaces For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Definition.toPlaces(S,T) is the homomorphism fromGFin(S) to the unitary group of the lattice form over \prod_{w\in T}E_w taking the components at T (evalPlaces).The Lean statement
New/Filling/GlobalToLocal.lean · line 41 noncomputable def toPlaces :=class
Filling.lines 46–49computationIsFillingLevel For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Definition (class). For an integral place structure P on \prod_{w\in T}E_w and a level F oflatMiddle(S) over \prod_T E_w with 3\varrho+6 further pairs and orthonormal part of size k-6\varrho-13:IsFillingLevel(S,T,F) holds when F is a standard level (IsStdLevel), the character of P ischarOnPlaces(S,T), and the unit of F is g (the image ofgIdele(S) at T).The Lean statement
New/Filling/GlobalToLocal.lean · lines 46–47 class IsFillingLevel [P : IntegralPlace (LocProd T)] (F : Level (Fin (𝔰.k - (6 * 𝔰.ϱ + 13))) (S.latMiddle (LocProd T)) (𝔰.ϱ + 1 + 2 * 𝔰.ϱ + 5)) : Prop extends P.IsStdLevel F wherelemma
Filling.lines 52–53one-stepeventually_mem_integralOff Lemma. A finite adele a of E is integral outside T for all sufficiently large finite sets T of finite places.The Lean statement
New/Filling/GlobalToLocal.lean · line 52 lemma eventually_mem_integralOff (a : 𝔸f E) : ∀ᶠ T in .atTop, a ∈ integralOff T :=lemma
Filling.lines 57–58one-stepeventually_isIntegralOff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. For x\inGFin(S),IsIntegralOff(S,T,x) holds for all sufficiently large T.The Lean statement
New/Filling/GlobalToLocal.lean · lines 57–58 lemma eventually_isIntegralOff : ∀ᶠ T in .atTop, S.IsIntegralOff T x := by simp [mem_intGL, eventually_mem_integralOff]lemma
Filling.lines 63–67one-stepexists_places_integralOff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. For a finite set T_0 of units of E there are arbitrarily large finite conjugation-stable sets T of finite places such that t^{\pm1} (t\in T_0),g^{-1},N^{-1}, the lattice basis matrix and its inverse are integral outside T.The Lean statement
New/Filling/GlobalToLocal.lean · lines 63–65 lemma exists_places_integralOff (T₀ : Finset Eˣ) : ∃ᶠ T in .atTop, T.StarStable ∧ (∀ t ∈ T₀, ↑t ∈ ratIntegralOff T ∧ ↑t⁻¹ ∈ ratIntegralOff T) ∧ Fact (↑S.gIdele⁻¹ ∈ integralOff T) ∧ S.latBasis ∈ intGL _ (integralOff T) ∧ (S.N : E)⁻¹ ∈ ratIntegralOff T :=lemma
Filling.lines 71–74computationratToInf_weylElem_mul For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. For \sigma\in G(E), units p and an infinite place v:ratToInf(S)(w_p\cdot\sigma)_v=w_{p'}\cdotratToInf(S)(\sigma)_v with p_i'=unitOrOne(\mathtt{frameScaleSq}(S,v,i)\cdot\Phi_v(p_i)) (w the Weyl element of length \varrho).The Lean statement
New/Filling/GlobalToLocal.lean · lines 71–72 lemma ratToInf_weylElem_mul {σ p} v : S.ratToInf (weylElem 𝔰.ϱ p * σ) v = weylElem 𝔰.ϱ (fun i ↦ unitOrOne (S.frameScaleSq v i * Φ v (p i))) * S.ratToInf σ v := by simp; ext i (_ | (_ | _) | _)lemma
Filling.lines 78–89argumentexists_toPlaces_eq For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. Every y in the unitary group over \prod_T E_w istoPlaces(S,T)(x) for some x\inGFin(S) integral outside T, with x\in\mathsf{U} if y\in\mathsf{U} and x\in\mathsf{H} if y\in\mathsf{H}.Structured proof, 6 steps Lemma 4.1, p. 12 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 78–80 lemma exists_toPlaces_eq y : ∃ x, S.toPlaces T x = y ∧ S.IsIntegralOff T x ∧ (y ∈ besselU → x ∈ besselU) ∧ (y ∈ besselH → x ∈ besselH) := let f : GL 𝔰.BesselIndex _ →* _ :=lemma
Filling.lines 91–94argumentmem_unitaryLevel_iff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. For a unit u of \mathbb{A}_f with u^{-1} integral outside T: x\inunitaryLevel(\hat{O},u,\cdot) iff x is integral outside T andtoPlaces(S,T)(x)\inunitaryLevel(O,u_T,\cdot).Structured proof, 2 steps Lemma 4.2, p. 12 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 91–92 lemma mem_unitaryLevel_iff {u} (h : ↑u⁻¹ ∈ integralOff T) : x ∈ unitaryLevel (Ô E) u _ ↔ S.IsIntegralOff T x ∧ S.toPlaces T x ∈ unitaryLevel O (u.map (evalPlaces T)) _ := bylemma
Filling.lines 96–97one-stepmem_latStabilizer_iff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. x\in K=latStabilizer(S) iff x is integral outside T andtoPlaces(S,T)(x)\inunitaryLevel(O,1,\cdot).The Lean statement
New/Filling/GlobalToLocal.lean · lines 96–97 lemma mem_latStabilizer_iff : x ∈ S.latStabilizer ↔ S.IsIntegralOff T x ∧ S.toPlaces T x ∈ unitaryLevel O 1 _ := by simp [latStabilizer, ← unitaryLevel_one, mem_unitaryLevel_iff (T := T)]lemma
Filling.lines 102–155argumentexists_isFillingLevel For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. If E carries Weil data, then for every conjugation-stable finite set T of finite places, \prod_{w\in T}E_w carries an integral place structure P (charactercharOnPlaces(S,T)) and a level F withIsFillingLevel(S,T,F).Structured proof, 13 steps Theorem C, p. 3 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 102–104 lemma exists_isFillingLevel [WeilData E] (T : Finset _) [T.StarStable] : ∃ _ : IntegralPlace (LocProd T), ∃ F, S.IsFillingLevel T F := bylemma
Filling.lines 159–173argumenttermPosition_floorGroup_spec Lemma. For \sigma\in G(E) in the floor group GT \varrho (fixing all e_a,e_a^{*}) and classes c,c': with L=termPosition(S,c,c',\sigma),\omega_j=\sigma_{(x_j),z} and t=Z(\sigma)_{\mathrm{top},\mathrm{top}}: L lies in GT \varrho, the orbit point of L^{-1} at top istailVector(\overline{\pi},t,\widetilde{c}^{-1}\cdot\omega),N\cdot\overline{\omega}\cdot\omega=t\cdot\overline{t}-N^{2}, andtermPosition(S,c,c',w_p\sigma)=w_p L for every family of units p (Weyl elements).Structured proof, 5 steps Lemma 5.1, p. 14 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 159–164 lemma termPosition_floorGroup_spec {σ} (u : σ ∈ GT 𝔰.ϱ) c c' : let L := S.termPosition c c' σ; let φ := algebraMap E (𝔸f E) let ω j := σ.1.1 (𝔰.indexX₀ j) 𝔰.z let t := S.frameProducts σ 𝔰.top 𝔰.top; L ∈ GT 𝔰.ϱ ∧ orbitPoint 𝔰.top L⁻¹ = tailVector S.piBar (φ t) (c.out⁻¹.1.1 *ᵥ φ ∘ ω) ∧ S.N * star ω ⬝ᵥ ω = t * star t - S.N ^ 2 ∧ ∀ p, S.termPosition c c' (weylElem 𝔰.ϱ p * σ) = weylElem 𝔰.ϱ (Units.map φ ∘ p) * Llemma
Filling.lines 178–212argumentexists_hasSum_cosetAmplitude For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. Let E carry Weil data, S be admissible and \sigma a side. IfamplitudeSum(S,\mathtt{termsOfLink}(S,\Lambda),c,s,c')\ne0 and all terms over (c,s,c') have nonzero leading minors, then there are a unit t,\sigma'\in G(E) in GT \varrho with Z(\sigma')_{\mathrm{top},\mathrm{top}}=t,N^{2}<|\Phi_v(t)|^{2} at every v,k\in K with reduction s and \Lambda=\operatorname{link}(w_1\sigma'), and a family L(p) withHasSumL=amplitudeSum(S,\mathtt{termsOfLink}(S,\Lambda),c,s,c') and, for every p,cosetAmplitude(S,T,c,s,c',w_{(p,t)}\sigma')\to L(p) as T grows.Structured proof, 13 steps Theorem B, p. 3 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 178–183 lemma exists_hasSum_cosetAmplitude [WeilData E] [S.IsAdmissible] {π : Side} {c s c' Λ} (h : S.amplitudeSum (S.termsOfLink Λ) c s c' ≠ 0) (hs : ∀ γ ∈ S.termsOver c s c', ∀ l, leadingMinor (S.frameProducts γ) l ≠ 0) : ∃ (t : Eˣ) (σ : S.G E), ∃ k, (σ ∈ GT 𝔰.ϱ ∧ S.frameProducts σ 𝔰.top 𝔰.top = t ∧ (∀ v, S.N ^ 2 < ‖Φ v t.1‖ ^ 2) ∧ S.reduction k = s ∧ Λ = link (weylElem 𝔰.ϱ 1 * σ)) ∧ ∃ L, HasSum L (S.amplitudeSum (S.termsOfLink Λ) c s c') ∧ ∀ p : Fin 𝔰.ϱ → _, Filter.Tendsto (fun T ↦ S.cosetAmplitude T c s c' (weylElem 𝔰.ϱ (padTuple p t) * σ)) .atTop (nhds (L p)) := bylemma
Filling.lines 214–217computationtailVector_evalPlaces For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma.tailVector(\overline{\pi}_T,t_T,x_T)= (tailVector(\overline{\pi},t,x)){}_T: tail vectors commute with taking components at T.The Lean statement
New/Filling/GlobalToLocal.lean · lines 214–215 lemma tailVector_evalPlaces t (x : 𝔰.κ → _) : tailVector (S.piBar.map (evalPlaces T)) (evalPlaces T t) (evalPlaces T ∘ x) = evalPlaces T ∘ tailVector S.piBar t x := funext (by simp [Sum.forall,lemma
IntegralPlace.lines 222–229argumentmd_evalPlaces_rpow_half For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. For an integral place structure P on \prod_T E_w and a unit x of E with x,x^{-1} integral outside T: \operatorname{md}(x_T)^{1/2}=(\prod_v|\Phi_v(x)|)^{-1}.Structured proof, 3 steps Lemma 4.4, p. 12 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 222–223 lemma _root_.IntegralPlace.md_evalPlaces_rpow_half {x : Eˣ} (h : ↑x ∈ ratIntegralOff T ∧ ↑x⁻¹ ∈ ratIntegralOff T) : P.md (evalPlaces T x) ^ (2⁻¹ : ℝ) = (∏ v, ‖Φ v x.1‖ₑ)⁻¹ := bylemma
Filling.lines 231–233one-stepIsFillingLevel. mem_principalLevel_iff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma. x\in K(g)=principalLevel(S) iff x is integral outside T andtoPlaces(S,T)(x)\incongGroup(F).The Lean statement
New/Filling/GlobalToLocal.lean · lines 231–232 lemma IsFillingLevel.mem_principalLevel_iff : x ∈ S.principalLevel ↔ S.IsIntegralOff T x ∧ S.toPlaces T x ∈ F.congGroup := by rw [principalLevel_eq_unitaryLevel, mem_unitaryLevel_iff hT.1,lemma
Filling.lines 235–238argumentIsFillingLevel. reduction_eq_iff For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma. For k,l\in K: \operatorname{reduction}(S)(k)=\operatorname{reduction}(S)(l) ifftoPlaces(k)^{-1}\cdottoPlaces(l)\incongGroup(F).Structured proof, 2 steps Lemma 4.2, p. 12 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 235–236 lemma IsFillingLevel.reduction_eq_iff : S.reduction k = S.reduction l ↔ (S.toPlaces T k)⁻¹ * S.toPlaces T l ∈ F.congGroup := bylemma
Filling.lines 240–243computationIsFillingLevel. psi_simpleRootSum_eq_unipotentChar For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma. If x is integral outside T then \psi(g^{-1}\cdot\sigma(\mathtt{toPlaces}(S,T)(x)))=unipotentChar(S,x).The Lean statement
New/Filling/GlobalToLocal.lean · lines 240–241 lemma IsFillingLevel.psi_simpleRootSum_eq_unipotentChar (h : S.IsIntegralOff T x) : P.ψ (F.g⁻¹ * simpleRootSum (S.toPlaces T x)) = S.unipotentChar x := .trans (by simplemma
Filling.lines 245–247computationIsFillingLevel. md_g For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma. \operatorname{md}(\mathtt{F.g})=(g^{f})^{-2} (f the number of infinite places).The Lean statement
New/Filling/GlobalToLocal.lean · line 245 lemma IsFillingLevel.md_g : P.md F.g = (S.g ^ numInfPlaces E : ℝ≥0∞)⁻¹ ^ 2 := bylemma
Filling.lines 249–253argumentIsFillingLevel. g_pow_mul_unipotentMass For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma.unipOrder(S)\cdotunipotentMass(F)=1.Structured proof, 3 steps Lemma 4.4, p. 12 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · line 249 lemma IsFillingLevel.g_pow_mul_unipotentMass : S.unipOrder * F.unipotentMass = 1 := bylemma
Filling.lines 258–269argumentIsFillingLevel. card_reducedImage_mul For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma. Let B be a subgroup ofGFin(S) and \mu an s-finite measure, carried bytoPlacesof elements of B integral outside T and right invariant undertoPlaces(B). Then \#reducedImage(S,B)\cdot\mu(\mathtt{congGroup}(F))=\mu(\mathtt{unitaryLevel}(R,1,\cdot)).Structured proof, 3 steps Proposition 4.5, p. 14 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 258–260 lemma IsFillingLevel.card_reducedImage_mul {B μ} [SFinite μ] (a : ∀ᵐ z ∂μ, ∃ x ∈ B, S.toPlaces T x = z ∧ S.IsIntegralOff T x) (r : ∀ x ∈ B, μ ∗ₘ .dirac (S.toPlaces T x) = μ) : Nat.card (S.reducedImage B) * μ F.congGroup = μ (unitaryLevel P.R 1 (S.latMiddle _).splitGram) := bylemma
Filling.lines 275–296argumentcard_reducedImage_besselS For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Lemma. If E carries Weil data: \#reducedImage(S,\mathsf{S})= \#reducedImage(S,\mathsf{H})\cdotunipOrder(S).Structured proof, 8 steps Corollary 4.6, p. 14 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 275–276 lemma card_reducedImage_besselS : .card (S.reducedImage besselS) = .card (S.reducedImage besselH) * S.unipOrder := bylemma
Filling.lines 302–376argumentIsFillingLevel. correlation_smul_eq_cosetAmplitude For the filling data S over E and a finite set T of finite places of E (stable under conjugation where stated). Let \prod_{w\in T}E_w carry an integral place structure P and F be a filling level (IsFillingLevel(S,T,F)), and assume g^{-1} is integral outside T. Lemma (unfolding). Let E carry Weil data, S be admissible, \sigma a side, \sigma'\in G(E) in GT \varrho, units p, classes c,c',Z\inIntermediateGroup(F),k\in K, withtermPosition(S,c,c',w_p\sigma') integral outside T, and cosets a,b of Z withtoPlaces(k)^{-1}\cdot a\cdot b^{-1}\incongGroup(F). With q=p at T and \gamma=w_p\sigma': \operatorname{correlation}(Z,q,\mathtt{toPlaces}(\mathtt{termPosition}(S,c,c',\sigma'))^{-1})_{(a,b)}\cdotbesselCorrelation(W,\gamma_{\infty})=\kappa_{\varrho}(q,1)\cdot\mathsf{M}(K(g))\cdotcosetAmplitude(S,T,c,\operatorname{reduction}(k),c',\gamma).Structured proof, 30 steps Theorem A, p. 2 of From amplitude sums to local correlations: filling levels at finitely many places, and the filling data of the admissible data
The Lean statement
New/Filling/GlobalToLocal.lean · lines 302–308 lemma IsFillingLevel.correlation_smul_eq_cosetAmplitude [S.IsAdmissible] [Side] {σ p c c'} {Z : F.IntermediateGroup} {k : S.latStabilizer} (u : σ ∈ GT 𝔰.ϱ) (o : S.IsIntegralOff T (S.termPosition c c' (weylElem 𝔰.ϱ p * σ))) {a b : Z.Cosets} (e : (S.toPlaces T k)⁻¹ * a.out.1 * b.out.1⁻¹ ∈ F.congGroup) : let q := Units.map (ratToPlaces T) ∘ p; let γ := weylElem 𝔰.ϱ p * σ F.correlation Z q (S.toPlaces T (S.termPosition c c' σ))⁻¹ (a, b) • besselCorrelation volume (.toLp 2 <| S.besselFn ·) (S.ratToInf γ) = (F.headDensity 𝔰.ϱ q 1).toReal • F.groupMeasure.real F.congGroup • S.cosetAmplitude T c (S.reduction k) c' γabbrev
Filling.line 18aliasfinAdeleMat For a number field E (with its CM structure as section instances) and a matrix M over E:finAdeleMat(M) is the matrix over the finite adeles \mathbb{A}_f of E obtained by embedding each entry.The Lean statement
New/Filling/GramLiouville.lean · line 18 noncomputable abbrev finAdeleMat := M.map ((↑) : E → 𝔸f E)lemma
Filling.line 20one-stepfinAdeleMat_conjTranspose For a CM number field E and a matrix M over E:finAdeleMat(M^{H})=finAdeleMat(M)^{H} (the embedding into \mathbb{A}_f commutes with the involutions).The Lean statement
New/Filling/GramLiouville.lean · line 20 lemma finAdeleMat_conjTranspose : finAdeleMat Mᴴ = (finAdeleMat M)ᴴ := by aesoplemma
Filling.line 22one-stepmap_conjTranspose For a CM number field E, a matrix M over E and a ring homomorphism \varphi:E\to\mathbb{C}: \varphi(M^{H})=\varphi(M)^{H} entrywise (every complex embedding of a CM field intertwines its involution with complex conjugation).The Lean statement
New/Filling/GramLiouville.lean · line 22 lemma map_conjTranspose (φ : E →+* ℂ) : Mᴴ.map φ = (M.map φ)ᴴ := by aesoplemma
Filling.lines 25–26one-stepfinAdeleMat_smul For a number field E, a matrix M over E and a\in E:finAdeleMat(a\cdot M)=a\cdotfinAdeleMat(M) (a viewed in \mathbb{A}_f).The Lean statement
New/Filling/GramLiouville.lean · lines 25–26 @[simp] lemma finAdeleMat_smul (a : E) : finAdeleMat (a • M) = (a : 𝔸f E) • finAdeleMat M := by aesoplemma
Filling.lines 28–29one-stepmul_eq_zero_of_range_le_ker For a field k, finite P and \tau, a P\times\tau matrix y and a \sigma\times P matrix A over k (implicit): if the columns of y lie in the kernel of A, then A\cdot y=0.The Lean statement
New/Filling/GramLiouville.lean · lines 28–29 lemma mul_eq_zero_of_range_le_ker [Fintype τ] : colSpan y ≤ A.mulVecLin.ker → A * y = 0 := by simp [LE.le, ext_iff_mulVec]lemma
Filling.lines 33–40argumentexists_basis_extend_ker For a field k, finite P and \sigma, a \sigma\times P matrix A over k (implicit), a P\times\sigma matrix x (implicit) with \det(A\cdot x)\ne0 (h) and a subspace L of k^{P} (implicit) containing the columns of x (hL): there are s\in\mathbb{N} and a matrix y with s columns such that s=\dim(L\cap\ker A), the block matrix (x|y) has a left inverse, its columns \operatorname{span}L, the columns of y lie in L,A\cdot y=0, and y\cdot t\incolSpan(x) only for t=0. (The census also lists the section variable y and the variables P,\tau it depends on; the statement binds its own y.)Structured proof, 1 step Lemma 5.1, p. 26 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/GramLiouville.lean · lines 33–35 lemma exists_basis_extend_ker [Fintype σ] {x} (h : (A * x).det ≠ 0) {L} (hL : colSpan x ≤ L) : ∃ s y, finrank k (SubmoduleElem (L ⊓ A.mulVecLin.ker)) = s ∧ HasLeftInv (x.fromCols y) ∧ colSpan (x.fromCols y) = L ∧ colSpan y ≤ L ∧ A * y = 0 ∧ ∀ t : Fin s → k, y *ᵥ t ∈ colSpan x → t = 0 :=def
Filling.lines 49–54argumentsublatticeBasis For a CM number field E that is stably unramified, finite P,\sigma, matrices L (\sigma\times P) and H (P\times\sigma) over \mathbb{A}_f with L\cdot H=1 (u), a subspace V of E^{\sigma},s\in\mathbb{N} andhs: \dim V=s (by defaultrfl):sublatticeBasis(u,V,\mathtt{hs}) is a chosen matrix m over \mathbb{A}_f with s columns such that H\cdot m is primitive over \hat{O} (integral with an integral left inverse) and m=y\cdot a for some basis y of V over E (left invertible, column \operatorname{span}V) and some a\inGL_s(\mathbb{A}_f); its columns form a basis of the lattice of adelic points of V that H makes integral.The Lean statement
New/Filling/GramLiouville.lean · lines 49–51 @[irreducible] noncomputable def sublatticeBasis (hs : finrank E V = s := by rfl) : {m // IsPrimitiveMatrix (Ô E) (H * m) ∧ ∃ᵉ (y : Matrix _ (Fin s) E) (a : GL (Fin s) (𝔸f E)), HasLeftInv y ∧ colSpan y = V ∧ m = finAdeleMat y * a.1} :=def
Filling.lines 58–59argumentsublatticeDisc For E,P,\sigma,L,H as above with L\cdot H=1 (u) and a subspace V of E^{\sigma}:sublatticeDisc(u,V)=\sqrt{\det(m^{H}m)},m=sublatticeBasis(u,V) (with s=\dim V), [\cdot]=genIndexthe inverse module: the discriminant of the lattice of adelic points of V that H makes integral.The Lean statement
New/Filling/GramLiouville.lean · line 58 noncomputable def sublatticeDisc := √(genIndexlemma
Filling.lines 64–79argumentsublatticeDisc_mul_index_sq_le Let E be a stably unramified CM field, \sigma finite, V a subspace of E^{\sigma},s=\dim V (hypothesis c), x a \sigma\times s matrix over E whose columns lie in V (e), w\inGL_s(\mathbb{A}_f),D=[\det(x^{H}x)]\cdot[\det w]^{2} (d) with D\ne0 (h), and (with the matrices H,Y and the lattice K of the file) n=H\cdot x\cdot w. If n is integral and every column of Y\cdot n lies in K, then with i=[M:M\cap K], the index of M\cap K in M (submoduleIndex(K,M); 0 if infinite; M\subseteq K is not assumed), where M is the \hat{O}-span of the columns of Y\cdot H\cdot m (m=\mathtt{sublatticeBasis}(u,V)), and d=sublatticeDisc(u,V): (d\cdot i)^{2}\le D,d>0 and i\ge1.Structured proof, 10 steps Proposition 5.2, p. 27 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/GramLiouville.lean · lines 64–68 lemma sublatticeDisc_mul_index_sq_le (c : s = finrank E V) (e : colSpan x ≤ V) (w : GL (Fin s) (𝔸f E)) (d : genIndex (finAdeleMat (xᴴ * x)).det * genIndex w.1.det ^ 2 = D) (h : D ≠ 0) : let n := H * (finAdeleMat x * w.1); IsIntMatrix (Ô E) n → (∀ j, (Y * n).col j ∈ K) → let i := submoduleIndex K (colLattice (Ô E) (Y * (H * (sublatticeBasis u V).1))) (sublatticeDisc u V * i) ^ 2 ≤ D ∧ 0 < sublatticeDisc u V ∧ 1 ≤ ilemma
Filling.line 14one-stepcontinuous_besselFn For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma and a tuple i of Bessel coordinates: y\mapstobesselFn(S,y,i) is continuous on \prod_v G_1.The Lean statement
New/Filling/LatticeChart.lean · line 14 @[fun_prop] lemma continuous_besselFn i : Continuous (S.besselFn · i) := by fun_prop [besselFn]lemma
Filling.lines 16–17one-stepcontinuous_besselKernel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma and \gamma\in G(S,E) (implicit): y\mapstobesselKernel(S,\gamma,y) is continuous.The Lean statement
New/Filling/LatticeChart.lean · lines 16–17 @[fun_prop] lemma continuous_besselKernel : Continuous (S.besselKernel γ) := by fun_prop [besselKernel]lemma
Filling.lines 19–22computationenorm_besselKernel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma,\gamma\in G(S,E) (implicit) and an archimedean point y: \lVert\mathtt{besselKernel}(S,\gamma,y)\rVert=(\prod_v\lVert W_{\sigma,v}(y_v)\rVert)\cdot(\prod_v\lVert W_{\sigma,v}((\gamma^{-1}y)_v)\rVert) in [0,\infty],\gamma^{-1}y=ratToInf(\gamma)^{-1}\cdot y.Structured proof, 1 step Lemma 3.8, p. 23 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LatticeChart.lean · lines 19–20 lemma enorm_besselKernel y : ‖S.besselKernel γ y‖ₑ = (∏ v, ‖(S.besselSys v).W σ (y v)‖ₑ) * ∏ v, ‖(S.besselSys v).W σ (((S.ratToInf γ)⁻¹ * y) v)‖ₑ := bylemma
Filling.lines 24–25one-stepenorm_amplitude_le For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma,\gamma\in G(S,E) (implicit) and classes c,c': \lVert\operatorname{amplitude}(S,c,c',\gamma)\rVert\leamplitudeAbs(S,c,c',\gamma) in [0,\infty].The Lean statement
New/Filling/LatticeChart.lean · line 24 lemma enorm_amplitude_le c c' : ‖S.amplitude c c' γ‖ₑ ≤ S.amplitudeAbs c c' γ := by grw [amplitude,lemma
Filling.lines 34–38computationisIntMatrix_middleBaseChange_mul For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a type m and a \kappa\times m matrix l over \mathbb{A}_f (both implicit): (a) if \operatorname{diag}(\overline{\pi}^{-1} at k_0)\cdot l is integral, thenmiddleBaseChange(\mathfrak{s},\overline{\pi})\cdot l is integral; (b)middleBaseChange(\mathfrak{s},\overline{\pi})\cdot l is integral iff l is integral and every entry of the row k_0 of l lies in \overline{\pi}\cdot\hat{O}.Structured proof, 2 steps Lemma 3.9, p. 23 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LatticeChart.lean · lines 34–36 lemma isIntMatrix_middleBaseChange_mul {m} {l : Matrix _ m _} : (IsIntMatrix (Ô E) (scaleAt S.piBar⁻¹.1 𝔰.k₀ * l) → IsIntMatrix (Ô E) (middleBaseChange 𝔰 S.piBar * l)) ∧ (IsIntMatrix (Ô E) (middleBaseChange 𝔰 S.piBar * l) ↔ IsIntMatrix (Ô E) l ∧ ∀ j, l 𝔰.k₀ j ∈ Ô E ∙ ↑S.piBar) := bylemma
Filling.lines 40–43one-stepforall_inclHFin_sub_one_iff For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), k in the finite adelic unitary group of X_0 (implicit) and a property P of finite adeles with P(0): P holds for every entry ofinclHFin(k)-1 iff P holds for every entry ofmiddleBaseChange(\mathfrak{s},\overline{\pi})\cdot(k-1)\cdot\operatorname{diag}(\operatorname{conj}(\overline{\pi}^{-1}) at k_0).The Lean statement
New/Filling/LatticeChart.lean · lines 40–42 lemma forall_inclHFin_sub_one_iff (P : _ → _) : P 0 → ((∀ a b, P (((S.inclHFin k).1.1 - 1) a b)) ↔ ∀ a b, P ((middleBaseChange 𝔰 S.piBar * ((k.1.1 - 1) * scaleAt (star S.piBar⁻¹.1) 𝔰.k₀) :) a b)) := by simp_all [inclHFin, toLatBasis, besselLatticeBasis, toBesselH, mul_sub, sub_mul,lemma
Filling.lines 49–55argumentisIntMatrix_scaleAt_sub_one Let E be a CM field, \kappa a finite type (implicit), p a finite idele such that at every finite place w,p is a unit at w or at \overline{w} (hp), o\in\kappa an index, and k in the finite adelic unitary group G_f(\kappa) (implicit) lying in the congruence group of the rows \{o\} modulo p\hat{O} (k integral with row o congruent to that of 1 modulo p\hat{O}; h). Then \operatorname{diag}(p^{-1} at o)\cdot(k-1)\cdot\operatorname{diag}(\operatorname{conj}(p^{-1}) at o) is integral: k-1 with row o divided by p and column o by \overline{p} is integral.Structured proof, 3 steps Lemma 3.9, p. 23 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LatticeChart.lean · lines 49–51 lemma isIntMatrix_scaleAt_sub_one {κ} [Fintype κ] (p : (𝔸f E)ˣ) o (hp : ∀ w, Valued.v (p.1 w) = 1 ∨ Valued.v (p.1 (star w)) = 1) {k : Gf E κ} (h : k.1 ∈ congruenceGL (Ô E ∙ ↑p) fun () ↦ o) : IsIntMatrix (Ô E) (scaleAt p⁻¹.1 o * ((k.1.1 - 1) * scaleAt (star p⁻¹.1) o)) := bylemma
Filling.lines 57–65argumentinclHFin_mem_latStabilizer For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and k in the finite adelic unitary group of X_0 (implicit):inclHFin(S)(k)\in K iff k lies in the congruence group of the row k_0 modulo \overline{\pi}\hat{O} (k integral with row k_0 congruent to that of 1 modulo \overline{\pi}\hat{O}).Structured proof, 2 steps Theorem E, p. 4 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LatticeChart.lean · lines 57–58 lemma inclHFin_mem_latStabilizer : S.inclHFin k ∈ S.latStabilizer ↔ ↑k ∈ congruenceGL (Ô E ∙ ↑S.piBar) fun () ↦ 𝔰.k₀ := .trans ⟨(·.isIntMatrix.sub .one), by simp_all [latStabilizer,lemma
Filling.lines 67–72argumentreduction_inclHFin_eq_one_iff For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), k in the finite adelic unitary group of X_0 (implicit) withinclHFin(k)\in K (h), i\in\{0,1\} and a chosen place w above q_i: the reduction ofinclHFin(k) at w is 1 iff the reduction of k modulo w (as an element of K_0(\kappa)=G_f(\kappa)\capGL(\hat{O}), integral byinclHFin_mem_latStabilizer) is 1.Structured proof, 2 steps Lemma 3.10, p. 24 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LatticeChart.lean · lines 67–68 lemma reduction_inclHFin_eq_one_iff h i w : S.reduction ⟨_, h⟩ i w = 1 ↔ Kf.reduceAt w ⟨k, (S.inclHFin_mem_latStabilizer.1 h).1⟩ = 1 := bylemma
Filling.lines 74–75one-stepclassSum_eq_sum For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and f:G_f(\kappa)\to\mathbb{R}: the class sum of f over U(X_0)(E)\backslash G_f(\kappa)/K_c (weights 1/\#(\Gamma\cap\mathtt{gK\_cg}{}^{-1})) equals \sum_{c\in\mathtt{Classes}(S)}f(\widetilde{c}), because all these stabilisers are trivial (aut_columnLevel).The Lean statement
New/Filling/LatticeChart.lean · lines 74–75 lemma classSum_eq_sum f : classSum stdRatPoints S.columnLevel f = (∑ c : S.Classes, f c.out : ℝ) := by simp [classSum, aut_columnLevel, ← finsum_eq_sum_of_fintype]; rfllemma
Filling.lines 77–78one-stepcard_resField_eq_levelPrime For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), i\in\{0,1\} and a chosen place w above q_i: the residue field \mathbb{F}_w has q_i elements.The Lean statement
New/Filling/LatticeChart.lean · lines 77–78 lemma card_resField_eq_levelPrime i (w : S.chosenPlaces i) : .card (ResField w.1) = S.levelPrime i := by grind [card_ResField, chosenPlaces_q]lemma
Filling.lines 29–30one-stepmap_splitGram_latMiddle For filling data S over a CM field E for a shape \mathfrak{s} (E,\mathfrak{s},S implicit), commutative rings R,R' and a ring homomorphism f:R\to R': applying f entrywise tolatMiddle(S,R).splitGramgiveslatMiddle(S,R').splitGram.The Lean statement
New/Filling/LevelBridge.lean · lines 29–30 lemma map_splitGram_latMiddle : (S.latMiddle R).splitGram.map f = (S.latMiddle _).splitGram := by aesoplemma
Membership.lines 32–33one-stepmem. map_mem_unitriangularOn For a shape \mathfrak{s}, commutative rings R,R', a ring homomorphism f:R\to R', a relation r on the basis indices of V with its transitivity condition h, a subgroup H ofGL(R) and \gamma\in H that agrees with 1 on the positions r (\gamma\in\mathtt{agreeWithOneOn}(r)\cap H): the image of \gamma under f, entrywise, agrees with 1 on the positions r (lies inagreeWithOneOn(r) over R').The Lean statement
New/Filling/LevelBridge.lean · lines 32–33 lemma _root_.Membership.mem.map_mem_unitriangularOn {r h} {H : Subgroup (GL 𝔰.BesselIndex _)} {γ} : γ ∈ (agreeWithOneOn r _ h).subgroupOf H → .map f γ.1 ∈ agreeWithOneOn r _ h := by aesopinstance
(anonymous)line 35one-stepFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):ratMiddle(S,E) is hermitian and invertible (an instanceIsHermUnit): it is real diagonal with entries 1 and -N\ne0.The Lean statement
New/Filling/LevelBridge.lean · line 35 instance : IsHermUnit (S.ratMiddle E) := ⟨by aesop, by simp [isUnit_iff_isUnit_det, middleGram]⟩lemma
Filling.lines 39–41argumenttoLatBasis_mem_besselU For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and x\in G(S,\mathbb{A}_f) (finite adelic, standard basis; implicit):toLatBasis(x)=B^{-1}xBlies in the unipotent group \mathsf{U} of the lattice-basis form iff x lies in \mathsf{U} (B=\mathtt{latBasis}).Structured proof, 1 step Lemma 3.4, p. 21 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · line 39 lemma toLatBasis_mem_besselU : S.toLatBasis x ∈ besselU ↔ x ∈ besselU := ⟨(bylemma
Filling.lines 43–44one-stepratToFin_mem_besselU For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E) (implicit):ratToFin(S)(\gamma)\in\mathsf{U} iff \gamma\in\mathsf{U}.The Lean statement
New/Filling/LevelBridge.lean · line 43 @[simp] lemma ratToFin_mem_besselU : S.ratToFin γ ∈ besselU ↔ γ ∈ besselU :=lemma
Filling.line 46one-stepinclHFin_mem_besselH For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and k in the finite adelic unitary group of X_0:inclHFin(S)(k) lies in \mathsf{H} (of the lattice-basis form).The Lean statement
New/Filling/LevelBridge.lean · line 46 lemma inclHFin_mem_besselH k : S.inclHFin k ∈ besselH := by simp [besselLatticeBasis, Sum.forall]lemma
Filling.lines 48–50argumentrange_inclHFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): the image ofinclHFin(S) is exactly \mathsf{H}\subseteqGFin(S).Structured proof, 1 step Lemma 3.4, p. 21 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · line 48 lemma range_inclHFin : S.inclHFin.range = besselH := le_antisymm (fun _ ⟨k, e⟩ ↦lemma
Filling.lines 52–53one-stepratToFin_toBesselH For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma in the rational unitary group of the identity form on \kappa (U(X_0)(E)):ratToFin(S)(\mathtt{toBesselH}(\gamma))=inclHFin(S)(\mathtt{stdEmbFin}(\gamma)): embedding into \mathsf{H} and passing to the finite adeles commute.The Lean statement
New/Filling/LevelBridge.lean · lines 52–53 lemma ratToFin_toBesselH γ : S.ratToFin (toBesselH _ _ γ) = S.inclHFin (stdEmbFin γ) := by ext; simp [stdSpace_embFin γ]def
Filling.line 57argumentclassBasis For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classBasis(S,c)=toBesselH(\widetilde{c})\cdotlatBasis(S), the finite adelic matrix \widetilde{h}_c\cdot B whose columns form a basis of the lattice h_c\Lambda_0 in rational coordinates (\widetilde{c} the chosen representative of c, embedded into the standard-basis group bytoBesselHwith middle formmiddleGram(N)).The Lean statement
New/Filling/LevelBridge.lean · line 57 def classBasis (c : S.Classes) := (toBesselH _ ↑S.N c.out).1 * S.latBasislemma
Filling.lines 59–60one-stepcoe_termPosition For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c' and \gamma\in G(S,E): the matrix oftermPosition(S,c,c',\gamma) isclassBasis(c)^{-1}\cdot\gamma\cdotclassBasis(c') (\gamma mapped entrywise to \mathbb{A}_f).The Lean statement
New/Filling/LevelBridge.lean · lines 59–60 lemma coe_termPosition c c' γ : (S.termPosition c c' γ).1 = (classBasis c)⁻¹ * .map (algebraMap E _) γ * classBasis c' := by simp [classBasis]lemma
Membership.lines 62–64one-stepmem. termPosition_mem_besselU For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit) and a class c: if \gamma\in\mathsf{U}, thentermPosition(S,c,c,\gamma)=h_c^{-1}\gamma h_c\in\mathsf{U} (h_c\in\mathsf{H}\subseteq\mathsf{S} normalises \mathsf{U}).The Lean statement
New/Filling/LevelBridge.lean · lines 62–63 lemma _root_.Membership.mem.termPosition_mem_besselU c : γ ∈ besselU → S.termPosition c c γ ∈ besselU := (besselS_le_normalizer_besselU (mem_unitriGroup_of_mem_floorGrouplemma
Filling.lines 66–67one-steptermsOver. mul For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c',c'', elements s,t\in\mathsf{G} and \gamma,\delta\in G(S,E) (all implicit): if \gamma\intermsOver(S,c,s,c') and \delta\intermsOver(S,c',t,c''), then \gamma\delta\intermsOver(S,c,s\cdot t,c'').The Lean statement
New/Filling/LevelBridge.lean · lines 66–67 lemma termsOver.mul : γ ∈ S.termsOver c s c' → δ ∈ S.termsOver c' t c'' → γ * δ ∈ S.termsOver c (s * t) c'' | ⟨k, _⟩ => .imp' (k * ·) (by aesop)lemma
Filling.line 69one-steptermsOver. inv For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c',s\in\mathsf{G} and \gamma\in G(S,E) (all implicit): if \gamma\intermsOver(S,c,s,c'), then \gamma^{-1}\intermsOver(S,c',s^{-1},c).The Lean statement
New/Filling/LevelBridge.lean · line 69 lemma termsOver.inv : γ ∈ S.termsOver c s c' → γ⁻¹ ∈ S.termsOver c' s⁻¹ c := .imp' (·⁻¹) (by aesop)lemma
Filling.lines 71–75computationsimpleRootSum_adelicToFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and u\in G(S,\mathbb{A}_E): \sigma(\mathtt{adelicToFin}(S)(u)) equals the finite component of \sigma(u) (\sigma=\mathtt{simpleRootSum}).Structured proof, 2 steps Lemma 3.2, p. 19 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · lines 71–72 @[local simp] lemma simpleRootSum_adelicToFin : simpleRootSum (S.adelicToFin u) = (simpleRootSum u).2 := bylemma
Filling.lines 77–78one-stepsimpleRootSum_ratToAdelic For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and u\in G(S,E): \sigma(\mathtt{ratToAdelic}(S)(u)) is the diagonal image in \mathbb{A}_E of \sigma(u) (\sigma=\mathtt{simpleRootSum}).The Lean statement
New/Filling/LevelBridge.lean · line 77 @[simp] lemma simpleRootSum_ratToAdelic : simpleRootSum (S.ratToAdelic u) = simpleRootSum u :=lemma
Filling.line 80one-stepnorm_selfDualChar For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a finite adele x (implicit): |\mathtt{selfDualChar}(S)(x)|=1.The Lean statement
New/Filling/LevelBridge.lean · line 80 @[simp] lemma norm_selfDualChar : ‖S.selfDualChar x‖ = 1 := norm_coe _lemma
Membership.lines 82–83one-stepmem. ratToInf_mem_unitriangularOn For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit), a relation r on the basis indices with its condition h (implicit), and an infinite place v: if \gamma agrees with 1 on the positions r (hypothesis k), so does its rescaled imageratToInf(S)(\gamma)_v in G_1.The Lean statement
New/Filling/LevelBridge.lean · lines 82–83 lemma _root_.Membership.mem.ratToInf_mem_unitriangularOn {r h} (k : γ ∈ (agreeWithOneOn r _ h).subgroupOf _) v : S.ratToInf γ v ∈ (agreeWithOneOn r _ h).subgroupOf _ := by aesoplemma
Filling.lines 88–96argumentbesselFn_adelicToInf_mul For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), x\in G(S,\mathbb{A}_E) (implicit), the side (full or cut, an instance), the hypothesis x\in\mathsf{U} (h) and an archimedean point y:besselFn(S,\mathtt{adelicToInf}(x)\cdot y)=(\psi(-\sigma(x)/(g\varpi))/\mathtt{unipotentChar}(S,\mathtt{adelicToFin}(x)))\cdotbesselFn(S,y), where \psi=stdAddCharis the standard additive character of \mathbb{A}_E and \sigma=simpleRootSum: left translation by the archimedean part of x multiplies W(y) by \psi(-\sigma(x)/(g\varpi)) divided by the finite character of the finite part of x.Structured proof, 3 steps Theorem E, p. 4 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · lines 88–90 lemma besselFn_adelicToInf_mul [Side] (h : x ∈ besselU) y : S.besselFn (S.adelicToInf x * y) = (stdAddChar E (↑(-(S.g * S.ϖ : E)⁻¹) * simpleRootSum x) / S.unipotentChar (S.adelicToFin x)) • S.besselFn y := bylemma
Filling.lines 98–100one-stepbesselFn_ratToInf_mul For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit), the side (an instance), the hypothesis \gamma\in\mathsf{U} (h) and an archimedean point y:besselFn(S,\mathtt{ratToInf}(\gamma)\cdot y)=unipotentChar(S,\mathtt{ratToFin}(\gamma))^{-1}\cdotbesselFn(S,y) (the standard character is trivial on rational points).The Lean statement
New/Filling/LevelBridge.lean · lines 98–99 lemma besselFn_ratToInf_mul [Side] (h : γ ∈ besselU) y : S.besselFn (S.ratToInf γ * y) = (S.unipotentChar (S.ratToFin γ))⁻¹ • S.besselFn y := (besselFn_adelicToInf_mullemma
Filling.lines 108–109one-stepisUnimodular_latMiddle For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a commutative ring F with involution and a subring R of F:latMiddle(S,F) is unimodular over R (hermitian, and inGL(R)).The Lean statement
New/Filling/LevelBridge.lean · lines 108–109 lemma isUnimodular_latMiddle [StarRing F] {R} : IsUnimodular R (S.latMiddle F) := by simp [isUnimodular_latMiddleGram]instance
(anonymous)lines 111–112one-stepFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a commutative ring F with involution:latMiddle(S,F) is hermitian and invertible (an instanceIsHermUnit), by unimodularity over F itself.The Lean statement
New/Filling/LevelBridge.lean · line 111 instance [StarRing F] : IsHermUnit (S.latMiddle F) :=lemma
Filling.lines 114–115one-steptranspose_splitGram For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a commutative ring F:latMiddle(S,F).splitGramis symmetric (equal to its transpose); in this file F carries the trivial involution by a local instance (starRingOfComm).The Lean statement
New/Filling/LevelBridge.lean · line 114 lemma transpose_splitGram : (S.latMiddle F).splitGramᵀ = (S.latMiddle F).splitGram :=def
Filling.lines 119–120argumentidOrInvAdjoint For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a commutative ring F (with the trivial involution of the file's local instance) and a Boolean b:idOrInvAdjoint(S,b) is the automorphism s\mapsto J^{-1}(s^{T})^{-1}J ofGL(F) if b is true and the identity if b is false, J=latMiddle(S,F).splitGramthe Gram matrix in the lattice basis.The Lean statement
New/Filling/LevelBridge.lean · line 119 def idOrInvAdjoint b :=def
Filling.lines 125–126argumentreduceAboveG For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and x=((i,w),b) with w a chosen place above q_i and b a Boolean:reduceAboveG(S,x) is the ring homomorphism \hat{O}\to\mathbb{F}_w given by reduction modulo w, preceded by the involution (complex conjugation of the CM field) if b is true.The Lean statement
New/Filling/LevelBridge.lean · line 125 def reduceAboveG (x : (Σ i, S.chosenPlaces i) × _) :=lemma
Filling.lines 130–136argumentintGL_map_reduceAboveG For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), k\in K=latStabilizer(S),i\in\{0,1\}, a chosen place w above q_i and a Boolean b: the entrywise image of k underreduceAboveG(S,((i,w),b)) equalsidOrInvAdjoint(S,b) of the reduction of k at w; for b false both sides are s_w, for b true the conjugate \overline{k} reduces modulo w to J^{-1}(s_w^{T})^{-1}J.Structured proof, 3 steps Lemma 3.6, p. 22 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · lines 130–131 lemma intGL_map_reduceAboveG (k : S.latStabilizer) i w b : intGL.map (S.reduceAboveG (⟨i, w⟩, b)) ⟨k, k.2⟩ = S.idOrInvAdjoint b (S.reduction k i w) := b.rec rfl (k.rec fun k ⟨g, e⟩ ↦ bylemma
Filling.line 138one-stepgIdele_val For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): the finite adele underlyinggIdele(S) is the integer g=q_0q_1.The Lean statement
New/Filling/LevelBridge.lean · line 138 lemma gIdele_val : S.gIdele.1 = S.g := by simp [gIdele]lemma
Filling.line 140one-stepgIdele_mem For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):gIdele(S)\in\hat{O}.The Lean statement
New/Filling/LevelBridge.lean · line 140 lemma gIdele_mem : ↑S.gIdele ∈ Ô E := by simp [gIdele, mul_mem]lemma
Filling.lines 142–145argumentforall_selfDualChar_mul_eq_one_iff For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a finite adele a:selfDualChar(S)(r\cdot a)=1 for every r\in\hat{O} iff a\in\hat{O}.Structured proof, 1 step Lemma 3.5, p. 21 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · line 142 lemma forall_selfDualChar_mul_eq_one_iff a : (∀ r : Ô E, S.selfDualChar (r * a) = 1) ↔ a ∈ Ô E := bylemma
Filling.lines 147–148one-stepselfDualChar_eq_one_of_mem For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):selfDualChar(S)(x)=1 for every x\in\hat{O}.The Lean statement
New/Filling/LevelBridge.lean · lines 147–148 lemma selfDualChar_eq_one_of_mem : ∀ x ∈ Ô E, S.selfDualChar x = 1 := by simpa using S.forall_selfDualChar_mul_eq_one_iff 1lemma
Filling.lines 150–152one-stepinv_gIdele_smul_mem_iff For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and r\in\hat{O}: g^{-1}\cdot r\in\hat{O} iffreduceAboveG(S,x)(r)=0 for every x=((i,w),b) (r and \overline{r} vanish modulo every chosen place).The Lean statement
New/Filling/LevelBridge.lean · lines 150–151 lemma inv_gIdele_smul_mem_iff r : S.gIdele⁻¹ • r.1 ∈ Ô E ↔ ∀ x, S.reduceAboveG x r = 0 := by simpa [dvd_def, Subtype.ext_iff,lemma
Filling.lines 154–157argumentprincipalLevel_eq_unitaryLevel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): K(g)=principalLevel(S) equalsunitaryLevel(\hat{O},g,J), the k\inGFin(S)\capGL(\hat{O}) with g^{-1}(k-1) integral.Structured proof, 1 step Theorem E, p. 4 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/LevelBridge.lean · line 154 lemma principalLevel_eq_unitaryLevel : S.principalLevel = unitaryLevel (Ô E) S.gIdele _ :=lemma
Filling.lines 25–50argumentHasLevel. abs_norm_bordered_det Lemma. Let E be a number field with a CM structure, \mathfrak{s} a shape, S filling data over E of shape \mathfrak{s},j\in\{0,\ldots,\varrho+1\} and \gamma\in G(E) of level j (h:HasLevel(S,j,\gamma) — \gamma is in normal form of index j,D_j(\gamma)\ne0, and \varrho<j\iff\mathsf{g}(\gamma)\ne0). Let r split the indices a\in\{0,\ldots,\varrho-1\} of the isotropic frame vectors e_a=f_a (a<\varrho) into a<j and a\ge j, and let P be the matrix with the columns e_a (all a<\varrho), \gamma e_a (a<j),e_a^{*} (j\le a<\varrho),z=f_{\mathrm{top}}=f_{\varrho} and \gamma z — the isotropic frame vectors, their images under \gamma below j, the dual basis vectors from j on, and z,\gamma z, each of these two once (m=isotropicFramePair(\gamma)=(e_a|\gamma e_a)_{a<\varrho},s the columns e_a^{*},p the pair (z,\gamma z), as in the lets). Put M=P^{*}\cdot J\cdot P+\operatorname{diag}(0,N(S)\cdot1),N(S) added on the diagonal of the last block (the columns e_a^{*},z,\gamma z). Then [\det M]=(N(S)^{2f}\cdot\mathtt{minorNorm}(S,j,\gamma))^{2}. (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 14 steps Lemma 4.1, p. 7 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 25–31 lemma HasLevel.abs_norm_bordered_det (h : S.HasLevel j γ) : let r := sumCompl (@val _ · < j); let m := isotropicFramePair γ let f := .map r (r ∘ inl); let s := (diagonal 1).submatrix id (inr ∘ inr ∘ r ∘ inr) let p := (framePair γ).submatrix id (.map (fun () ↦ 𝔰.top) fun () ↦ 𝔰.top); let P := ((m.submatrix id f).fromCols (s.fromCols p)); let M := Pᴴ * S.ratGram * P + fromBlocks 0 0 0 ((S.N : E) • 1) genIndex (finAdeleMat M).det = (S.N ^ (2 * numInfPlaces E) * S.minorNorm j γ) ^ 2lemma
Filling.lines 55–122argumentexists_lifts_linkDiscSq_le Lemma. Let E be stably unramified, S filling data, c,c' classes, t\in\mathsf{G},\gamma\in G(E) a term over (c,t,c') (hk) of level j (hj), \tau a finite type and v a rational matrix with \tau columns that has a left inverse (hv) and whose columns span \operatorname{link}(\gamma) (hL). Put k=termPosition(S,c,c',\gamma) and w=xRowsIndex(S,j,k)\cdotxRowsIndex(S,j,k^{-1})\cdotsaturationIndex(S,k) (indices of lattices attached to the frame Gram matrix and the isotropic frame pair of k). Then there is e\in\operatorname{GL}_{\tau}(\mathbb{A}_f) withHasIntegralLifts(S,c,\gamma,v\cdot e),linkDiscSq(S,v,e)\cdot w^{2}\leminorNorm(S,j,\gamma)^{2}, and w\ne0. (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 22 steps Proposition 4.2, p. 8 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 55–60 lemma exists_lifts_linkDiscSq_le [StablyUnram E] [Fintype τ] {t} (hk : γ ∈ S.termsOver c t c') (hj : S.HasLevel j γ) {v : Matrix _ τ E} (hv : HasLeftInv v) (hL : colSpan v = link γ) : let k := S.termPosition c c' γ let w : ℝ := S.xRowsIndex j k * S.xRowsIndex j k⁻¹ * S.saturationIndex k ∃ e, HasIntegralLifts c γ (finAdeleMat v * e.1) ∧ S.linkDiscSq v e * w ^ 2 ≤ S.minorNorm j γ ^ 2 ∧ w ≠ 0lemma
Filling.lines 130–138argumentHasIntegralLifts. exists_isIntMatrix Lemma. Let E be a number field with a CM structure, S filling data, c a class, \gamma\in G(E),m an adelic matrix with \tau columns (\tau a section variable that the statement names, so Lean binds it although the census does not list it) and c' a class. IfHasIntegralLifts(S,c,\gamma,m), then with k=termPosition(S,c,c',\gamma) and T_f=latMiddle(S,\mathbb{A}_f) there is an integral matrix n\in M_{\mathtt{BesselIndex}\times\tau}(\hat{O}) withzFormPair(T_f)\cdotlinkMatrix(k)\cdot n=zFormPair(T)\cdot m, (isotropicFramePairk)*\cdot J_f\cdot n=0 (J_f the split Gram matrix of T_f), and, for every p, if the first row block of m is (p; 0) then the X_0-rows of n areclassCoordX{}_0(S,c)\cdot p. (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 3 steps Lemma 4.4, p. 9 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 130–134 lemma HasIntegralLifts.exists_isIntMatrix c' : HasIntegralLifts c γ m → let k := S.termPosition c c' γ; let T := S.latMiddle (𝔸f E); ∃ n : Matrix 𝔰.BesselIndex τ _, IsIntMatrix (Ô E) n ∧ zFormPair T * linkMatrix k * n = finAdeleMat (zFormPair (S.ratMiddle E)) * m ∧ (isotropicFramePair k)ᴴ * T.splitGram * n = 0 ∧ ∀ p, m.toRows₁ = fromRows p 0 → n.toRows₂.toRows₁ = S.classCoordX₀ c * plemma
Filling.lines 151–162argumentHasIntegralLifts. exists_orthogonal_split Lemma. Let E be stably unramified, S filling data, c a class, \gamma\in G(E),\tau a finite type, m a rational matrix with \tau columns, s\in\mathbb{N},y a rational matrix with s columns, and f\in\operatorname{GL}_{\tau\oplus s}(\mathbb{A}_f). Suppose (o) m^{*}\cdotlinkMetric(S)\cdot y=0. IfHasIntegralLifts(S,c,\gamma,(m|y)\cdot f), then there are a\in\operatorname{GL}_{\tau}(\mathbb{A}_f),v\inGL_s(\mathbb{A}_f) and an adelic \tau\times s matrix z withHasIntegralLifts(S,c,\gamma,m\cdot a),HasIntegralLifts(S,c,\gamma,m\cdot z+y\cdot v) andlinkDiscSq(S,m,a)\cdotlinkDiscSq(S,y,v)=linkDiscSq(S,(m|y),f). (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 5 steps Lemma 4.5, p. 10 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 151–155 lemma HasIntegralLifts.exists_orthogonal_split {s} {y : Matrix _ (Fin s) E} {f} (o : mᴴ * S.linkMetric * y = 0) : HasIntegralLifts c γ (finAdeleMat (fromCols m y) * f.1) → ∃ᵉ (a) (v) (z : Matrix τ _ (𝔸f E)), HasIntegralLifts c γ (finAdeleMat m * a.1) ∧ HasIntegralLifts c γ (finAdeleMat m * z + finAdeleMat y * v.1) ∧ S.linkDiscSq m a * S.linkDiscSq y v = S.linkDiscSq (fromCols m y) f := fun ⟨_, _, t, u, p, q, k⟩ ↦ bylemma
Filling.lines 167–179argumentHasLevel. exists_mem_link_termDisc_eq Lemma. Let E be a number field with a CM structure, S filling data, \gamma\in G(E) and j withHasLevel(S,j,\gamma) (h). Then there are a\in E^{\kappa} and y\in E^{\mathrm{Unit}}=E such that the vector ((a,-1),(0,y))\in(X_0\oplus Ez)^{2}, i.e. the pair (a-z,y\cdot z), lies in \operatorname{link}(\gamma), and \mathsf{g}(\gamma)=D_j(\gamma)\cdot\overline{D}_j(\gamma)\cdot(1-\overline{y}y). (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 9 steps Lemma 4.6, p. 10 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 167–169 lemma HasLevel.exists_mem_link_termDisc_eq (h : S.HasLevel j γ) : ∃ a y, (a ⊕ᵥ -1 ⊕ᵥ (0 ⊕ᵥ y) : _ → E) ∈ link γ ∧ S.termDisc γ = leadingMinor (S.frameProducts γ) j * star (leadingMinor (S.frameProducts γ) j) * (1 - star (y ()) * y ()) := bylemma
Filling.lines 181–184one-stepone_le_xRowsIndex_and_saturationIndex Lemma. Let E be stably unramified, S filling data, \gamma\in G(E) a term over (c,s,c') of level j. Then 1\lexRowsIndex(S,j,\mathtt{termPosition}(S,c,c',\gamma)),1\lesaturationIndex(S,\mathtt{termPosition}(S,c,c',\gamma)) and 0<classGauge(S,j,c,c',\gamma) (classGauge=\max(\mathtt{termDiscNorm}(S,\gamma),N^{f}\cdot\mathtt{minorNorm}(S,j,\gamma)) divided by the twoxRowsIndexof k and k^{-1}). (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Corollary 4.3, p. 9 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 181–183 lemma one_le_xRowsIndex_and_saturationIndex (h : γ ∈ S.termsOver c s c') (hc : S.HasLevel j γ) : 1 ≤ S.xRowsIndex j (S.termPosition c c' γ) ∧ 1 ≤ S.saturationIndex (S.termPosition c c' γ) ∧ 0 < S.classGauge j c c' γ := (exists_basis_matrix _).choose_spec.elim (exists_lifts_linkDiscSq_le hlemma
Filling.lines 193–232argumentminorNorm_sq_le_linkDiscSq_mul Lemma. Let E be stably unramified, S filling data, c,c' classes, s\in\mathsf{G} agreeing (hs), \gamma\in G(E) a term over (c,s,c') (h) of level j (hc), and x real withFixesNormAtLeast(S,s,x) (hq). Let r,i\in\mathbb{N},y a rational matrix with r columns, v\inGL_r(\mathbb{A}_f) and w an adelic matrix with r columns, such that (hp) if i=0 then \dim(\operatorname{link}(\gamma)\cap\ker\mathtt{zFormPair}(T))+r=\dim\operatorname{link}(\gamma); (hy) the columns of y lie in \operatorname{link}(\gamma); (hi)zFormPair(T)\cdot y has a left inverse (the columns of y are independent modulo the vectors with zero z-pairing in both halves); (hl)HasIntegralLifts(S,c,\gamma,w); and (o)zFormPair(T)\cdot w=zFormPair(T)\cdot y\cdot v. Then r\le1+(j-\varrho)_+ and x'^{2}\cdotminorNorm(S,j,\gamma)^{2}\lelinkDiscSq(S,y,v)\cdot\max(\mathtt{termDiscNorm}(S,\gamma),N(S)^{f}\cdot\mathtt{minorNorm}(S,j,\gamma))^{2}, where x'=x if \varrho<j and i=0, and x'=1 otherwise. (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 23 steps Proposition 4.7, p. 11 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 193–198 lemma minorNorm_sq_le_linkDiscSq_mul {r i w} (y : Matrix _ (Fin r) E) v (hp : i = 0 → finrank E ↥(link γ ⊓ (zFormPair (S.ratMiddle E)).mulVecLin.ker) + r = finrank E (link γ)) (hy : colSpan y ≤ link γ) (hi : HasLeftInv (zFormPair (S.ratMiddle E) * y)) (hl : HasIntegralLifts c γ w) (o : finAdeleMat (zFormPair (S.ratMiddle E)) * w = finAdeleMat (zFormPair (S.ratMiddle E) * y) * v.1) : r ≤ 1 + (j - 𝔰.ϱ) ∧ ite (𝔰.ϱ < j ∧ i = 0) x 1 ^ 2 * S.minorNorm j γ ^ 2 ≤ S.linkDiscSq y v * (S.termDiscNorm γ ⊔ S.N ^ numInfPlaces E * S.minorNorm j γ) ^ 2 := bylemma
Filling.lines 239–278argumentexists_link_split_le_classGauge Lemma. Let E be stably unramified, S filling data, c,c' classes, s\in\mathsf{G} agreeing (hs), \gamma\in G(E) a term over (c,s,c') (h) of level j (hc), x real withFixesNormAtLeast(S,s,x) (hq), and \gamma'\in G(E). Write T^{\circ}=commonLink(\gamma,\gamma')\subseteq X_0 (the X_0-part of \operatorname{link}(\gamma)\cap\operatorname{link}(\gamma')\cap\kerzFormPair(T)). Then (i) 0<latticeDisc(S,c,T^{\circ}) and 1\leframeValueIndex(S,c,\mathtt{termPosition}(S,c,c',\gamma),1,T^{\circ}); and (ii) there are i\in\mathbb{N}, a finite type \rho, a rational matrix m with \rho columns, a rational matrix y with i columns, v\inGL_i(\mathbb{A}_f) and an adelic \rho\times i matrix z such that, with L=\operatorname{link}(\gamma)\cap\operatorname{link}(\gamma'): i=k+1-\dim L; k\le\dim T^{\circ}+i+(j-\varrho)_+; if i=0 then L=\operatorname{link}(\gamma); the columns of m\operatorname{span}L; the columns of y lie in \operatorname{link}(\gamma); y\cdot t\in L only for t=0; the columns of (m|y)\operatorname{span}\operatorname{link}(\gamma);HasIntegralLifts(S,c,\gamma,m\cdot z+y\cdot v); and (pairInvariant(S,c,c',\gamma,\gamma')\cdot x'){}^{2}\cdotlinkDiscSq(S,y,v)\leclassGauge(S,j,c,c',\gamma)^{2}, where x'=x if \varrho<j and i=0, else 1. HerepairInvariant(S,c,c',\gamma,\gamma')=latticeDisc(S,c,T^{\circ})\cdotframeValueIndex(S,c,\mathtt{termPosition}(c,c',\gamma),1,T^{\circ})\cdotsaturationIndex(S,\mathtt{termPosition}(c,c',\gamma)) and k=k(\mathfrak{s}). (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 17 steps Theorem B, p. 2 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 239–245 lemma exists_link_split_le_classGauge γ' : (0 < S.latticeDisc c (commonLink γ γ') ∧ 1 ≤ S.frameValueIndex c (S.termPosition c c' γ) 1 (commonLink γ γ')) ∧ ∃ᵉ (i) (ρ) (_ : Fintype ρ) (m : Matrix _ ρ E) (y : Matrix _ (Fin i) E) (v) (z : Matrix ρ _ (𝔸f E)), let L := link γ ⊓ link γ'; i = 𝔰.k + 1 - finrank E L ∧ 𝔰.k ≤ finrank E (commonLink γ γ') + i + (j - 𝔰.ϱ) ∧ (i = 0 → L = link γ) ∧ colSpan m = L ∧ colSpan y ≤ link γ ∧ (∀ t, y *ᵥ t ∈ L → t = 0) ∧ colSpan (fromCols m y) = link γ ∧ HasIntegralLifts c γ (finAdeleMat m * z + finAdeleMat y * v.1) ∧ (S.pairInvariant c c' γ γ' * ite (𝔰.ϱ < j ∧ i = 0) x 1) ^ 2 * S.linkDiscSq y v ≤ S.classGauge j c c' γ ^ 2lemma
Filling.lines 284–315argumentpairInvariant_mul_le Lemma. Let E be stably unramified, S filling data, c,c' classes, s\in\mathsf{G} agreeing (hs), x real withFixesNormAtLeast(S,s,x) (hq), and \gamma,\gamma'\in G(E) both terms over (c,s,c') (h,h') of level j (hc,hd). Then there is i\in\mathbb{N} with k(\mathfrak{s})\le\dimcommonLink(\gamma,\gamma')+i+(j-\varrho)_+, with \operatorname{link}(\gamma)=\operatorname{link}(\gamma') if i=0, andpairInvariant(S,c,c',\gamma,\gamma')\cdotpairInvariant(S,c,c',\gamma',\gamma)\cdot x'^{2}\le(2/g(S))^{2if}\cdotclassGauge(S,j,c,c',\gamma)\cdotclassGauge(S,j,c,c',\gamma'), where x'=x if \varrho<j and i=0, else 1. (Notation: T=ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T=middleGram(N(S)): 1 on X_0 and -N(S) at z), J=ratGram(S) its split Gram matrix onBesselIndex(\mathfrak{s}); Z(\gamma)=frameProducts(S,\gamma); D_j(\gamma)=leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)=termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image underlinkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a);zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves;linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates;linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele;minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f};termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|;HasIntegralLifts(S,c,\gamma,m): m=linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w withclassCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)Structured proof, 10 steps Theorem A, p. 2 of Links of pairs of terms: integral lifts and the discriminant gain
The Lean statement
New/Filling/LinkPairing.lean · lines 284–287 lemma pairInvariant_mul_le (h' : γ' ∈ S.termsOver c s c') (hd : S.HasLevel j γ') : ∃ i, 𝔰.k ≤ finrank E (commonLink γ γ') + i + (j - 𝔰.ϱ) ∧ (i = 0 → link γ = link γ') ∧ S.pairInvariant c c' γ γ' * S.pairInvariant c c' γ' γ * (if 𝔰.ϱ < j ∧ i = 0 then x else 1) ^ 2 ≤ (2 / S.g) ^ (2 * i * numInfPlaces E) * (S.classGauge j c c' γ * S.classGauge j c c' γ') := bylemma
Filling.lines 40–100argumentre_trace_besselS_le Lemma. Let E be a number field with a CM structure and Weil data, \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s},i\in\{0,1\}, and x\in\mathbb{C}[\mathsf{G}_i] a central idempotent (IsCentralProj: x^{2}=x and its coefficients form a class function) with \operatorname{Re}x(1)\le b(S)^{-8}/2. Then \operatorname{Re}\sum_{s\in\mathsf{G}_i}x(s)\cdot\sum_{(c,a)\in\mathtt{Classes}(S)\times\mathtt{BesselCoord}(S)}amplitudeSum(S,\mathsf{S}(E),c,\iota_i(s)^{-1},c)(a,a)/\nu(S)\le b(S)^{-4}\cdotcolumnDim(S). (Notation: \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\mathsf{G}_i,\mathsf{G}_i=\prod_{w\in\mathtt{chosenPlaces}(S,i)}\operatorname{GL}_{\mathtt{BesselIndex}(\mathfrak{s})}(\mathbb{F}_w); \iota_i(s)=Pi.(i,s)\in\mathsf{G} for s\in\mathsf{G}_i;mulSingle amplitudeSum(S,T,c,s,c')\in\ell^{2}(\mathtt{BesselCoord}\times\mathtt{BesselCoord}) is the sum of \operatorname{amplitude}(S,c,c',\gamma) over the rational \gamma\in T that are terms over (c,s,c'), with the full Bessel functions; \mathsf{S}(E)=besselSof the rational middle form; \nu(S)=unipCovolume(S); \operatorname{energy}(A,\Omega)=\sum_{c,c'}\sum_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu(S)^{2}; \mathsf{d}(S)=mainEnergy(S)=columnDim(S)^{2}/(\mathtt{besselDegree}(S)\cdot\operatorname{mass}(E,r(\mathfrak{s}))); \mathsf{d}_1(S)=besselEnergy(S)= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S);columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S).)Structured proof, 28 steps Lemma 7.1, p. 34 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/Moments.lean · lines 40–43 lemma re_trace_besselS_le [WeilData E] {𝔰} (S : Filling E 𝔰) [ok : S.IsAdmissible] {i x} (hx : IsCentralProj x) (b : (x.coeff 1).re ≤ (S.b ^ 8)⁻¹ / 2) : (∑ s, x.coeff s * ∑ y : _ × _, S.amplitudeSum (S.ratMiddle E).besselS y.1 (Pi.mulSingle i s)⁻¹ y.1 (y.2, y.2) / S.unipCovolume).re ≤ (S.b ^ 4)⁻¹ * S.columnDim := bylemma
Filling.lines 105–182argumentenergy_fixingSet_le Lemma (main-term estimate). Let E be a number field with a CM structure and Weil data, \mathfrak{s} a shape and S admissible filling data over E of shape \mathfrak{s}. For every finite set Sg of chosen places of S above q_0(S) and frame-vector data D (for each chosen place w above q_0(S), a flag and a nonzero vector over \mathbb{F}_w): \operatorname{energy}(\mathtt{amplitudeSum}(S,G(E), \cdot, \cdot, \cdot),fixingSet(S,Sg,D))\le(1-b(S)^{-4})\cdot((1+9b(S)^{-4})\cdot\mathsf{d}(S)\cdot(b(S)^{6k(\mathfrak{s})})^{-\#Sg}). Here G(E) is the whole rational group (T= univ) andfixingSet(S,Sg,D) is the set of s\in\mathsf{G} that fix the vector of D_w at every w\in Sg (vectorFixer) and, unless Sg contains all chosen places above q_0(S), have all leading minors offrameGram(s_{0,w}) nonzero at some chosen w above q_0(S). (Notation: \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\mathsf{G}_i,\mathsf{G}_i=\prod_{w\in\mathtt{chosenPlaces}(S,i)}\operatorname{GL}_{\mathtt{BesselIndex}(\mathfrak{s})}(\mathbb{F}_w); \iota_i(s)=Pi.(i,s)\in\mathsf{G} for s\in\mathsf{G}_i;mulSingle amplitudeSum(S,T,c,s,c')\in\ell^{2}(\mathtt{BesselCoord}\times\mathtt{BesselCoord}) is the sum of \operatorname{amplitude}(S,c,c',\gamma) over the rational \gamma\in T that are terms over (c,s,c'), with the full Bessel functions; \mathsf{S}(E)=besselSof the rational middle form; \nu(S)=unipCovolume(S); \operatorname{energy}(A,\Omega)=\sum_{c,c'}\sum_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu(S)^{2}; \mathsf{d}(S)=mainEnergy(S)=columnDim(S)^{2}/(\mathtt{besselDegree}(S)\cdot\operatorname{mass}(E,r(\mathfrak{s}))); \mathsf{d}_1(S)=besselEnergy(S)= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S);columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S).)Structured proof, 38 steps Theorem D, p. 4 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/Moments.lean · lines 105–107 lemma energy_fixingSet_le [WeilData E] {𝔰} {S : Filling E 𝔰} [S.IsAdmissible] Sg D : energy (S.amplitudeSum .univ) (fixingSet Sg D) ≤ (1 - (S.b ^ 4)⁻¹) * ((1 + 9 / S.b ^ 4) * S.mainEnergy * (S.b ^ (6 * 𝔰.k))⁻¹ ^ #Sg) := S.of_size_bounds (bylemma
Filling.lines 189–218argumentenergy_compl_besselS_le Lemma (second moment off the Bessel subgroup). Let E be a stably unramified number field with a CM structure, \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s} and i\in\{0,1\}. Then \operatorname{energy}(\mathtt{amplitudeSum}(S,\mathsf{S}(E)^{c}, \cdot, \cdot, \cdot),\Omega_i)\le b(S)^{-12}\cdot\mathsf{d}_1(S), where \mathsf{S}(E)^{c} is the set of rational points outside the Bessel subgroup and \Omega_i=\{s\in\mathsf{G}:s_i=t_i for some t\inreducedImage(S,\mathsf{S})} (the i-th component of s is that of an element of the reduced image \overline{S}). (Notation: \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\mathsf{G}_i,\mathsf{G}_i=\prod_{w\in\mathtt{chosenPlaces}(S,i)}\operatorname{GL}_{\mathtt{BesselIndex}(\mathfrak{s})}(\mathbb{F}_w); \iota_i(s)=Pi.(i,s)\in\mathsf{G} for s\in\mathsf{G}_i;mulSingle amplitudeSum(S,T,c,s,c')\in\ell^{2}(\mathtt{BesselCoord}\times\mathtt{BesselCoord}) is the sum of \operatorname{amplitude}(S,c,c',\gamma) over the rational \gamma\in T that are terms over (c,s,c'), with the full Bessel functions; \mathsf{S}(E)=besselSof the rational middle form; \nu(S)=unipCovolume(S); \operatorname{energy}(A,\Omega)=\sum_{c,c'}\sum_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu(S)^{2}; \mathsf{d}(S)=mainEnergy(S)=columnDim(S)^{2}/(\mathtt{besselDegree}(S)\cdot\operatorname{mass}(E,r(\mathfrak{s}))); \mathsf{d}_1(S)=besselEnergy(S)= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S);columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S).)Structured proof, 12 steps Lemma 7.2, p. 35 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/Moments.lean · lines 189–191 lemma energy_compl_besselS_le [StablyUnram E] i : energy (S.amplitudeSum (S.ratMiddle E).besselSᶜ) {s | ∃ t ∈ S.reducedImage besselS, s i = t i} ≤ (S.b ^ 12)⁻¹ * S.besselEnergy := S.of_size_bounds (bylemma
Filling.lines 226–257argumentsum_le_of_positive_type Lemma (second moment with constant one). Let E be a number field with a CM structure and Weil data, \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s}, and V a complex inner product space. Let \Theta:\mathsf{G}\to\mathbb{R} with (h0) \Theta\ge0, and u:\mathsf{G}\to V with (hu) \langle u(a),u(b)\rangle=\Theta(a^{-1}b) for all a,b (\Theta has positive type). Let A be a finite set of chosen places of S above q_0(S) and D frame-vector data (for each chosen place w above q_0(S): a flag and a nonzero vector over \mathbb{F}_w). Suppose (hB) \sum_{s\in\Omega}\Theta(s)\le\operatorname{energy}(\mathtt{amplitudeSum}(S,G(E), \cdot, \cdot, \cdot),\Omega) for every subset \Omega of \mathsf{G}, and (hA) \Theta(s)\ne0 implies s\invectorFixer(S,w,D_w) for every w\in A (s, or its inverse adjoint by the flag of D_w, fixes the frame vector of D_w modulo w). Then \sum_{s\in\mathsf{G}}\Theta(s)\le(1+9b(S)^{-4})\cdot\mathsf{d}(S)\cdot(b(S)^{6k(\mathfrak{s})})^{-\#A}. (Notation: \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\mathsf{G}_i,\mathsf{G}_i=\prod_{w\in\mathtt{chosenPlaces}(S,i)}\operatorname{GL}_{\mathtt{BesselIndex}(\mathfrak{s})}(\mathbb{F}_w); \iota_i(s)=Pi.(i,s)\in\mathsf{G} for s\in\mathsf{G}_i;mulSingle amplitudeSum(S,T,c,s,c')\in\ell^{2}(\mathtt{BesselCoord}\times\mathtt{BesselCoord}) is the sum of \operatorname{amplitude}(S,c,c',\gamma) over the rational \gamma\in T that are terms over (c,s,c'), with the full Bessel functions; \mathsf{S}(E)=besselSof the rational middle form; \nu(S)=unipCovolume(S); \operatorname{energy}(A,\Omega)=\sum_{c,c'}\sum_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu(S)^{2}; \mathsf{d}(S)=mainEnergy(S)=columnDim(S)^{2}/(\mathtt{besselDegree}(S)\cdot\operatorname{mass}(E,r(\mathfrak{s}))); \mathsf{d}_1(S)=besselEnergy(S)= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S);columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S).)Structured proof, 15 steps Theorem C, p. 3 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/Moments.lean · lines 226–229 lemma sum_le_of_positive_type [WeilData E] {Θ : _ → ℝ} (h0 : ∀ s, 0 ≤ Θ s) (u : _ → V) (hu : ∀ a b, ⟪u a, u b⟫_ℂ = Θ (a⁻¹ * b)) A (D : ∀ _, _) (hB : ∀ Ω, ∑ s with s ∈ Ω, Θ s ≤ energy (S.amplitudeSum .univ) Ω) (hA : ∀ s, Θ s ≠ 0 → ∀ w ∈ A, s ∈ S.vectorFixer (i := 0) w (D w)) : ∑ s, Θ s ≤ (1 + 9 / S.b ^ 4) * S.mainEnergy * (S.b ^ (6 * 𝔰.k))⁻¹ ^ #A := bylemma
Filling.lines 262–296argumentsum_norm_amplitudeSum_le Lemma. Let E be a stably unramified number field with a CM structure, \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s},i\in\{0,1\} and x\in\mathbb{C}[\mathsf{G}_i] a central idempotent. Then \sum_{a\in\mathtt{Classes}(S)\times\mathtt{BesselCoord}(S)}\lVert(\sum_{t\in\mathsf{G}_i}x(t)\cdot\mathtt{amplitudeSum}(S,\mathsf{S}(E)^{c},a_1,\iota_i(t)^{-1},b_1)(a_2,b_2)/\nu(S))_{b\in\mathtt{Classes}(S)\times\mathtt{BesselCoord}(S)}\rVert_{\ell^{2}}\le b(S)^{-4}\cdotcolumnDim(S): the \ell^{2} norms of the rows of the matrix \sum_t x(t)\cdot(off-\mathsf{S} amplitude sums at \iota_i(t)^{-1})/\nu sum to at most b^{-4}\cdotcolumnDim. (Notation: \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\mathsf{G}_i,\mathsf{G}_i=\prod_{w\in\mathtt{chosenPlaces}(S,i)}\operatorname{GL}_{\mathtt{BesselIndex}(\mathfrak{s})}(\mathbb{F}_w); \iota_i(s)=Pi.(i,s)\in\mathsf{G} for s\in\mathsf{G}_i;mulSingle amplitudeSum(S,T,c,s,c')\in\ell^{2}(\mathtt{BesselCoord}\times\mathtt{BesselCoord}) is the sum of \operatorname{amplitude}(S,c,c',\gamma) over the rational \gamma\in T that are terms over (c,s,c'), with the full Bessel functions; \mathsf{S}(E)=besselSof the rational middle form; \nu(S)=unipCovolume(S); \operatorname{energy}(A,\Omega)=\sum_{c,c'}\sum_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu(S)^{2}; \mathsf{d}(S)=mainEnergy(S)=columnDim(S)^{2}/(\mathtt{besselDegree}(S)\cdot\operatorname{mass}(E,r(\mathfrak{s}))); \mathsf{d}_1(S)=besselEnergy(S)= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S);columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S).)Structured proof, 19 steps Lemma 7.3, p. 36 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/Moments.lean · lines 262–264 lemma sum_norm_amplitudeSum_le [StablyUnram E] i {x} (hx : IsCentralProj x) : ∑ a : _ × _, ‖WithLp.toLp 2 fun b : _ × _ ↦ ∑ t, x.coeff t * (S.amplitudeSum (S.ratMiddle E).besselSᶜ a.1 (Pi.mulSingle i t)⁻¹ b.1 (a.2, b.2) / S.unipCovolume)‖ ≤ (S.b ^ 4)⁻¹ * S.columnDim := bylemma
Filling.lines 301–345argumentFits. exists_translate_finrank_comap_le Lemma (filling, abstract form). Let E be a number field with a CM structure and Weil data, \mathfrak{s} a shape, S admissible filling data over E of shape \mathfrak{s},V a finite-dimensional complex inner product space, g=(g_0,g_1) with g_i\in\mathbb{C}[\mathsf{G}_i],c\in\mathbb{R},\rho a representation of \mathsf{G} on V and Q:\ell^{2}(\mathtt{Classes}(S)\times\mathtt{BesselCoord}(S))\to V linear. Suppose (h\rho)\rho is unitary; (hQ) \langle\rho(s)Q(e_y),Q(e_x)\rangle=c\cdotamplitudeSum(S,G(E),x_1,s,y_1)(x_2,y_2) for all s\in\mathsf{G} and x,y (e_x the basis vectors); (hg) each g_i is a central idempotent; (hb) \operatorname{Re}(1-g_i)(1)\le b(S)^{-8}/2 for i=0,1; (hc) c>0; and (hD) \dim range \rho(e)\le\#\mathsf{G}\cdotbesselDegree(S)\cdot\operatorname{mass}(E,r(\mathfrak{s})), where e=piTensorElem(g)=g_0\otimes g_1\in\mathbb{C}[\mathsf{G}]. Then the family s\mapsto R_s=\rho(e)|^{\mathrm{range}}\circ\rho(s)\circ Q:\ell^{2}(Classes \timesBesselCoord) \to range \rho(e) is spread with defect (19/2)\cdot b(S)^{-4} (IsSpread): for every subspace F of range \rho(e), with \varphi=\dim F/\dim range \rho(e), some s\in\mathsf{G} has \dim R_s^{-1}(F)\le((1+\varphi)/2 + (19/2)\cdot b(S)^{-4})\cdotcolumnDim(S). (Notation: \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\mathsf{G}_i,\mathsf{G}_i=\prod_{w\in\mathtt{chosenPlaces}(S,i)}\operatorname{GL}_{\mathtt{BesselIndex}(\mathfrak{s})}(\mathbb{F}_w); \iota_i(s)=Pi.(i,s)\in\mathsf{G} for s\in\mathsf{G}_i;mulSingle amplitudeSum(S,T,c,s,c')\in\ell^{2}(\mathtt{BesselCoord}\times\mathtt{BesselCoord}) is the sum of \operatorname{amplitude}(S,c,c',\gamma) over the rational \gamma\in T that are terms over (c,s,c'), with the full Bessel functions; \mathsf{S}(E)=besselSof the rational middle form; \nu(S)=unipCovolume(S); \operatorname{energy}(A,\Omega)=\sum_{c,c'}\sum_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu(S)^{2}; \mathsf{d}(S)=mainEnergy(S)=columnDim(S)^{2}/(\mathtt{besselDegree}(S)\cdot\operatorname{mass}(E,r(\mathfrak{s}))); \mathsf{d}_1(S)=besselEnergy(S)= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S);columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S).)Structured proof, 18 steps Theorem B, p. 3 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/Moments.lean · lines 301–307 lemma Fits.exists_translate_finrank_comap_le [WeilData E] {g c} [Module.Finite ℂ V] {ρ : Representation ℂ _ V} (hρ : ∀ s x y, ⟪ρ s x, ρ s y⟫_ℂ = ⟪x, y⟫_ℂ) {Q : EuclideanSpace ℂ (_ × _) →ₗ[ℂ] V} (hQ : ∀ s x y, ⟪ρ s (Q (.single y 1)), Q (.single x 1)⟫_ℂ = ofReal c * S.amplitudeSum .univ x.1 s y.1 (x.2, y.2)) (hg : ∀ i, IsCentralProj (g i)) (hb : ∀ i, ((1 - g i).coeff 1).re ≤ (S.b ^ 8)⁻¹ / 2) (hc : 0 < c) (hD : finrank ℂ (ρ.asAlgebraHom (piTensorElem g)).range ≤ Nat.card S.GRes * S.besselDegree * mass E 𝔰.r) : IsSpread ((ρ.asAlgebraHom (piTensorElem g)).rangeRestrict ∘ₗ ρ · ∘ₗ Q) (19 / 2 * (S.b ^ 4)⁻¹) := bylemma
Filling.lines 27–60argumentsiegel_lemma Siegel's lemma (Bombieri–Vaaler) for hermitian lattices. Let E be a stably unramified CM field with f infinite places and root discriminant \operatorname{rd}_{E},\kappa a finite set, u\in G_f(\kappa) (the finite adelic unitary group of the standard form), T a subspace of E^{\kappa} and s a natural number with \dim T+s=|\kappa| (hs). Then there is an s\times\kappa matrix X over E with rows X_1,\ldots,X_s such that T is the orthogonal complement of the rows (T=\ker(x\mapsto(\sum_j\operatorname{conj}(X_{\mathrm{ij}})x_j)_i)), every row is a nonzero vector of the lattice E^{\kappa}\cap u\hat{O}^{\kappa} (the base lattice of the standard space moved by (1,u)), and (\prod_i\lVert X_i\rVert)^{2f}\le(8fs\cdot\operatorname{rd}_{E})^{fs}\cdot d(T), where \lVert X_i\rVert is the Euclidean norm of (\Phi_v(X_{\mathrm{ij}}))_{v,j} over all infinite places and d(T)=sublatticeDisc(u,T) is the discriminant of T\cap u\hat{O}^{\kappa}.Structured proof, 11 steps Theorem C, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 27–31 lemma Filling.siegel_lemma {E} [Field E] [CMType E] [StablyUnram E] {κ} [Fintype κ] u {T : Submodule E _} {s} (hs : finrank E T + s = card κ) : ∃ X : Matrix (Fin s) κ E, Xᵀᴴ.mulVecLin.ker = T ∧ (∀ i, X i ∈ ((stdSpace ..).move (1, u)).baseLattice ∧ X i ≠ 0) ∧ (∏ i, ‖((stdSpace ..).move (1, u)).archCoords (X i)‖) ^ (2 * numInfPlaces E) ≤ (8 * (numInfPlaces E * s) * rootDiscr E) ^ (numInfPlaces E * s) * sublatticeDisc u.1.3 T := bylemma
Filling.lines 65–83argumenttsum_sublatticeDisc_inv_le For a stably unramified CM field E (f infinite places, root discriminant \operatorname{rd}_{E}), a finite set \kappa (k=|\kappa|),u\in G_f(\kappa) and a natural number s: \sum over all subspaces T of E^{\kappa} with \dim T+s=k of d(T)^{-(k+1)} is at most (200\cdot f\cdot k\cdot\operatorname{rd}_{E})^{f(k+1)s} (as a sum in [0,\infty]), d(T)=sublatticeDisc(u,T) the discriminant of T\cap u\hat{O}^{\kappa}.Structured proof, 7 steps Theorem C, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 65–68 lemma Filling.tsum_sublatticeDisc_inv_le {E} [Field E] [CMType E] [StablyUnram E] {κ} [Fintype κ] (u : Gf E κ) s : ∑' T : Submodule E _, ite (finrank E T + s = card κ) (ENNReal.ofReal (sublatticeDisc u.1.3 T ^ (card κ + 1))⁻¹) 0 ≤ .ofReal ((200 * (numInfPlaces E * card κ) * rootDiscr E) ^ (numInfPlaces E * (card κ + 1) * s)) := byinstance
(anonymous)line 89one-stepFor a CM number field E: the finite adeles \mathbb{A}_f of E carry the element \tau=1/2 with \tau+\overline{\tau}=1 (an instanceTraceOne (𝔸f E)).The Lean statement
New/Filling/NearTerms.lean · line 89 noncomputable instance : TraceOne (𝔸f E) := ⟨(2⁻¹ : E), by norm_num [← map_add]⟩lemma
besselU_denselines 94–110argumentStrong approximation for the unipotent group \mathsf{U}. Let E be a CM number field, \mathfrak{s} a shape, T a hermitian invertible Gram matrix on V_{\varrho} over E, and T' a Gram matrix over \mathbb{A}_f withT.mapped entrywise to \mathbb{A}_f equal to T'.splitGram splitGram(e). Then \mathsf{U}(\mathbb{A}_f) (the unipotent group of T') is contained in the closure of the image of \mathsf{U}(E) (of T) under the entrywise map E\to\mathbb{A}_f: every open set of matrices containing a finite adelic point of \mathsf{U} contains a rational one.Structured proof, 7 steps Theorem A, p. 2 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 94–96 lemma besselU_dense {T : 𝔰.Form E} [IsHermUnit T] {T' : 𝔰.Form (𝔸f E)} (e : T.splitGram.map (↑) = T'.splitGram) : besselU ≤ (T.besselU.map (U.map _ (h := e))).topologicalClosure := have : IsHermUnit T'.splitGram := e ▸ ⟨Matrix.IsHermitian.maplemma
Filling.lines 120–121one-stepunipotentChar_one For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):unipotentChar(S,1)=1 (\sigma(1)=0, as 1\in\mathsf{H}).The Lean statement
New/Filling/NearTerms.lean · line 120 @[simp] lemma Filling.unipotentChar_one : S.unipotentChar 1 = 1 := by simp [unipotentChar,lemma
Filling.lines 125–131argumentexists_besselU_approx Strong approximation for \mathsf{U} on the filling data. For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), x\inGFin(S) with x\in\mathsf{U} (x implicit;hx) and y\inGFin(S): there is a rational u\in\mathsf{U}(E) with y^{-1}\cdot(x^{-1}\cdot\mathtt{ratToFin}(u))\cdot y\in K(g)=principalLevel(S).Structured proof, 1 step Theorem A, p. 2 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 125–127 lemma Filling.exists_besselU_approx {x} (hx : x ∈ besselU) y : ∃ u ∈ besselU, y⁻¹ * (x⁻¹ * S.ratToFin u) * y ∈ S.principalLevel := by simpa using! Set.exists_mem_image.1 ((closure_inter_open_nonempty_ifflemma
Filling.lines 135–141argumentunipotentChar_eq_of_mem_principalLevel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), u,v\inGFin(S) in \mathsf{U} (implicit;hu,hv) and g in the finite adelic unitary group of X_0: if u^{-1}\cdot(h^{-1}vh)\in K(g) for h=inclHFin(S)(g) (hk), thenunipotentChar(S,v)=unipotentChar(S,u).Structured proof, 1 step Lemma 6.1, p. 30 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 135–137 lemma Filling.unipotentChar_eq_of_mem_principalLevel {u v} (hu : u ∈ besselU) (hv : v ∈ besselU) g (hk : u⁻¹ * ((S.inclHFin g)⁻¹ * v * S.inclHFin g) ∈ S.principalLevel) : S.unipotentChar v = S.unipotentChar u := by erw [← mul_one (S.unipotentChar u), ← S.selfDualChar_eq_one_of_mem _lemma
Filling.lines 145–150argumenteq_and_mem_classUnip_of_besselS Under the standing hypotheses (IsAdmissibleS, an instance named ok), for filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,d and \gamma\in G(S,E) (implicit): if \gamma lies in the Bessel subgroup \mathsf{S} (h) andtermPosition(S,c,d,\gamma)\in K(g) (o), then c=d and \gamma\in\mathsf{U}_c(g)=classUnip(S,c).Structured proof, 1 step Theorem D, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 145–146 lemma Filling.eq_and_mem_classUnip_of_besselS [ok : S.IsAdmissible] {c d γ} (h : γ ∈ besselS) (o : S.termPosition c d γ ∈ S.principalLevel) : c = d ∧ γ ∈ S.classUnip c :=lemma
Filling.lines 152–156argumentexists_rat_approx_unipotentChar_eq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a class c and u\inGFin(S) in \mathsf{U} (u implicit;hu): there is a rational u_0\in\mathsf{U}(E) with u^{-1}\cdottermPosition(S,c,c,u_0)\in K(g) andunipotentChar(S,\mathtt{ratToFin}(u_0))=unipotentChar(S,u).Structured proof, 1 step Lemma 6.1, p. 30 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 152–154 lemma Filling.exists_rat_approx_unipotentChar_eq c {u} (hu : u ∈ besselU) : ∃ u₀ ∈ besselU, u⁻¹ * S.termPosition c c u₀ ∈ S.principalLevel ∧ S.unipotentChar (S.ratToFin u₀) = S.unipotentChar u := (exists_besselU_approxlemma
Filling.lines 158–165argumentexists_besselS_mem_termsOver Under the standing hypotheses (ok), for filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a class c and \sigma\in\mathsf{G} (implicit): if \sigma lies in \overline{S}=reducedImage(S,\mathsf{S}) (the premise), then there are a class d and a rational \gamma\in\mathsf{S}(E) with \gamma\intermsOver(S,c,\sigma,d).Structured proof, 3 steps Theorem D, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 158–159 lemma Filling.exists_besselS_mem_termsOver [ok : S.IsAdmissible] c {σ} : σ ∈ S.reducedImage besselS → ∃ d, ∃ γ ∈ besselS, γ ∈ S.termsOver c σ d := fun ⟨k, hk, _⟩ ↦ bylemma
Filling.lines 170–176argumenteq_one_of_reduceAt_eq_one Freeness. For filling data S over a stably unramified CM number field E with its CM type (\mathfrak{s} implicit), a finite type n with |n|\le k (hn), i\in\{0,1\}, a rational \gamma in the standard unitary group U_n(E) and g\in G_f(n) (both implicit) such that g^{-1}\gamma g is integral (hk) and reduces to 1 modulo every chosen place above q_i (h): \gamma=1.Structured proof, 2 steps Proposition 6.2, p. 31 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 170–172 lemma Filling.eq_one_of_reduceAt_eq_one [StablyUnram E] {n} [Fintype.{0} n] (hn : Fintype.card n ≤ 𝔰.k) i {γ g} hk (h : ∀ w : S.chosenPlaces i, Kf.reduceAt w ⟨g⁻¹ * (stdSpace E n).embFin γ * g, hk⟩ = 1) : γ = 1 := bylemma
Filling.line 187one-stepframeImage_mul For a commutative ring R with involution, \mathfrak{s},T and s,s'\in U(\mathtt{T.splitGram}) (implicit): (ss')f=s\cdot(s'f),f the frame.The Lean statement
New/Filling/NearTerms.lean · line 187 lemma frameImage_mul : frameImage (s * s') = s.1.1 * frameImage s'.1.1 := rfllemma
Filling.lines 189–190one-stepframeImage_mul_of_mem_besselU0 For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma,u\in G(S,E) (implicit): if u\in\mathsf{U}^{0} (the premise), then (\gamma u)f=\gamma f (u fixes the frame).The Lean statement
New/Filling/NearTerms.lean · lines 189–190 lemma frameImage_mul_of_mem_besselU0 : u ∈ besselU0 → frameImage (γ * u).1.1 = frameImage γ := by simp_all [mem_besselU0_iff, submatrix_mul_besselFrame]lemma
Filling.lines 192–193one-stepframeImage_inv_mul_eq_iff For R,\mathfrak{s},T and s,s'\in U(\mathtt{T.splitGram}) (implicit): (s^{-1}s')f=f iff sf=s'f.The Lean statement
New/Filling/NearTerms.lean · lines 192–193 lemma frameImage_inv_mul_eq_iff : frameImage (s⁻¹ * s').1.1 = frameImage 1 ↔ frameImage s.1.1 = frameImage s' := s.1.4 ▸ comm.trans s⁻¹.1.1.mul_right_inj_of_invertiblelemma
Filling.lines 201–203one-stepstar_mul_last_eq_of_frameImage_eq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) and x,y\in E^{\varrho+1} (implicit): if f\cdot x=(\gamma f)\cdot y (e), then \overline{x}_{\varrho}x_{\varrho}=\overline{y}_{\varrho}y_{\varrho} (the z-coefficients have equal norms: h(fx,fx)=-N|x_{\varrho}|^{2} and h(\gamma fy,\gamma fy)=-N|y_{\varrho}|^{2}).The Lean statement
New/Filling/NearTerms.lean · lines 201–202 lemma star_mul_last_eq_of_frameImage_eq (e : frameImage 1 *ᵥ x = frameImage γ.1.1 *ᵥ y) : star (x 𝔰.top) * x 𝔰.top = star (y 𝔰.top) * y 𝔰.top := by simpa [↓frameImage_one_mulVec,lemma
Filling.lines 205–207one-stepframeProducts_mulVec_of_frameImage_eq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) and x,y\in E^{\varrho+1} (implicit): if f\cdot x=(\gamma f)\cdot y (e), then Z(\gamma)\cdot y=(0,\ldots,0,-N\cdot x_{\varrho}) (only the z-entry is nonzero).The Lean statement
New/Filling/NearTerms.lean · lines 205–206 lemma frameProducts_mulVec_of_frameImage_eq (e : frameImage 1 *ᵥ x = frameImage γ.1.1 *ᵥ y) : S.frameProducts γ *ᵥ y = Pi.single 𝔰.top (-S.N * x 𝔰.top) := bylemma
Filling.lines 209–210one-stepeq_zero_of_ratMiddle_form_eq_zero For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and v\in E^{\kappa\sqcup\{z\}}: if the z-coordinate of v is 0 (hv) and \overline{v}^{T}\cdotratMiddle(S,E)\cdot v=0 (h), then v=0 (the form is positive definite on X_0; apply an embedding \Phi).The Lean statement
New/Filling/NearTerms.lean · lines 209–210 lemma eq_zero_of_ratMiddle_form_eq_zero (hv : v (.inr ()) = 0) (h : star v ⬝ᵥ S.ratMiddle E *ᵥ v = 0) : v = 0 := by simpa [middleGram, *, conj_mul'] using congr(Φ ofNonempty $h)lemma
Filling.lines 215–223argumentnorm_sq_middle_part_eq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E),y\in E^{\varrho+1} (implicit), D\in E and a vector t (implicit): if Z(\gamma)\cdot y=D\cdot e_{\varrho} (h) and t=(\gamma f)\cdot y (e), then (1) every e^{*}-coordinate of t vanishes and -N\cdot t_z=D, and (2) for every infinite place v, with s_v=N\cdot\sum_{i\in\kappa}|\Phi_v(t_{x_i})|^{2}: s_v=|\Phi_v(D)|^{2}-(N|\Phi_v(y_{\varrho})|)^{2}, and if s_v\le0 then t=f\cdot x for some x (t lies in the span of the frame).Structured proof, 3 steps Proposition 7.2, p. 32 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 215–218 lemma norm_sq_middle_part_eq {D t} (h : S.frameProducts γ *ᵥ y = Pi.single 𝔰.top D) (e : frameImage γ.1.1 *ᵥ y = t) : ((∀ a, t (eStar a) = 0) ∧ -(S.N * t 𝔰.z) = D) ∧ ∀ v, let s := S.N * ∑ i, ‖Φ v (t (𝔰.indexX₀ i))‖ ^ 2 s = ‖Φ v D‖ ^ 2 - (S.N * ‖Φ v (y 𝔰.top)‖) ^ 2 ∧ (s ≤ 0 → ∃ x, frameImage 1 *ᵥ x = t)lemma
Filling.lines 225–228argumentmap_termDisc_eq_norm For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit) and an infinite place v: \Phi_v(\mathsf{g}(\gamma)) is a nonnegative real number (it equals its absolute value).Structured proof, 2 steps Corollary 7.3, p. 32 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · line 225 lemma map_termDisc_eq_norm : Φ v (S.termDisc γ) = ‖Φ v (S.termDisc γ)‖ := eq_coe_norm_of_nonneg (bylemma
Filling.lines 230–231one-stephasLevel_last For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E) (implicit): if \mathsf{g}(\gamma)\ne0 (h), then \gamma has level \varrho+1 (HasLevel(S,\varrho+1,\gamma)).The Lean statement
New/Filling/NearTerms.lean · line 230 lemma hasLevel_last (h : S.termDisc γ ≠ 0) : S.HasLevel (last _) γ := ⟨⟨1, by simp; lia⟩, fun e ↦ bylemma
Filling.lines 233–236argumentgramDiscReal_realFrameGram_ratToInf For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit) and an infinite place v: \mathsf{g}(Z(\mathtt{ratToInf}(\gamma)_v))=(\prod_{a=0}^{\varrho}\mathtt{frameScaleSq}(S,v,a))^{2}\cdot|\Phi_v(\mathsf{g}(\gamma))|.Structured proof, 1 step Corollary 7.3, p. 32 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 233–234 lemma gramDiscReal_realFrameGram_ratToInf : gramDiscReal (realFrameGram (S.ratToInf γ v)) = (∏ a : Fin 𝔰.n, S.frameScaleSq v a) ^ 2 * ‖Φ v (S.termDisc γ)‖ := congrArg _ (by simp [↓ofReal_mul,lemma
Filling.lines 238–239one-stepratToInf_mem_besselU0 For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), u\in G(S,E) (implicit) with u\in\mathsf{U}^{0} (h), and an infinite place v:ratToInf(u)_v\in\mathsf{U}^{0} (of G_1).The Lean statement
New/Filling/NearTerms.lean · line 238 lemma ratToInf_mem_besselU0 (h : u ∈ besselU0) v : S.ratToInf u v ∈ besselU0 :=lemma
Filling.lines 241–243one-stepmul_mem_boxedPoints_iff For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an archimedean point y (implicit) and u\in\prod_v G_1 (implicit) with u_v\in\mathsf{U}^{0} at every v (hu): u\cdot y\inboxedPoints(S) iff y\inboxedPoints(S).The Lean statement
New/Filling/NearTerms.lean · lines 241–242 lemma mul_mem_boxedPoints_iff {u} (hu : ∀ v, u v ∈ besselU0) : u * y ∈ S.boxedPoints ↔ y ∈ S.boxedPoints := by simp_all [boxedPoints,lemma
IsNormalForm.lines 245–250argumentratToInf For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit), an infinite place v and a natural number j (implicit): ifIsNormalForm(j,\gamma), thenIsNormalForm(j,\mathtt{ratToInf}(S)(\gamma)_v).Structured proof, 2 steps Lemma 7.4, p. 33 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · line 245 lemma _root_.IsNormalForm.ratToInf {j} : IsNormalForm j γ → IsNormalForm j (S.ratToInf γ v)lemma
Filling.lines 252–253one-steptermsOver. isIntMatrix_termPosition For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E), classes c,c' and r\in\mathsf{G} (implicit): if \gamma\intermsOver(S,c,r,c') (the premise), then the matrix oftermPosition(S,c,c',\gamma) is integral over \hat{O}.The Lean statement
New/Filling/NearTerms.lean · lines 252–253 lemma termsOver.isIntMatrix_termPosition : γ ∈ S.termsOver c r c' → IsIntMatrix (Ô E) (S.termPosition c c' γ).1.1 | ⟨k, _, e⟩ => e ▸ k.2.isIntMatrixlemma
Filling.lines 255–257one-stepclassCoord_conj_splitGram For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classCoord(c)^{H}\cdotlatMiddle(S,\mathbb{A}_f).splitGram\cdotclassCoord(c)=ratMiddle(S,\mathbb{A}_f).splitGram.The Lean statement
New/Filling/NearTerms.lean · lines 255–256 lemma classCoord_conj_splitGram c : (S.classCoord c)ᴴ * (S.latMiddle _).splitGram * S.classCoord c = (S.ratMiddle _).splitGram := gram_inv_of_gram_eqlemma
Filling.lines 259–260one-stepframeImage_termPosition For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) and classes c,c' (implicit):termPosition(S,c,c',\gamma)\cdot f=classCoord(c)\cdot(\gamma f) (\gamma f mapped to \mathbb{A}_f).The Lean statement
New/Filling/NearTerms.lean · lines 259–260 lemma frameImage_termPosition : frameImage (S.termPosition c c' γ) = S.classCoord c * finAdeleMat (frameImage γ.1.1) := coe_termPosition c .. ▸ frameImage_mul_of_mem_agreeWithOneOn (by simp) _lemma
Filling.lines 262–266argumentframeGram_termPosition For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) and classes c,c' (implicit): the frame Gram matrix oftermPosition(S,c,c',\gamma) for the lattice form equals Z(\gamma) mapped to \mathbb{A}_f.Structured proof, 2 steps Lemma 7.5, p. 33 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 262–263 lemma frameGram_termPosition : (S.latMiddle _).frameGram (S.termPosition c c' γ) = finAdeleMat (S.frameProducts γ) := bylemma
Filling.lines 268–270one-stepIsNear. mul_of_mem_besselU0 For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma,u,u'\in G(S,E) (implicit): if \gamma is near (h) and u,u'\in\mathsf{U}^{0} (hu,hu'), then u\gamma u' is near.The Lean statement
New/Filling/NearTerms.lean · lines 268–269 lemma IsNear.mul_of_mem_besselU0 {u'} (h : S.IsNear γ) (hu : u ∈ besselU0) (hu' : u' ∈ besselU0) : S.IsNear (u * γ * u') := h.imp' (S.ratToInf u * ·) (by simp_all [mul_assoc,lemma
Filling.lines 278–279one-stepmem_besselS_iff_frameImage For R,\mathfrak{s},T and s\in U(\mathtt{T.splitGram}) (implicit): s\in\mathsf{S} iff for every basis index i and frame index a with a\le\operatorname{level}(i), the entry (sf)_{i,a} equals \delta: for every frame vector f_a,s f_a-f_a lies in the span of the earlier frame vectors. (The census also lists the section variable a; the statement binds \forall i a.)The Lean statement
New/Filling/NearTerms.lean · lines 278–279 lemma mem_besselS_iff_frameImage : s ∈ besselS ↔ ∀ i a, a.1 ≤ FI.level i → frameImage s.1.1 i a = frameImage 1 i a := by simp [mem_unitriGroup, FI.level]; grindlemma
Filling.lines 281–283argumentpow_le_tailScale For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a natural number e (implicit) with e\le10^{5}\cdot n^{9}\cdot f (h; n=\varrho+1,f the number of infinite places): b^{e}\le\tau=tailScale(S).Structured proof, 1 step Lemma 7.6, p. 34 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · line 281 lemma pow_le_tailScale {e} (h : e ≤ 10 ^ 5 * 𝔰.n ^ 9 * numInfPlaces E) : S.b ^ e ≤ S.tailScale := bylemma
Filling.lines 285–286one-steptailScale_pow_four For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): \tau^{4}=b^{\operatorname{kf}}.The Lean statement
New/Filling/NearTerms.lean · line 285 lemma tailScale_pow_four : S.tailScale ^ 4 = S.b ^ (𝔰.k * numInfPlaces E) := bylemma
Filling.lines 288–293assemblyof_size_bounds For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a proposition p (implicit): if p follows from the conditions 2\le g,2\le\tau,1000\le b,2\le b,0\lebesselEnergy(S),0\lemainEnergy(S),0<N,0<unipCovolume(S),0<b,1\le b and 0<\#\overline{S} (h), then p holds (these conditions are all true).Structured proof, 2 steps Lemma 7.6, p. 34 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 288–290 lemma of_size_bounds {p : Prop} (h : 2 ≤ S.g → 2 ≤ S.tailScale → 1000 ≤ S.b → 2 ≤ S.b → 0 ≤ S.besselEnergy → 0 ≤ S.mainEnergy → 0 < S.N → 0 < S.unipCovolume → 0 < S.b → 1 ≤ S.b → 0 < .card (S.reducedImage besselS) → p) : p := bylemma
Filling.lines 295–300argumentIsNear. norm_frameProducts_le Under the standing hypotheses, for filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit), an infinite place w and frame indices a,b: if \gamma is near (the premise), then |\Phi_w(Z(\gamma)_{ab})|\le b^{5n^{2}} (n=\varrho+1; here b in the bound is the scale of S).The Lean statement
New/Filling/NearTerms.lean · lines 295–300 lemma IsNear.norm_frameProducts_le [S.IsAdmissible] : S.IsNear γ → ‖Φ w (S.frameProducts γ a b)‖ ≤ S.b ^ (5 * 𝔰.n ^ 2) | ⟨y, h, k⟩ => (by obtain ⟨t⟩ := norm_realFrameGram_le_mul (S.ratToInf γ w) (y w) a b, S.thousand_le_b simp [boxedPoints, boxSize, forall_and, -forall_fin_succ'] at * nth_grw 1 [← one_le_abs_kappa, h.1, k.1, N_le] at t <;> simp [field] at * grw [t]; gcongr <;> nlinarith [S.ϱ_le])lemma
Filling.lines 302–305argumentIsNear. norm_map_leadingMinor_le Under the standing hypotheses, for filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit), an order l\le\varrho+1 and an infinite place w: if \gamma is near (h), then |\Phi_w(D_l(Z(\gamma)))|^{2}\le b^{11n^{3}},D_l the leading minor of order l.Structured proof, 2 steps Proposition 7.7, p. 34 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 302–303 lemma IsNear.norm_map_leadingMinor_le [S.IsAdmissible] (h : S.IsNear γ) : ‖Φ w (leadingMinor (S.frameProducts γ) l)‖ ^ 2 ≤ S.b ^ (11 * 𝔰.n ^ 3) := have := S.one_le_b; bylemma
Filling.lines 309–313argumenttermsOver. eq_and_mem_classUnip₀ Under the standing hypotheses, for filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma,u\in G(S,E), classes c,c',d and r\in\mathsf{G} (implicit): if \gamma\intermsOver(S,c,r,c') (k), u\intermsOver(S,c,r,d) (h) and \gamma f=uf (e), then c'=d and \gamma^{-1}u\in\mathsf{U}_{c'}^{0}(g).Structured proof, 1 step Theorem D, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · lines 309–311 lemma termsOver.eq_and_mem_classUnip₀ [S.IsAdmissible] {d} (h : u ∈ S.termsOver c r d) (e : frameImage γ = frameImage u.1.1) : c' = d ∧ γ⁻¹ * u ∈ S.classUnip₀ c' := eq_and_mem_classUnip_of_besselS (bylemma
Filling.lines 315–317argumentisIntegral_frameProducts For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a term \gamma\intermsOver(S,c,r,c') (k; \gamma,c,c',r implicit) and frame indices a,b: the entry Z(\gamma)_{ab} is an algebraic integer.Structured proof, 1 step Lemma 7.5, p. 33 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/NearTerms.lean · line 315 lemma isIntegral_frameProducts : IsIntegral ℤ (S.frameProducts γ a b) := bystructure
Filling.lines 26–32computationFits Definition (structure). For the filling data S, a hermitian space V over E with signs \varepsilon and point x (Space), families l (Harish-Chandra parameters) and \operatorname{kw} (weights) indexed by the infinite places, a grading Y of V with constant N and \eta\in U(X_0)(\mathbb{A}_f),Fits(S,V,l, kw, Y,\eta) consists of: (isBessel) at each infinite place v the Bessel system of S has type (l_v,\operatorname{kw}_{v}) (IsBessel: its degree is Weyl's dimension of l_v, the full Bessel function transforms under U(X_0) through the Schur matrix of weight \operatorname{kw}_{v} after an invertible change of coordinates, and it is fixed by right integration against the discrete-series kernel of l_v); (index_eq) the indexing of Y is the standard one,besselIndexEquiv; (isIdempotentKernel)typeKernel(l,\varepsilon) is an idempotent kernel; (point_eq) there is an integral k\equiv1 at every chosen place and a finite idele u with x_f=u\cdottoBesselH(N,\eta)\cdotlatBasis(S)\cdot k; (central) \eta commutes with every element of U(X_0)(\mathbb{A}_f).The Lean statement
New/Filling/PoincareSeries.lean · line 26 structure Fits (l kw : _ → _) (Y : Grading V S.N _ _) (η : Gf E 𝔰.κ) wheredef
Filling.lines 36–37computationstdPrincipalLevel Definition.stdPrincipalLevel(S) is the open subgroup of the finite adelic unitary group G_f (orthonormal local bases, basis indexed byBesselIndex) of the integral elements whose reductions at every chosen place w above q_0 and q_1 are 1: the principal level at the chosen places.The Lean statement
New/Filling/PoincareSeries.lean · line 36 def stdPrincipalLevel : OpenSubgroup (Gf E 𝔰.BesselIndex) :=lemma
Filling.lines 45–46automationFits. J_eq_ratGram Lemma. If V fits S (Fits(S,V,l, kw, Y,\eta)), then the Gram matrix of V equalsratGram(S), the Gram matrix of the rational form of S (\varrho hyperbolic planes around \operatorname{diag}(1,\ldots,1,-N)).The Lean statement
New/Filling/PoincareSeries.lean · line 45 include X in lemma J_eq_ratGram : V.J = S.ratGram := by simp [Y.2, X.index_eq, ← ext_iff,def
Filling.lines 50–51computationFits. ratEquiv Definition. For X :Fits(S,V,l, kw, Y,\eta),ratEquiv(X) is the group isomorphism from the rational points G(E) of the unitary group of S onto the discrete subgroup \Gamma of V,\gamma\mapsto x^{-1}\gamma x (Space., injective), using J=ratEmbed ratGram(S).The Lean statement
New/Filling/PoincareSeries.lean · line 50 def ratEquiv : S.G E ≃* V.Γ :=def
Filling.lines 55–56computationFits. adelicEquiv Definition. For X :Fits(S,V,l, kw, Y,\eta),adelicEquiv(X) is the isomorphism g\mapsto xgx^{-1} from the standard adelic group G(\varepsilon) onto the adelic points G(\mathbb{A}_E) of the unitary group of S (toRatCoordsof V, using J=ratGram(S)).The Lean statement
New/Filling/PoincareSeries.lean · line 55 def adelicEquiv : _root_.G E ε ≃* S.G (𝔸 E) :=lemma
Filling.lines 58–59one-stepFits. adelicEquiv_ratEquiv Lemma. For X :Fits(S,V,l, kw, Y,\eta) and \gamma\in G(E):adelicEquiv(X)(\mathtt{ratEquiv}(X)(\gamma))=ratToAdelic(S)(\gamma), the diagonal image of \gamma.The Lean statement
New/Filling/PoincareSeries.lean · lines 58–59 lemma adelicEquiv_ratEquiv γ : X.adelicEquiv (X.ratEquiv γ) = S.ratToAdelic γ := by erw [V.toRatCoords.trans_apply, V.toRatCoords.apply_symm_apply]; rfldef
Filling.lines 63–66computationFits. realHomeo Definition. For X :Fits(S,V,l, kw, Y,\eta),realHomeo(X) is the homeomorphism from G_{\infty} (the infinite part of G(\varepsilon)) onto \prod_v G_1 sending g to (d_v^{-1}\cdot x_v\cdot g_v\cdot p^{-1})_v, with x the point of V,d_v=basisScaleGL(S,v) the diagonal rescaling at v, and p the fixed frame (throughframeEquiv).The Lean statement
New/Filling/PoincareSeries.lean · line 63 def realHomeo := Homeomorph.piCongrRight fun v ↦ frameEquiv.symm.toHomeomorph.translemma
Filling.lines 68–71argumentFits. realHomeo_mul Lemma. For X :Fits(S,V,l, kw, Y,\eta) and g,g'\in G(\varepsilon):realHomeo(X)((g\cdot g')_{\infty})=adelicToInf(S)(\mathtt{adelicEquiv}(X)(g))\cdotrealHomeo(X)(g_{\infty}').Structured proof, 3 steps Lemma 3.4, p. 17 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 68–69 lemma realHomeo_mul g' : X.realHomeo (g * g').1 = S.adelicToInf (X.adelicEquiv g) * X.realHomeo g'.1 := bydef
Filling.lines 75–76computationFits. finiteEquiv Definition. For X :Fits(S,V,l, kw, Y,\eta),finiteEquiv(X) is the isomorphism from the standard finite adelic unitary group G_f (basisBesselIndex) ontoGFin(S) (finite adelic unitary group of the lattice form), g\mapsto\iota(\eta)^{-1}(x_f g x_f^{-1})\iota(\eta) written in the lattice basis, \iota=inclHFin(S).The Lean statement
New/Filling/PoincareSeries.lean · line 75 def finiteEquiv : Gf E 𝔰.BesselIndex ≃* S.GFin := (U.conj _ (by simpa [X.J_eq_ratGram] usinglemma
Filling.lines 78–80computationFits. finiteEquiv_eq_adelicToFin Lemma. For X :Fits(S,V,l, kw, Y,\eta) and g\in G(\varepsilon):finiteEquiv(X)(g_f)=\iota(\eta)^{-1}\cdotadelicToFin(S)(\mathtt{adelicEquiv}(X)(g))\cdot\iota(\eta),\iota=inclHFin(S).The Lean statement
New/Filling/PoincareSeries.lean · lines 78–79 lemma finiteEquiv_eq_adelicToFin : X.finiteEquiv g.2 = (S.inclHFin η)⁻¹ * S.adelicToFin (X.adelicEquiv g) * S.inclHFin η := bylemma
Filling.lines 82–89argumentFits. reduction_finiteEquiv_iff Lemma. For X :Fits(S,V,l, kw, Y,\eta),k\in G_f and s\in\mathsf{G}: (finiteEquiv(X)(k) lies in K and its reduction is s) iff (k is integral and its family of reductions at the chosen places is s, i.e.Kf.(k)=s read as a function on the pairs (i,w)).reduceFamily Structured proof, 5 steps Lemma 3.4, p. 17 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 82–83 lemma reduction_finiteEquiv_iff k s : (∃ h, S.reduction ⟨X.finiteEquiv k, h⟩ = s) ↔ ∃ h, Kf.reduceFamily _ ⟨k, h⟩ = Sigma.uncurry s := bylemma
Filling.lines 91–92one-stepFits. mem_stdPrincipalLevel_iff Lemma. For X :Fits(S,V,l, kw, Y,\eta) and k\in G_f: k\instdPrincipalLevel(S) ifffiniteEquiv(X)(k)\inprincipalLevel(S)=K(g).The Lean statement
New/Filling/PoincareSeries.lean · lines 91–92 lemma mem_stdPrincipalLevel_iff {k} : k ∈ S.stdPrincipalLevel ↔ X.finiteEquiv k ∈ S.principalLevel := mem_levelOf.trans (by simp [principalLevel, reduction_finiteEquiv_iff])def
Filling.lines 96–97computationFits. cutBessel Definition. For X :Fits(S,V,l, kw, Y,\eta),a=(c,i)\inClasses(S)\timesBesselCoord(S) and g\in G(\varepsilon):cutBessel(X,a,g)=\beta_c(y)\cdot W_i(y) with y=realHomeo(X)(g_{\infty}),\beta_c=classCutoff(S,c) and W_i(y)=besselFn(S,y,i) (full Bessel functions), iffiniteEquiv(X)^{-1}(h_c^{-1}\iota(\eta))\cdot g_f\instdPrincipalLevel(S), and 0 otherwise.The Lean statement
New/Filling/PoincareSeries.lean · line 96 def cutBessel := if X.finiteEquiv.symm ((S.h a.1)⁻¹ * S.inclHFin η) * g.2 ∈ S.stdPrincipalLevel thenlemma
Filling.lines 99–103automationFits. cutBessel_ratEquiv_mul Lemma. For X :Fits(S,V,l, kw, Y,\eta),a=(c,i),g\in G(\varepsilon) and \gamma\in G(E):cutBessel(X,a,\mathtt{ratEquiv}(X)(\gamma)\cdot g)=\beta_c(y)\cdot W_i(y) with y=ratToInf(S)(\gamma)\cdotrealHomeo(X)(g_{\infty}) if h_c^{-1}\cdot(\mathtt{ratToFin}(S)(\gamma)\cdot(\iota(\eta)\cdot\mathtt{finiteEquiv}(X)(g_f)))\in K(g), and 0 otherwise.The Lean statement
New/Filling/PoincareSeries.lean · lines 99–102 lemma cutBessel_ratEquiv_mul γ : X.cutBessel a (X.ratEquiv γ * g) = let y := S.ratToInf γ * X.realHomeo g.1; if (S.h a.1)⁻¹ * (S.ratToFin γ * (S.inclHFin η * X.finiteEquiv g.2)) ∈ S.principalLevel then (S.classCutoff a.1 y).toReal • S.besselFn y a.2 else 0def
Filling.line 107computationFits. poincare Definition. For X :Fits(S,V,l, kw, Y,\eta),\varphi\in\ell^{2}(Classes \timesBesselCoord), a subgroup \Delta of G(\varepsilon) (by default \Gamma) and g\in G(\varepsilon): \operatorname{poincare}(X,\varphi,\Delta,g)=\Sigma_a\varphi_a\cdot\Sigma_{\gamma\in\Delta}cutBessel(X,a,\gamma g), a over the pairs (class, coordinate tuple).The Lean statement
New/Filling/PoincareSeries.lean · line 107 @[local simp] def poincare (Δ := V.Γ) g := ∑ a, φ a * ∑' γ : Δ, X.cutBessel a (γ * g)lemma
Filling.lines 111–112one-stepFits. measurable_cutBessel Lemma. For E stably unramified, S admissible and X :Fits(S,V,l, kw, Y,\eta): g\mapstocutBessel(X,a,g) is measurable.The Lean statement
New/Filling/PoincareSeries.lean · line 111 @[fun_prop] lemma measurable_cutBessel [StablyUnram E] : Measurable (X.cutBessel a) :=lemma
Filling.lines 116–121argumentFits. tsum_cutBessel_classUnip Lemma. For E stably unramified, S admissible, X :Fits(S,V,l, kw, Y,\eta),a=(c,i) and g\in G(\varepsilon): \Sigma_{u\in\mathsf{U}_c(g)}cutBessel(X,a,\mathtt{ratEquiv}(X)(u)\cdot g)=W_i(\mathtt{realHomeo}(X)(g_{\infty})) if h_c^{-1}\cdot(\iota(\eta)\cdot\mathtt{finiteEquiv}(X)(g_f))\in K(g), and 0 otherwise (W_i=besselFn(S, \cdot, i), full).Structured proof, 2 steps Lemma 3.7, p. 18 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 116–118 lemma tsum_cutBessel_classUnip [StablyUnram E] : ∑' u : S.classUnip a.1, X.cutBessel a (X.ratEquiv u * g) = if (S.h a.1)⁻¹ * (S.inclHFin η * X.finiteEquiv g.2) ∈ S.principalLevel then S.besselFn (X.realHomeo g.1) a.2 else 0 := bylemma
Filling.lines 127–136argumentFits. tsum_cutBessel_le Lemma (known result: Poincaré series along a Bessel subgroup, unfolding; unipotent strong approximation). For E stably unramified, S admissible, X :Fits(S,V,l, kw, Y,\eta) and a: there is M\ge0 with \Sigma_{\gamma\in\Gamma}|\mathtt{cutBessel}(X,a,\gamma g)|\le M for all g\in G(\varepsilon).Structured proof, 5 steps Theorem A, p. 2 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 127–128 lemma tsum_cutBessel_le [StablyUnram E] : ∃ M : NNReal, ∀ g, ∑' γ : V.Γ, ‖X.cutBessel a (γ * g)‖ₑ ≤ M :=lemma
Filling.lines 143–152argumentFits. integral_poincare Lemma (unfolding). For E stably unramified, S admissible, X :Fits(S,V,l, kw, Y,\eta),\varphi, a subgroup \Delta\le\Gamma and a form y on V of type q (V.(q,y)): with F=y\cdot\operatorname{poincare}(X,\varphi,\Delta,\cdot),F is integrable on \Delta\setminus G(\varepsilon) and \int_{\Delta\setminus G}F=\Sigma_a\varphi_a\int_{G(\varepsilon)}y(g)\cdotIsForm cutBessel(X,a,g)dg.Structured proof, 2 steps Proposition 3.8, p. 19 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 143–145 lemma integral_poincare [StablyUnram E] {Δ q y} (h : Δ ≤ V.Γ) (k : V.IsForm q y) : let F := y * X.poincare φ Δ Integrable F Δ.qms ∧ integral Δ.qms F = ∑ a, φ a * ∫ g, y g * X.cutBessel a gdef
Filling.lines 156–171argumentFits. poincareMap Definition. For E stably unramified, S admissible and X :Fits(S,V,l, kw, Y,\eta):poincareMap(X) is a \mathbb{C}-linear map Q from \ell^{2}(Classes \timesBesselCoord) to the forms on V of typetypeKernel(l,\varepsilon) fixed bystdPrincipalLevel(S) (levelSpaceofformRep), together with the property that Q(\varphi), as a function on G(\varepsilon), is \operatorname{poincare}(X,\varphi,\Gamma,\cdot) for every \varphi.Structured proof, 7 steps Theorem A, p. 2 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 156–158 def poincareMap [StablyUnram E] : {Q : _ →ₗ[ℂ] levelSpace (V.formRep (typeKernel l ε)) S.stdPrincipalLevel // ∀ φ, (Q φ).1.1 = X.poincare φ} := bylemma
Filling.lines 177–196argumentFits. petersson_poincare Lemma (unfolding of the Petersson product). For E stably unramified, S admissible, X :Fits(S,V,l, kw, Y,\eta), coordinates a=(c,i),a'=(c',i'),k\in K_f withKf.(k)=s (s\in\mathsf{G}): \langle R(k)\mathcal{P}(e_{a'}),\mathcal{P}(e_a)\rangle=\operatorname{vol}(\mathtt{stdPrincipalLevel}(S))\cdotreduceFamily amplitudeSum(S,G(E),c,s,c')_{(i,i')}, where \mathcal{P}=poincareMap(X),e_a the unit vector, R(k) right translation by k (formRep), the amplitude sum for the full Bessel functions over all rational terms.Structured proof, 9 steps Theorem B, p. 3 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/PoincareSeries.lean · lines 177–179 lemma petersson_poincare [StablyUnram E] {k s} (hs : Kf.reduceFamily _ k = Sigma.uncurry s) : inner ℂ (V.formRep _ k (X.poincareMap.1 (.single a' 1)).1) (X.poincareMap.1 (.single a 1)) = volume.real S.stdPrincipalLevel.carrier * S.amplitudeSum .univ a.1 s a'.1 (a.2, a'.2) :=lemma
Data.lines 10–11one-stepdecrPosition_paramW Lemma. For parameters P, admissible data D for P, an infinite place v of E(D) and an index i\inRowIndex(D):decrPosition(\mathtt{paramW}(D,v),i)=basisNumber(D,i), i.e. the number of indices j withparamW(D,v,i)<paramW(D,v,j) equals the position of i in the fixed enumerationbasisNumber(D) ofRowIndex(D) (paramW(D,v,i)=2\cdotrowParameter(D,v,\mathtt{basisNumber}(D,i)) is strictly decreasing along that enumeration).The Lean statement
New/Filling/RowDimension.lean · line 10 lemma Data.decrPosition_paramW v i : decrPosition (D.paramW v) i = D.basisNumber i :=lemma
Data.lines 15–25argumentfinrank_rows_le_mass Lemma. For parameters P and admissible data D for P: \dim_{\mathbb{C}}\operatorname{rows}(D)\le\#\mathsf{G}_D\cdotbesselDegree(\operatorname{filling}(D))\cdot\operatorname{mass}(E(D),r(D)). Here \operatorname{rows}(D)=goodForms(D,Y_0(D)) is the image of the good idempotent e_0(D) on the forms of principal level on Y_0(D); \mathsf{G}_D=\prod_x\operatorname{GL}_{\mathtt{RowIndex}(D)}(\mathbb{F}_{\operatorname{chosen}(D,x)}) is the finite group of the chosen places above g_0 and g_1;besselDegree(\operatorname{filling}(D))=\prod_v\deg(\mathtt{besselSys}(\operatorname{filling}(D),v)) is the product over the infinite places of the degrees of the Bessel systems of the filling data of D; and \operatorname{mass}(E(D),r(D))=classSum(\mathtt{stdSpace}(E(D), Fin r(D)).\Gamma f,K_f,1) is the mass of the genus of the standard hermitian lattice of \operatorname{rank}r(D).Structured proof, 4 steps Proposition 9.2, p. 38 of Translates of Poincaré series fill the rows: the second moment over the level group and the filling theorem
The Lean statement
New/Filling/RowDimension.lean · lines 15–16 lemma Data.finrank_rows_le_mass : D.rowDim ≤ Nat.card D.G * D.filling.besselDegree * mass D.E D.r := bydef
Filling.line 20computationenergy Definition. For a normed additive group V, a family A :Classes(S)\timesGRes(S)\timesClasses(S)\to V (written A(c,s,c'), with c,c' double-coset classes of S and s in the finite group \mathsf{G}=GRes(S)=\prod_{i\in\{0,1\}}\prod_{w\text{ chosen above }q_i}GL_r(\mathbb{F}_w)) and a set \Omega\subseteq\mathsf{G}, the energy is \operatorname{energy}(A,\Omega)=\Sigma_c\Sigma_{c'}\Sigma_{s\in\Omega}\lVert A(c,s,c')\rVert^{2}/\nu^{2}, where \nu=unipCovolume(S) is the covolume of \mathsf{U}_c(g) in \mathsf{U}_{\infty}.The Lean statement
New/Filling/SchurTest.lean · line 20 noncomputable def energy := ∑ c, ∑ c', ∑ s with s ∈ Ω, ‖A c s c'‖ ^ 2 / S.unipCovolume ^ 2def
Filling.lines 24–25computationlinkEnergy Definition. For a side \sigma (full or cut Bessel functions), a set T of rational points of the unitary group G(E) of S, a set \Omega'\subseteq\mathsf{G} and a set R of links (a link is the module \operatorname{link}(\gamma) attached to \gamma,link),linkEnergy(T,\Omega',R)=\Sigma_c\Sigma_{c'}\Sigma_{s\in\Omega'}\Sigma_{\Lambda\in R}\lVert\mathtt{amplitudeSum}(S,T\cap\{\gamma:\operatorname{link}(\gamma)=\Lambda\},c,s,c')\rVert^{2} in [0,\infty]: the squared norms of the blocks of the amplitude sums of T split by the link of their terms.The Lean statement
New/Filling/SchurTest.lean · line 24 noncomputable def linkEnergy [Side] (R : Set _) := ∑' (c) (c') (s : Ω') (Λ :lemma
Filling.lines 30–32one-stepamplitudeSum_split Lemma. Let E be stably unramified and S admissible (Filling.), and fix a side \sigma. For sets T,U of rational points of G(E):IsAdmissible amplitudeSum(S,T)=amplitudeSum(S,T\cap U^{c}) +amplitudeSum(S,T\cap U) as functions of (c,s,c'); that is, A_T(c,s,c')=A_{T\setminus U}(c,s,c')+A_{T\cap U}(c,s,c') for all classes c,c' and s\in\mathsf{G} (the sum of the summable family of amplitudes splits over the disjoint union).The Lean statement
New/Filling/SchurTest.lean · lines 30–31 lemma amplitudeSum_split [Side] : S.amplitudeSum T = S.amplitudeSum (T ∩ Uᶜ) + S.amplitudeSum (T ∩ U) := funext₃ fun _ _ _ ↦ (tsum_congr_set_coe _ (by grind)).translemma
Filling.lines 35–38argumentenergy_add_le Lemma. For a normed additive group V, families A,B :Classes(S)\times\mathsf{G}\timesClasses(S)\to V, a set \Omega\subseteq\mathsf{G} and a real \varepsilon>0: \operatorname{energy}(A+B,\Omega)\le(1+\varepsilon)\cdot\operatorname{energy}(A,\Omega)+(1+\varepsilon^{-1})\cdot\operatorname{energy}(B,\Omega).Structured proof, 2 steps Lemma 4.2, p. 19 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/SchurTest.lean · lines 35–36 lemma energy_add_le (hε : 0 < ε) : energy (A + B) Ω ≤ (1 + ε) * energy A Ω + (1 + ε⁻¹) * energy B Ω := bylemma
Filling.lines 43–58argumentenergy_sub_cut_le Lemma. Let E be stably unramified and S admissible. For every set U of rational points of G(E) and every \Omega\subseteq\mathsf{G}, the family A_U-A\flat_U, the difference of the amplitude sumsamplitudeSum(S,U, \cdot, \cdot, \cdot) for the full Bessel functions and for their cuts, has \operatorname{energy}(A_U-A\flat_U,\Omega)\le b^{-30}\cdot\mathsf{d}_1, where b=S.and \mathsf{d}_1=b besselEnergy(S)=|\overline{S}|\cdotcolumnDim(S) (\overline{S} the reduction of the Bessel subgroup).Structured proof, 9 steps Theorem C, p. 3 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/SchurTest.lean · lines 43–44 lemma energy_sub_cut_le : energy (S.amplitudeSum U - S.amplitudeSum (σ := .cut) U) Ω ≤ (S.b ^ 30)⁻¹ * S.besselEnergy := bydef
Filling.lines 65–67computationclassSize Definition. For j\in\{0,\ldots,\varrho+1\} and a real x,classSize(S,j,x)=\tau^{2}\cdot\sqrt{D/(M\cdot g^{2\cdot\min(\varrho,j)\cdot k\cdot f}\cdot x^{k+1})}, where \tau=tailScale(S)=b^{\operatorname{kf}/4},M=countWeight(S,0)=|\overline{S}|\cdot\#Classes(S)/N^{\operatorname{kf}},g=q_0q_1,k=|\kappa|, f the number of infinite places of E, and D=\mathsf{d}=mainEnergy(S) if \varrho<j,D=\tau^{13}/(\tau^{32})^{j}\cdot\mathsf{d}_1 (\mathsf{d}_1=\mathtt{besselEnergy}(S)) otherwise.The Lean statement
New/Filling/SchurTest.lean · line 65 noncomputable def classSize (j : Fin (𝔰.ϱ + 2)) x := S.tailScale ^ 2 * √(ite (𝔰.ϱ < j) S.mainEnergylemma
Filling.lines 72–99argumentIsNear. le_classSize_and_cellMass_le Lemma. Let E be stably unramified and S admissible. Let \gamma\in G(E) be near (IsNear(S,\gamma): some archimedean point y with y andratToInf(S)(\gamma)^{-1}\cdot y inboxedPoints(S)) and let x=termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|\ge1. Then (1) b^{-k^{3}f}\leclassSize(S,\top,x), and (2) \prod_vcellMass(\mathtt{ratToInf}(S)(\gamma)_v,\operatorname{deg}_{v},\mathtt{boxSize}(S), \#I_v)\le(\nu\cdot\mathtt{classSize}(S,\top,x)/2){}^{2}, where \top=\varrho+1,\operatorname{deg}_{v} and I_v are the degree and the index set of the Bessel system of S at v,boxSize(S)=b^{2(\varrho+1)^{2}} and \nu=unipCovolume(S).Structured proof, 11 steps Lemma 5.1, p. 20 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/SchurTest.lean · lines 72–75 lemma IsNear.le_classSize_and_cellMass_le {S : Filling E 𝔰} {γ} [ok : S.IsAdmissible] (n : S.IsNear γ) (N : 1 ≤ S.termDiscNorm γ) : (S.b ^ (𝔰.k ^ 3 * numInfPlaces E))⁻¹ ≤ S.classSize ⊤ (S.termDiscNorm γ) ∧ ∏ v, cellMass (S.ratToInf γ v) (S.besselSys v).deg S.boxSize (Fintype.card (S.besselSys v).I) ≤ (S.unipCovolume * S.classSize ⊤ (S.termDiscNorm γ) / 2) ^ 2 := bydef
Filling.line 103computationboxCutoff Definition. For a class c,boxCutoff(S,c) is the function on G_{\infty}=\prod_v G_1 equal to the cutoff \beta_c=classCutoff(S,c) on the setboxedPoints(S) (points y with y_v inframeBox(\mathtt{boxSize}(S)) andbesselSize(y_v)\le b^{6(\varrho+1)+2} at every v) and 0 outside it.The Lean statement
New/Filling/SchurTest.lean · line 103 noncomputable def boxCutoff := S.boxedPoints.indicator (S.classCutoff c)def
Filling.lines 107–108computationschurWeight Definition. For a class c, a rational \gamma and y\in G_{\infty}:schurWeight(S,c,\gamma,y)=boxCutoff(S,c,\gamma_{\infty}^{-1}\cdot y)\cdot\prod_v(\Delta(y_v)/\Delta((\gamma_{\infty}^{-1}\cdot y)_v))^{k+\varrho+1} in [0,\infty], with \gamma_{\infty}=ratToInf(S)(\gamma) and \Delta=frameVolume(\Delta(h)=|\det\langle v_a,h^{-1}f_b\rangle| for the basis v= (e_1-e_1^{*}, \ldots,e_{\varrho}-e_{\varrho}^{*}, 2z) of a maximal negative subspace).The Lean statement
New/Filling/SchurTest.lean · line 107 noncomputable def schurWeight y := S.boxCutoff c ((S.ratToInf γ)⁻¹ * y) * ∏ v, .ofRealdef
Filling.lines 114–115computationschurIntegral Definition. For classes c,c' and a rational \gamma',schurIntegral(S,c,c',\gamma')=\int_{G_{\infty}}boxCutoff(S,c,y)\cdot\prod_v\lVert W_v^{\mathrm{cut}}(y_v)\rVert^{2}\cdotschurWeight(S,c',\gamma',y)dy in [0,\infty], with W_v^{\mathrm{cut}} the cut Bessel function of S at v.The Lean statement
New/Filling/SchurTest.lean · line 114 noncomputable def schurIntegral := ∫⁻ y,lemma
Filling.lines 121–123one-stepinCut_of_besselKernel_ne_zero Lemma. For the cut Bessel functions: ifbesselKernel(S,\gamma,y)\ne0 (the tensor W(y)\otimes W(\gamma_{\infty}^{-1}y)^{*}), then for every infinite place v both y_v and (\gamma_{\infty}^{-1}\cdot y)_v satisfyInCut(\cdot, b) (besselSize\le b^{6(\varrho+1)+2}), \gamma_{\infty}=ratToInf(S)(\gamma).The Lean statement
New/Filling/SchurTest.lean · lines 121–123 lemma inCut_of_besselKernel_ne_zero {y} (h : S.besselKernel γ y ≠ 0) v : InCut (y v) S.b ∧ InCut (((S.ratToInf γ)⁻¹ * y) v) S.b := by simp_all [← enorm_pos, enorm_besselKernel, (S.besselSys v).tail.inCut_of_ne_zero]lemma
Filling.lines 125–126automationmeasurable_boxCutoff Lemma. For S admissible and every class c, the functionboxCutoff(S,c) is measurable.The Lean statement
New/Filling/SchurTest.lean · lines 125–126 @[fun_prop] lemma measurable_boxCutoff [S.IsAdmissible] : Measurable (S.boxCutoff c) := by delta boxCutoff boxedPoints frameBox; measurabilitylemma
Filling.lines 128–129automationmeasurable_schurWeight Lemma. For S admissible, every class c and rational \gamma, the function y\mapstoschurWeight(S,c,\gamma,y) is measurable.The Lean statement
New/Filling/SchurTest.lean · lines 128–129 @[fun_prop] lemma measurable_schurWeight [S.IsAdmissible] : Measurable (S.schurWeight c γ) := by fun_prop [schurWeight]lemma
Filling.lines 131–140argumentamplitudeAbs_sq_le Lemma (Cauchy–Schwarz with Schur weights). For S admissible, classes c,c' and rational \gamma, for the cut Bessel functions:amplitudeAbs(S,c,c',\gamma)^{2}\leschurIntegral(S,c,c',\gamma)\cdotschurIntegral(S,c',c,\gamma^{-1}), whereamplitudeAbs(S,c,c',\gamma)=\int\beta_c(y)\beta_c'(\gamma_{\infty}^{-1}y)\lVert W(y)\otimes W(\gamma_{\infty}^{-1}y)^{*}\rVert dy.Structured proof, 5 steps Lemma 5.3, p. 21 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/SchurTest.lean · lines 131–132 lemma amplitudeAbs_sq_le [S.IsAdmissible] : S.amplitudeAbs c c' γ ^ 2 ≤ S.schurIntegral c c' γ * S.schurIntegral c' c γ⁻¹ := bylemma
Filling.lines 145–169argumentlintegral_boxCutoff_le_of_average Lemma (averaging). Let S be admissible, c a class, (X,m) a measurable space with an s-finite measure m,s:X\to (infinite places \to G_1) measurable with s(x)_v\in\mathsf{U}^{0} for all x,v; F:G_{\infty}\to[0,\infty] measurable and left invariant under \mathsf{U}_c^{0}(g) (F(u_{\infty}\cdot y)=F(y) for u\inclassUnip{}_0(S,c)); B\subseteq X with 1\le m(B); C\in[0,\infty] such that for every u\in G_{\infty} with all u_v\in\mathsf{U}^{0} and every y\inboxedPoints(S): \int_B F(u\cdot s(x)\cdot y)dm(x)\le C. Then \intboxCutoff(S,c,y)\cdot\prod_v\lVert W_v^{\mathrm{cut}}(y_v)\rVert^{2}\cdot F(y)dy\le C\cdot(\nu\cdot\#\mathtt{BesselCoord}(S)), with \nu=unipCovolume(S) and \#BesselCoord(S)=\prod_v\#I_v.Structured proof, 11 steps Proposition 5.4, p. 22 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/SchurTest.lean · lines 145–150 lemma lintegral_boxCutoff_le_of_average [S.IsAdmissible] c (m : Measure X) [SFinite m] {s : X → _ → _} (ms : Measurable s) (hs : ∀ x v, s x v ∈ besselU0) {F} (mF : Measurable F) (hF : ∀ u ∈ S.classUnip₀ c, ∀ y, F (S.ratToInf u * y) = F y) B (hm : 1 ≤ m B) {C} (h : ∀ u, (∀ v, u v ∈ besselU0) → ∀ y ∈ S.boxedPoints, ∫⁻ x in B, F (u * s x * y) ∂m ≤ C) : ∫⁻ y, S.boxCutoff c y * (∏ v, ‖(S.besselSys v).W .cut (y v)‖ₑ ^ 2) * F y ≤ C * (.ofReal S.unipCovolume * Fintype.card S.BesselCoord) := bystructure
Fillinglines 22–58argumentFor a number field E with a CM type (Field E,CMType E) and a shape \mathfrak{s}, filling data S :Filling(E,\mathfrak{s}) is a record of: a natural number N; two natural numbers q_0=levelPrime0 and q_1=levelPrime1; a finite idele \overline{\pi}=piBar\in(\mathbb{A}_f)^{\times}; an integer \varpi\in\mathcal{O}_E; a real number b; for i=0,1 a finite setchosenPlaces(i) of finite places of E; a subgroup K_c=columnLevelof the finite adelic unitary group G_f(\kappa) of X_0 that is a level (open, inside G_f\cap\operatorname{GL}_{\kappa}(\hat{O})) and satisfies U(X_0)(E)\cap g K_c g^{-1}=1 for every g (aut_columnLevel); and at every infinite place v a Bessel systembesselSys(v) :BesselSystem(\mathfrak{s},b,f),f the number of infinite places of E; subject to: \overline{\pi}\cdot\operatorname{conj}(\overline{\pi})=N; N is prime; at every finite place w,\overline{\pi} is a unit at w, or w has norm N and \overline{\pi} is a unit at \overline{w}; \overline{\pi}\in\hat{O}; each q_i is a prime different from N with b^{10}\le q_i\le b^{11}; every chosen place above q_i has norm q_i; the chosen places for i=0 and i=1 are distinct (the map from \Sigma_ichosenPlaces(i) to the places is injective), and no conjugate \overline{w} of a chosen place w is chosen; for every r\in\hat{O},g=q_0q_1 divides r iff r and \overline{r} reduce to 0 modulo every chosen place; eachchosenPlaces(i) has f elements; \overline{\varpi}=-\varpi and the different of E is the ideal (\varpi); 10^{5}\le\varrho; 2^{-\varrho}\le b^{-6}; (\varrho+1)\cdot[E:\mathbb{Q}]\le2^{2\varrho}; 1000(2\varrho+2)^{9}\le k and 1000(2\varrho+2)\le k (k=|\kappa|); k\le f; (200\cdot f\cdot k\cdot\operatorname{rd}_{E})^{1000}\le b (\operatorname{rd}_{E} the root discriminant); f\le b/1000; k\le b; \operatorname{rd}_{E}\le b; \varrho+1\le b; 1000\le b; 1\le b; b^{19}\le q_0q_1\le b^{23}; 5\le N; and, with n=\varrho+1,10^{10}\cdot n^{4}\le n^{6},3n^{6}+12\le n^{7} and n^{7}\le k.The Lean statement
New/Filling/Setup.lean · line 22 structure Filling whereabbrev
Filling.line 70aliasg For filling data S over E for \mathfrak{s} (E a CM field, \mathfrak{s} implicit): g(S)=q_0\cdot q_1=levelPrime(S,0)\cdotlevelPrime(S,1), a natural number.The Lean statement
New/Filling/Setup.lean · line 70 abbrev g := S.levelPrime 0 * S.levelPrime 1abbrev
Filling.line 74aliasratMiddle For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a commutative ring R:ratMiddle(S,R)=middleGram(N) over R, the Gram matrix on X_0\oplus Ez that is 1 on X_0 and -N at z (N=S.mapped to R).N The Lean statement
New/Filling/Setup.lean · line 74 abbrev ratMiddle := 𝔰.middleGram (S.N : R)abbrev
Filling.line 78aliaslatMiddle For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a commutative ring R:latMiddle(S,R)=latMiddleGram(\mathfrak{s},N) over R, the Gram matrix of X_0\oplus Ez in the lattice basis (x_{k_0} replaced by v=x_{k_0}/\pi+z/N with \pi=\operatorname{conj}(\overline{\pi}): the k_0-column oflatBasis(S)=besselLatticeBasis(\mathfrak{s},\overline{\pi}) has k_0-entry \operatorname{conj}(\overline{\pi})^{-1} and z-entry N^{-1}; the Lean comment writes e_{k_0}/\overline{\pi}).The Lean statement
New/Filling/Setup.lean · line 78 abbrev latMiddle := latMiddleGram 𝔰 (S.N : R)abbrev
Filling.line 82aliasG For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a commutative ring R with involution: G(S,R) is the unitary group over R of the form on V=H^{\varrho}\oplus X_0\oplus Ez whose Gram matrix isratMiddle(S,R).splitGram(\varrho hyperbolic planes, 1 on X_0,-N at z).The Lean statement
New/Filling/Setup.lean · line 82 abbrev G [StarRing R] := (S.ratMiddle R).Gabbrev
Filling.line 86aliasGFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):GFin(S) is the unitary group over the finite adeles \mathbb{A}_f of E of the form with Gram matrixlatMiddle(S,\mathbb{A}_f).splitGram, i.e. the finite adelic unitary group of V written in the lattice basis.The Lean statement
New/Filling/Setup.lean · line 86 abbrev GFin := (S.latMiddle (𝔸f E)).Gabbrev
Filling.line 91aliasGRes For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):GRes(S)=\mathsf{G}=Gq is the finite group \prod_{i\in\{0,1\}}\prod_{w\in\mathtt{chosenPlaces}(i)}GL_r(\mathbb{F}_w) of tuples of invertible matrices, indexed by the basis of V, over the residue fields \mathbb{F}_w at the chosen places.The Lean statement
New/Filling/Setup.lean · line 91 abbrev GRes := ∀ i (w : S.chosenPlaces i), GL 𝔰.BesselIndex (ResField w.1)abbrev
Filling.line 95aliasBesselCoord For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):BesselCoord(S) is the set of tuples (i_v)_v choosing, for every infinite place v, a coordinate index i_v of the Bessel systembesselSys(v).The Lean statement
New/Filling/Setup.lean · line 95 abbrev BesselCoord := ∀ v, (S.besselSys v).Idef
Filling.line 99argumentClasses For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):Classes(S) is the set of double cosets U(X_0)(E)\backslash U(X_0)(\mathbb{A}_f)/K_c, for the unitary group of the standard definite form on \kappa (X_0=E^{\kappa}) and the level K_c=columnLevel(S); it is nonempty.The Lean statement
New/Filling/Setup.lean · line 99 def Classes := DoubleCosets (stdSpace ..).Γf S.columnLevel deriving Nonemptyabbrev
Filling.line 107aliasframeProducts For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E):frameProducts(S,\gamma)=Z(\gamma)=(h(f_a,\gamma f_b))_{a,b\le\varrho}, the frame Gram matrix of \gamma for the formratMiddle(S,E).splitGram, f=(e_1,\ldots,e_{\varrho},z).The Lean statement
New/Filling/Setup.lean · line 107 abbrev frameProducts (γ : S.G E) := (S.ratMiddle E).frameGram γdef
Filling.line 111argumentlatStabilizer For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):latStabilizer(S)=K is the subgroup ofGFin(S) of the elements that lie inGL(\hat{O}), i.e. integral invertible matrices with integral inverse over the integral finite adeles \hat{O} (in the lattice basis).The Lean statement
New/Filling/Setup.lean · line 111 def latStabilizer := (intGL _ (Ô E)).subgroupOf S.GFindef
Filling.lines 115–116argumentreduction For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): \operatorname{reduction}(S):K\to\mathsf{G} is the group homomorphism sending k\in K=latStabilizer(S) to the tuple of its reductions modulo the chosen places w above q_0 and q_1 (each entry of k, an integral finite adele, reduced to the residue field \mathbb{F}_w).The Lean statement
New/Filling/Setup.lean · line 115 protected def reduction : S.latStabilizer →* S.GRes := .pi fun _ ↦def
Filling.line 120argumentprincipalLevel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):principalLevel(S)=K(g) is the kernel of \operatorname{reduction}(S):K\to\mathsf{G}, viewed as a subgroup ofGFin(S): the principal congruence subgroup of level g=q_0q_1 at the chosen places.The Lean statement
New/Filling/Setup.lean · line 120 def principalLevel := S.reduction.ker.map S.latStabilizer.subtypedef
Filling.line 124argumentreducedImage For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a subgroup A ofGFin(S):reducedImage(S,A) is the image in \mathsf{G} of A\cap K under \operatorname{reduction}(S).The Lean statement
New/Filling/Setup.lean · line 124 def reducedImage A := (Subgroup.subgroupOf A _).map S.reductiondef
Filling.line 128argumentkappa For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place v: \operatorname{kappa}(S,v)=\kappa_v=\operatorname{Re}(g\cdot\Phi_v(\varpi)/(2\pi i)), a real number (\Phi_v the chosen complex embedding at v,g=q_0q_1).The Lean statement
New/Filling/Setup.lean · line 128 def kappa := (S.g * Φ v S.ϖ.val / (2 * π * .I)).redef
Filling.lines 132–133argumentbasisScale For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an infinite place v and a basis index i of V:basisScale(S,v,i)\in\mathbb{C} is the scale of the normalised basis at v: \kappa_v^{\varrho-a}/\sqrt{N} at e_a (a<\varrho),1 at the indices of X_0,1/\sqrt{N} at z, and \sqrt{N}/\kappa_v^{\varrho-a} (the inverse of the scale of e_a) at e_a^{*}.The Lean statement
New/Filling/Setup.lean · line 132 def basisScale : 𝔰.BesselIndex → ℂ := let s a := S.kappa v ^ (𝔰.ϱ - a) / √S.N; (s ·) ⊕ᵥlemma
Filling.lines 138–139one-stepmap_splitGram_ratMiddle For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), commutative rings R and R' and a ring homomorphism f:R\to R': applying f entrywise toratMiddle(S,R).splitGramgivesratMiddle(S,R').splitGram.The Lean statement
New/Filling/Setup.lean · lines 138–139 lemma map_splitGram_ratMiddle {R'} [CommRing R'] (f : R →+* R') : (S.ratMiddle R).splitGram.map f = (S.ratMiddle _).splitGram := by aesopdef
Filling.line 142argumentselfDualChar For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):selfDualChar(S) is the additive character x\mapsto\psi_f(-x/\varpi) of the finite adeles of E with values in the unit circle of \mathbb{C},\psi_f the standard finite additive character; it is self-dual for the trace pairing because (\varpi) is the different.The Lean statement
New/Filling/Setup.lean · line 142 def selfDualChar := (Circle.coeHom.compAddChar (ψf E)).mulShift ↑(-S.ϖ.val⁻¹)lemma
Filling.lines 144–145one-stepvarpi_ne_zero For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): \varpi\ne0 in E (\varpi generates the different, which is a nonzero ideal).The Lean statement
New/Filling/Setup.lean · lines 144–145 @[simp high] lemma varpi_ne_zero : S.ϖ.val ≠ 0 := mod_cast ne_zero_of_differentIdeal_eq_span S.span_ϖdef
Filling.line 148argumentframeScaleSq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an infinite place v and a frame index a\in\{0,\ldots,\varrho\}:frameScaleSq(S,v,a)=\kappa_v^{2(\varrho-a)}/N, the square of the scale of the frame vector of index a at v.The Lean statement
New/Filling/Setup.lean · line 148 def frameScaleSq := S.kappa v ^ (2 * (𝔰.ϱ - a)) / S.Ndef
Filling.line 152argumentframeScaleProd For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):frameScaleProd(S)=\prod_v\prod_{a=0}^{\varrho}frameScaleSq(S,v,a)^{k+2(\varrho-a)}, the product over the infinite places v of E and the frame indices a,k=|\kappa|.The Lean statement
New/Filling/Setup.lean · line 152 def frameScaleProd := ∏ v, ∏ a : Fin (𝔰.ϱ + 1), S.frameScaleSq v a ^ (𝔰.k + 2 * (𝔰.ϱ - a))def
Filling.lines 156–157argumentunipCovolume For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):unipCovolume(S)=\nu=(g^{2d+\varrho}/N^{k})^{f}/\operatorname{vol}(\hat{O})^{d}\cdot |disc E|^{\varrho/4}/\mathtt{frameScaleProd}(S), where d=\sum_{a<\varrho}(2a+k+1)=\varrho(\varrho+k),f the number of infinite places, k=|\kappa| and \operatorname{vol}(\hat{O})=\operatorname{vol}\hat{O}(E); it serves as the covolume of \mathsf{U}_c(g) in \mathsf{U}_{\infty}.The Lean statement
New/Filling/Setup.lean · line 156 def unipCovolume := let d := ∑ a ∈ .range 𝔰.ϱ, (a + (𝔰.k + 1) + a); (S.g ^ (2 * d + 𝔰.ϱ) /def
Filling.lines 161–162argumentsiegelConst For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):siegelConst(S)=c_* =(\pi^{k}/((k-1)!\cdot N^{k}))^{f}\cdot |disc E|^{1/4}\cdot\operatorname{vol}(\hat{O})^{k}, with k=|\kappa| and f the number of infinite places; since \operatorname{vol}(\hat{O})=2^{f}/\surd|disc E|, this equals ((2\pi)^{k}\cdot\operatorname{rd}_{E}^\{1/2-k\}/((k-1)!\cdot N^{k})){}^{f}.The Lean statement
New/Filling/Setup.lean · line 161 def siegelConst :=abbrev
Filling.line 167aliastermDisc For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E):termDisc(S,\gamma)=\mathsf{g}(\gamma)=frameDisc(N,Z(\gamma))=|D_{\varrho+1}|^{2}-N^{2}|D_{\varrho}|^{2}\in E, formed from the last two leading minors of Z(\gamma)=frameProducts(S,\gamma), |x|^{2}=x\overline{x}.The Lean statement
New/Filling/Setup.lean · line 167 abbrev termDisc := frameDisc ↑S.N (S.frameProducts γ)lemma
Filling.lines 169–170one-stepbasisScale_besselFrame For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an infinite place v and every frame index b:basisScale(S,v,f_b)=\kappa_v^{\varrho-b}/\sqrt{N}.The Lean statement
New/Filling/Setup.lean · lines 169–170 lemma basisScale_besselFrame : ∀ b, S.basisScale v (𝔰.besselFrame b) = S.kappa v ^ (𝔰.ϱ - b) / √S.N := by simp [basisScale]lemma
Filling.lines 172–173one-stepcoe_kappa For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place v: \kappa_v, viewed in \mathbb{C}, equals g\cdot\Phi_v(\varpi)/(2\pi i); that is, this complex number is real (because \overline{\varpi}=-\varpi).The Lean statement
New/Filling/Setup.lean · line 172 lemma coe_kappa : S.kappa v = S.g * Φ v S.ϖ / (2 * π * .I) := conj_eq_iff_re.1 (bylemma
Filling.line 175one-stepkappa_ne_zero For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place v: \kappa_v\ne0.The Lean statement
New/Filling/Setup.lean · line 175 @[simp] lemma kappa_ne_zero : S.kappa v ≠ 0 := by simp [← ofReal_ne_zero, coe_kappa]lemma
Filling.line 177one-stepframeScaleSq_pos For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an infinite place v and a frame index a: 0<frameScaleSq(S,v,a).The Lean statement
New/Filling/Setup.lean · line 177 @[simp] lemma frameScaleSq_pos : 0 < S.frameScaleSq v a := by simp [frameScaleSq, sq]lemma
Filling.line 179one-stepframeScaleProd_pos For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): 0<frameScaleProd(S).The Lean statement
New/Filling/Setup.lean · line 179 lemma frameScaleProd_pos : 0 < S.frameScaleProd := prod_pos (by simp [prod_pos])lemma
Filling.line 181one-stepbasisScale_ne_zero For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an infinite place v and every basis index i of V:basisScale(S,v,i)\ne0.The Lean statement
New/Filling/Setup.lean · line 181 @[simp] lemma basisScale_ne_zero : ∀ i, S.basisScale v i ≠ 0 := by simp [basisScale]def
Filling.line 185argumentbasisScaleGL For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place v:basisScaleGL(S,v)\inGL_r(\mathbb{C}) is the invertible diagonal matrix with the entriesbasisScale(S,v,i).The Lean statement
New/Filling/Setup.lean · line 185 def basisScaleGL := diagGL (.mk0 _ <| S.basisScale_ne_zero v ·)lemma
Filling.lines 187–188one-stepgram_basisScaleGL For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place v: D^{H}\cdotratMiddle(S,\mathbb{C}).splitGram\cdot D=middleGram(1).splitGramfor D=basisScaleGL(S,v): in the normalised basis the form (with h(z,z)=-N) has the Gram matrix of G_1 (with h(z,z)=-1).The Lean statement
New/Filling/Setup.lean · lines 187–188 lemma gram_basisScaleGL : (S.basisScaleGL v).1ᴴ * (S.ratMiddle ℂ).splitGram * (S.basisScaleGL v).1 = (𝔰.middleGram 1).splitGram := by simp_all [basisScaleGL, basisScale, ← ext_iff, ← ofReal_pow]abbrev
Filling.line 192aliaslatBasis For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):latBasis(S)=besselLatticeBasis(\mathfrak{s},\overline{\pi}) over the finite adeles, the matrix whose columns are the lattice basis of V (x_{k_0} replaced by x_{k_0}/\pi+z/(\pi\overline{\pi}),\pi=\operatorname{conj}(\overline{\pi}): the new column has k_0-entry \operatorname{conj}(\overline{\pi})^{-1} and z-entry (\pi\overline{\pi})^{-1}=N^{-1}; the Lean comment writes e_{k_0}/\overline{\pi}) in the standard basis.The Lean statement
New/Filling/Setup.lean · line 192 abbrev latBasis := besselLatticeBasis 𝔰 S.piBardef
Filling.lines 196–197argumenttoLatBasis For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):toLatBasis(S):G(S,\mathbb{A}_f)\congGFin(S) is the group isomorphism g\mapsto B^{-1}gBfrom the finite adelic unitary group in the standard basis to that in the lattice basis, B=latBasis(S) (it exists because B^{H}J_N B is the lattice Gram matrix,gram_besselLatticeBasiswith \overline{\pi}\pi=N).The Lean statement
New/Filling/Setup.lean · line 196 def toLatBasis : S.G (𝔸f E) ≃* S.GFin :=def
Filling.line 201argumentratToAdelic For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):ratToAdelic(S):G(S,E)\to G(S,\mathbb{A}_E) is the homomorphism induced entrywise by the diagonal embedding E\to\mathbb{A}_E (with the chosen embeddings \Phi_w at the infinite places).The Lean statement
New/Filling/Setup.lean · line 201 def ratToAdelic : S.G E →* S.G (𝔸 E) := U.map toAdele (h := map_splitGram_ratMiddle ..)def
Filling.lines 205–206argumentadelicToInf For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):adelicToInf(S):G(S,\mathbb{A}_E)\to\prod_v G_1 is the homomorphism taking the component g_v at every infinite place v and conjugating it by the diagonal rescaling D_v=basisScaleGL(S,v): g\mapsto(D_v^{-1}g_v D_v)_v.The Lean statement
New/Filling/Setup.lean · line 205 def adelicToInf : S.G (𝔸 E) →* type_of% y := .pi fun v ↦ .compdef
Filling.lines 210–211argumentadelicToFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):adelicToFin(S):G(S,\mathbb{A}_E)\toGFin(S) is the homomorphism taking the finite part of an adelic element and changing to the lattice basis (toLatBasis).The Lean statement
New/Filling/Setup.lean · line 210 def adelicToFin : S.G (𝔸 E) →* S.GFin :=def
Filling.line 215aliasratToInf For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):ratToInf(S)=adelicToInf(S)\circratToAdelic(S):G(S,E)\to\prod_v G_1, sending a rational element to the tuple of its rescaled images at the infinite places.The Lean statement
New/Filling/Setup.lean · line 215 def ratToInf := S.adelicToInf.comp S.ratToAdelicdef
Filling.line 219aliasratToFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):ratToFin(S)=adelicToFin(S)\circratToAdelic(S):G(S,E)\toGFin(S), sending a rational element to its image in the finite adelic unitary group in the lattice basis.The Lean statement
New/Filling/Setup.lean · line 219 def ratToFin := S.adelicToFin.comp S.ratToAdelicdef
Filling.line 223argumentinclHFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):inclHFin(S) is the homomorphism from the finite adelic unitary group of X_0 (the identity form on \kappa over \mathbb{A}_f) toGFin(S): embed into \mathsf{H} (acting on X_0, fixing the other basis vectors;toBesselHwith middle formmiddleGram(N)) and change to the lattice basis (toLatBasis).The Lean statement
New/Filling/Setup.lean · line 223 def inclHFin := S.toLatBasis.toMonoidHom.comp (toBesselH ..)instance
(anonymous)line 225one-stepFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): the setClasses(S) is finite (an instanceFintype S.), because K_c is a level and a level has finitely many classes.Classes The Lean statement
New/Filling/Setup.lean · line 225 instance : Fintype S.Classes := @ofFinite _ HasFiniteType.finite_classesabbrev
Filling.line 229aliash For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c: h(S,c)=h_c=inclHFin(S)(\widetilde{c}), the image inGFin(S) of the chosen representative \widetilde{c}\in U(X_0)(\mathbb{A}_f) of c.The Lean statement
New/Filling/Setup.lean · line 229 abbrev h := S.inclHFin c.outdef
Filling.line 233argumenttermPosition For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c' and \gamma\in G(S,E):termPosition(S,c,c',\gamma)=h_c^{-1}\cdotratToFin(\gamma)\cdot h_{c'}\inGFin(S).The Lean statement
New/Filling/Setup.lean · line 233 def termPosition := (S.h c)⁻¹ * S.ratToFin γ * S.h c'def
Filling.line 237argumenttermsOver For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), classes c,c' and s\in\mathsf{G}:termsOver(S,c,s,c') is the set of rational \gamma\in G(S,E) such thattermPosition(S,c,c',\gamma)=h_c^{-1}\gamma h_{c'} lies in K=latStabilizer(S) and \operatorname{reduction}(S) of it equals s: the terms over (c,s,c').The Lean statement
New/Filling/Setup.lean · line 237 def termsOver := {γ | ∃ k, S.reduction k = s ∧ k = S.termPosition c c' γ}def
Filling.lines 240–241argumentclassUnip For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classUnip(S,c)=\mathsf{U}_c(g) is the subgroup of G(S,E) of the rational points u of the unipotent group \mathsf{U} with h_c^{-1}\cdotratToFin(u)\cdot h_c\in K(g)=principalLevel(S).The Lean statement
New/Filling/Setup.lean · line 240 def classUnip : Subgroup (S.G E) :=def
Filling.line 244argumentclassUnip₀ For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classUnip{}_0(S,c)=\mathsf{U}_c^{0}(g)=\mathsf{U}_c(g)\cap\mathsf{U}^{0}, the elements of \mathsf{U}_c(g) that fix every frame vector.The Lean statement
New/Filling/Setup.lean · line 244 def classUnip₀ := S.classUnip c ⊓ besselU0def
Filling.line 247argumentboxSize For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):boxSize(S)=b^{2n^{2}},n=\varrho+1, the size of the boxes.The Lean statement
New/Filling/Setup.lean · line 247 def boxSize := S.b ^ (2 * 𝔰.n ^ 2)def
Filling.lines 252–255argumentIsBoxPartition For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), a class c and a function \omega from archimedean points y=(y_v)_v\in\prod_v G_1 to [0,\infty]:IsBoxPartition(S,c,\omega) holds iff \omega is measurable; for all y and v, if \omega(y)\ne0 andInCut(y_v,b) then y_v\inframeBox(\mathtt{boxSize}(S)); for every y and every a:\mathsf{U}_c(g)\to[0,\infty] whose sum over each coset \mathsf{U}_c^{0}(g)\gamma is 1 (\sum_{u\in\mathsf{U}_c^{0}(g)}a(u\gamma)=1 for all \gamma), \sum_{\gamma\in\mathsf{U}_c(g)}a(\gamma)\cdot\omega(\mathtt{ratToInf}(\gamma)\cdot y)=1; \omega\le1; and \omega(s\cdot y)=\omega(y) whenever s_v\in\mathsf{U}^{0}\sqcup\mathsf{H} at every infinite place v (left invariance under \mathsf{U}^{0} and \mathsf{H} at infinity).The Lean statement
New/Filling/Setup.lean · line 252 def IsBoxPartition (ω : _ → ENNReal) := Measurable ω ∧def
Filling.line 259argumentbesselFn For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma (full or cut), an archimedean point y=(y_v)_v and a tuple i=(i_v)_v\inBesselCoord(S):besselFn(S,y,i)=\prod_v W_{\sigma,v}(y_v)_{i_v}, the product over the infinite places of the i_v-th coordinate of the local Bessel function W_{\sigma} ofbesselSys(v) at y_v.The Lean statement
New/Filling/Setup.lean · line 259 def besselFn (i : S.BesselCoord) := ∏ v, (S.besselSys v).W σ (y v) (i v)def
Filling.lines 263–264argumentbesselKernel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma,\gamma\in G(S,E) and an archimedean point y:besselKernel(S,\gamma,y)\in\mathbb{C}^{\mathtt{BesselCoord}\times\mathtt{BesselCoord}} is the tensor W(y)\otimes W(\gamma^{-1}y)^{*}, with coordinatesbesselFn(y,i)\cdot\operatorname{conj}(\mathtt{besselFn}(\gamma^{-1}y,j)),\gamma^{-1}y=ratToInf(\gamma)^{-1}\cdot y.The Lean statement
New/Filling/Setup.lean · line 263 def besselKernel : EuclideanSpace ℂ (S.BesselCoord × S.BesselCoord) :=def
Filling.line 268argumentcolumnDim For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):columnDim(S)= \#Classes(S)\cdot\#BesselCoord(S), the dimension of the space of columns.The Lean statement
New/Filling/Setup.lean · line 268 def columnDim := card S.Classes * card S.BesselCoorddef
Filling.line 271argumentbesselDegree For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):besselDegree(S)=\prod_v\deg(\mathtt{besselSys}(v)), the product over the infinite places of the constants deg of the local Bessel systems.The Lean statement
New/Filling/Setup.lean · line 271 def besselDegree := ∏ v, (S.besselSys v).deglemma
Filling.line 273one-stepbesselDegree_pos For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): 0<besselDegree(S).The Lean statement
New/Filling/Setup.lean · line 273 lemma besselDegree_pos : 0 < S.besselDegree := prod_pos fun _ _ ↦ (besselSys ..).deg_posdef
Filling.line 276argumentmainEnergy For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):mainEnergy(S)=\mathsf{d}=columnDim(S)^{2} / (besselDegree(S)\cdot\operatorname{mass}(E,r)), \operatorname{mass}(E,r) the mass of the genus of the standard hermitian lattice of \operatorname{rank}r.The Lean statement
New/Filling/Setup.lean · line 276 def mainEnergy := S.columnDim ^ 2 / (S.besselDegree * mass E 𝔰.r)abbrev
Filling.line 280aliasunipOrder For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):unipOrder(S)=g^{f\cdot\varrho(2k+2\varrho+1)},f the number of infinite places; it is the order of the reduction of the integral points of \mathsf{U}.The Lean statement
New/Filling/Setup.lean · line 280 abbrev unipOrder := S.g ^ (numInfPlaces E * (𝔰.ϱ * (2 * 𝔰.k + 2 * 𝔰.ϱ + 1)))def
Filling.line 284argumentpacketConst For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):packetConst(S)=a_* = \#reducedImage(S,\mathsf{S})\cdotunipOrder(S)\cdot\#Classes(S)\cdotsiegelConst(S), wherereducedImage(S,\mathsf{S})=\overline{S} is the image in \mathsf{G} of the Bessel subgroup.The Lean statement
New/Filling/Setup.lean · line 284 def packetConst := Nat.card (S.reducedImage besselS) * S.unipOrder * card S.Classes * S.siegelConstdef
Filling.line 289argumentbesselEnergy For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):besselEnergy(S)=\mathsf{d}_1= \#reducedImage(S,\mathsf{S})\cdotcolumnDim(S), a real number.The Lean statement
New/Filling/Setup.lean · line 289 def besselEnergy : ℝ := Nat.card (S.reducedImage besselS) * S.columnDimdef
Filling.line 292argumenttailScale For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):tailScale(S)=\tau=b^{\operatorname{kf}/4} (real exponent), k=|\kappa|, f the number of infinite places.The Lean statement
New/Filling/Setup.lean · line 292 def tailScale := S.b ^ (𝔰.k * numInfPlaces E / 4 : ℝ)abbrev
Filling.line 296aliascodimFactor For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):codimFactor(S)=(b/g)^{\operatorname{kf}}\cdot2\tau^{2}, which equals 2\tau^{6}/g^{\operatorname{kf}} since \tau^{4}=b^{\operatorname{kf}}.The Lean statement
New/Filling/Setup.lean · line 296 abbrev codimFactor := (S.b / S.g) ^ (𝔰.k * numInfPlaces E) * (2 * S.tailScale ^ 2)class
Filling.lines 301–318argumentIsAdmissible For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the standing hypothesesIsAdmissible(S) (a class) are: K_c=inclHFin{}^{-1}(K(g)) (the column level is the preimage of the principal level); \operatorname{reduction}(S):K\to\mathsf{G} is surjective; for every infinite place v, |\Phi_v(\varpi)|\le b and 1\le|\kappa_v|\le b^{23}; N\le b^{60n}; \prod_v\Theta\cdot b^{7k}\cdot(|\kappa_v|^{2\varrho+1}/(\mathtt{gN}))^{k-n^{7}}\lebesselDegree(S)^{-1} (\Theta=\mathtt{bandConst}(\mathfrak{s})); \tau^{44}\cdot\mathsf{d}_1\le\mathsf{d} and \tau^{18}\cdotcodimFactor(S)\cdot\mathsf{d}\le\mathsf{d}_1 (\mathsf{d}=\mathtt{mainEnergy},\mathsf{d}_1=\mathtt{besselEnergy});codimFactor(S)\le1; \#BesselCoord(S)\le b^{2\operatorname{kf}}; (N^{k}/b)^{f}\le[K_0:\mathtt{inclHFin}{}^{-1}(K)], the relative index in K_0=G_f(\kappa)\capGL(\hat{O}) of the preimage of K; andpacketConst(S)\le(1+b^{-9})\cdot\mathsf{d}\cdotbesselDegree(S)\cdot c_G^{f}/\operatorname{vol}(\hat{O})^{n}\cdot(\nu\cdot\mathtt{frameScaleProd}(S)/\#\mathtt{BesselCoord}(S))^{2},c_G=openCellConst(\mathfrak{s}),\nu=unipCovolume(S).The Lean statement
New/Filling/Setup.lean · line 301 class IsAdmissible wherelemma
Filling.lines 320–321one-stepadelicToInf_apply For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), an adelic element \gamma\in G(S,\mathbb{A}_E), an infinite place v and basis indices i,j: the (i,j) entry ofadelicToInf(S)(\gamma)_v is (\gamma_i j)_v\cdotbasisScale(S,v,j)/basisScale(S,v,i).The Lean statement
New/Filling/Setup.lean · lines 320–321 lemma adelicToInf_apply : (S.adelicToInf γ v).1 i j = (γ.1 i j).1 v * (S.basisScale v j / S.basisScale v i) := by simp! [adelicToInf, basisScaleGL, U.map, diagGL]lemma
Filling.lines 323–324one-stepratToInf_apply For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E), an infinite place v and basis indices i,j: the (i,j) entry ofratToInf(S)(\gamma)_v is \Phi_v(\gamma_i j)\cdotbasisScale(S,v,j)/basisScale(S,v,i).The Lean statement
New/Filling/Setup.lean · lines 323–324 @[simp] lemma ratToInf_apply : (S.ratToInf γ v).1 i j = Φ v (γ.1 i j) * (S.basisScale v j / S.basisScale v i) := adelicToInf_apply ..instance
(anonymous)line 328one-stepFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): the group G(S,E) is countable (an instance), since its elements are determined by their matrices over the countable field E.The Lean statement
New/Filling/Setup.lean · line 328 instance : Countable (S.G E) := Units.val_injective.injOn.injective.countablelemma
Filling.lines 332–339argumentfinite_classUnip_inter_compact Let S be filling data (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), c a class, m a finite index type (implicit), f:m\to (basis indices of V) and C a compact set of tuples (indexed by the infinite places v) of complex m\times m matrices (hypothesishC). Then only finitely many points of C have the form (submatrix on rows and columns f ofratToInf(S)(u)_v){}_v with u\in\mathsf{U}_c(g): the set C\cap {that tuple : u\inclassUnip(S,c)} is finite.Structured proof, 2 steps Lemma 3.3, p. 20 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/Setup.lean · lines 332–333 lemma finite_classUnip_inter_compact {m} [Finite m] (f : m → _) {C} (hC : IsCompact C) : (C ∩ range fun (u : S.classUnip c) v ↦ (S.ratToInf u v).1.1.submatrix f f).Finite := .subset (.pi' fun v ↦lemma
Filling.lines 343–352argumentexists_cutoff_classUnip Let S be filling data over E for \mathfrak{s},c a class (implicit) and K a subgroup of \mathsf{U}_c(g)=classUnip(S,c). Let \Gamma be the image of K in \prod_v G_1 underratToInf(S). Then \Gamma is discrete, and there is a measurable \beta:\prod_v G_1\to[0,\infty] with \sum_{u\in K}\beta(\mathtt{ratToInf}(u)\cdot y)=1 for every y and which is a cutoff for \Gamma with counting measure (IsCutoff: \int_{\Gamma}\beta(\gamma y)d count =1).Structured proof, 2 steps Lemma 3.3, p. 20 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/Setup.lean · lines 343–345 lemma exists_cutoff_classUnip {c} K : let Γ := Subgroup.map (S.ratToInf.domRestrict (S.classUnip c)) K; ∃ β, Measurable β ∧ (∀ y, ∑' u : K, β (S.ratToInf u * y) = 1) ∧ DiscreteTopology Γ ∧ IsCutoff (H := Γ) .count βdef
Filling.lines 356–357argumentclassCutoff For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a class c:classCutoff(S,c)=\beta_c is the function on \prod_v G_1 equal to the product of a chosen cutoff for \mathsf{U}_c^{0}(g) (the \beta ofexists_cutoff_classUnipfor the subgroup \mathsf{U}_c^{0}(g) of \mathsf{U}_c(g)) and a function chosen by Hilbert's \varepsilon among those withIsBoxPartition(S,c,\cdot) (arbitrary if there is none). It is irreducible (@[irreducible]).The Lean statement
New/Filling/Setup.lean · line 356 @[irreducible] def classCutoff := (S.exists_cutoff_classUnipdef
Filling.lines 361–362argumentamplitude For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma, classes c,c' and \gamma\in G(S,E): \operatorname{amplitude}(S,c,c',\gamma)=\int_{\prod_v G_1}\beta_c(y)\cdot\beta_{c'}(\gamma^{-1}y)\cdotbesselKernel(S,\gamma,y)dy\in\mathbb{C}^{\mathtt{BesselCoord}{}^{2}} (Bochner integral, the cutoff values read as real numbers), \gamma^{-1}y=ratToInf(\gamma)^{-1}\cdot y.The Lean statement
New/Filling/Setup.lean · line 361 def amplitude := ∫ y,def
Filling.lines 366–367argumentamplitudeAbs For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma, classes c,c' and \gamma\in G(S,E):amplitudeAbs(S,c,c',\gamma)=\int^{-}\beta_c(y)\cdot\beta_{c'}(\gamma^{-1}y)\cdot\lVert\mathtt{besselKernel}(S,\gamma,y)\rVert dy\in[0,\infty].The Lean statement
New/Filling/Setup.lean · line 366 def amplitudeAbs := ∫⁻ y,def
Filling.line 370argumentamplitudeSum For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), the side \sigma, a set T\subseteq G(S,E), classes c,c' and s\in\mathsf{G}:amplitudeSum(S,T,c,s,c')=A_T(c,s,c')=\sum_{\gamma\in T\cap\mathtt{termsOver}(S,c,s,c')}\operatorname{amplitude}(S,c,c',\gamma) (an unconditional sum,tsum, defined as 0 when not summable).The Lean statement
New/Filling/Setup.lean · line 370 def amplitudeSum := ∑' γ : ↥(T ∩ S.termsOver c s c'), S.amplitude c c' γlemma
Filling.lines 372–373one-stepabs_kappa_eq For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and an infinite place v: |\kappa_v|=g\cdot|\Phi_v(\varpi)|/(2\pi).The Lean statement
New/Filling/Setup.lean · line 372 lemma abs_kappa_eq : |S.kappa v| = S.g * ‖Φ v S.ϖ‖ / (2 * π) :=lemma
Filling.lines 375–377one-steprealFrameGram_ratToInf For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E), an infinite place v and all frame indices a,b: the (a,b) entry of the frame matrix Z(\mathtt{ratToInf}(\gamma)_v) in G_1 is (\kappa_v^{\varrho-a}\cdot\kappa_v^{\varrho-b}/N)\cdot\Phi_v(Z(\gamma)_{ab}),Z(\gamma)=frameProducts(S,\gamma).The Lean statement
New/Filling/Setup.lean · lines 375–377 @[simp] lemma realFrameGram_ratToInf : ∀ a b, realFrameGram (S.ratToInf γ v) a b = ↑(S.kappa v ^ (𝔰.ϱ - a) * S.kappa v ^ (𝔰.ϱ - b) / S.N) * Φ v (S.frameProducts γ a b) := by simp [frameGram, mul_apply, basisScale, ← ofReal_pow]lemma
Filling.lines 379–382one-stepdet_submatrix_realFrameGram_ratToInf For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E), an infinite place v, a finite type n (implicit) and a map e:n\to (frame indices): det of the submatrix of Z(\mathtt{ratToInf}(\gamma)_v) on rows and columns e equals (\prod_{a\in n}\mathtt{frameScaleSq}(S,v,e(a)))\cdot\Phi_v(\det of the submatrix of Z(\gamma) on e).The Lean statement
New/Filling/Setup.lean · lines 379–381 lemma det_submatrix_realFrameGram_ratToInf {n} [Fintype n] (e : n → _) : ((realFrameGram (S.ratToInf γ v)).submatrix e e).det = (∏ a, delta% S.frameScaleSq v (e a)) * Φ v ((S.frameProducts γ).submatrix e e).det := by simp [det_apply, sq,lemma
Filling.line 384one-stepunipCovolume_pos For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit): 0<unipCovolume(S).The Lean statement
New/Filling/Setup.lean · line 384 lemma unipCovolume_pos : 0 < S.unipCovolume := div_pos (by bound) S.frameScaleProd_posdef
Filling.line 387aliasgIdele For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit):gIdele(S) is the integer g=q_0q_1 as a unit of the finite adeles of E.The Lean statement
New/Filling/Setup.lean · line 387 def gIdele : (𝔸f E)ˣ := .map (algebraMap E _).1 (.mk0 S.g (by simp))def
Filling.line 391argumentunipotentChar For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and u\inGFin(S):unipotentChar(S,u)=selfDualChar(S)(g^{-1}\cdot\sigma(u))=\psi_f(-\sigma(u)/(g\varpi)), where \sigma(u)=simpleRootSum(u) sums the entries just above the diagonal in the frame block of u.The Lean statement
New/Filling/Setup.lean · line 391 def unipotentChar (u : S.GFin) := S.selfDualChar (S.gIdele⁻¹ * simpleRootSum u)def
Filling.lines 395–396argumentAgrees For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and s\in\mathsf{G}:Agrees(S,s) holds iff for all u,u'\in K=latStabilizer(S) that lie in \mathsf{U} and satisfy \operatorname{reduction}(u)\cdot s=s\cdot\operatorname{reduction}(u'),unipotentChar(S,u)=unipotentChar(S,u').The Lean statement
New/Filling/Setup.lean · line 395 def Agrees := ∀ u u', u.1 ∈ besselU → u'.1 ∈ besselU → S.reduction u * s = s * S.reduction u' →def
Filling.line 400argumentIsStable For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a set T\subseteq G(S,E):IsStable(S,T) holds iff for all rational u,u'\in\mathsf{U} and all \gamma: u^{-1}\gamma u'\in T\iff\gamma\in T.The Lean statement
New/Filling/Setup.lean · line 400 def IsStable := ∀ᵉ (u ∈ besselU) (u' ∈ besselU) (γ), u⁻¹ * γ * u' ∈ T ↔ γ ∈ Tdef
Filling.line 404argumenttermsOfLink For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a submodule \Lambda:termsOfLink(S,\Lambda) is the set of \gamma\in G(S,E) withtermDisc(S,\gamma)\ne0 and \operatorname{link}(\gamma)=\Lambda.The Lean statement
New/Filling/Setup.lean · line 404 def termsOfLink Λ := {γ | S.termDisc γ ≠ 0 ∧ link γ = Λ}lemma
splitGram_mulVeclines 15–16one-stepFor a commutative ring F, a shape \mathfrak{s} and a Gram matrix T on V_{\varrho} over F (implicit) and a vector v of the whole space: J\cdot v (J=\mathtt{T.splitGram}) is the vector whose e-coordinates are the e^{*}-coordinates of v, whose middle part is T\cdot(middle part of v), and whose e^{*}-coordinates are the e-coordinates of v.The Lean statement
New/Filling/StableCells.lean · lines 15–16 lemma splitGram_mulVec v : T.splitGram *ᵥ v = (v <| eStar ·) ⊕ᵥ (T *ᵥ (v <| inr <| inl ·) ⊕ᵥ (v <| inl ·)) := funext (by simp [splitGram])lemma
linkMatrix_mulVeclines 18–19one-stepFor F,\mathfrak{s},T (implicit), \gamma\in U(J) (implicit) and a vector t:linkMatrix(\gamma)\cdot t= (middle part of t, middle part of \gamma^{-1}t).The Lean statement
New/Filling/StableCells.lean · lines 18–19 @[simp ↓] lemma linkMatrix_mulVec t : linkMatrix γ *ᵥ t = (t <| inr <| inl ·) ⊕ᵥ (γ⁻¹.1.1 *ᵥ t <| inr <| inl ·) := funext (by simp [mulVec_eq_sum, linkMatrix])lemma
isotropicFramePair_mulVec_eq_zero_ifflines 21–24one-stepFor F,\mathfrak{s},T,\gamma (implicit) and a vector t (implicit): t is orthogonal to e_1,\ldots,e_{\varrho} and to \gamma e_1,\ldots,\gamma e_{\varrho} (t lies in the kernel of (isotropicFramePair(\gamma)){}^{H}\cdot J) iff the e^{*}-coordinates of t and the e^{*}-coordinates of \gamma^{-1}t all vanish.The Lean statement
New/Filling/StableCells.lean · lines 21–23 @[simp ↓] lemma isotropicFramePair_mulVec_eq_zero_iff {t} : t ∈ ((isotropicFramePair γ)ᴴ * T.splitGram).mulVecLin.ker ↔ (∀ a, t (eStar a) = 0) ∧ ∀ a, (γ⁻¹.1.1 *ᵥ t) (eStar a) = 0 := have := congr($(U.form_mul_inv_eq γ) *ᵥ t); bylemma
mem_linklines 28–32argumentFor F,\mathfrak{s},T,\gamma (implicit) and a pair p=(p_1,p_2) of middle vectors (implicit): p\in\operatorname{link}(\gamma) iff there is a\in F^{\varrho} such that \gamma\cdot w, for w the vector with e-part a, middle part p_2 and e^{*}-part 0, has middle part p_1 and e^{*}-part 0.Structured proof, 1 step Lemma 4.1, p. 24 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · line 28 lemma mem_link {p} : p ∈ link γ ↔ ∃ a, (γ.1.1 *ᵥ (a ⊕ᵥ (p ∘ inr ⊕ᵥ 0))) ∘ inr = p ∘ inl ⊕ᵥ 0 :=lemma
IsNormalForm.lines 34–36argumentinv For F,\mathfrak{s},T (implicit), a natural number j and \gamma\in U(J) (implicit): ifIsNormalForm(j,\gamma), thenIsNormalForm(j,\gamma^{-1}).Structured proof, 1 step Lemma 4.2, p. 25 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · line 34 lemma IsNormalForm.inv : IsNormalForm j γ → IsNormalForm j γ⁻¹ := .imp' star fun c h ↦lemma
Filling.lines 38–44argumentexists_frameImage_eq_of_isNormalForm For F,\mathfrak{s},T,\gamma (implicit), j\in\{0,\ldots,\varrho+1\} (implicit) withIsNormalForm(j,\gamma) (h) and any y\in F^{\varrho+1}: there are x,y'\in F^{\varrho+1} with y_a'=y_a for every a\ge j and f\cdot x=(\gamma f)\cdot y'.Structured proof, 4 steps Lemma 4.2, p. 25 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · lines 38–39 lemma Filling.exists_frameImage_eq_of_isNormalForm {j : Fin (𝔰.ϱ + 2)} (h : IsNormalForm j γ) (y : _ → F) : ∃ x y', (∀ a, ↑j ≤ a.1 → y' a = y a) ∧ frameImage 1 *ᵥ x = frameImage γ.1.1 *ᵥ y' := bylemma
IsNormalForm.lines 46–49argumentbesselU_mul For F,\mathfrak{s},T, a natural number j,\gamma,u\in U(J) (implicit): if u\in\mathsf{U} (h) andIsNormalForm(j,\gamma), thenIsNormalForm(j,u\gamma).Structured proof, 1 step Lemma 4.2, p. 25 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · line 46 lemma IsNormalForm.besselU_mul (h : u ∈ besselU) : IsNormalForm j γ → IsNormalForm j (u * γ) :=lemma
Filling.lines 51–55argumentlink_besselU_mul For F,\mathfrak{s},T,\gamma,u,u' (implicit): if u\in\mathsf{U} (a) and u'\in\mathsf{U} (b), then \operatorname{link}(u^{-1}\gamma u')=\operatorname{link}(\gamma).Structured proof, 2 steps Theorem B, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · lines 51–52 lemma Filling.link_besselU_mul (a : u ∈ besselU) (b : u' ∈ besselU) : link (u⁻¹ * γ * u') = link γ := have l {u w γ} : u ∈ _ → w ∈ _ → link γ ≤ link (u * γ * w⁻¹) := fun _ _ _ ↦lemma
Filling.lines 57–60one-stepframeDisc_frameGram_besselU_mul For F,\mathfrak{s},T,\gamma,u,u' (implicit), u\in\mathsf{U} (a), u'\in\mathsf{U} (b) and N\in F:frameDisc(N,Z(u^{-1}\gamma u'))=frameDisc(N,Z(\gamma)) (the leading minors of Z are unchanged).The Lean statement
New/Filling/StableCells.lean · lines 57–59 lemma Filling.frameDisc_frameGram_besselU_mul (a : u ∈ besselU) (b : u' ∈ besselU) N : frameDisc N (T.frameGram (u⁻¹ * γ * u').1.1) = frameDisc N (T.frameGram γ) := by erw [frameDisc, leadingMinor_frameGram_besselU_mul,lemma
Filling.lines 64–67argumentisStable_hasLevel For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and a level j: the set \{\gamma\in G(S,E):\mathtt{HasLevel}(S,j,\gamma)\} is stable (IsStable): it is invariant under \gamma\mapsto u^{-1}\gamma u' for rational u,u'\in\mathsf{U}.Structured proof, 1 step Corollary 4.3, p. 25 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · line 64 lemma Filling.isStable_hasLevel j : S.IsStable {γ | S.HasLevel j γ} := fun _ a _ b _ ↦ .and ⟨(bylemma
mem_link_iff_orthogonallines 71–79argumentFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit) and a pair p of middle vectors over E (implicit): the link of \gamma is Lagrangian for \operatorname{diag}(T,-T),T=\operatorname{diag}(1,\ldots,1,-N): p\in\operatorname{link}(\gamma) iff \overline{q}^{T}\cdotlinkForm(S)\cdot p=0 for every q\in\operatorname{link}(\gamma).Structured proof, 2 steps Theorem B, p. 3 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · lines 71–72 lemma mem_link_iff_orthogonal {γ : S.G E} {p} : p ∈ link γ ↔ ∀ q ∈ link γ, star q ⬝ᵥ S.linkForm *ᵥ p = 0 := ⟨bylemma
Filling.lines 87–91argumentframeDisc_weylElem_mul For a shape \mathfrak{s}, a field A with involution, a Gram matrix T on V_{\varrho} over A, a sequence p:\mathbb{N}\to A^{\times},\sigma\in U(\mathtt{T.splitGram}) with \sigma\in\operatorname{GT}_{\varrho} (\sigma fixes every e_a and e_a^{*}; h\sigma) and N\in A: with t=Z(\sigma)_{\varrho\varrho}=h(z,\sigma z) and d=p_0p_1\cdots p_{\varrho-1},frameDisc(N,Z(w_p\sigma))=d\cdot\overline{d}\cdot(t\cdot\overline{t}-N^{2}), where w_p=weylElem(\varrho,p).Structured proof, 1 step Proposition 4.4, p. 26 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · lines 87–90 lemma Filling.frameDisc_weylElem_mul (hσ : σ ∈ GT 𝔰.ϱ) N : let t := T.frameGram σ 𝔰.top 𝔰.top; let d := ∏ a : Fin 𝔰.ϱ, (p a).1 frameDisc N (T.frameGram (weylElem 𝔰.ϱ p * σ).1.1) = d * star d * (t * star t - N ^ 2)lemma
Filling.lines 96–100argumentlink_big_cell_eq_iff For a shape \mathfrak{s}, a field A with involution, a Gram matrix T, sequences p,q:\mathbb{N}\to A^{\times} and \sigma,\tau\in U(\mathtt{T.splitGram}) with \sigma,\tau\in\operatorname{GT}_{\varrho} (h\sigma,h\tau; they fix all e_a and e_a^{*}): \operatorname{link}(w_p\sigma)=\operatorname{link}(w_q\tau) iff \sigma=\tau, where w_p=weylElem(\varrho,p).Structured proof, 2 steps Proposition 4.4, p. 26 of The filling data: Bessel subgroups, links of frames, Siegel's lemma and strong approximation
The Lean statement
New/Filling/StableCells.lean · lines 96–97 lemma Filling.link_big_cell_eq_iff (hσ : σ ∈ GT 𝔰.ϱ) (hτ : τ ∈ GT 𝔰.ϱ) : link (weylElem 𝔰.ϱ p * σ) = link (weylElem 𝔰.ϱ q * τ) ↔ σ = τ := bydef
tailVectorlines 21–22computationDefinition. For a commutative ring A with involution, a unit \pi of A,t\in A and x\in A^{\kappa}:tailVector(\pi,t,x) is the vector x-(\pi\overline{\pi})^{-1}\cdot t\cdot z of X_0\oplus Az, written in the lattice basis (besselLatticeBasis(\mathfrak{s},\pi)^{-1} applied to (0,(x,-(\pi\overline{\pi})^{-1}t),0)).The Lean statement
New/Filling/StandardLevel.lean · line 21 noncomputable def tailVector {A : Type} {𝔰} [CommRing A] [StarRing A] (π : Aˣ) t x :=lemma
form_tailVectorlines 28–32argumentLemma. Let A be a commutative ring with involution, \pi a unit, N\in A with \pi\cdot\overline{\pi}=N,J=splitGram(\mathtt{latMiddleGram}(\mathfrak{s},N)) and e=tailVector(\pi,t,x) for t\in A,x\in A^{\kappa}. Then \overline{e}\cdot J\cdot e=\overline{x}\cdot x-(\pi\overline{\pi})^{-1}\cdot t\cdot\overline{t} and (J\cdot e)_z=t. (The shape \mathfrak{s} and t,x are arguments in Lean as well; the text-based reading below misses them because it reads thelet J :=of the statement as the start of the value.)Structured proof, 2 steps Lemma 6.2, p. 25 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/StandardLevel.lean · lines 28–30 lemma form_tailVector (hN : π * star ↑π = N) : let J := (latMiddleGram 𝔰 N).splitGram; let e := tailVector π t x; star e ⬝ᵥ J *ᵥ e = star x ⬝ᵥ x - (π * star π)⁻¹.1 * t * star t ∧ (J *ᵥ e) 𝔰.z = tlemma
continuous_tailVectorlines 34–35automationLemma. For a topological ring A (with involution, measure and place structure in the section), the map (t,x)\mapstotailVector(\pi,t,x) is continuous.The Lean statement
New/Filling/StandardLevel.lean · lines 34–35 @[fun_prop] lemma continuous_tailVector : Continuous fun z : A × (𝔰.κ → A) ↦ tailVector π z.1 z.2 := by simp [tailVector, mulVec_eq_sum]; fun_proplemma
HyperbolicBasis.lines 40–61argumenteventually_mass_near_quadric_le Lemma (slabs near the quadric h(e,e)=-N). Let A be a commutative topological ring with involution, Haar measure and place structure P,\iota finite, m\in\mathbb{N},\pi a unit with \pi\cdot\overline{\pi}=N, the whole Gram matrix oflatMiddleGram(\mathfrak{s},N) hermitian invertible, F a hyperbolic basis oflatMiddleGram(\mathfrak{s},N) (m+1 hyperbolic pairs and an orthonormal part \iota), \Phi\ge0 continuous with compact support, and c>\int\Phi d(\mathtt{floorQuadric}(F, top)). Then for every sufficiently small set S near 0 (eventually in the small sets of 0) that is measurable: \int d\tau\int_{y:\overline{y}y-((\pi\overline{\pi})^{-1}\tau\overline{\tau}-N)\in S}\Phi(\mathtt{tailVector}(\pi,\tau,y))dy\le\operatorname{md}(\pi)\cdot\nu(\{\Gamma:\mathtt{skewUnit}{}^{-1}\cdot\Gamma\in S\})\cdot c, with md the modulus and \nu=skewMeasureof P.Structured proof, 6 steps Proposition 6.3, p. 25 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/StandardLevel.lean · lines 40–44 lemma HyperbolicBasis.eventually_mass_near_quadric_le [IsHermUnit (latMiddleGram 𝔰 N).splitGram] (F : HyperbolicBasis ι (latMiddleGram 𝔰 N) m) (hN : π * star ↑π = N) {Φ : _ → ℝ≥0} (hΦ : Continuous Φ) (cΦ : HasCompactSupport Φ) {c} (hc : ∫⁻ e, Φ e ∂F.floorQuadric 𝔰.top < c) : ∀ᶠ S in (𝓝 0).smallSets, MeasurableSet S → ∫⁻ τ, ∫⁻ y in {y | star y ⬝ᵥ y - ((π * star π)⁻¹ * τ * star τ - N) ∈ S}, Φ (tailVector π τ y) ≤ P.md π * P.skewMeasure {Γ | P.skewUnit⁻¹.1 * Γ ∈ S} * c := byabbrev
Level.line 70computationcongGroup Definition. For a level F of the middle form T:congGroup(F)=K(g)=unitaryLevel(O,\mathtt{F.g},\mathtt{splitGram}(T)), the integral isometries congruent to 1 modulo the unit g of F.The Lean statement
New/Filling/StandardLevel.lean · line 70 noncomputable abbrev Level.congGroup := unitaryLevel O F.g T.splitGramstructure
IntegralPlace.lines 75–82computationIsLatticeLevel Definition (structure). For a level F of T at a finite place with integers R:IsLatticeLevel(P,F) holds when (integral_data) the whole Gram matrix is unimodular over R, the basis matrix of F is integral, g\in R and \overline{g}=g; (box_eq) \operatorname{vol}(R^{\times})\le\theta(box), the box isunitaryLevel(R,1,J) (integral isometries), \mu H(box) =1, the ball \mathfrak{B} is R^{r} (integral vectors), and the positions are \{y^{-1}uy:y\in U(J),u\in\mathsf{U}\}\cdot K(g) (y ranges over the whole unitary group of the level; only u is restricted to the Bessel unipotent group \mathsf{U}); (exists_isotropic) some u has \overline{u}\cdot J= the coordinate form at f_{\mathrm{top}} (h(u,\cdot) is the z-coordinate) and u_{f_{\mathrm{top}}}=0.The Lean statement
New/Filling/StandardLevel.lean · line 75 structure IntegralPlace.IsLatticeLevel whereclass
IntegralPlace.lines 86–88computationIsStdLevel Definition (class). A standard level: a level F with m+1 further hyperbolic pairs that is a lattice level (IsLatticeLevel) and satisfies \zeta_R(m)^{\varrho+1}\le1+2^{-(\varrho+1)} (\zeta_R the ideal zeta sum), m<9(\varrho+1) and 13(\varrho+1)\le|\iota|, in a unimodular unitary group (some Haar measure on the unitary group of T is right invariant).The Lean statement
New/Filling/StandardLevel.lean · line 86 class IntegralPlace.IsStdLevel (F : Level ι T (m + 1)) extends P.IsLatticeLevel F wherelemma
IntegralPlace.lines 95–142argumentexists_isLatticeLevel Lemma. At a finite place with integers R (A semilocal with involution and integral place structure P), let N\in R with \overline{N}=N (the whole Gram matrix oflatMiddleGram(\mathfrak{s},N) hermitian invertible), g a unit with g\in R and \overline{g}=g, and k=|\iota|+2m+1. Then there is a level F' oflatMiddleGram(\mathfrak{s},N) with m pairs which is a lattice level (IsLatticeLevel(P,F')) and has F'.g=g.Structured proof, 21 steps Theorem E, p. 5 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/StandardLevel.lean · lines 95–97 lemma IntegralPlace.exists_isLatticeLevel {N} [IsHermUnit (latMiddleGram 𝔰 N).splitGram] (hN : N ∈ R ∧ star N = N) (hg : g.1 ∈ R ∧ star g.1 = g) (hm : 𝔰.k = card ι + 2 * m + 1) : ∃ F : Level ι (latMiddleGram 𝔰 N) m, P.IsLatticeLevel F ∧ F.g = g := bydef
IntegralPlace.lines 148–196argumentIsStdLevel. gauge Definition. For a standard level F and a unit \alpha with \alpha\in R and \overline{\alpha}=\alpha (by default \alpha=1): the gauge of depth \alpha of F (aGauge): a vector x has size j if \alpha^{j}\cdot x\in R, and \Lambda=2/\operatorname{md}(\alpha); the construction verifies the bounds required of a gauge (compact size sets, the level's data of size 1,\Lambda\ge2 and its powers bounding moduli, volumes, cone masses and the integrals of the volume majorant).The Lean statement
New/Filling/StandardLevel.lean · lines 148–149 @[simp] noncomputable def gauge (α : Aˣ := 1) (hα : α.1 ∈ R := by simp) (sα : star α.1 = α := by simp [*] <;> ring) : Gauge F := bylemma
IntegralPlace.lines 200–216argumentIsStdLevel. heisenbergMeasure_eq_floorModulus Lemma. For a standard level F, a unit g\in R with \overline{g}=g,a<\varrho and a subgroup S of \mathcal{N}_{<a} (unipotentBelowa):heisenbergMeasure(a)(\{y:\exists u\in S,u\cdot(y\cdot1)\in\mathtt{unitaryLevel}(R,g,J)\})=floorModulus(F,a,g)=\operatorname{md}(g)^{k+1+2(\varrho-a-1)}\cdot\operatorname{md}(g)^{1/2}.Structured proof, 6 steps Proposition 6.7, p. 28 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/StandardLevel.lean · lines 200–202 lemma heisenbergMeasure_eq_floorModulus (hg : g.1 ∈ R ∧ star g.1 = g) (a : Fin 𝔰.ϱ) {S} (hS : S ≤ unipotentBelow a) : heisenbergMeasure a {y | ∃ u ∈ S, u * (y * 1) ∈ unitaryLevel R g T.splitGram} = F.floorModulus a g := bylemma
IntegralPlace.lines 218–221computationIsStdLevel. ascConv_unitaryLevel Lemma. For a standard level F, a unit g\in R with \overline{g}=g and j\le\varrho: (\eta_0\ast\cdots\ast\eta_{j-1})(K(g))=\prod_{l<j}floorModulus(F,l,g),\eta_l=heisenbergMeasure(l),K(g)=unitaryLevel(R,g,J) (induction on j withheisenbergMeasure_eq_floorModulus).The Lean statement
New/Filling/StandardLevel.lean · lines 218–220 lemma ascConv_unitaryLevel (hg : g.1 ∈ R ∧ star g.1 = g) j : j ≤ 𝔰.ϱ → ascConv heisenbergMeasure j (SetLike.coe (unitaryLevel R g T.splitGram)) = ∏ l ∈ .range j, F.floorModulus l g := j.rec (by simp) fun j i a ↦ by rw [Finset.prod_range_succ, ← i (by lia),lemma
IntegralPlace.lines 223–226one-stepIsStdLevel. unfold_besselU Lemma. For a standard level F,c in the group, an s-finite measure \theta on the unitary group and a unit g\in R with \overline{g}=g: (\eta_0\ast\cdots\ast\eta_{\varrho+1}\ast\theta)(\{y:y\cdot c\in K(g)\})=(\prod_{l<\varrho}\mathtt{floorModulus}(F,l,g))\cdot\theta(\{y:\exists u\in\mathsf{U},u\cdot(y\cdot c)\in K(g)\}).The Lean statement
New/Filling/StandardLevel.lean · lines 223–226 lemma unfold_besselU {c} {θ : Measure T.G} [SFinite θ] (hg : g.1 ∈ R ∧ star g.1 = g) : (ascConv heisenbergMeasure (𝔰.ϱ + 2) ∗ₘ θ) {y | y * c ∈ unitaryLevel R g _} = (∏ l ∈ .range 𝔰.ϱ, F.floorModulus l g) * θ {y | ∃ u ∈ T.besselU, u * (y * c) ∈ unitaryLevel R g _} := by simp [↓ascConv_mconv_unfolding, unipotentBelow_eq_besselU, h.ascConv_unitaryLevel hg]lemma
IntegralPlace.lines 230–235argumentIsStdLevel. groupMeasure_boxSet_le Lemma. For a standard level F at a finite place:groupMeasure(F)(K)\le1+2^{-(\varrho+1)},K=boxSet(F) the group of integral isometries andgroupMeasure(F)=(\eta_{\varrho+1}\ast\theta_{\varrho+1})\ast\cdots\ast(\eta_0\ast\theta_0).Structured proof, 2 steps Proposition 6.9, p. 29 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/StandardLevel.lean · line 230 lemma groupMeasure_boxSet_le : F.groupMeasure F.boxSet ≤ .ofReal (1 + 2⁻¹ ^ 𝔰.n) :=lemma
IntegralPlace.lines 240–253argumentIsStdLevel. le_stackMeasure_boxSet Lemma. For a standard level F with integers R and l+i=\varrho: \operatorname{vol}(R^{\times})^{i+1}\lestackMeasure(F,l,i+2)(K),K=boxSet(F) (the measure of U(V_l) built from the floors l,\ldots,l+i+1 gives K mass at least \operatorname{vol}(R^{\times})^{i+1}).Structured proof, 8 steps Proposition 6.10, p. 29 of Poincaré series of cut Bessel functions: unfolding, one-sided Poisson summation, the adelic sieve, standard levels
The Lean statement
New/Filling/StandardLevel.lean · lines 240–241 lemma le_stackMeasure_boxSet i l (c : l + i = 𝔰.ϱ) : volume P.intUnits ^ (i + 1) ≤ F.stackMeasure l (i + 2) F.boxSet := h.box_eq.elim fun v ⟨B, n, _⟩ ↦ byinstance
IntegralPlace.lines 255–258computationIsStdLevel. isHaarMeasure_groupMeasure Instance. For a standard level F,groupMeasure(F) is a Haar measure on the unitary group (it is a right-invariant multiple of a Haar measure, nonzero and finite on K bygroupMeasure_boxSet_le).The Lean statement
New/Filling/StandardLevel.lean · line 255 instance isHaarMeasure_groupMeasure : F.groupMeasure.IsHaarMeasure := h.unimodular.elim fun ν ⟨_,lemma
Filling.lines 25–39argumentterms_of_class_spec Lemma. Let j\in\{0,\ldots,\varrho+1\}, classes c,c',s\in\mathsf{G} and \gamma\in G(E) with \gamma\intermsOver(S,c,s,c') (h_c^{-1}\gamma h_c'\in K with reduction s) andHasLevel(S,j,\gamma). Then every \delta in the double coset \mathsf{U}_c^{0}(g)\cdot\gamma\cdot\mathsf{U}_c'^{0}(g) (\mathsf{U}_c^{0}(g)=\mathtt{classUnip}{}_0(S,c)) satisfies:HasLevel(S,j,\delta);frameProducts(S,\delta)=frameProducts(S,\gamma) (the matrix Z(\cdot) of products h(f_a, \cdot f_b) with the frame f=(e_1,\ldots,e_{\varrho},z)); \delta\intermsOver(S,c,s,c'); and for every column index i the i-th column of (frameMiddle(k_{\delta})-frameMiddle(k_{\gamma})){}^{H} lies ingIdele(S)\cdotcolLattice(\hat{O}_E,\mathtt{xRows}(Z_{\mathrm{lat}}(k_{\gamma}))^{H}), where k_{\delta}=termPosition(S,c,c',\delta)=h_c^{-1}\delta h_c',frameMiddle(k) are the X_0\oplus Ez rows of k f,Z_{\mathrm{lat}}(k) is the frame Gram matrix of k for the lattice formlatMiddle(S),xRowstakes its first \varrho rows,colLattice(\hat{O}_E,M) is the \hat{O}_E-span of the columns of M andgIdele(S) is g=q_0q_1 as a finite idele.Structured proof, 6 steps Lemma 6.1, p. 23 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/ThinClasses.lean · lines 25–28 lemma Filling.terms_of_class_spec δ (m : δ ∈ doubleCoset γ (S.classUnip₀ c) (S.classUnip₀ c')) : S.HasLevel j δ ∧ S.frameProducts δ = S.frameProducts γ ∧ δ ∈ S.termsOver c s c' ∧ ∀ i, (frameMiddle (S.termPosition c c' δ) - frameMiddle (S.termPosition c c' γ))ᴴ.col i ∈ S.gIdele • colLattice (Ô E) (xRows ((S.latMiddle _).frameGram (S.termPosition c c' γ)))ᴴ := bylemma
Filling.lines 48–123argumenttsum_schurIntegral_le Lemma (Schur test on a thin class). Let E be stably unramified and S admissible; let j\in\{0,\ldots,\varrho+1\}, classes c,c',s\in\mathsf{G} and \gamma\in G(E) with \gamma\intermsOver(S,c,s,c') andHasLevel(S,j,\gamma). Then \Sigma_{\delta\in\mathsf{U}_c^{0}(g)\gamma\mathsf{U}_c'^{0}(g)}schurIntegral(S,c,c',\delta)\le\nu\cdot \#BesselCoord(S)\cdot\tau^{2}\cdot(b^{4}g)^{-\min(\varrho,j)\cdot k\cdot f}\cdot(i/\sqrt{D})^{k+1}, where i=xRowsIndex(S,j,\mathtt{termPosition}(S,c,c',\gamma)) (the index of the \hat{O}-span of the conjugated first \min(j,\varrho) rows of Z(h_c^{-1}\gamma h_c') in that of its first \varrho rows), D=minorNorm(S,j,\gamma) (|N_{E/\mathbb{Q}}(D_j(Z(\gamma)))|, divided by N^{2f} when j=\varrho+1), \tau=tailScale(S)=b^{\operatorname{kf}/4},\nu=unipCovolume(S),g=q_0q_1,k=|\kappa| and f the number of infinite places.Structured proof, 30 steps Theorem A, p. 2 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/ThinClasses.lean · lines 48–51 lemma Filling.tsum_schurIntegral_le : ∑' δ : doubleCoset γ (S.classUnip₀ c) (S.classUnip₀ c'), S.schurIntegral c c' δ ≤ .ofReal (S.unipCovolume * (card S.BesselCoord * S.tailScale ^ 2 * (S.b ^ 4 * S.g)⁻¹ ^ (min 𝔰.ϱ j * 𝔰.k * numInfPlaces E) * (S.xRowsIndex j (S.termPosition c c' γ) / √(S.minorNorm j γ)) ^ (𝔰.k + 1))) := S.of_size_bounds fun g τ b t _ _ N ν o _ _ ↦ bylemma
Filling.lines 131–149argumenttsum_amplitudeAbs_class_le Lemma. Let E be stably unramified and S admissible; let j,c,c',s and \gamma\intermsOver(S,c,s,c') withHasLevel(S,j,\gamma), and assumetermDiscNorm(S,\gamma)\le N^{f}\cdotminorNorm(S,j,\gamma) (\prod_v|\Phi_v(\mathsf{g}(\gamma))| at most N^{f} times the norm of the leading minor). Then, for the cut Bessel functions, \Sigma_{\delta\in\mathsf{U}_c^{0}(g)\gamma\mathsf{U}_c'^{0}(g)}amplitudeAbs(S,c,c',\delta)\le\nu\cdotclassSize(S,j,\mathtt{classGauge}(S,j,c,c',\gamma)), whereclassGauge(S,j,c,c',\gamma)=\max(\mathtt{termDiscNorm}(S,\gamma),N^{f}\cdot\mathtt{minorNorm}(S,j,\gamma))/(i(k)\cdot i(k^{-1})),k=h_c^{-1}\gamma h_c',i=xRowsIndex(S,j,\cdot), and \nu=unipCovolume(S).Structured proof, 12 steps Theorem A, p. 2 of The energy of amplitude sums: Schur's test on thin classes, block bounds, incoherent and degenerate pairs
The Lean statement
New/Filling/ThinClasses.lean · lines 131–133 lemma Filling.tsum_amplitudeAbs_class_le (k : S.termDiscNorm γ ≤ S.N ^ numInfPlaces E * S.minorNorm j γ) : ∑' δ : doubleCoset γ (S.classUnip₀ c) (S.classUnip₀ c'), S.amplitudeAbs c c' δ ≤ .ofReal (S.unipCovolume * S.classSize j (S.classGauge j c c' γ)) := of_size_bounds (bydef
IntegralPlace.lines 23–24computationphase At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Definition. For a unit g and z in the unitary group U(J): \operatorname{phase}(g,z)=\psi(g^{-1}\cdot\sigma(u)) if z\in u\cdot K(g) for some u\in\mathsf{U} (u a chosen such element; \sigma(u)=simpleRootSum(u), the sum of the entries at the simple roots of the frame block; K(g)=unitaryLevel(R,g,J)), and 0 if z\notin\mathsf{U}\cdot K(g). This is the finite Bessel function \chi_g.The Lean statement
New/Filling/TopFloor.lean · line 23 def IntegralPlace.phase g z := if h : ∃ u ∈ T.besselU,lemma
IntegralPlace.lines 30–31one-stepexists_besselU_of_phase_ne_zero At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. If \operatorname{phase}(g,y)\ne0 then u^{-1}y\in K(g) for some u\in\mathsf{U}.The Lean statement
New/Filling/TopFloor.lean · lines 30–31 lemma IntegralPlace.exists_besselU_of_phase_ne_zero : phase g y ≠ 0 → ∃ u ∈ besselU, u⁻¹ * y ∈ unitaryLevel R g _ := Not.imp_symm (dite_eq_right ·)lemma
IntegralPlace.line 33automationnorm_phase_le_one At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. |\operatorname{phase}(g,y)|\le1.The Lean statement
New/Filling/TopFloor.lean · line 33 lemma IntegralPlace.norm_phase_le_one : ‖phase g y‖ ≤ 1 := by fun_cases phase <;> simplemma
IntegralPlace.lines 35–39argumentphase_eq At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. If u\in\mathsf{U} and u^{-1}y\in K(g), then \operatorname{phase}(g,y)=\psi(g^{-1}\sigma(u)) (independent of the chosen u).Structured proof, 2 steps Lemma 4.1, p. 12 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 35–36 lemma IntegralPlace.phase_eq (hu : u ∈ besselU) (e : u⁻¹ * y ∈ unitaryLevel R g _) : phase g y = P.ψ (g⁻¹.1 * simpleRootSum u) := bylemma
IntegralPlace.lines 41–50argumentphase_besselS_mul At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. If x\in\mathsf{S} (the Bessel subgroup), u\in\mathsf{U} and u^{-1}x\in K(g), then \operatorname{phase}(g,x\cdot y)=\psi(g^{-1}\sigma(u))\cdot\operatorname{phase}(g,y) for every y.Structured proof, 3 steps Lemma 4.1, p. 12 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 41–42 lemma IntegralPlace.phase_besselS_mul (hx : x ∈ besselS) (hu : u ∈ besselU) (f : u⁻¹ * x ∈ unitaryLevel R g _) : phase g (x * y) = ψ (g⁻¹ * simpleRootSum u) * phase g y := bylemma
IntegralPlace.lines 52–53automationphase_mul_of_mem_unitaryLevel At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. If k\in K(g) then \operatorname{phase}(g,y\cdot k)=\operatorname{phase}(g,y).The Lean statement
New/Filling/TopFloor.lean · lines 52–53 lemma IntegralPlace.phase_mul_of_mem_unitaryLevel (hk : k ∈ unitaryLevel R g _) : phase g (y * k) = phase g y := by simp [phase, ← mul_assoc, mul_mem_cancel_right hk]lemma
IntegralPlace.lines 55–56one-stepphase_besselU_mul At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. If u\in\mathsf{U} then \operatorname{phase}(g,u\cdot y)=\psi(g^{-1}\sigma(u))\cdot\operatorname{phase}(g,y).The Lean statement
New/Filling/TopFloor.lean · lines 55–56 lemma IntegralPlace.phase_besselU_mul (hu : u ∈ besselU) : phase g (u * y) = ψ (g⁻¹ * simpleRootSum u) * phase g y := phase_besselS_mul (mem_unitriGroup_of_mem_besselU hu) hu (by simp)lemma
IntegralPlace.lines 58–60one-stepcontinuous_phase At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. z\mapsto\operatorname{phase}(g,z) is continuous (it is locally constant: right translation by the open subgroup K(g) leaves it unchanged).The Lean statement
New/Filling/TopFloor.lean · line 58 @[fun_prop] lemma IntegralPlace.continuous_phase : Continuous (phase (T := T) g) :=lemma
IntegralPlace.lines 62–63one-stepunitaryLevel_le_unitaryLevel_one At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. K(g)=unitaryLevel(R,g,J)\leunitaryLevel(R,1,J)=K.The Lean statement
New/Filling/TopFloor.lean · lines 62–63 lemma IntegralPlace.unitaryLevel_le_unitaryLevel_one : unitaryLevel R g T.splitGram ≤ unitaryLevel R 1 _ := fun _ ↦ (unitaryLevel_one.ge ·.1)abbrev
Level.line 69computationIntermediateGroup At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition.IntermediateGroup(F) is the type of subgroups Z of U(J) with K(g)\le Z\le K,K(g)=congGroup(F) (g the unit of F) and K=unitaryLevel(R,1,J).The Lean statement
New/Filling/TopFloor.lean · line 69 abbrev Level.IntermediateGroup (F : Level ι T (m + 1)) := ↥(Icc F.congGroup (unitaryLevel R 1 _))abbrev
Level.line 73computationunipotentMass At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition.unipotentMass(F)=\prod_{l<\varrho}floorModulus(F,l,\mathtt{F.g}), the mass of \mathsf{U}\cap K(g) in the unipotent group.The Lean statement
New/Filling/TopFloor.lean · line 73 abbrev Level.unipotentMass (F : Level ι T (m + 1)) := ∏ l ∈ .range 𝔰.ϱ, F.floorModulus ldef
Level.lines 78–79computationfloorZeroForm At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For a subgroup Z of U(J):floorZeroForm(F,Z)=\int|\int_Z\operatorname{phase}(\mathtt{F.g},y x y^{-1})d\mathsf{M}(y)|^{2}d\mathsf{M}(x),\mathsf{M}=groupMeasure(F).The Lean statement
New/Filling/TopFloor.lean · line 78 def Level.floorZeroForm (Z : Subgroup T.G) := ∫⁻ x, ‖∫ y in Z,def
Level.lines 82–83computationIntermediateGroup. Cosets At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For Z\inIntermediateGroup(F):Cosets(Z)= the set of right cosets K(g)\cdot a,a\in Z.The Lean statement
New/Filling/TopFloor.lean · line 82 def Level.IntermediateGroup.Cosets (Z : F.IntermediateGroup) :=instance
(anonymous)lines 85–87computationAt a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Instance. For Z\inIntermediateGroup(F), the setCosets(Z) of cosets of K(g) in Z is finite (K(g) has finite index in Z: open in the compact K).The Lean statement
New/Filling/TopFloor.lean · line 85 instance (Z : F.IntermediateGroup) : Fintype Z.Cosets := @fintypeQuotientRightRel _ _ _def
Level.lines 91–92computationIntermediateGroup. massRatio At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For Z\inIntermediateGroup(F):massRatio(Z)=\mathsf{M}(Z)\cdot\mathsf{M}(K(g))/unipotentMass(F)^{2} in [0,\infty],\mathsf{M}=groupMeasure(F).The Lean statement
New/Filling/TopFloor.lean · line 91 def Level.IntermediateGroup.massRatio (Z : F.IntermediateGroup) :=def
Level.lines 96–97computationIntermediateGroup. besselVector At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For Z\inIntermediateGroup(F) and y\in U(J):besselVector(Z,y)\in\ell^{2}(\mathtt{Cosets}(Z)) has coordinate \operatorname{phase}(\mathtt{F.g},y\cdot a_c^{-1}) at the coset c=K(g)a_c (a_c the chosen representative): the finite Bessel vector W_Z(y).The Lean statement
New/Filling/TopFloor.lean · lines 96–97 def Level.IntermediateGroup.besselVector (Z : F.IntermediateGroup) (y : T.G) : EuclideanSpace ℂ Z.Cosets := .toLp 2 fun c ↦ phase F.g (y * c.out.1⁻¹)lemma
Level.lines 99–100automationunipotentMass_ne_zero_and_ne_top At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. 0<unipotentMass(F)<\infty.The Lean statement
New/Filling/TopFloor.lean · lines 99–100 @[simp] lemma Level.unipotentMass_ne_zero_and_ne_top : F.unipotentMass ≠ 0 ∧ F.unipotentMass ≠ ∞ := by simp [unipotentMass, floorModulus, prod_eq_zero_iff, prod_ne_top]lemma
Level.lines 102–109argumentexists_of_inner_besselVector_ne_zero At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. If \langle\mathtt{besselVector}(Z,x),\mathtt{besselVector}(Z,y)\rangle\ne0, then there are u,v\in\mathsf{U} with u\cdot x\in K and (u\cdot x)^{-1}(v\cdot y)\in K(g).Structured proof, 3 steps Lemma 4.3, p. 13 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 102–104 lemma Level.exists_of_inner_besselVector_ne_zero (Z : F.IntermediateGroup) (e : ⟪Z.besselVector x, Z.besselVector y⟫_ℂ ≠ 0) : ∃ u ∈ besselU, ∃ v ∈ besselU, u * x ∈ unitaryLevel R 1 _ ∧ (u * x)⁻¹ * (v * y) ∈ F.congGroup := have ⟨c, _, f⟩ := exists_ne_zero_of_sum_ne_zero elemma
Level.lines 111–112one-stepIntermediateGroup. isOpen At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. Every Z\inIntermediateGroup(F) is open (it contains the open subgroup K(g)).The Lean statement
New/Filling/TopFloor.lean · line 111 lemma Level.IntermediateGroup.isOpen (Z : F.IntermediateGroup) : Z.1.IsOpen :=lemma
Level.lines 117–119one-stepIntermediateGroup. exists_coset At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. If y\in Z then there is a coset d\inCosets(Z) such that, for every coset c,y\cdot a_c^{-1}\in K(g) iff c=d.The Lean statement
New/Filling/TopFloor.lean · lines 117–119 lemma Level.IntermediateGroup.exists_coset {F : Level ι T (m + 1)} (Z : F.IntermediateGroup) (a : y ∈ Z.1) : ∃ d, ∀ c : Z.Cosets, y * c.out.1⁻¹ ∈ F.congGroup ↔ c = d := ⟨⟦⟨y, a⟩⟧, fun _ ↦ .symm (.trans Quotient.eq_mk_iff_out rightRel_apply)⟩lemma
IntegralPlace.lines 121–122automationinv_md_eq_sqrt_genIndex_sq At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. Lemma. For a unit u of A: \operatorname{md}(u)^{-1}=\sqrt{u}^{2},[u]=genIndex(u).The Lean statement
New/Filling/TopFloor.lean · lines 121–122 lemma IntegralPlace.inv_md_eq_sqrt_genIndex_sq (u : Aˣ) : (P.md u)⁻¹ = .ofReal √(_root_.genIndex u.1) ^ 2 := by simp [md_eq_inv_genIndex, ← ofReal_pow]lemma
IntegralPlace.lines 126–127one-stepIsStdLevel. groupMeasure_ne_top At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level F and a set S\subseteq K: \mathsf{M}(S)<\infty (\mathsf{M}=groupMeasure(F) is a Haar measure and K is compact).The Lean statement
New/Filling/TopFloor.lean · line 126 lemma groupMeasure_ne_top {S} (e : S ≤ unitaryLevel R 1 T.splitGram) : F.groupMeasure S ≠ ∞ :=lemma
IntegralPlace.lines 129–131automationIsStdLevel. massRatio_ne_zero_and_ne_top At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level and Z\inIntermediateGroup(F): 0<massRatio(Z)<\infty.The Lean statement
New/Filling/TopFloor.lean · line 129 lemma massRatio_ne_zero_and_ne_top : Z.massRatio ≠ 0 ∧ Z.massRatio ≠ ∞ := bylemma
IntegralPlace.lines 133–138argumentIsStdLevel. floorZeroForm_on_congGroup At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level and Z\inIntermediateGroup(F): \int_{x\in K(g)}|\int_Z\operatorname{phase}(\mathtt{F.g},y x y^{-1})d\mathsf{M}(y)|^{2}d\mathsf{M}(x)=\mathsf{M}(Z)^{2}\cdot\mathsf{M}(K(g)).Structured proof, 2 steps Lemma 4.4, p. 14 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 133–134 lemma floorZeroForm_on_congGroup : ∫⁻ x in F.congGroup, ‖∫ y in Z, phase F.g (y * x * y⁻¹) ∂F.groupMeasure‖ₑ ^ 2 ∂F.groupMeasure = F.groupMeasure Z ^ 2 * F.groupMeasure F.congGroup := bylemma
IntegralPlace.lines 140–144argumentIsStdLevel. isCut_besselVector At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level and Z\inIntermediateGroup(F),y\mapstobesselVector(Z,y) is a cut Bessel vector for F (IsCut): it is strongly measurable and bounded by a uniform finite constant — \lVert W_Z(y)\rVert\le\sqrt{\#}(K(g)\setminus Z) for every y, each of its coset coordinates being a phase of modulus at most 1 (not a bound by 1 on the Euclidean norm) —, it transforms under \mathsf{U} by W_Z(uy)=\psi(g^{-1}\sigma(u))\cdot W_Z(y) (\sigma the superdiagonal sum of the frame block), and it is nonzero only at points y with u\cdot y in the box K for some u\in\mathsf{U}.Structured proof, 2 steps Lemma 4.5, p. 14 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · line 140 lemma isCut_besselVector : F.IsCut Z.besselVector :=lemma
IntegralPlace.lines 148–170argumentIsStdLevel. unipotentMass_mul_inner_besselVector At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, Z\inIntermediateGroup(F) and y,x\in U(J):unipotentMass(F)\cdot\langle W_Z(y),W_Z(yx)\rangle=\int1_Z(u y)\cdot\operatorname{phase}(\mathtt{F.g},(uy)x(uy)^{-1})d(\eta_0\ast\cdots\ast\eta_{\varrho+1})(u),\eta_l=heisenbergMeasure(l).Structured proof, 7 steps Proposition 4.6, p. 14 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 148–150 lemma unipotentMass_mul_inner_besselVector y x : F.unipotentMass.toReal * ⟪Z.besselVector y, Z.besselVector (y * x)⟫_ℂ = ∫ u, indicator Z (fun z ↦ phase F.g (z * x * z⁻¹)) (u * y) ∂ascConv heisenbergMeasure (𝔰.ϱ + 2) := bylemma
IntegralPlace.lines 175–197argumentIsStdLevel. pairingNorm_mul_le_massRatio At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level and Z\inIntermediateGroup(F):pairingNorm(F,W_Z,W_Z)\cdotunipotentMass(F)\lemassRatio(Z).Structured proof, 8 steps Proposition 4.7, p. 14 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 175–176 lemma pairingNorm_mul_le_massRatio : F.pairingNorm Z.besselVector Z.besselVector * F.unipotentMass ≤ Z.massRatio := bylemma
IntegralPlace.lines 199–205argumentIsStdLevel. enorm_integral_phase_eq_upperPairing At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level and Z\inIntermediateGroup(F): |\int_Z\operatorname{phase}(\mathtt{F.g},y x y^{-1})d\mathsf{M}(y)|=|\mathtt{upperPairing}(F,0,\mathtt{translatePairing}(W_Z,W_Z,1),1,x)|\cdotunipotentMass(F).Structured proof, 3 steps Lemma 4.8, p. 15 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 199–200 lemma enorm_integral_phase_eq_upperPairing : ‖∫ y in Z, phase F.g (y * x * y⁻¹) ∂F.groupMeasure‖ₑ = ‖F.upperPairing 0 (translatePairing Z.besselVector Z.besselVector 1) 1 x‖ₑ * F.unipotentMass := bylemma
IntegralPlace.lines 210–213one-stepIsStdLevel. inv_two_pow_le_groupMeasure At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level: if B\ge2 and \operatorname{vol}(R\setminus R^{\times})\le1/B, then 2^{-(\varrho+1)}\le\mathsf{M}(K).The Lean statement
New/Filling/TopFloor.lean · lines 210–211 lemma inv_two_pow_le_groupMeasure {B} (hB : 2 ≤ B ∧ volume (P.R \ P.intUnits) ≤ B⁻¹) : 2⁻¹ ^ 𝔰.n ≤ F.groupMeasure (unitaryLevel R 1 T.splitGram) := bylemma
IntegralPlace.lines 218–234argumentIsStdLevel. exists_unit_mem_floorValues At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, Z\inIntermediateGroup(F), an index a,x,z,y\in U(J) with \langle W_Z(x),W_Z(z)\rangle\ne0: there is a unit c of A with c\in R,c\infloorValues(F,a,x,y) and \operatorname{vol}(\mathtt{floorValues}(F,a,x,y))\le\operatorname{md}(c).Structured proof, 8 steps Lemma 5.1, p. 16 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 218–219 lemma exists_unit_mem_floorValues a {z} y (e : ⟪Z.besselVector x, Z.besselVector z⟫_ℂ ≠ 0) : ∃ c : Aˣ, c.1 ∈ R ∧ ↑c ∈ F.floorValues a x y ∧ volume (F.floorValues a x y) ≤ P.md c := bylemma
IntegralPlace.lines 238–243argumentIsStdLevel. exists_close_of_inner_ne_zero At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, Z\inIntermediateGroup(F) and any gauge \Gamma: if \langle W_Z(x),W_Z(y)\rangle\ne0 there are u,v\in\mathsf{U} with u\cdot x,v\cdot y\in K (the box) and g^{-1}((vy)-(ux)) of size 2 for \Gamma (HasMatSize2).Structured proof, 2 steps Lemma 5.2, p. 16 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 238–240 lemma exists_close_of_inner_ne_zero (e : ⟪Z.besselVector x, Z.besselVector y⟫_ℂ ≠ 0) : ∃ u ∈ besselU, ∃ v ∈ besselU, u * x ∈ F.boxSet ∧ v * y ∈ F.boxSet ∧ Γ.HasMatSize 2 (F.g⁻¹.1 • ((v * y).1.1 - (u * x).1.1)) :=lemma
IntegralPlace.lines 248–269argumentIsStdLevel. exists_gauge_depth_of_ne_zero At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, Z,j\le\varrho,K\in\mathbb{N} and sequences of units p,q such thatformMajorant(F,j,p,q,W_Z,W_Z) is not identically 0: there are \alpha,a,b such that, for \Gamma=\operatorname{gauge}(F,\alpha,a,b): p and q are heads of length j for \Gamma (IsHead), g^{-1} has size 1 if j\ne0,1/p_i-1/q_i has size 1 for i<j, and \Lambda_{\Gamma}^{E}\le(2/\operatorname{md}(g))^{K}\cdotfinHeadWeight(K,j,p)\cdotfinHeadWeight(K,j,q) whenever 4E\le K.Structured proof, 9 steps Proposition 5.3, p. 16 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 248–251 lemma exists_gauge_depth_of_ne_zero (hj : j ≤ 𝔰.ϱ) K p q (e : ∃ x, F.formMajorant j p q Z.besselVector Z.besselVector x ≠ 0) : ∃ α a b, let Γ := (h.gauge α a b); (Γ.IsHead j p ∧ Γ.IsHead j q ∧ (j ≠ 0 → ↑F.g⁻¹ ∈ Γ.ofSize 1)) ∧ (∀ i < j, (p i)⁻¹.1 - (q i)⁻¹.1 ∈ Γ.ofSize 1) ∧ ∀ E, 4 * E ≤ K → Γ.Λ ^ E ≤ (2 / P.md F.g) ^ K * .ofReal (finHeadWeight K j p * finHeadWeight K j q)lemma
IntegralPlace.lines 275–333argumentIsStdLevel. lintegral_shells_le At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma (shells). For a standard level, Z,j\le\varrho,t with t+10^{8}n^{4}\le k (n=\varrho+1), the gauge \Gamma=\operatorname{gauge}(F,\alpha,a,s\alpha) for which p,q are heads of length j and g^{-1} has size 1 if j\ne0, a function f\leformMajorant(F,j,p,q,W_Z,W_Z), and e such that, if e<1,f(x)^{2}\le(e^{s})^{2}\cdotselfNormProduct(\Gamma,j,p,q,W_Z,W_Z,x) on positions (s=\mathtt{volumeExponent}(F)):headDensity(F,j,p,q)\cdot\int f d\mathsf{M}\le\min(1,e)^{t}\cdotmassRatio(Z)\cdot\Lambda_{\Gamma}^{10^{9}n^{4}}.Structured proof, 27 steps Proposition 5.4, p. 17 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 275–280 lemma lintegral_shells_le (hj : j ≤ 𝔰.ϱ) (hr : t + 10 ^ 8 * 𝔰.n ^ 4 ≤ 𝔰.k) {α a sα} (hΓ : Γ = gauge α a sα) (H : Γ.IsHead j p ∧ Γ.IsHead j q ∧ (j ≠ 0 → ↑F.g⁻¹ ∈ Γ.ofSize 1)) {f : _ → _} {e} (hf : ∀ {x}, f x ≤ F.formMajorant j p q Z.besselVector Z.besselVector x) (he : e < 1 → ∀ x ∈ F.positions, f x ^ 2 ≤ (e ^ F.volumeExponent) ^ 2 * Γ.selfNormProduct j p q Z.besselVector Z.besselVector x) : F.headDensity j p q * ∫⁻ x, f x ∂F.groupMeasure ≤ min 1 e ^ t * Z.massRatio * Γ.Λ ^ (10 ^ 9 * 𝔰.n ^ 4) := bylemma
IntegralPlace.lines 336–340argumentIsStdLevel. lintegral_formMajorant_ne_top At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, Z,j\le\varrho,r with r+10^{8}n^{4}\le k, and sequences p,q: \intformMajorant(F,j,p,q,W_Z,W_Z)d\mathsf{M}<\infty.Structured proof, 2 steps Corollary 5.5, p. 18 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 336–337 lemma lintegral_formMajorant_ne_top : ∫⁻ x, F.formMajorant j p q Z.besselVector Z.besselVector x ∂F.groupMeasure ≠ ∞ := fun e ↦ bylemma
IntegralPlace.lines 349–382argumentIsStdLevel. enorm_floorForm_le At a finite place: A a semilocal field with involution and an integral place structure P (integers R, character \psi, modulus md), T a middle form over A with invertible hermitian split Gram matrix J,F a standard level of T (h:\mathtt{IsStdLevel}F) with m+1 further pairs, and Z\inIntermediateGroup(F). Lemma. Let j\le\varrho (hj: a section hypothesis that the statement uses in its index ⟨j, bylia⟩, so Lean binds it although the census does not list it), t with (ht) t+10^{10}n^{4}\le k (n=\varrho+1,k=k(\mathfrak{s})),K with (hK) 10^{10}n^{4}\le K, sequences of units p,q, a unit \xi of A, and \omega such that (H) either \omega(x)=\psi(\xi\cdot\mathtt{frameGram}(x)_{jj}) — the j-th diagonal entry, counting from 0 (the docstring counts from 1 and writes j+1) — or j=i+1,\omega=1 and \xi=F.{}^{-1}(p_i^{-1}-q_i^{-1}) for some i. Then \lVert\mathtt{floorForm}(F,j,p,q,\mathtt{besselVector}(Z),\omega)\rVert\leg massRatio(Z)\cdot(\sqrt{\xi}^{t}\cdot\mathtt{denomIndex}(R,\xi)^{-6}\cdot(2/\operatorname{md}(\mathtt{F.g}))^{K}\cdot\mathtt{finHeadWeight}(K,j,p)\cdot\mathtt{finHeadWeight}(K,j,q)),[\cdot]=genIndex.Structured proof, 9 steps Theorem A, p. 2 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 349–353 lemma enorm_floorForm_le {ω} (hK : 10 ^ 10 * 𝔰.n ^ 4 ≤ K) (H : (ω = fun x ↦ P.ψ (ξ * (T.frameGram x.1.1).diag ⟨j, by lia⟩)) ∨ ∃ i, j = i + 1 ∧ ω = 1 ∧ ξ = F.g⁻¹ * ((p i)⁻¹.1 - (q i)⁻¹.1)) : ‖F.floorForm j p q Z.besselVector ω‖ₑ ≤ Z.massRatio * (.ofReal √(_root_.genIndex ξ.1) ^ t * (denomIndex R ξ.1 : ℝ≥0∞)⁻¹ ^ 6 * (2 / P.md F.g) ^ K * .ofReal (finHeadWeight K j p * finHeadWeight K j q)) := bylemma
IntegralPlace.lines 387–415argumentIsStdLevel. floorZeroForm_le_main_term At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma (bottom value). For a standard level, Z\inIntermediateGroup(F) and t+10^{10}n^{4}\le k:floorZeroForm(F,Z)\le\mathsf{M}(Z)\cdot\mathsf{M}(K(g))\cdot(\mathsf{M}(Z)+\operatorname{vol}(R\setminus R^{\times})^{t+1}\cdot2^{-(\varrho+1)}).Structured proof, 13 steps Theorem B, p. 2 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 387–388 lemma floorZeroForm_le_main_term : F.floorZeroForm Z ≤ F.groupMeasure Z * F.groupMeasure F.congGroup * (F.groupMeasure Z + volume (P.R \ P.intUnits) ^ (t + 1) * 2⁻¹ ^ 𝔰.n) := bydef
Level.lines 425–426computationcorrelation At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For Z, a sequence of units p and l\in U(J): \operatorname{correlation}(Z,p,l)=\kappa_{\varrho}(p,1)\cdotbesselCorrelation(\mathsf{M},W_Z,w_p\cdot l^{-1})\in\ell^{2}(Cosets \times Cosets), \kappa_{\varrho}=headDensity(F,\varrho) and w_p the Weyl element of length \varrho: the tensor \mathcal{J}(p,l)=\kappa_{\varrho}(p,1)\int W(y)\otimes W(l w_p^{-1}y)^{*}d\mathsf{M}(y).The Lean statement
New/Filling/TopFloor.lean · line 425 def Level.correlation l := (F.headDensity 𝔰.ϱ p 1).toReal • besselCorrelation F.groupMeasuredef
Level.lines 430–431computationtopKernel At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For a set L\subseteq A,Z and sequences p,q:topKernel(L,Z,p,q)=\int_{l:h(z,l^{-1}z)-p_{\varrho}\in L}\langle\operatorname{correlation}(Z,p,l),\operatorname{correlation}(Z,q,l)\rangle dstackMeasure(F,\varrho,2)(l).The Lean statement
New/Filling/TopFloor.lean · line 430 def Level.topKernel := ∫ l in {l | T.frameGram ↑l⁻¹ 𝔰.top 𝔰.top - p 𝔰.ϱ ∈ L}, ⟪correlation Z p l,def
Level.lines 436–437computationenergy At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Definition. For Z, a matrix R indexed by a finite type j, sequences of units \omega_p (p\in j) and a vector e: \operatorname{energy}(Z,R,\omega,e)=\inf over l\in U(V_{\varrho}) with l^{-1}z=e (orbitPoint(top, l)=e) of \int_{\mathsf{H}}\Sigma_x (\operatorname{Re}v^{*}Rv)^{+}d\mu_H(h),v_p=\operatorname{correlation}(Z,\omega_p,h\cdot l)_x; +\infty if there is no such l.The Lean statement
New/Filling/TopFloor.lean · line 436 def Level.energy := ⨅ (l) (_ : l ∈ GT 𝔰.ϱ ∧ orbitPoint 𝔰.top l = e), ∫⁻ h, ∑ x,lemma
IntegralPlace.lines 447–451argumentIsStdLevel. exists_gauge_isHead At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level and sequences of units p,q: there is a gauge \Gamma of F such that for each of p,q, all sequences r near it (in the product topology) are heads of length \varrho for \Gamma.Structured proof, 1 step Lemma 6.1, p. 20 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · line 447 lemma exists_gauge_isHead : ∃ Γ : Gauge F, ∀ j, ∀ᶠ r in nhds (![p, q] j), Γ.IsHead 𝔰.ϱ r := matchlemma
IntegralPlace.lines 455–469argumentIsStdLevel. eventually_correlation_eq At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma (local constancy, uniform in l). For a standard level, Z and p: for all (p',l') near (p,1) with l'\in U(V_{\varrho}) (GT \varrho) and every l\in U(V_{\varrho}): \operatorname{correlation}(Z,p',l\cdot l')=\operatorname{correlation}(Z,p,l).Structured proof, 5 steps Proposition 6.2, p. 20 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 455–456 lemma eventually_correlation_eq : ∀ᶠ z in nhds (p, 1), z.2 ∈ GT 𝔰.ϱ → ∀ l ∈ GT 𝔰.ϱ, correlation Z z.1 (l * z.2) = correlation Z p l := (h.exists_gauge_isHead p 1).elim fun Γ e ↦ bylemma
IntegralPlace.lines 474–508argumentIsStdLevel. eventually_sum_packets_le_energy At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level with units open and inversion continuous at 1,Z,R,\omega, a finite nonempty set i with o\in i,l_{\theta}\in U(V_{\varrho}) with l_{\theta}^{-1}z=e, and indices n_{\theta} such that the pairs (K(g)l_{\theta},n_{\theta}) are distinct: putting v_{\theta}(p)=\operatorname{correlation}(Z,\omega_p,l_{\theta})_{n_{\theta}}, for all x near e, all k\in\mathsf{H}\cap K(g) and y with k\cdot y=x: \mu_H(K(g))\cdot\Sigma_{\theta} (\operatorname{Re}v_{\theta}^{*}\mathtt{Rv}_{\theta})^{+}\le\operatorname{energy}(Z,R,\omega,y).Structured proof, 12 steps Theorem D, p. 3 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 474–479 lemma eventually_sum_packets_le_energy (hi : IsOpen {x : A | IsUnit x}) (hc : ContinuousAt Ring.inverse (1 : A)) {i} [Fintype i] {l : i → _} (o : i) (hl : ∀ θ, l θ ∈ GT 𝔰.ϱ ∧ orbitPoint 𝔰.top (l θ) = e) {n : i → _} (hn : ∀ θ θ', l θ * (l θ')⁻¹ ∈ F.congGroup → n θ = n θ' → θ = θ') : let v θ p := correlation Z (ω p) (l θ) (n θ) ∀ᶠ x in nhds e, ∀ k ∈ besselH ⊓ F.congGroup, ∀ y, k *ᵥ y = x → F.measureH F.congGroup * ∑ θ, .ofReal (star (v θ) ⬝ᵥ R *ᵥ v θ).re ≤ energy Z R ω ylemma
IntegralPlace.lines 513–556argumentIsStdLevel. floorForm_top_eq_integral At a finite place: A a semilocal field with involution and an integral place structure P,T a middle form with invertible hermitian split Gram matrix, F a standard level of T with m+1 pairs (h:\mathtt{IsStdLevel}F),Z\inIntermediateGroup(F) and sequences of units p,q. Lemma (unfolding at the top floor). For every \xi\in A (not required to be a unit), with \varphi(x)=\psi(\xi\cdot\mathtt{frameGram}(x)(top, top)) (=\psi(\xi\cdot h(z,xz))) and f(l)=\varphi(l^{-1})\cdot\langle\operatorname{correlation}(Z,p,l),\operatorname{correlation}(Z,q,l)\rangle: f is integrable forstackMeasure(F,\varrho,2), andfloorForm(F,\varrho,p,q,\mathtt{besselVector}(Z),\varphi)=\int f dstackMeasure(F,\varrho,2).Structured proof, 17 steps Theorem C, p. 3 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 513–515 lemma floorForm_top_eq_integral ξ : let φ x := P.ψ (ξ * T.frameGram x.1 𝔰.top 𝔰.top) let f l := φ l⁻¹ * ⟪correlation Z p l, correlation Z q l⟫_ℂ; Integrable f (F.stackMeasure 𝔰.ϱ 2) ∧ F.floorForm 𝔰.ϱ p q Z.besselVector φ = ∫ l, f l ∂F.stackMeasure 𝔰.ϱ 2lemma
IntegralPlace.lines 561–582argumentIsStdLevel. lintegral_energy_le_topKernel At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, L open, R positive semidefinite and \omega_p(\varrho)=t for all p: with Q=\Sigma_{p,q}R_{pq}\cdottopKernel(L,Z,\omega_p,\omega_q),Q is real and nonnegative (0\le Q) and \int1_{h(z,e)-t\in L}\cdot\operatorname{energy}(Z,R,\omega,e)dfloorQuadric(F, top)(e)\le\operatorname{Re}Q.Structured proof, 8 steps Theorem D, p. 3 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · lines 561–564 lemma lintegral_energy_le_topKernel (o : IsOpen L) (hR : R.PosSemidef) {t} (ht : ∀ p, ω p 𝔰.ϱ = t) : let Q := ∑ p, ∑ q, R p q * topKernel L Z (ω p) (ω q) 0 ≤ Q ∧ ∫⁻ e, {e | (T.splitGram *ᵥ e) (𝔰.besselFrame 𝔰.top) - t ∈ L}.indicator (energy Z R ω) e ∂F.floorQuadric 𝔰.top ≤ .ofReal Q.relemma
IntegralPlace.lines 586–592argumentIsStdLevel. continuous_topKernel At a finite place: A a semilocal field with involution and integral place structure P (integers R, additive character \psi, modulus md), T a middle form with invertible hermitian whole Gram matrix J. F is a level of T with m+1 pairs, a standard level where stated (IsStdLevel). Lemma. For a standard level, Z and an open additive subgroup L of A: (p,q)\mapstotopKernel(L,Z,p,q) is continuous.Structured proof, 4 steps Theorem C, p. 3 of The top floor at a finite place: finite Bessel functions, shell bounds and the top kernel
The Lean statement
New/Filling/TopFloor.lean · line 586 lemma continuous_topKernel (L : OpenAddSubgroup A) : Continuous (topKernel L Z).uncurry :=lemma
Filling.lines 24–107argumentlintegral_classCutoff_eq_unipCovolume Under the standing hypotheses, for a stably unramified CM field E, a shape \mathfrak{s}, filling data S, a class c and an archimedean point y=(y_v)_v: \int^{-}\beta_c((u_v\cdot y_v)_v)d(\prod_v\mathtt{besselHaar})(u)=\nu, the integral over u in the product over the infinite places of the unipotent groups \mathsf{U} of G_1 with the product Haar measure, \nu=unipCovolume(S); in particular it does not depend on c or y.Structured proof, 34 steps Theorem C, p. 3 of Box partitions of arithmetic unipotent groups: frame counts, the covolume, amplitude sums
The Lean statement
New/Filling/UnipotentCovolume.lean · lines 24–26 lemma Filling.lintegral_classCutoff_eq_unipCovolume {E} [Field E] [CMType E] [StablyUnram E] {𝔰} (S : Filling E 𝔰) c [S.IsAdmissible] (y : _ → _) : ∫⁻ u, S.classCutoff c fun v ↦ u v * y v ∂(.pi fun _ ↦ 𝔰.besselHaar) = .ofReal S.unipCovolume := bylemma
Filling.line 326one-stepcoe_ratToFin For filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit) and \gamma\in G(S,E):ratToFin(S)(\gamma)=B^{-1}\cdot\gamma\cdot B as matrices over \mathbb{A}_f,B=latBasis(S) (\gamma mapped entrywise to \mathbb{A}_f).The Lean statement
New/Filling/Setup.lean · line 326 lemma coe_ratToFin : S.ratToFin γ = S.latBasis⁻¹ * .map (algebraMap E _) γ * S.latBasis := rfl
What it takes for granted
Unit 1 · Factorization of the unitary Bessel subgroup and its simple-root character, Unit 10 · Lattice fundamental domains and holomorphic parameter integrals, Unit 18 · Casimir bounds and lowest compact types in the discrete series, Unit 19 · Integral branching maps for general linear groups, Unit 20 · Bases of minors and the Weyl character formula for Schur modules, Unit 22 · Finite-group averages and character inner products, Unit 24 · Green cuspidal characters and their orthogonality, Unit 27 · Branching periods and the Rallis inner product for definite theta lifts, Unit 28 · Unfolding Bessel periods of theta kernels, Unit 29 · Group-algebra projectors and averaging in unitary representations, Unit 37 · The adelic Heisenberg action, Weil representation and theta functional, Unit 40 · Siegel’s mean value formula for representations by a sum of norms, Unit 41 · Consecutive mass ratios of unimodular Hermitian lattices, Unit 43 · Theta kernels, lifts and adjoint descents for unitary dual pairs, Unit 44 · Spherical Hecke operators and transfer through theta lifts, Unit 46 · Formal degrees and compact-type multiplicities of unitary discrete series, Unit 50 · Integral Kuga–Sato models and neat levels, Unit 54 · Period lattices and complex uniformization of polarized abelian varieties, Unit 57 · Fitting ideal bounds and multivariate Hensel lifting, Unit 63 · Almost acyclicity and descent for perfect test algebras, Unit 71 · Étale cohomology on test rings, gluing and ℓ-adic coefficients, Unit 86 · Inertia criteria for crystallinity and Hodge–Tate jumps, Unit 96 · Real-analytic continuation of Hecke Euler products at one, Unit 99 · Short bases of Hermitian lattices and the unitary mass, Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing, Unit 103 · Matrix Gauss sums and shear invariance of local Weil data, Unit 104 · Unitary Hecke characters and splitting characters of CM fields, Unit 105 · Schwartz–Bruhat functions and tame characters on local fields, Unit 106 · Class numbers and adelic fundamental domains of number fields, Unit 111 · Hecke operators on fixed vectors and estimates for class sums, Unit 112 · Matrix determinant estimates and simultaneous eigenvectors, Unit 113 · Haar moduli and integration over subgroups, Unit 114 · Iwasawa integration and means on compact quotients, Unit 115 · Haar measure on unitary groups in Cayley coordinates, Unit 116 · Casimir eigenvalues and decay of Flensted–Jensen coefficients, Unit 117 · Schur orthogonality and convolution bounds for discrete-series kernels, Unit 118 · Unipotent coordinates and invariant norms of Bessel functions, Unit 119 · Flag stabilizers and the open Bruhat cell of a unitary group, Unit 120 · Witt extension for Hermitian frames over fields and integral adeles, Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms, Unit 122 · Adelic Hermitian spaces and principal congruence subgroups, Unit 123 · Adelic self-duality and a one-sided Poisson summation bound, Unit 132 · The analysis at the real places: tower measures, gauges, open-cell charts and Plancherel bounds, Unit 133 · Discrete series coefficients near 1, Laplace's method, and explicitly large Bessel functions, Unit 135 · Heights of families indexed by ℓ-adic embeddings, the product formula, and the height of one Gram determinant, Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume, Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, Unit 147 · The exchange identity: theta integrals of complementary rank agree up to a constant, and cruder forms complete a family to a basis in the lower bound, Unit 150 · Theta functions of the CM curve: periods and scales, tight frames, the integral vacuum, Galois conjugates of jets, and divisibility of jets at non-split primes, Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x
Unit 123 · Adelic self-duality and a one-sided Poisson summation bound · 47 declarations
For a finite adele x: ψ_f(ux) = 1 for all u ∈ Ô iff d·x ∈ Ô for every d in the different of E.
abs_norm_eq_prod_norm_squnit 123For x ∈ E (E totally complex): |N_{E/ℚ}(x)| = ∏_v |Φ_v(x)|².
vol(Ô) = 2^{r₂}/√|disc E|: the volume of the integral finite adeles that gives 𝔸_E/E total mass 1.
The standard additive character of 𝔸_E: x ↦ exp(−2πi ∑_w 2 Re x_w)·ψ_f(x_f).
For a finite idele x, (x⁻¹)_w = (x_w)⁻¹ and x_w ≠ 0.
The idempotent idem(S) (1 at the places of S, 0 elsewhere) is integral.
reduceAt_w(idem S) = 1 if w ∈ S and 0 otherwise.
reduceAt_w(x) = 0 iff v_w(x_w) < 1.
The involution of Ô is that of 𝔸_f.
conj(idem S) = idem(conj⁻¹ S).
algebraMap_ResField_surjectiveunit 123𝓞_E → residue field at w is surjective.
Ô is compact in 𝔸_f.
Ô is open in 𝔸_f.
For x ∈ E: the image of x in the finite adeles is integral (lies in Ô) iff x is an algebraic integer.
Integers of E are integral finite adeles.
denseRange_algebraMap_finAdeleunit 123E is dense in the finite adeles 𝔸_f.
Ô is stable under the involution.
The module |x| of a finite idele x: the adelic absolute value of the idele with finite part x and component 1 at infinity.
genIndex_eq_inv_finIdeleAbsunit 123For a finite idele a, [a] = |a|⁻¹.
A choice, for each infinite place w of E, of a complex embedding Φ_w of E inducing w (a class).
E is a CM number field with a CM type: for each infinite place w a chosen complex embedding Φ_w inducing w (a class extending NumberField, IsCMField, PlaceEmbedding).
The finite places of E: the nonzero prime ideals of its ring of integers.
The diagonal embedding E → 𝔸_E, given at the infinite places by the chosen embeddings Φ_w.
The residue field of the completion E_w at the finite place w.
x ∈ Ô (integral finite adeles) iff v_w(x_w) ≤ 1 at every finite place w.
Reduction modulo w: the ring homomorphism from the integral finite adeles Ô to the residue field at w.
For f : K → L and a finite place w of L, the finite place of K below w.
The involution of 𝓞_E is that of E.
E is stably unramified: it contains a primitive root of unity of order 5040 = 7! (a class).
StablyUnram.unit 123exists_i_c₀ If E contains a primitive 5040-th root of unity, then 𝓞_E contains i with i² = −1, ī = −i, and ω with ω + ω̄ = 1, ωω̄ = 2.
IsCovolOneLattice.unit 123finite_preimage If the image of an injective additive map f is a lattice of covolume one and C is compact, then f⁻¹(C) is finite.
IntegralPlace.unit 123exists_eichler_orbitPoint_eq For a form T over A of shape 𝔰 whose split Gram matrix J is a hermitian unit, with l the top frame index, z = e_l and h(x, y) = x̄·J·y, and vectors e and u with ūJ = z (h(u, ·) is the l-th coordinate) and u_l = 0: the matrix g = 1 + e_l⁻¹·((e_l·u)(e − z)*J − (e − z + (h(e − z, e) − τ·(h(e, e) − h(z, z)))·u)·u*J) (e_l⁻¹ the ring inverse, 0 when e_l is not a unit; τ = P.τ) is unitary for J (the witness k), and the Eichler element g satisfies: g ∈ GT(ϱ) if e_i = 0 for every coordinate i of floor < ϱ, and orbitPoint(top, g) = e if h(e, e) = h(z, z) and e_l is a unit.
IntegralPlace.unit 123intVectors_open_compact_vol The integral vectors R^n form an open compact set of volume 1.
IntegralPlace.unit 123quadricMeasure_cone_le Cone bound for the quadric measure.
IntegralPlace.unit 123skewMeasure_setOf_mul_mem The skew measure of {β : g⁻¹β ∈ R} is the modulus factor of g.
IntegralPlace.unit 123unitaryLevel_open_compact unitaryLevel(R, g, J) is open and compact.
IsDualFamily.unit 123sum_le_of_fourier One-sided Poisson summation on the adeles of E: for F ≥ 0 integrable and lower semicontinuous at the points of a finite set of rational points, if S bounds all finite sums of |∫ψ(−ξx)F(x)dx| over ξ ∈ E, then Σ_t F(t) ≤ S. The relation to the literature is the second reader's (literature).
If ψ_f(t·a) = ψ_f(t·b) for all t in a dense subring then a = b.
map_evalPlaces_restrict_volumeunit 123The image of Haar measure on the T-integral-outside adeles under evaluation at T is Haar measure on ∏_T E_w.
For a nonzero algebraic integer y of E: 1 ≤ ∏_v |Φ_v(y)|.
sqrt_genIndex_le_prod_normunit 123√[y]_T ≤ the product over the places of T of the norms bounding y (for the basis from exists_preimageLattice_eq_colLattice).
idealZeta(O of LocProd(S), μ) ≤ idealZeta(Ô_E, μ).
IntegralPlace.unit 123mass_near_quadric_off_places_le Let E carry Weil data, M·m = 1 for a natural M ≠ 0 (u), β = β̄ a finite adele, the codifferent scaled by M of finite volume, P an integral place structure at T, idealZeta(Ô, μ) ≤ 2 and 2(μ + 1) ≤ #κ. Then there is v ≠ ∞ with vol(codifferent(M))·skewMeasure{Γ : m_T·skewUnit⁻¹Γ ∈ R}·v ≤ idealZeta(Ô, μ)·vol(Ô)^{#κ}, and for every a ∈ LocProd(T) and measurable f: ∫_{x : m(x̄·x − (β + a)) ∈ Ô} 1[x integral outside T]·f(x_T) dx = v·∫_{y : m_T(ȳ·y − (β_T + a)) ∈ R} f(y) dy.
IntegralPlace.unit 123volume_setOf_mul_mem For an integral place structure P on a semilocal field A with ring of integers R and a unit u of A: vol{x ∈ A : u·x ∈ R} = md(u)⁻¹ (Haar measure; md the modulus of P).
enorm_integral_codifferentunit 123For M ≠ 0 natural with M·m = 1, β = β̄, the codifferent scaled by M of finite volume and μ finite: |∫_{z ∈ codifferent(M)} ∫ ψ_f(½ z(x̄·x − β)) dμ(x)| = vol(codifferent(M))·μ{x : m(x̄·x − β) ∈ Ô}.
isUnit_natCast_finAdeleunit 123A nonzero natural number d is a unit of the finite adeles 𝔸_f(E).
mem_nhds_zero_finAdele_iffunit 123U is a neighbourhood of 0 in 𝔸_f ⟺ there is a natural N ≠ 0 with N·Ô ⊆ U.
Unit 1 · Factorization of the unitary Bessel subgroup and its simple-root character · 13 declarations
The subgroup 𝖧 of the unitary group of V fixing every e_a, every e*_a and z; it is U(X₀) when z ⊥ X₀.
The Bessel subgroup 𝖲 = 𝖴𝖧: the elements of the unitary group that are unitriangular on the frame (e₁, …, e_ϱ, z).
besselU0_sup_besselH_le_besselSunit 1𝖴⁰ ⊔ 𝖧 ≤ 𝖲.
besselS_le_normalizer_besselUunit 1𝖲 normalises 𝖴.
For s in the unitary group, σ(s) = ∑_{a<ϱ} s(f_a, f_{a+1}): the sum of the entries just above the diagonal of the block of s on the frame e₁, …, e_ϱ, z.
For h, u ∈ 𝖲: σ(hu) = σ(h) + σ(u).
inv_mul_simpleRootSum_memunit 1If u ∈ unitaryLevel(Q, g), then g⁻¹σ(u) ∈ Q.
simpleRootSum_eq_zero_of_mem_besselHunit 1σ(h) = 0 for h ∈ 𝖧.
mem_unitaryLevel_of_besselU_mulunit 1For u ∈ 𝖴 and h ∈ 𝖧: if uh ∈ unitaryLevel(Q, g), then h ∈ unitaryLevel(Q, g).
The embedding of the unitary group of the identity form on A^κ into the unitary group of V with middle form middleGram(N), acting on X₀ and fixing the other basis vectors.
toBesselH(u) ∈ 𝖧.
Every h ∈ 𝖧 is toBesselH(u) for some u (N a unit).
exists_besselU_mul_toBesselHunit 1Every s ∈ 𝖲 is u·toBesselH(g) with u ∈ 𝖴 (given TraceOne and J hermitian invertible).
Unit 114 · Iwasawa integration and means on compact quotients · 12 declarations
identDistrib_orbitMeasureunit 114Independence of the cutoff: for any cutoff β, an H-invariant measurable F has the same distribution under β·μ as under orbitMeasure.
A cutoff is finite almost everywhere.
IsCutoff.unit 114integral_orbitMeasure For a cutoff β and an H-invariant measurable f: the integral of f for the orbit measure equals ∫ β(y)·f(y) dμ(y).
encard_le_of_separatedunit 114Packing: in a real normed space V of finite dimension, if the points f(i), i ∈ S, are pairwise at distance ≥ m > 0 and of norm ≤ R (R ≥ 0), then #S ≤ (1 + 2R/m)^{dim V}.
tsum_inv_pow_le_of_separatedunit 114If points f_i of a real normed space of dimension d have norms and mutual distances at least m > 0, then for n ≥ d + 2, ∑‖f_i‖^{−n} converges and is at most (5/m)^n.
measurePreserving_countunit 114A bijection preserves the counting measure.
For a subgroup N of G, the bijection (G/N) × N → G, (q, u) ↦ u·(rep q)⁻¹.
A countable discrete group Γ with the counting measure has a cutoff on G (an instance).
integral_quotMeasure_eq_zero_of_twistunit 114If a function on a group transforms under a subgroup by a nontrivial character, its integral over the quotient by that subgroup vanishes.
integral_quotMeasure_tsumunit 114For f integrable on G: g ↦ Σ_{γ∈Γ} f(γg) is integrable on Γ∖G and its integral there equals ∫_G f (unfolding). The relation to the literature is the second reader's (literature).
tsum_toReal_smul_of_tsum_eq_oneunit 114If Σ_x f(x) = 1 in [0, ∞] then Σ_x f(x)·z = z.
If μ is a right-invariant measure on a group of the section (a Haar measure: locally compact, second countable, Hausdorff) and ν is an s-finite right-invariant measure, then ν = d·μ for some d ∈ [0, ∞]. The relation to the literature is the second reader's (literature).
Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms · 9 declarations
Space.unit 121move_vecAtPoint (V.move g).vecAtPoint ξ = g⁻¹·V.vecAtPoint ξ.
Space.unit 121firstMinimum_le The first minimum of V is at most the length of every nonzero lattice vector.
Space.unit 121one_le_firstMinimum If all signs of V agree, every nonzero lattice vector of V has length at least 1.
An algebraic integer x ∈ E with |Φ_v(x)| < 1 at every infinite place v is 0.
For a space (J, x), the additive map sending y ∈ E^n to the archimedean components of x⁻¹y in ℂ^{fn}; its norm is the length of y.
sum_norm_sq_mulVec_of_isometryunit 121If Qᴴ Q = 1 then ∑|(Qv)_i|² = ∑|v_i|².
ideleAbs_det_mkAdelicGLunit 121|det(a, b)|_𝔸 = ∏_w |det a_w|²·|det b|.
Minkowski's second theorem: for y ∈ GL_n(𝔸) there are a basis Y_j of E^n and integers x_j with y⁻¹Y_j integral at the finite places, of Euclidean length ≤ 2^{x_j} over all f infinite places, and |det y|_𝔸·4^{f∑x_j} ≤ (8fn·rd_E)^{fn}. The relation to the literature is the second reader's (literature).
tsum_prod_le_prod_tsumunit 121∑_{x ∈ α^n} ∏_i f(x_i) ≤ (∑_a f(a))^{|n|} for f ≥ 0.
Unit 99 · Short bases of Hermitian lattices and the unitary mass · 3 declarations
exists_rat_near_of_mem_differentIdealunit 99For d ≠ 0 in the different of E (f infinite places), z ∈ ℂ^f and a finite adele y there is a ∈ E with y − a integral and |z_w − Φ_w(a)| ≤ (2f)²|Φ_w(d)| at every infinite place w.
The mass of the genus of the standard lattice of rank l is positive.
classSum_stdRatPoints_eq_massunit 99classSum(stdRatPoints, K_f(E, κ), 1) = mass(E, #κ).
Unit 122 · Adelic Hermitian spaces and principal congruence subgroups · 15 declarations
For an infinite place v, the ring homomorphism 𝔸_E → ℂ taking an adele to its component at v.
If O is open in R, then GL_n(O) is open in GL_n(R).
If O is compact in a Hausdorff R, then GL_n(O) is compact.
For a finite place w, reduction modulo w: K₀ → GL_n(residue field at w).
g ∈ K₀ = G_f ∩ GL_n(Ô) iff every entry of g is integral (for unitary g the inverse gᴴ is then integral too).
A subgroup K of G_f is a level: it is open and contained in K₀ = G_f ∩ GL_n(Ô) (a class).
The element of GL_n(𝔸) with components a_w ∈ GL_n(ℂ) at the infinite places and finite part b.
For a space (J, x), the adelic vector x⁻¹y attached to a rational vector y ∈ E^n.
The definite space I_n over E: J = 1 and x = 1 (the sum of n norms with its standard lattice).
The mass of the genus of O_E^l: ∑ 1/#Aut over the classes Γ\G_f/K₀ for the space I_l.
The homomorphism U_n(E) → G_f sending a matrix γ over E with γᴴγ = 1 to its image over the finite adeles.
The image of U_n(E) = {γ : γᴴγ = 1} in the finite adelic unitary group G_f.
For a finite commutative ring R: #GL_n(R) ≤ #R^{n²}.
dvd_iff_reduceAt_eq_zerounit 122If a has valuation exactly 1 at every place containing it, then a | y ⟺ y reduces to 0 at every place w with a ∈ w.
The relative index of levelOf(w, H) in K_f equals the index of H (reduction is onto).
Unit 120 · Witt extension for Hermitian frames over fields and integral adeles · 16 declarations
The matrix X has a left inverse.
The submodule spanned by the columns of the matrix X.
X has entries in O and a left inverse with entries in O.
If Jᴴ = J, then conj(h(u, v)) = h(v, u) for h(u, v) = ūᵀ J v.
HasLeftInv.unit 120mulVec_injective A matrix with a left inverse is injective on vectors.
Filling.unit 120exists_basis_matrix Every submodule L of R^n over a field R is the column span of a matrix with finrank L columns and a left inverse.
besselFrame_injectiveunit 120The frame indices are distinct.
frameMatrix_unitriangularunit 120For x ∈ 𝖴, frameMatrix(x) is upper unitriangular: its entries (a, b) with b ≤ a are δ_ab.
x ∈ 𝖴⁰ iff x ∈ 𝖴 and frameMatrix(x) = 1.
apply_inr_of_mem_besselUunit 120For x ∈ 𝖴, the entries in rows outside the first block and columns outside the last block are those of the identity: x keeps the span X of the e_a and is trivial on X^⊥/X.
submatrix_mul_besselFrameunit 120For x ∈ 𝖴: (M x)(e, frame) = M(e, frame)·frameMatrix(x).
frameMatrix(x x') = frameMatrix(x)·frameMatrix(x') for x, x' ∈ 𝖴.
The block embedding a ↦ diag(a, 1) of unitary groups.
exists_orthonormal_mulunit 120Gram–Schmidt: a complex matrix X with a left inverse has X b orthonormal for some invertible b, block upper triangular for a given order.
frameGram_inv_mul_mulunit 120For x ∈ 𝖴: the frame Gram matrix of x'⁻¹γx is frameMatrix(x')ᴴ·Z(γ)·frameMatrix(x).
If the hermitian form b is unimodular over Ô, there is k ∈ GL_n(Ô) with k*bk = 1. The relation to the literature is the second reader's (literature).
Unit 118 · Unipotent coordinates and invariant norms of Bessel functions · 10 declarations
injective_freeEntries_besselUunit 118The free-entry coordinates (freeEntries at IsFreeEntry) are injective on the unipotent group 𝖴 of G₁.
measurePreserving_freeEntries_besselHaarunit 118The free-entry coordinates carry the measure besselHaar on 𝖴 to Lebesgue measure.
The complex (ϱ+1) × (ϱ+1) matrices (frame matrices).
For y ∈ G₁ and a ≤ ϱ, the vector y⁻¹f_a (the a-th frame vector moved by y⁻¹), in the standard Euclidean space ℂ^{basis of V}.
For y ∈ G₁, the (ϱ+1)-square complex matrix Z(y) = (h(f_a, y f_b))_{a,b}: the frame Gram matrix of y for the form with h(z, z) = −1.
The continuous ℝ-linear map sending a complex matrix M to its entries M(e_a, i) at the positions (a, i) with IsFreeEntry, together with the imaginary parts of the entries M(e_a, e*_a).
The matrix positions (a, i), a < ϱ, with column e_b or e*_b for b > a, or any column of the middle block X₀ ⊕ ℂz: the free coordinates of the unipotent group 𝖴 (besides Im of the (e_a, e*_a) entries).
The Haar measure on the unipotent group 𝖴 of G₁ chosen in the artifact: the image of dx du under (x, u) ↦ u·x̃ (x unitriangular, x̃ its lift).
The measure on G₁ that computes integrals over 𝖴\G₁: Haar measure weighted by a chosen cutoff for the measure besselHaar on 𝖴 (
orbitMeasure).mem_besselU0_iff_unipotentOfunit 118u ∈ 𝖴⁰ (in G₁) iff u = unipotentOf(q) for some parameter q = (a, b).
Unit 119 · Flag stabilizers and the open Bruhat cell of a unitary group · 28 declarations
Tonelli for finite products: for σ-finite μ_i and measurable f_i ≥ 0, ∫⁻ ∏_i f_i(x_i) d(∏μ_i) = ∏_i ∫⁻ f_i dμ_i.
integrable_toReal_smulunit 119If φ ≥ 0 is measurable, F is a.e. strongly measurable and ∫⁻ φ‖F‖ < ∞, then y ↦ φ(y).toReal·F(y) is integrable.
unitOrOne(c) = c as a unit if c is invertible, and the unit 1 otherwise.
TraceOne.unit 119heisenbergElem For a floor a and p = (v, β), the isometry ν(v, β) of floor a: the Eichler transformation with e*_{a+1} ↦ e*_{a+1} + v + (β − τh(v, v))e_{a+1}, β skew and v projected to V_{a+1}.
heisenbergElem_mem_floorUnipotentunit 119Every Heisenberg element ν(v, β) of floor a < ϱ lies in 𝒩_a = H_a ∩ 𝒩_{<a+1}.
𝖲 = 𝖴𝖧: when the Gram matrix of the whole space is hermitian and invertible, s ∈ 𝖲 iff s = u h with u ∈ 𝖴 and h ∈ 𝖧 (the subgroup fixing all e_j, e*_j and z).
unipotentBelow_inductionunit 119Induction over 𝒩_{<j} (J hermitian invertible): if C(0, 1) holds and C(j, ν) implies C(j+1, γν) for γ ∈ 𝒩_j, then C(j, s) holds for every s ∈ 𝒩_{<j}.
exists_eq_heisenbergElem_of_memunit 119For a < ϱ, every element of 𝒩_a is a Heisenberg element ν(v, β) of floor a.
Filling.unit 119coe_weylElem_mul For σ ∈ GT_ϱ, the matrix of w_p σ: the hyperbolic block exchanges e_a and e*_a with the diagonal factors p_a and p̄_a⁻¹, and the middle block is that of σ.
Filling.unit 119frameGram_weylElem_mul For σ ∈ GT_ϱ, Z(w_p σ) is the diagonal matrix with entries p_0, …, p_{ϱ−1} and h(z, σz) (the corner entry of Z(σ)).
The matrix of the Eichler map w ↦ w + x·h(u, w) − (u + ςx)·h(x, w), h the form of J: eichlerMap(J, x, u, ς) = 1 + x(ūᵀJ) − (u + ςx)(x̄ᵀJ).
exists_unitary_eq_eichlerMapunit 119If J is hermitian, x isotropic, h(u, x) = 0 and ς + ς̄ = h(u, u), then the Eichler map eichlerMap(J, x, u, ς) is the matrix of an element of U(J).
Filling.unit 119leadingMinor_frameGram_besselU_mul For u, u' ∈ 𝖴 every leading minor of Z(u⁻¹γu') equals that of Z(γ).
Filling.unit 119frameGram_eq_frameImage Z(γ) = fᴴ·(J·γf), f = frameImage(1) the frame.
exists_mulVec_eq_single_detunit 119For a square matrix Z of size ϱ+1 there is y with Z y = det(Z)·e_ϱ and y_ϱ = D_ϱ(Z) (the adjugate column).
For a sequence p of units and a length l, the Weyl element w_p of length l: e_a ↦ p_a e*_a and e*_a ↦ e_a/p̄_a for the first l hyperbolic pairs, fixing the other basis vectors.
For l ∈ ℕ, the subgroup H_l of the unitary group of V fixing e_a and e*_a for a < l (in the floor numbering), also z if l > ϱ, and every basis vector if l > ϱ + 1; GT_ϱ is the unitary group of X₀ ⊕ Ez.
mem_unitriGroup_of_mem_besselUunit 119Every element of 𝖴 lies in unitriGroup(l) for every l.
unipotentBelow_eq_besselUunit 119For l ≥ ϱ the group 𝒩_{<l} (unipotentBelow l) equals 𝖴.
unipotentBelow_le_besselUunit 119𝒩_{<l} ≤ 𝖴.
mem_unitriGroup_of_mem_floorGroupunit 119Every element of H_l (GT l) lies in unitriGroup(l).
eq_one_of_mem_floorGroup_infunit 119If g ∈ H_l ∩ 𝒩_{<j} and (j ≤ l or ϱ ≤ l), then g = 1.
HyperbolicBasis.unit 119isDisintegration_floorVolume The floor volume disintegrates along the quadric map into the floor quadric measures (continuously in the fibre).
L² bounds of integral operators multiply over finitely many places.
Filling.unit 119big_cell_unique If v₁·(weylElem(ϱ, p)σ)·v₂⁻¹ = w₁·(weylElem(ϱ, q)σ)·w₂⁻¹ with (v₁, v₂), (w₁, w₂) ∈ 𝖴 × 𝖴, then p_a = q_a for every a < ϱ and (v₁, v₂) = (w₁, w₂).
Filling.unit 119exists_big_cell_decomp (Big cell.) If every leading minor of frameGram(γ) is nonzero, then for j (default the last index) there are u, u' ∈ 𝖴, a sequence p of units and σ ∈ GT(j) with γ = u⁻¹·(weylElem(j, p)·σ)·u'. The relation to the literature is the second reader's (literature).
ascConv_heisenbergMeasure_invariantunit 119For s ∈ unipotentBelow(j), α = η₀ ∗ ⋯ ∗ η_{j−1}: α ∗ δ_s = α and δ_s ∗ α = α.
inv_mul_mem_of_orbitPoint_equnit 119If σ, τ ∈ GT(b) and orbitPoint(b, σ⁻¹) = orbitPoint(b, τ⁻¹) then σ⁻¹τ ∈ unitriGroup(b + 1) ∩ GT(b).
Unit 117 · Schur orthogonality and convolution bounds for discrete-series kernels · 4 declarations
For a unitary representation rep of U(κ) on ℂ^I, F : G₁ → ℂ^I is a Bessel function: F is bounded and measurable, F(ny) = wave(σ(n))·F(y) for n ∈ 𝖴 (σ = simpleRootSum), and F(hy) = rep(h)F(y) for h ∈ U(κ) embedded in G₁.
MeasureTheory.unit 117MeasurePreserving. fubini Fubini along a measure-preserving map T : ν × μ → ρ: for ρ-integrable f, f∘T is integrable and ∫∫ f(T(k, g)) dμ(g) dν(k) = ∫ f dρ.
Cauchy–Schwarz for integrals with values in [0, ∞]: if f, g are a.e. measurable and h² ≤ f·g pointwise, then (∫h)² ≤ ∫f·∫g.
The formal degree of a Harish-Chandra parameter (with the section's gap hypothesis) is positive.
Unit 115 · Haar measure on unitary groups in Cayley coordinates · 3 declarations
sphereDensity(k, r) = 2π^k r^{k−1}/(k−1)!; for k ≥ 1 the sphere of radius ρ in ℂ^k has area ρ·sphereDensity(k, ρ²).
volU(j) = ∏_{i<j} 2π^{i+1}/i!, the volume of the compact unitary group U(j).
IsHermInvolution.unit 115isUnit A matrix J with J² = 1 is invertible.
Unit 57 · Fitting ideal bounds and multivariate Hensel lifting · 8 declarations
submoduleIndex_colLattice_intVectorsunit 57For an integral invertible M, the index of the column lattice of M in R^n is [det M].
For a natural number k and E a CM field, [k] = (k^f)² with f the number of infinite places.
Filling.unit 57submoduleIndex_dvd_of_le Divisibility of indices of submodules under inclusions and images.
If b ≠ 0 and a ∣ b in ℕ, then a ≠ 0 and a ≤ b.
[det(Jᴴ H J)] = [det H]·[det J]².
exists_preimageLattice_eq_colLatticeunit 57For a left invertible m over an adelic pair R ⊂ A there is an invertible a whose columns span {y : my integral} over R, with ma primitive.
Filling.unit 57jacobi_perp_discriminant Jacobi's identity for discriminants of complements: for J unimodular, F integral, n primitive with Fᴴ J n = 0 and complementary sizes, the discriminant of n against J + c⁻¹JppᴴJ times the square of the index [R^σ : {y : Fy integral}] times [c]^{|ρ|} equals [det N], N the Gram matrix of (F | p) plus c on the p-block; and n^⊥ ⊆ span F.
exists_isPrimitiveMatrix_mul_fromBlocksunit 57If m (with columns indexed by σ ⊕ τ) has a left inverse, there are a ∈ GL_σ, e ∈ GL_τ and z such that m·[[a, z], [0, e]] is a primitive matrix over R (its columns extend to a basis of the R-lattice).
Unit 10 · Lattice fundamental domains and holomorphic parameter integrals · 5 declarations
The subgroup U of a topological group G is an open subset of G.
The number f of infinite places of the number field.
finrank_eq_two_mul_card_infinitePlaceunit 10[E : ℚ] = 2f for E totally complex with f infinite places.
s^{∑ f_i} = ∏ s^{f_i} for s ≠ 0 (integer exponents).
If all entries of A have absolute value ≤ M then ‖A‖ ≤ #rows·#cols·M.
Unit 29 · Group-algebra projectors and averaging in unitary representations · 23 declarations
Change of index along a bijection e: statements ∀, ∃, finite sums and products over the target may be rewritten over the source by substituting e(x).
Matrices entry by entry: A = B iff A_ij = B_ij for all i, j; v·w = ∑ v_i w_i; (A v)_i = ∑_j A_ij v_j; (AB)_ik = ∑_j A_ij B_jk.
For a map u : m → n of index sets, the n × m matrix whose j-th column is the standard basis vector e_{u(j)}.
M · inclMatrix(u) is the submatrix of M of the columns u(j).
The homomorphism sending a family of units of R to the diagonal matrix in GL_n(R) with these entries.
For a subring O of R, the subgroup GL_n(O) of GL_n(R): matrices with entries in O whose inverse has entries in O.
For a ring homomorphism f : O → S, the homomorphism GL_n(O) → GL_n(S) applying f to each entry.
intGL.map f k = 1 iff f(k_ij − δ_ij) = 0 for all i, j.
mem_span_singleton_iff_exists_mulunit 29x ∈ O·a iff x = a y for some y ∈ O.
For a submodule M and a map of indices e, the matrices in GL_n(O) whose rows e(i) are congruent to those of 1 modulo M (for e = id the principal congruence subgroup of level M).
For g ∈ U(J): J g⁻¹ = gᴴ J.
If J² = 1, then for g ∈ U(J): g⁻¹ = J gᴴ J.
U.unit 29inv_val_eq_conjTranspose For g in the unitary group of the identity matrix, g⁻¹ = gᴴ.
For g ∈ U(J) and matrices A, B: (gA)ᴴ J (gB) = Aᴴ J B.
For g ∈ U(J) and vectors x, y: h(gx, gy) = h(x, y), i.e. (gx)ᴴ J (gy) = xᴴ J y.
For invertible J and a matrix M with Mᴴ J M = J, the element of U(J) with matrix M.
For a ring homomorphism f commuting with the involutions and carrying J to J', the homomorphism U(J) → U(J') applying f to each entry.
If f is injective, J invertible, J.map f = J' and the matrix M maps under f to an element g of U(J'), then M is the matrix of some k ∈ U(J) with map f k = g.
For x ∈ GL_n(R) with xᴴ J x = J', the isomorphism U(J') ≅ U(J), g ↦ x g x⁻¹.
U.unit 29isClosedEmbedding_mat For invertible J over a Hausdorff topological ring with continuous involution, U(J) → matrices, g ↦ g, is a closed embedding.
IsCentralProj.unit 29piTensorElem If every x_i is a central idempotent, so is piTensorElem(x) = ⊗_i x_i.
IsCentralProj.unit 29self_adjoint For a central idempotent e, a representation ρ, a field automorphism σ and a σ-sesquilinear form B invariant under ρ: B(ρ(e)x, y) = B(x, ρ(e)y).
IsCentralProj.unit 29sum_norm_conv_le For a central idempotent e ∈ ℂ[G], a homomorphism φ : G → H of finite groups and f : H → V: ∑_s ‖∑_t e(t)·f(φ(t)⁻¹s)‖² ≤ ∑_s ‖f(s)‖² (convolution by e is an orthogonal projection).
Unit 112 · Matrix determinant estimates and simultaneous eigenvectors · 54 declarations
Filling.unit 112exists_mul_eq_of_col_mem_range If every column of y lies in the column space of x, then y = x s for some matrix s.
exists_mul_add_mul_equnit 112Over a field, if the kernel of x lies in the column space of y, then y e + b x = 1 for some matrices e, b.
exists_mulVec_eq_of_annihilatorunit 112Over a field, for matrices P, P' and sets s, s' of column indices: if every linear form l killing the columns of P in s and of P' in s' has l(PX) = l(P'Y), then Px = P'y for some x equal to X off s and y equal to Y off s'.
The R-module R^n of the vectors in A^n with all entries in R.
All entries of the matrix M lie in the subring R.
The index of M ∩ M' in M', as additive groups (0 if infinite).
Sums of integral matrices are integral.
Differences of integral matrices are integral.
a M is integral if a ∈ R and M is integral.
Filling.unit 112mem_span_unit_iff For a unit g: x ∈ R·g iff g⁻¹x ∈ R.
Products of integral matrices are integral.
The R-module spanned by the columns of the matrix M.
For a unit g of A, the subgroup of U(J) of the elements k that lie in GL_n(R) and satisfy g⁻¹(k − 1) integral over R (congruent to 1 modulo g).
A square matrix T over A is unimodular over the subring R: T is hermitian (Tᴴ = T) and T is the matrix of an element of GL_n(R).
The matrix J is hermitian (Jᴴ = J) and invertible (a class).
The type of elements of a submodule.
star_mulVec_dotProductunit 112conj(Bx)·y = conj(x)·(Bᴴy).
IsIntMatrix.unit 112isInt_conjTranspose If R is stable under the involution, Mᴴ is integral when M is.
x ∈ 𝖴 iff x_ij = δ_ij whenever level(j) ≤ level(i) (block unitriangular for FI.level).
unitaryLevel(R, 1, J) = GL_n(R) ∩ U(J).
IsUnimodular.unit 112mem_unitaryLevel Let J be unimodular hermitian over a conjugation-stable subring R and u ∈ R a unit of A: an isometry x of J with u⁻¹(x − 1) integral lies in unitaryLevel(R, u, J).
IsUnimodular.unit 112splitGram If T is unimodular over R, so is T.splitGram.
The automorphism g ↦ (gᵀ)⁻¹ of GL_n(R).
If every column of M lies in L, the R-span of the columns lies in L.
A shape 𝔰 = (ϱ, κ, k₀) of a hermitian space: a natural number ϱ (the number of hyperbolic planes), a finite index set κ for the summand X₀, and one index k₀ ∈ κ. The whole space is V = H^ϱ ⊕ X₀ ⊕ Ez with basis e₁, …, e_ϱ, (x_i)_{i∈κ}, z, e*₁, …, e*_ϱ.
The function wave(c) = exp(c − c̄) of a complex number c (an additive character of ℂ with values of absolute value 1).
The index set κ ⊔ {z} of the basis of V_ϱ = X₀ ⊕ Ez.
The index set of the basis of the whole space: ϱ indices for the e_a, the indices κ ⊔ {z} of V_ϱ, and ϱ indices for the e*_a.
For j ∈ κ, the index of the basis vector x_j of X₀ in the basis of the whole space.
The square matrices over R indexed by κ ⊔ {z}: Gram matrices on V_ϱ = X₀ ⊕ Ez.
The level of a basis index of V: a for e_a, ϱ for every index of the middle block X₀ ⊕ Ez, 2ϱ − a for e*_a.
For a < ϱ, the index of the basis vector e*_a (in the last block).
The indices of the frame (f₀, …, f_ϱ) = (e₁, …, e_ϱ, z) in the basis of the whole space.
For N ∈ R, the Gram matrix on V_ϱ that is the identity on X₀ and −N at z (block diagonal).
For a Gram matrix T on V_ϱ, the Gram matrix J = T.splitGram of the whole space: ϱ hyperbolic planes pairing e_a with e*_a by identity blocks, and T as the middle block.
For a relation r on the indices (with r i j ⇒ r i k ∨ r k j), the subgroup of GL_n(R) of the u with u_ij = δ_ij whenever r i j.
conj_mem_unitriangularunit 112If d ∈ GL_n(R) is block upper triangular for the levels lev and u is block unitriangular (identity diagonal blocks), then d⁻¹ u d is block unitriangular.
The leading principal minor D_l(Z) of a square matrix Z: the determinant of its upper left l × l block.
For p ∈ R and an index k₀, the diagonal matrix with p at k₀ and 1 at every other index.
For a square matrix γ on the basis of V, the columns of γ at the frame indices: the image γf of the frame f = (e₁, …, e_ϱ, z).
For a Gram matrix T on V_ϱ and a square matrix γ on V, the (ϱ+1)-square matrix Z(γ) = (h(f_a, γf_b))_{a,b} of the frame with its image, h the form of J = T.splitGram.
For γ in the unitary group of V, the square submatrix of γ on the rows and columns of the frame (e₁, …, e_ϱ, z).
The unipotent group 𝖴 = besselU(T): the elements of U(T.splitGram) that are block upper triangular for the levels FI.level, with identity diagonal blocks.
The subgroup 𝖴⁰ of 𝖴 of the elements that fix every vector of the frame (e₁, …, e_ϱ, z).
norm_det_sq_le_of_posSemidefunit 112Cauchy–Schwarz for determinants: if the block matrix (P A; B Q) is positive semidefinite (square blocks), then |det A|² ≤ |det P|·|det Q|.
measurePreserving_sigmaunit 112Regrouping coordinates along a bijection Σ_i n_i ≃ Y preserves the product measures.
measurePreserving_flipunit 112Swapping the two indices of a function of two finite variables preserves the product measure.
For a subgroup Γ and a level K', classAut(Γ, K', g) = Γ ∩ gK'g⁻¹, the stabiliser of the coset gK' in Γ.
The set Γ\G/K of double cosets.
exists_eq_map_mul_rep_mulunit 112For e : Δ → G and representatives r of e(Δ)\G/K, every g ∈ G is e(γ)·r(c)·k with c a class, γ ∈ Δ, k ∈ K.
eq_and_eq_one_of_doubleCoset_repunit 112If Δ acts freely at r(d)K, then e(γ) r(d)K = r(c)K only for c = d and γ = 1.
The class sum of f: ∑ over the double cosets c ∈ Γ\G/K of f(g_c)/#(Γ ∩ g_c K g_c⁻¹), g_c a chosen representative.
measurePreserving_frameEquivunit 112The isomorphism frameEquiv (g ↦ p⁻¹gp) preserves Haar measure.
isIdempotentKernel_psiInFrameunit 112For l with a large gap and n nonempty: x ↦ formalDegree(l)·psiInFrame(l, x) is an idempotent kernel. The relation to the literature is the second reader's (literature).
Unit 113 · Haar moduli and integration over subgroups · 9 declarations
The multiplicative function [a] = genIndex(a) on a locally compact ring: the inverse of the module of a unit a (the factor by which a scales additive Haar measure), and 0 on non-units; for a ∈ O a unit it is the index [O : aO].
[a] > 0 for a unit a.
For O a compact open subring and a ∈ O a unit of R, [a] = #(O/aO).
A chosen element τ with τ + τ̄ = 1 in a commutative ring with involution (a class).
The skew element x − x̄ attached to x.
N.FixesLeft F: F(γg) = F(g) for all γ ∈ N and all g (F is invariant under left translation by N).
β : X → [0, ∞] is a cutoff for the action of (H, ν): β is measurable and ∫_H β(hx) dν(h) = 1 for every x.
The measure β·μ on X for a chosen cutoff β of the action of (H, ν); integrating an H-invariant function against it gives the integral over H\X.
measure_le_of_div_memunit 113A measure bound for sets whose quotients lie in a given set.
Unit 106 · Class numbers and adelic fundamental domains of number fields · 3 declarations
exists_fundamental_domain_classLatticeunit 106For t ∈ (E⊗ℝ)^n a unit and m ∈ GL_n(𝔸_f): the group of vectors (t_{j,v}Φ_v(x_j)), x ∈ E^n with m x integral, has a measurable fundamental domain of volume ∏_w |∏_j t_{j,w}|²/[det m]/vol(Ô)^n.
Filling.unit 106existsUnique_mul_mem_box Graded coordinates: for injective coordinates c on G and Γ ≤ G, if each γ ∈ Γ vanishing below degree i shifts c_i by an element of L_i, all of L_i arises so, and F_i are fundamental domains of L_i, then each x has a unique γ ∈ Γ with c(xγ) ∈ ∏F_i.
Filling.unit 106exists_fundamental_domain_im_skew For E stably unramified and nonzero reals t_v: the group of vectors (t_v Im Φ_v(s))_v, s ∈ 𝓞_E with s̄ = −s, has a measurable fundamental domain of volume ∏|t_v|·√√|disc E|.
Unit 105 · Schwartz–Bruhat functions and tame characters on local fields · 1 declaration
Axioms met by a finite product of non-archimedean local fields: a locally compact topological ring with Haar measure, a compact open subring O of volume 1 and a topologically nilpotent unit ϖ ∈ O (a class).
Unit 50 · Integral Kuga–Sato models and neat levels · 1 declaration
Neatness: for distinct finite places w_i with (2n)^{[E:ℚ]} < ∏ q_{w_i} and K ⊆ G_f ∩ GL_n(Ô) reducing to 1 modulo every w_i, Γ_f ∩ gKg⁻¹ is trivial for every g (E with at least two infinite places). The relation to the literature is the second reader's (literature).
Unit 54 · Period lattices and complex uniformization of polarized abelian varieties · 1 declaration
The class of a finite adelic vector x modulo Ô vanishes iff every coordinate of x lies in Ô.
Unit 132 · The analysis at the real places: tower measures, gauges, open-cell charts and Plancherel bounds · 35 declarations
BesselSystem.unit 132orthonormal The coordinates W_i of the full function of a Bessel system are orthonormal in L²(𝖴\G₁): ∫ W_i conj(W_j) d(besselQuotMeasure) = δ_ij.
For s ∈ 𝖴⁰ ⊔ 𝖧: frameVector(s y) = frameVector(y).
For s ∈ 𝖴: frameVector(y, a) = ∑_b frameMatrix(s)_{ba}·frameVector(s y, b).
|frameVector(y, a)| ≤ ‖y‖ (operator norm).
norm_sum_le_mul_norm_sum_frameVectorunit 132|∑_a c_a s(i, f_{e(a)})| ≤ ‖s y‖·|∑_a c_a frameVector(y, e(a))|.
exists_norm_le_of_besselSize_leunit 132If besselSize(y) ≤ T, some u ∈ 𝖴 has ‖u y‖ ≤ T.
besselSize_besselS_mulunit 132For s ∈ 𝖲: besselSize(s y) = besselSize(y).
|⟨v, J₁ w⟩| ≤ |v|·|w| for the Gram matrix J₁ of G₁.
realFrameGram_eq_innerunit 132Z(x)_{a'b} = ⟨frameVector(y', a'), J₁ frameVector(x⁻¹y', b)⟩.
norm_realFrameGram_le_mulunit 132|Z(x)_{a'b}| ≤ |frameVector(y', a')|·|frameVector(x⁻¹y', b)|.
BesselSystem.unit 132open_cell Open-cell bound: for ρ ≥ B, 𝗀(Z(γ)) > 0 and boxes meeting, there are a compact A, random t ∈ 𝖴⁰𝖧 and a measure n of mass ≤ cellMass(γ, deg, ρ, #I) with E‖∫_A φ(y)W(γty)W(ty)* dy‖² ≤ ∫|φ|² dn, and a.s. A contains the boxed y with besselSize(γty) ≤ ρ.
Filling.unit 132HasLevel. exists_frameImage_toRows₂_eq_add For E stably unramified, classes c, c', c'', γ, γ' ∈ G(E) of level j (h, h'), an embedding q : ι ↪ Fin ϱ (ι finite) whose range contains every index a < j (H: j ≤ a for a outside the range), and Z(γ') = Z(γ) (e), let ξ = the rows q of xRows(Z(γ)) and t = g⁻¹·paddedLeading(j, Z(γ))⁻¹. If every column of (frameMiddle(termPosition(S, c, c'', γ')) − frameMiddle(termPosition(S, c, c', γ)))ᴴ lies in gIdele(S)·colLattice(Ô, ξᴴ) + preimageLattice(Ô, tᴴ), then there is a matrix l over E (κ × ι) with classCoordX₀(S, c)·l integral and (γ'f).toRows₂ = (γf).toRows₂ + ((g·l·ξ; 0); 0): below the e-rows, γ'f − γf is g·l·ξ in the X₀ rows and 0 in the z row and the e*-rows (γf = frameImage(γ)).
Filling.unit 132IsLabelledTerm. eq_of_frameImage_eq If p, p' are labelled terms (same j, c, t) and u, u' ∈ 𝖴⁰_c(g) with (up)f = (u'p')f, then p = p'.
Filling.unit 132col_eq_zero_of_norm_lt_one If classCoordX₀(c)·l is integral and Σ_a |Φ_v(l_{a,i})|² < 1 at every infinite place v, then the i-th column of l is 0.
Filling.unit 132tsum_inv_index_pow_le_of_congr Congruence count: for an integral idele c, K ⊇ cÔ^σ, integral Y(a), a primitive m, and [M_a : K ∩ M_a] | n(a) (M_a = Y(a)mÔ^τ): if every set of a's whose Y agree modulo K has at most x elements, then Σ n(a)^{−l} ≤ [Ô : cÔ]^{|σ|(|σ|+s)}·x.
Gauge.unit 132floorMassLe_one For a gauge Γ of a level F, a floor b and M ∈ [0, ∞]: if the floor quadric floorQuadric(F, b) satisfies the fibre bound HasFibreBound(Γ, b, floorQuadric(F, b), 7, M), then FloorMassLe(F, b, M·vol(B^Γ_11)^{|ι|}, 1): for every g, the θ_b-mass of the σ with σg near at level b + 1 (the integral of the constant function 1 over them against θ_b = floorMeasure(F, b)) is at most M·vol(B^Γ_11)^{|ι|}, B^Γ_11 = Γ.ofSize(11) the elements of size 11 and ι the index type of the level. The last argument 1 is the integrand, not the bound.
Gauge.unit 132hasFibreBound_floorQuadric_of_le Fibre bound of the floor quadric measure from a cone bound.
A level (structure fields): a hyperbolic basis, measures θ and μH, a hermitian unit g, an open ball 𝔅 with compact closure, a compact box and measurable positions, with θ concentrated on the floor group and pushing forward to the floor quadric measure, μH concentrated on 𝖧, 𝖧-invariant and with μH{h : ∃u ∈ 𝖴, u(hg) ∈ box} ≤ 1.
Level.unit 132upperMeasure_isNear_le Upper bound for the measure of the near set of a level in terms of floor masses and fibre bounds.
Size.unit 132mem_vecsOfSize_of_heisenbergElem For a size S for T (sets B^S_i), i ∈ ℕ, a pair index a < ϱ, a unit u and a Heisenberg parameter t = (t₁, β) of floor a, with v = inclMatrix(t₁) (t₁ as a vector of V): if some ν ∈ unipotentBelow(T, a) has u⁻¹·((ν·heisenbergElem(a, t) − 1)·e*_a) ∈ vecsOfSize(S, i), then u⁻¹·v ∈ vecsOfSize(S, i) and u⁻¹·(β − τ·v̄·J·v) ∈ B^S_i = ofSize(S, i).
exists_kernel_frameVolume_leunit 132Volume kernel: let y ∈ G₁(𝔰) with besselSize(y) ≤ θ (hθ), σ finite with an embedding e : σ ↪ Fin j, R ∈ Matrix(σ × σ, ℂ) with det R ≠ 0 (hR), Z ∈ FrameMat(𝔰), l : j ≤ n (n = ϱ + 1), i = castLE(l) and z = Z_{i,i} the leading j × j block. If det z ≠ 0, then for every V ∈ Matrix(κ × Fin j, ℂ) there is a measurable K : Matrix(κ × σ, ℂ) → [0, ∞] (K depends on V) with ∫ K ≤ ((2θ²)^j/|det z|)^{k+n}·(π^{|σ|}/(|σ|!·(θ^{|σ|}·|det R|)²))^k and (Δ(y)/Δ(γ⁻¹y))^{k+n} ≤ K(A) for every γ and A with Z(γ) = Z (realFrameGram), IsNormalForm(j, γ) and frameX₀Part(γ)·inclMatrix(i) = V + A·R·inclMatrix(e)ᴴ·z (Δ = frameVolume, k = |κ|).
The volume weight Δ(h) = frameVolume(h) is strictly positive for every h ∈ G₁.
Gauge.unit 132formMajorant_sq_le For a gauge Γ, a floor-mass bound FloorMassLe(j, V, 1) with V ≥ 1, W' vanishing off the near points, and (if σ < 1) for every y with ⟨W(y), W(yx)⟩ ≠ 0 and both points near, some a ≥ j with vol(floorValues(a, y, x)) ≤ σ: formMajorant(F, j, p, q, W, W', x)² ≤ σ^{volumeExponent}·V²·selfNormProduct(Γ, j, p, q, W, W', x).
Gauge.unit 132formModulus_sq_le_of_char If ψ(ηz) = ψ(ξz) for all z of Γ-size 200n², then formModulus(F, j, p, q, W, x, ψ(η·frameGram(·)_{jj}))² ≤ (c(P)/md(ξ))^{#ι}·selfNormProduct(Γ, j, p, q, W, W, x).
Gauge.unit 132formModulus_sq_le_of_heads If j = i + 1 and ξ = g⁻¹(p_i⁻¹ − q_i⁻¹): formModulus(F, j, p, q, W, x, 1)² ≤ (c(P)/md(ξ))^{#ι}·selfNormProduct(Γ, j, p, q, W, W, x).
Gauge.unit 132hasMatSize_sub_one_of_floorValues For gauges S, Γ, j ≤ ϱ, p, q heads of length j for S, and (j ≠ 0) g⁻¹c ∈ Γ.ofSize(1) for c of S-size 10n: if some u, v ∈ 𝖴 put ux, v(xy) in the box with g⁻¹(v(xy) − ux) of Γ-size 2, both points are near after the Weyl elements, and every floor a ≥ j has a unit c in floorValues(a, x, y) with c⁻¹ of Γ-size 1, then g⁻¹(y − 1) has Γ-size 99n.
Gauge.unit 132inner_besselCorrelation For a Haar measure μ, continuous W, p, q heads of length ϱ and x ∈ GT(ϱ): ⟨besselCorrelation(μ, W, w_p x), besselCorrelation(μ, W, w_q x)⟩ = ∫∫ ⟨W(z₁), W(z₂)⟩·conj⟨W((w_px)⁻¹z₁), W((w_qx)⁻¹z₂)⟩ d(μ × μ).
Gauge.unit 132isPairingKernel_self translatePairing(W, W, 1) is a pairing kernel for F at every level j (IsPairingKernel(j, ·, 1)).
Gauge.unit 132lintegral_positions_le If q is a head of length j, pairingNorm(W, W)·pairingNorm(W, W') ≤ Θ², S ⊆ Γ'.positionsOfSize and f(x)² ≤ e²·selfNormProduct(j, p, q, W, W', x) on S, then headDensity(F, j, p, q)·∫_S f d𝖬 ≤ (e·∏_{l<ϱ} floorModulus(l))·c(P)^{#ι·ϱ}·Λ_Γ^{1500000n³}·Λ_{Γ'}^{50000n²}·Θ·Λ_Γ.
Gauge.unit 132pivotModulus_sq_le_of_capped For a pairing kernel k, x a position, and if every σ ∈ GT(l) with k(σg, σgx) ≠ 0 has some a ≥ l with vol(floorValues(a, σg, x)) ≤ ε: pivotModulus(F, l, k, g, gx)² ≤ ε^{volumeExponent}·(Λ^{10⁴n})^{ϱ−l}·weightedSquareSum(k, x, l, g)/floorWeight(l, g, x).
Level.unit 132enorm_floorForm_le ‖floorForm(F, j, p, q, W, ω)‖ ≤ headDensity(F, j, p, q)·∫ formModulus(F, j, p, q, W, x, ω) d𝖬(x).
Definition. pairingNorm(F, W, W') = ∫∫ |⟨W(x), W'(y)⟩|² d upperMeasure(F, 0)(x) d upperMeasure(F, 0)(y).
Size.unit 132minors_mem_ofSize For near positions (IsNear) and l ≤ j: the product p₀⋯p_{l−1} has size 9n for the gauge S.
hasBandLimits_of_isCutBesselunit 132For a cut pair W (nonempty I), deg > 0 with SchurLe(W, deg⁻¹·#I) and deg·bandConst(𝔰) ≤ b^{4r²}: there is J with HasBandLimits(b, F, deg, J).
Gauge.unit 132integral_floorForm_succ For a gauge Γ of the level, a < ϱ, t, η and a finite majorant integral, with f(c) = ψ(ηc)·t·floorForm(a+1, p[a ↦ unitOrOne c], q[a ↦ unitOrOne c], W, 1): f is integrable and ∫ f = t·floorForm(a, p, q, W, ψ(η·frameGram(·)_{aa})).
Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data · 2 declarations
The filling data of D fits the space Y₀ (Fits): Bessel systems of type (l_v, kw_v) etc.
Definition. columnCoords(D): Column(D) ≃ ℓ²(Classes × BesselCoord) of filling(D), the linear isomorphism that translates a column by the central element latticeScale(D, 0) (bijective, through centralRep) and then takes the coordinates Fits.columnCoords (values at the class representatives in Bessel coordinates).
Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups · 4 declarations
The spaces Y_j of D are standard (a fixed presentation).
Data.unit 140hasGap_signsY_paramW (Instance.) The Harish-Chandra parameter toHCParam(signsY(D, 0), paramW(D, v)) has the gap h(D) (HasGap), for every infinite place v.
Data.unit 140finrank_rows_eq_finrank_goodForms For data D and every index j of the lift spaces: dim_ℂ rows(D) = dim_ℂ goodForms(D, W_j(D)) (rowDim(D) = finrank of the good forms on the space spaceW(D, j)).
For finite fields k_w (w ∈ ι, all of order q), #n = r with 1 < r < q, #ι = f, ε ≤ 1, (1 + M + 2r)/q ≤ ε and 2r(2r·log q + 1)·L ≤ f: Re (1 − ∑_{c ∈ goodTuples(M, r)} tupleIdem(n, c))(1) ≤ f·ε + e^{−L} (the identity coefficient of the bad part of the label idempotent).
Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x · 8 declarations
Data.unit 152le_of_hasLogBound F ≤ G whenever an upper log-exponent of F is at most a lower log-exponent of G (checked by linear arithmetic with the scale inequalities).
log w(D, j, v) ≤ log nominalWeight(D, v) + 1/x for the weights in play.
Data.unit 152nominalWeight_le_w_sub nominalWeight(D, v) ≤ w(D, j, v) − (…) for the relevant j.
Data.unit 152nat_le_of_hasLogBound For natural numbers A, B with A ≤ e^l, e^{l'} ≤ B and l < l' (instances; l < l' from the scales of D): A ≤ B.
Data.unit 152classAut_eq_bot_of_le_chosenLevel If K ≤ chosenLevel(D) and #n ≤ 2n(D, m), every class automorphism group classAut(stdRatPoints, K, g) is trivial.
Data.unit 152hasLogLower_of_le If G ≤ F and e^{l'} ≤ G (HasLogLower(G, l')), then HasLogLower(F, l'): a lower bound passes to a larger number.
Data.unit 152lt_of_hasLogBound (Size comparison of the data.) If |F| ≤ e^l and e^{l'} ≤ G with l < l', then F < G.
Data.unit 152nat_lt_of_hasLogBound For natural numbers A, B with A ≤ e^l, e^{l'} ≤ B and l < l' (instances; l < l' from the scales of D): A < B.
Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds · 2 declarations
Restriction of algebraic forms from X_m to Y_m: restrict to points diag(h, 1), apply the branching matrix, multiply by ∏_τ τ(π̄)^{−n_τ}.
Data.unit 145ramifyingOp_finrank_comap_and_short For a set s of places dividing π and a subspace p of Column(D): dim ramifyingOp(D, s)⁻¹(p) ≤ dim p + #s·(N(D) − 1)⁻¹·dim Column(D); and ramifyingOp(D, s) maps a B-short column to a 4^{#s}·B-short column.
Unit 133 · Discrete series coefficients near 1, Laplace's method, and explicitly large Bessel functions · 2 declarations
B has type (l, kw): its degree is Weyl's dimension of l; the full Bessel function transforms under U(κ) through the Schur matrix of weight kw after an invertible change of coordinates; it is fixed by right integration against the discrete-series kernel of l.
exists_isBesselFunctionunit 133For a continuous unitary representation rep of the compact group, a vector v whose matrix coefficients are the discrete-series coefficients dsCoeff(u) (hc), l with a large gap (HasLargeGap A), b ≥ 16 and the Laplace bound La (the measure of the unit ball of the Bessel graph ≤ b^n·|Laplace integral|): there is a Bessel function W with a peak at x (HasPeakAt(l, rep, W, x, b^{8r²+1+n})).
Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing · 5 declarations
Space.unit 102exists_form_eq_tsum Poincaré series: for an idempotent kernel e, an open K, c right K-invariant with Σ_Γ c(γg) = Σ_i W_i(g) (countably many measurable W_i, Σ|W_i| bounded), Σ_i R(e)W_i is a form of type e and level K.
Definition. For a Harish-Chandra datum h of the type, algFormEquiv(K): the forms of level K in algFormRep(κ, e) (algebraic forms) ≃ the forms of level K in V.formRep(typeKernel(l, s)) (the inverse of toAlgForm restricted to the level spaces).
Right translation by k is unitary for the Petersson product: ⟨k·y, k·y'⟩ = ⟨y, y'⟩.
finrank_levelSpace_smoothFormRepunit 102If every class automorphism group classAut(e.range, K, g) is trivial, the space of forms of level K and character χ in smoothFormRep(e, ρ) has dimension #(double cosets e.range \ · / K) · dim W (W the space of ρ).
measureReal_pos_of_isLevelunit 102A level K (an open compact subgroup, IsLevel) has positive finite Haar measure: 0 < vol(K).
Unit 111 · Hecke operators on fixed vectors and estimates for class sums · 4 declarations
classIntegral_eq_classSumunit 111When K ≤ the stabiliser, the class integral of f over Γ∖G/K is the class sum.
Linearity of the class integral: if F(g) = Σ_i L_i(f_i(g a_i)) with f_i smooth and left Γ-invariant, the class integral of F is Σ_i L_i(class integral of f_i).
card_classes_eq_classSumunit 111#(Γ \ G / K) = classSum(Γ, K, 1) (as real numbers).
If K' ≤ K then classSum(Γ, K', 1) = [K : K']·classSum(Γ, K, 1).
Unit 27 · Branching periods and the Rallis inner product for definite theta lifts · 1 declaration
integral_algFormCoeff_blockEmbunit 27For a standard hermitian space V (instance), σ with hσ, a matrix A with SpansBranchingMaps(σ, e₀, e, A) (hA), and t, c, let j = blockEmb(hσ) (the statement's
let: the block embedding (h, 1, u) ↦ diag(h, u)). There is a constant C (chosen before ψ, Φ, u, L and K) such that for every algebraic form ψ of weight (κ, e), every Φ automorphic on V with Φ(x, g) = L_g(conjWeylRep(κ₀, e₀)(x)·c) for all x, g (L a family of linear forms), every u and every level K: ∫_{[U(V)]} Φ(h)·algFormCoeff(1, t, ψ)(j(h, 1, u)) dh = C/relIndex(K, K_f)·classIntegral over the image of the finite embedding of the standard space, at level K, of h ↦ L_h(A·ψ(j((1, h), 1, u)₂)), ψ evaluated at the second component of j((1, h), 1, u).
Unit 20 · Bases of minors and the Weyl character formula for Schur modules · 1 declaration
schur_one_row_eq_symPowMatrixunit 20For a one-row shape the Schur matrix is the symmetric power matrix.
Unit 116 · Casimir eigenvalues and decay of Flensted–Jensen coefficients · 1 declaration
Weyl's dimension formula: the degree of the discrete series with parameter l is ∏_{i<j}(l_i − l_j)/(j − i).
Unit 147 · The exchange identity: theta integrals of complementary rank agree up to a constant, and cruder forms complete a family to a basis in the lower bound · 1 declaration
Data.unit 147abs_gridParam_le For data D and i, j ≤ m(D): |gridParam(D, z, 0, i, j, τ, x)| ≤ ⌈20·b(D)⌉ for every x (the entries of the grid Harish-Chandra parameters are bounded by ⌈20b⌉).
Unit 46 · Formal degrees and compact-type multiplicities of unitary discrete series · 1 declaration
Orbital.unit 46harish_chandra_degree_and_orbital For a Harish-Chandra parameter l with a large gap (HasLargeGap(10·#n⁵)): formalDegree(l) = weylDimensionPoly(l), and the orbital identity (−1)^{#oppositePairs}∑_σ ∫ dsKernel(l)(g⁻¹·diagTorus(x∘σ)·g) dg = #{σ : ε∘σ = ε}·conj(char of the lowest K-type at diagTorusK(x)) for injective x. The relation to the literature is the second reader's (literature).
Unit 41 · Consecutive mass ratios of unimodular Hermitian lattices · 3 declarations
abs_log_mass_ratio_sub_leunit 41For E with Weil data, 8f(E) ≤ 2^u and 4u + 12 ≤ j: |log mass(E, j+1) − log mass(E, j) − f(E)((j + ½)log rd(E) + log j! − (j+1)log 2π)| ≤ 2/2^u.
lintegral_le_idealZeta_mulunit 41If idealZeta(R, μ) ≤ 2 and for a.e. x ∈ s some ideal I with #(R/I) ≠ 0 has x ∈ S(I) and #(R/I)^μ·(f(x)·ρ(S(I))) ≤ V, then ∫_s f dρ ≤ idealZeta(R, μ)·V.
idealZeta_intAdeles_pow_leunit 41If n·[E : ℚ] ≤ 2^v then idealZeta(Ô, u + v + 4)^n ≤ 1 + 2^{−u}.
Unit 103 · Matrix Gauss sums and shear invariance of local Weil data · 1 declaration
index_stabilizer_GL_vectorunit 103For a finite field F and a nonzero u ∈ Fⁿ, the stabiliser of u in GL_n(F) has index #F^{#n} − 1.
Unit 135 · Heights of families indexed by ℓ-adic embeddings, the product formula, and the height of one Gram determinant · 4 declarations
Let π : G → GL_n(k) be a representation of a finite group on k^n, k a finite field, A(b) (b ∈ {true, false}) n × m matrices over k, Θ ≥ 0 of positive type (⟨u(a), u(b)⟩ = Θ(a⁻¹b)), and Y ≥ 0 with: for each b and each v ≠ 0, the Θ-mass of {s : A(b)v = (π(s)⁻ᵀ if b else π(s))·A(b)v} is ≤ Y. Then #k·∑_{s : det(A(true)ᵀπ(s)A(false)) = 0} Θ(s) ≤ 2∑_s Θ(s) + #k^{#m}·√(#k^{#n})·Y.
finrank_sub_le_re_inner_dyadSumunit 135Let P : ℂⁿ → H and R : H → H be linear, U ⊆ ℂⁿ and A ⊆ H subspaces with Pv − R(Pv) ∈ A for v ∈ U, and ∑_x ‖(P*P − 1)e_x‖ ≤ ε. Then dim U − ε − ∑_x ‖R(Pe_x)‖² ≤ Re ⟨dyadSum(b, Pe_·), dyadSum(b, (orthonormal basis of A))⟩.
⟨dyadSum(b, v), dyadSum(b, w)⟩ = ∑_x ∑_y |⟨w(y), v(x)⟩|².
inner_sum_sum_eq_card_mulunit 135If ⟨u(a), v(b)⟩ = f(a⁻¹b) for all a, b ∈ G then ⟨∑_a u(a), ∑_a v(a)⟩ = #G·∑_s f(s).
Unit 40 · Siegel’s mean value formula for representations by a sum of norms · 1 declaration
(Siegel's formula, one vector.) Let E carry Weil data, κ finite with #κ ≥ 3, K an open compact subgroup (IsLevel) of the finite adelic unitary group, Φ₀ a locally constant compactly supported function on 𝔸_f^κ invariant under K, and α ∈ E with ᾱ = α and Re Φ_v(α) > 0 for every v. With F(z) = ∫ ψ_f(½ z(x̄·x − α)) Φ₀(x) dx (z self-adjoint finite adele) and σ(h, x) = Φ₀(h⁻¹x) if x̄·x = α (x ∈ E^κ), else 0: each σ(h, ·) is summable, and classSum_K(h ↦ ∑_x σ(h, x)) = classSum_K(1)·|d_E|^{1/4}·∏_v (π^{#κ}/(#κ−1)!·(Re Φ_v α)^{#κ−1})·∫ F(z) dz. The relation to the literature is the second reader's (literature).
Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume · 1 declaration
exists_isHCParam_of_hasGapunit 143If for every w the Harish-Chandra parameter toHCParam(s, l_w) has gap c, then there are κ, e with IsHCParam(κ, e, l).
Unit 24 · Green cuspidal characters and their orthogonality · 1 declaration
isCentralProj_sum_tupleIdemunit 24For a set s of label tuples, ∑_{c∈s} tupleIdem(n, c) is a central idempotent (IsCentralProj). The relation to the literature is the second reader's (literature).
Unit 44 · Spherical Hecke operators and transfer through theta lifts · 1 declaration
reduceFamily_liftResidueunit 44Reducing the lift liftResidue(s) of a family of residues gives back s: Kf.reduceFamily(w, liftResidue(s)) = s.
From Lean's own library · 292 facts
Algebra.smul_def r • x = algebraMap(r)·x.
Complex.conj_eq_iff_im conj(z) = z iff Im z = 0.
Complex.ext_iff z = w iff Re z = Re w and Im z = Im w.
ContinuousAt.lowerSemicontinuousAt A function continuous at x is lower semicontinuous at x.
DenseRange.piMap A product of maps with dense range has dense range.
ENNReal.continuous_ofReal. continuousAt. comp ofReal : ℝ → [0, ∞] is continuous, so composing keeps continuity at a point.
ENNReal.le_tsum f(a) ≤ ∑' f in [0, ∞].
ENNReal.mul_inv_cancel a·a⁻¹ = 1 for a ≠ 0, ∞.
ENNReal.tsum_mul_left ∑' a·f = a·∑' f in [0, ∞].
ENNReal.tsum_mul_right ∑' f·a = (∑' f)·a in [0, ∞].
ENNReal.tsum_sigma' A sum over a sigma type is a double sum, in [0, ∞].
Fin.prod_univ_castSucc ∏ over Fin (n+1) = (∏_i f(castSucc i))·f(last n).
Finset.mul_sum a·∑_{i∈s} f(i) = ∑_{i∈s} a·f(i).
Finset.prod_mul_distrib ∏_{i∈s} f(i)g(i) = (∏ f)(∏ g).
Finset.prod_pow ∏_{i∈s} f(i)^n = (∏ f)^n.
Finset.sum_eq_zero A finite sum all of whose terms vanish is 0.
Fintype.card_pi #(∀ i, β i) = ∏_i #β(i).
Fintype.card_subtype The cardinality of a subtype is the number of elements satisfying the predicate.
Fintype.prod_boole ∏_i (if p(i) then 1 else 0) = if ∀ i, p(i) then 1 else 0.
Fintype.prod_sum ∏_i ∑_j f(i, j) = ∑ over choice functions x of ∏_i f(i, x(i)).
Fintype.sum_mul_sum (∑ f)(∑ g) = ∑_{i,j} f(i)g(j).
Fintype.sum_prod_type A sum over α × β is an iterated sum.
IsFundamentalDomain.mk' A measurable set meeting every orbit in exactly one point is a fundamental domain.
IsIntegral.sub The difference of two integral elements is integral.
IsIntegralClosure.mk' An integral element of the field gives an element of its integral closure (the ring of integers).
LinearMap.range_eq_top The range of a linear map is the whole space iff the map is surjective.
Matrix.IsHermitian. map The entrywise image of a hermitian matrix under a ring homomorphism commuting with the involutions is hermitian.
Matrix.ext Matrices with equal entries are equal.
Matrix.map_add Applying an additive map entrywise commutes with sums of matrices.
Matrix.map_mul Applying a ring homomorphism entrywise commutes with matrix products.
Matrix.map_sub Applying a map entrywise commutes with differences of matrices.
Matrix.mul_assoc (AB)C = A(BC) for matrices.
Matrix.one_apply The (i, j) entry of the identity matrix is 1 if i = j and 0 otherwise.
Measurable.aemeasurable A measurable function is almost everywhere measurable.
Measurable.ite if-then-else of measurable functions on a measurable set is measurable.
MeasurableSMul₂.mk A jointly measurable action.
MeasurableSet.univ_pi A box of measurable sets is measurable.
Nat.Prime. ne_one A prime is not 1.
Nat.decreasingInduction Induction downwards: from P(n) and P(k+1) ⇒ P(k) for k < n, deduce P(m) for all m ≤ n.
Nat.sub_le n − m ≤ n for natural numbers.
Ne.pos A natural number n ≠ 0 is positive.
NeZero.one_le 1 ≤ n for a natural number n ≠ 0.
Pi.isUnit_iff A function into a product of monoids is a unit iff each value is a unit.
Pi.mul_def (f·g)(x) = f(x)·g(x).
PiLp.enorm_apply_le Each coordinate of a vector in a PiLp space has norm at most that of the vector.
PiLp.nnnorm_eq_of_L2 The L² norm of a vector is the square root of the sum of the squared norms of its coordinates.
QuotientAddGroup.eq_iff_sub_mem Two classes modulo a subgroup K agree iff the difference lies in K.
RingHom.injective A ring homomorphism out of a field (into a nontrivial ring) is injective.
RingHom.mapMatrix_apply The entrywise image of a matrix under a ring homomorphism.
RingHom.map_det A ring homomorphism maps the determinant of a matrix to the determinant of the image matrix.
RingOfIntegers.ext Two elements of the ring of integers are equal iff their values in the field are equal.
Set.indicator_le_self The indicator of s of f is ≤ f (for f ≥ 0).
Set.mem_of_indicator_ne_zero If the indicator of s is nonzero at x, then x ∈ s.
Subtype.ext Elements of a subtype with equal values are equal.
Subtype.ext_iff Elements of a subtype are equal iff their values are equal.
Subtype.val_injective The value map of a subtype is injective.
Sum.forall A statement for all elements of α ⊕ β holds iff it holds on both summands.
Units.ext_iff Two units are equal iff their values are equal.
Units.norm_pos A unit of a normed division ring has positive norm.
Units.smul_def u • x = (u : R) • x for a unit u.
WellFoundedGT.fix Well-founded recursion for > on a finite order (downward induction).
abs_div|a/b| = |a|/|b|.
add_eq_zero_iff_eq_nega + b = 0 iff a = −b.
add_le_adda ≤ b and c ≤ d imply a + c ≤ b + d.
add_left_cancela + b = a + c implies b = c.
add_memA sum of two members of an additive subgroup/submodule is a member.
add_mul(a + b)c = ac + bc.
add_pos0 < a and 0 < b imply 0 < a + b.
ae_count_iffA property holds almost everywhere for the counting measure iff it holds everywhere.
apply_itef(if p then a else b) = if p then f(a) else f(b).
coe_toNNReal(a.toNNReal : [0, ∞]) = a for a ≠ ∞.
conjTranspose_mul(AB)ᴴ = BᴴAᴴ.
det_eq_zero_of_row_eq_zeroA square matrix with a zero row has determinant 0.
det_negdet(−A) = (−1)^n det A.
div_le_iff₀'a/c ≤ b iff a ≤ c·b, for c > 0.
div_le_of_le_mula ≤ b·c implies a/c ≤ b (in [0, ∞]).
div_le_one_of_le₀a ≤ b and 0 ≤ b imply a/b ≤ 1.
div_nonneg0 ≤ a and 0 ≤ b imply 0 ≤ a/b.
dotProduct_mulVecv·(Aw) = (vA)·w.
encard_le_cardThe extended cardinality of a set is at most that of the ambient finite type.
enorm_integral_le_lintegral_enorm‖∫ f‖ ≤ ∫⁻ ‖f‖.
enorm_sub_le‖a − b‖ ≤ ‖a‖ + ‖b‖ in [0, ∞].
epsilon_specIf some x satisfies p, then Hilbert's ε(p) satisfies p.
eq_coe_norm_of_nonnegA complex number z ≥ 0 (in the order of ℂ) equals its absolute value.
eq_mul_inv_iff_mul_eqa = bc⁻¹ iff ac = b.
eq_of_inv_mul_eq_onea⁻¹b = 1 implies a = b.
eq_of_sub_eq_zeroa − b = 0 implies a = b.
eq_sub_of_add_eq'b + a = c implies a = c − b.
eval_integral_piLpA coordinate of the integral of a vector-valued (PiLp) function is the integral of the coordinate.
exists_image_eq_injOn_of_subset_rangeFor s inside the range of f there is t with f(t) = s and f injective on t.
ext_iffTwo matrices (functions) are equal iff all entries (values) are equal.
ext_iff_mulVecTwo matrices are equal iff they agree on all vectors.
forall_fin_succ'A statement for all i in Fin (n+1) holds iff it holds for castSucc i (i < n) and for the last index.
fromBlocks_addSums of block matrices are computed block by block.
fromBlocks_mulVecA block matrix times a vector, block by block.
fromRows_zeroStacking zero rows gives a zero matrix.
funext_ifff = g iff f(x) = g(x) for every x.
hasSum_integral_measureFor a countable sum of measures μ = ∑ μ_i and f integrable for μ: ∑_i ∫ f dμ_i = ∫ f dμ.
hasSum_singleIf f vanishes outside b, then f has sum f(b).
inner_sub_right⟨x, y − z⟩ = ⟨x, y⟩ − ⟨x, z⟩.
integrable_finsetSumA finite sum of integrable functions is integrable.
integral_complex_ofReal∫ (f(x) : ℂ) = ((∫ f) : ℂ) for real f.
integral_finsetSumThe integral of a finite sum of integrable functions is the sum of the integrals.
integral_fintype_prod_eq_prodFor a finite product of measure spaces: ∫ ∏_i f_i(x_i) = ∏_i ∫ f_i.
integral_mul_left_eq_selfLeft invariance of a Haar integral: ∫ f(g x) dx = ∫ f(x) dx.
integral_nonnegThe integral of a nonnegative function is nonnegative.
integral_prodFubini: for f integrable on μ × ν, ∫ f d(μ × ν) = ∫∫ f(x, y) dν(y) dμ(x).
integral_re∫ Re f = Re ∫ f for integrable f.
integral_toRealFor a.e. finite measurable f ≥ 0: ∫ (f x).toReal = (∫⁻ f).toReal.
integral_tsumIf ∑_i ∫⁻ ‖f_i‖ < ∞ (f_i a.e. strongly measurable), then ∫ ∑' f_i = ∑' ∫ f_i.
inv_memThe inverse of a member of a subgroup is a member.
inv_pos0 < a⁻¹ iff 0 < a.
isCompact_closedBallClosed balls in a proper metric space are compact.
isCompact_univ_piA product of compact sets is compact.
ite_andif p ∧ q then a else b = if p then (if q then a else b) else b.
ite_apply(if p then f else g)(x) = if p then f(x) else g(x).
ite_eq_right(if p then a else b) = b iff p implies a = b.
ite_mem(if p then a else b) ∈ S iff (p and a ∈ S) or (¬p and b ∈ S).
le_antisymma ≤ b and b ≤ a imply a = b.
le_inf_iffa ≤ b ⊓ c iff a ≤ b and a ≤ c.
le_mul_of_one_le_left0 ≤ b and 1 ≤ a imply b ≤ ab.
le_mul_of_one_le_left'1 ≤ a implies b ≤ ab (ordered monoid).
le_ofReal_iff_toReal_lea ≤ ofReal(b) iff a.toReal ≤ b, for a ≠ ∞ and b ≥ 0.
le_of_lta < b implies a ≤ b.
le_or_gta ≤ b or b < a.
le_rfla ≤ a.
le_self_pow1 ≤ a and n ≠ 0 imply a ≤ a^n.
lintegral_congrIntegrals of equal functions are equal.
lintegral_const∫⁻ c dμ = c·μ(univ).
lintegral_const_mul'∫⁻ c·f = c·∫⁻ f for c ≠ ∞.
lintegral_count∫⁻ f d(count) = ∑' f.
lintegral_indicator_const∫⁻ c·1_s = c·μ(s) for measurable s.
lintegral_liminf_le'Fatou's lemma: ∫⁻ liminf f_n ≤ liminf ∫⁻ f_n (a.e. measurable f_n).
lintegral_monof ≤ g implies ∫⁻ f ≤ ∫⁻ g.
lintegral_mul_const∫⁻ f·c = (∫⁻ f)·c for measurable f.
lintegral_prodTonelli: ∫⁻ f d(μ × ν) = ∫⁻∫⁻ f(x, y) dν dμ for a.e. measurable f ≥ 0.
lintegral_prod_le∫⁻∫⁻ f(x, y) dν dμ ≤ ∫⁻ f d(μ × ν) for any f ≥ 0.
lintegral_tsum∫⁻ ∑' f_i = ∑' ∫⁻ f_i for a.e. measurable f_i (monotone convergence).
lintegral_withDensity_eq_lintegral_mul∫⁻ g d(f·μ) = ∫⁻ f·g dμ for measurable f, g.
lintegral_withDensity_le_lintegral_mul∫⁻ g d(f·μ) ≤ ∫⁻ f·g dμ for measurable f.
lowerSemicontinuousAt_iff_le_liminff is lower semicontinuous at x iff f(x) ≤ liminf_{y→x} f(y).
lt_div_iff₀'a < b/c iff c·a < b, for c > 0.
map_eq_one_iffFor an injective monoid homomorphism f, f(x) = 1 iff x = 1.
map_mem_closureA continuous map sends a point of the closure of s into the closure of f(s).
map_mulf(ab) = f(a)f(b) for a multiplicative map.
map_subf(a − b) = f(a) − f(b) for an additive homomorphism.
measurable_from_prod_countable_rightA function on a product with a countable (discrete) second factor is measurable if each slice is.
measurePreserving_arrowProdEquivProdArrowSplitting functions into pairs, (α → β × γ) ≃ (α → β) × (α → γ), preserves the product measures.
measurePreserving_mul_leftLeft multiplication preserves a left Haar measure.
measurePreserving_piA product of measure-preserving maps is measure preserving for the product measures.
measureReal_defμ.real(s) = (μ s).toReal.
mulVec_eq_sumA·v = ∑_j v_j·(column j of A).
mulVec_mulVecA(Bv) = (AB)v.
mulVec_single_oneA·e_j is the column j of A.
mulVec_subA(v − w) = Av − Aw.
mulVec_surjective_of_invertibleAn invertible matrix acts surjectively on vectors.
mulVec_zeroA·0 = 0.
mul_adda(b + c) = ab + ac.
mul_apply(AB)_{ik} = ∑_j A_{ij} B_{jk}.
mul_apply_eq_vecMulThe row i of AB is (row i of A)·B.
mul_assoc(ab)c = a(bc).
mul_commab = ba in a commutative monoid.
mul_conj'z·conj(z) = |z|² (as a complex number).
mul_div_cancel₀b·(a/b) = a for b ≠ 0.
mul_eq_zeroab = 0 iff a = 0 or b = 0 (no zero divisors).
mul_le_iff_le_invIn [0, ∞], ab ≤ c iff b ≤ a⁻¹c for a ≠ 0, ∞.
mul_le_mul'a ≤ b and c ≤ d imply ac ≤ bd (ordered monoid).
mul_le_mul_rightMonotonicity of multiplication by a fixed factor.
mul_left_comma(bc) = b(ac).
mul_memA product of two members of a subring/submonoid/subgroup is a member.
mul_mul_mul_comm(ab)(cd) = (ac)(bd).
mul_onea·1 = a.
mul_pos0 < a and 0 < b imply 0 < ab.
mul_pow(ab)^n = a^n b^n.
mul_right_comm(ab)c = (ac)b.
mul_right_injab = ac iff b = c (cancellative).
mul_right_injectiveLeft multiplication by a is injective (groups).
mul_suba(b − c) = ab − ac.
mul_suma·∑_i f(i) = ∑_i a·f(i).
ne_of_lta < b implies a ≠ b.
neg_mulVec(−A)v = −(Av).
norm_mul‖ab‖ = ‖a‖·‖b‖.
norm_mul_le_of_le‖a‖ ≤ r and ‖b‖ ≤ s imply ‖ab‖ ≤ rs.
norm_prodThe norm of a finite product is the product of the norms (normed field).
norm_smul_le‖a • v‖ ≤ ‖a‖·‖v‖.
norm_sub_le_of_le‖a‖ ≤ r and ‖b‖ ≤ s imply ‖a − b‖ ≤ r + s.
norm_sum_leTriangle inequality: ‖∑ f‖ ≤ ∑ ‖f‖.
norm_sum_le_of_leIf ‖f(i)‖ ≤ g(i) for all i, then ‖∑ f‖ ≤ ∑ g.
not_lt¬(a < b) iff b ≤ a.
ofReal_integral_eq_lintegral_ofRealFor integrable f ≥ 0 a.e.: ofReal(∫ f) = ∫⁻ ofReal(f).
ofReal_ne_topofReal(x) ≠ ∞.
one_le_ofReal1 ≤ ofReal(x) iff 1 ≤ x.
one_le_pow₀1 ≤ a implies 1 ≤ a^n.
one_mem1 belongs to every submonoid/subgroup.
one_mul1·a = a.
pi_norm_le_iff_of_nonnegFor r ≥ 0, the sup norm of a finite tuple is ≤ r iff every coordinate has norm ≤ r.
pi_norm_lt_iffFor r > 0, the sup norm of a finite tuple is < r iff every coordinate has norm < r.
pi_piThe product measure of a box is the product of the measures of the sides.
pow_adda^{m+n} = a^m·a^n.
pow_mula^{mn} = (a^m)^n.
pow_right_comm(a^m)^n = (a^n)^m.
pow_succa^{n+1} = a^n·a.
pow_succ'a^{n+1} = a·a^n.
prod_commFinite products over two indices may be exchanged.
prod_iteA product of an if-then-else splits into the products over the two parts of the index set.
prod_mono'Finite products are monotone in each factor (ordered commutative monoid).
prod_mul_distrib∏(f·g) = (∏f)·(∏g).
prod_pow_eq_pow_sum∏_{i∈s} a^{f(i)} = a^{∑ f(i)}.
self_eq_nega = −a iff a = 0 (characteristic ≠ 2).
smulInvariantMeasure_tfaeEquivalent forms of invariance of a measure under a group action.
smul_left_injectiveFor a nonzero vector v, the map c ↦ c • v is injective.
sq_eq_sq₀For a, b ≥ 0: a² = b² iff a = b.
star_dotProductconj(v)·w = conj(conj(w)·v)… the dot product with conjugates commutes up to conjugation.
star_mulconj(ab) = conj(b)·conj(a).
star_mulVecconj(Av) = conj(v)·Aᴴ (as a row vector).
star_oneconj(1) = 1.
star_starconj(conj(a)) = a.
star_zeroconj(0) = 0.
sub_eq_iff_eq_add'a − b = c iff a = b + c.
sub_eq_zeroa − b = 0 iff a = b.
sub_eq_zero_of_eqa = b implies a − b = 0.
sub_memA difference of two members of an additive subgroup is a member.
submatrix_mapTaking a submatrix commutes with applying a map entrywise.
submatrix_oneA submatrix of the identity along injective maps is an inclusion matrix.
sum_eq_singleIf all terms but the one at b vanish, a finite sum equals its term at b.
sum_eq_zeroA sum all of whose terms vanish is 0.
sum_mul(∑_i f(i))·a = ∑_i f(i)·a.
sum_of_injectiveA sum along an injective map with the other terms zero equals the sum over the source.
sum_range∑_{i∈range n} f(i) = ∑_{i:Fin n} f(i).
sum_range_reflect∑_{j<n} f(n−1−j) = ∑_{j<n} f(j).
sum_univ_succ∑ over Fin (n+1) = f(0) + ∑_i f(i+1).
surjInv_eqf(surjInv(f, b)) = b for surjective f.
toReal_eq_toReal_iffa.toReal = b.toReal iff a = b, or a, b ∈ {0, ∞}.
toReal_ofReal(ofReal x).toReal = x for x ≥ 0.
tsum_comp_le_tsum_of_injectiveFor injective g and f ≥ 0: ∑' f(g(x)) ≤ ∑' f.
tsum_fiberwiseA sum in [0, ∞] over α equals the sum over the values of a map of the sums over its fibres.
tsum_subtypeThe sum over a subtype is the sum of the indicator.
tsum_subtype_supportThe sum over the support of f equals the sum of f.
two_le_iff2 ≤ n iff n ≠ 0 and n ≠ 1 (natural numbers).
two_mul2a = a + a.
update_self(f with the value at a replaced by b)(a) = b.
vecMulVec_applyThe (i, j) entry of the outer product v wᵀ is v_i w_j.
vecMul_vecMul(vA)B = v(AB).
volume_pi_piThe volume of a box ∏ s_i is ∏ vol(s_i).
zero_le_real0 ≤ (x : ℂ) iff 0 ≤ x for real x.
zpow_natCasta^{(n : ℤ)} = a^n.
Summable.tsum_sub For two summable families in a Hausdorff additive commutative topological group, the sum of the termwise differences is the difference of their sums.
Summable.tsum_union_disjoint For disjoint sets s, t and a family summable on each, the sum over s ∪ t is the sum over s plus the sum over t.
two_mul_le_add_mul_sqFor ε > 0: 2ab ≤ εa² + ε⁻¹b².
norm_add_leTriangle inequality ‖a + b‖ ≤ ‖a‖ + ‖b‖.
sum_sq_le_sq_sum_of_nonnegFor nonnegative x_i: Σ x_i² ≤ (Σ x_i)².
enorm_tsum_le_tsum_enorm‖Σ_i x_i‖ ≤ Σ_i ‖x_i‖ (extended norms).
lintegral_mul_left_eq_selfLeft invariance of a Haar measure: ∫ f(g·x) dx = ∫ f(x) dx.
Real.log_le_log_iff For positive x, y: log x ≤ log y iff x ≤ y.
lintegral_lintegral_swapTonelli: iterated integrals of a measurable [0, ∞]-valued function can be swapped.
Measure.pi_ball The product measure of a ball in a finite product is the product of the measures of the balls.
lintegral_sub_right_eq_selfTranslation invariance of Lebesgue measure: ∫ f(x − a) dx = ∫ f(x) dx.
lintegral_pi_prod∫ ∏_i f_i(x_i) d(∏μ_i) = ∏_i ∫ f_i dμ_i.
ENNReal.pow_le_pow_left_iff For n ≠ 0, a^n ≤ b^n iff a ≤ b in [0, ∞].
DoubleCoset.mk_out_eq_mul The chosen representative of the double coset HaK is h·a·k for some h ∈ H, k ∈ K.
ENNReal.tsum_comm Sums of nonnegative extended reals over two indices can be swapped.
Matrix.det_updateCol_sum Cramer's rule in the form: replacing a column by a combination of columns multiplies the determinant accordingly.
norm_det_le_norm_pow|det A| ≤ ‖A‖^n for an n×n matrix (operator norm).
exists_maximalFor_of_wellFoundedGTIn a finite (well-founded) setting every nonempty set has an element maximal for a given predicate order.
tsum_subtype_eq_of_support_subsetA sum equals the sum over any subset containing the support.
integral_prod_mul∫∫ f(x)g(y) = ∫f·∫g on a product.
exists_minimal_of_wellFoundedLTA nonempty set in a well-founded order has a minimal element.
Fin.reverseInduction Induction on Fin (n+1) downward from the last element.
Fin.lastCases Case analysis on Fin (n+1): the last element or castSucc of an element.
Fin.induction Induction on Fin (n+1) upward from 0.
Finset.prod_le_pow_card A product of n factors each ≤ c is ≤ c^n.
Nat.factorial_le_pow n! ≤ n^n.
Nat.choose_le_pow (n choose k) ≤ n^k.
Real.exp_sum exp(Σ x_i) = ∏ exp(x_i).
Nat.strongRec Strong induction on ℕ.
MeasurePreserving.prod Products of measure-preserving maps are measure preserving for the product measures.
map_linearMap_addHaar_eq_smul_addHaarA linear map with nonzero determinant carries Haar measure to |det|⁻¹ times Haar measure.
Filter.eventually_smallSets_forall A property holds eventually for small sets iff it holds on all points of some neighbourhood.
MeasureTheory.Measure. haarMeasure The Haar measure normalised on a given compact set with nonempty interior.
Finset.exists_ne_zero_of_sum_ne_zero A nonzero finite sum has a nonzero term.
MeasureTheory.integral_congr_ae Integrals of a.e. equal functions agree.
MeasureTheory.Measure. measure_preimage_mul_right Right invariance of a Haar measure.
tendsto_tsum_of_dominated_convergenceDominated convergence for sums.
Finset.sum_eq_single A sum with a single nonzero term equals that term.
MeasureTheory.measure_iUnion_fintype_le Subadditivity: μ(⋃_{i∈ι} s_i) ≤ ∑_{i∈ι} μ(s_i) for a finite index type ι.
MeasureTheory.measure_mono_ae If s ⊆ t up to a null set (∀ᵐ x, x ∈ s → x ∈ t) then μ(s) ≤ μ(t).
Submodule.finrank_le A submodule of a finite-dimensional space has dimension at most that of the space.
mem_closure_iff_nhdsx lies in the closure of s iff every neighbourhood of x meets s.
integral_skew_product(Mathlib, measure theory) Fubini for a skew product: for a measure-preserving family of translations, ∫∫ f(x, y) = ∫∫ f(x, y − φ(x)), with integrability transferred.
WellFoundedGT.induction Induction along a well-founded order: here strong downward induction over the finite subsets A of a finite set (a statement for A follows from the statement for every A' ⊋ A).
Finset.exists_le_of_sum_le If s is nonempty and ∑_{i∈s} f(i) ≤ ∑_{i∈s} g(i), then f(i) ≤ g(i) for some i ∈ s.
four_mul_le_sq_add4ab ≤ (a + b)² for real a, b.
Where it is used
Unit 132 · The analysis at the real places: tower measures, gauges, open-cell charts and Plancherel bounds, Unit 133 · Discrete series coefficients near 1, Laplace's method, and explicitly large Bessel functions, Unit 138 · The choice of the twists: Galois representations of lifts, Selmer groups made short by one anticyclotomic twist, and congruence bounds by Ribet's method, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume, Unit 149 · A crude bound for the class number of the standard definite hermitian genus, and divisibility of indices of submodules, Unit 151 · The endgame: the weighted prime sum and its remainder, the one-sided criterion (Landau), the choice of the second scale, and the statements and assembly of Theorems A, B and C, Unit 154 · The inequality (⋆), the one-sided bound for the remainder of the weighted prime sum, the generalised Riemann hypothesis, and the passage to the critical line
Its files
31 modules
New.Filling. AmplitudeSums New.Filling. BesselSystem New.Filling. BlockBound New.Filling. BoxPartition New.Filling. ColumnCoords New.Filling. CrudeBoundDefs New.Filling. CrudeEnergy New.Filling. DegreeBounds New.Filling. EichlerFlag New.Filling. FillingAdmissible New.Filling. FillingData New.Filling. FillingTheorem New.Filling. FiniteSystem New.Filling. FixedLines New.Filling. GlobalSieve New.Filling. GlobalToLocal New.Filling. GramLiouville New.Filling. LatticeChart New.Filling. LevelBridge New.Filling. LinkPairing New.Filling. Moments New.Filling. NearTerms New.Filling. PoincareSeries New.Filling. RowDimension New.Filling. SchurTest New.Filling. Setup New.Filling. StableCells New.Filling. StandardLevel New.Filling. ThinClasses New.Filling. TopFloor New.Filling. UnipotentCovolume
The program check
497 of 497 statements stand at the lines the dossier gives; 179 structured proofs with 1479 steps, 1371 of them leaves, the longest of 8 lines; 1479 steps quote exactly their lines. Checked 2026-11-26T19:36Z.
The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.