Choose a statement on the pages, or with the arrows above, to see its structured proof and its Lean text here.
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)\ne sphereDensity(k,1); for k\ge1 the last factor is \operatorname{vol}U(k)/\operatorname{vol}U(k-1).
New/Filling/BesselSystem.lean · line 18def Shape.openCellConst := volU 𝔰.k / volU 𝔰.r * sphereDensity 𝔰.k 1
For a shape \mathfrak{s}: 0< openCellConst(\mathfrak{s}).
New/Filling/BesselSystem.lean · line 20lemma Shape.openCellConst_pos : 0 < 𝔰.openCellConst := by simp [openCellConst]; positivity
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.
New/Filling/BesselSystem.lean · line 24def Shape.bandConst := volU 𝔰.k / volU 𝔰.r * π ^ ((2 * 𝔰.ϱ + 1) * 𝔰.k)
For 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).
New/Filling/BesselSystem.lean · line 29def besselSize := ⨅ s : besselS, ‖(s.1 * y).1.1‖ + 1
For a shape \mathfrak{s} (implicit), y\in G_1 and a real number b: InCut(y,b) holds iff besselSize(y)\le b^{6n+2},n=\varrho+1 (that is b^{6\varrho+8}); the cut Bessel function vanishes where it fails.
New/Filling/BesselSystem.lean · line 33abbrev InCut := besselSize y ≤ b ^ (6 * 𝔰.n + 2)
For 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.)
New/Filling/BesselSystem.lean · line 36def frameBox ρ := {y : 𝔰.G₁ | ∀ a, ‖frameVector y a‖ ≤ ρ}
For 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.
New/Filling/BesselSystem.lean · line 40def gramDiscReal (Z : 𝔰.FrameMat) := (frameDisc 1 Z).re
For 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}.
New/Filling/BesselSystem.lean · the statement, line 44def cellMass ρ d := (ρ ^ (9 * 𝔰.n) / gramDiscReal (realFrameGram y)) ^ (10 ^ 5 * 𝔰.n ^ 4) *
For 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.)
New/Filling/BesselSystem.lean · lines 49–50def 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) ∂μ
For 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 measure besselQuotMeasure) 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.)
New/Filling/BesselSystem.lean · the statement, line 54def SchurLe D := ∀ φ : _ → ℂ, Integrable φ →
For 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) then SchurLe(V_w,B^{2|w|}\cdot D). (The census also lists the section variable b, which occurs only as a bound summation variable.)
New/Filling/BesselSystem.lean · the statement, line 59def HasSchurBound rep B D := ∃ V : _ → C(_, _), W = V [] ∧ ∀ w, IsBesselFunction rep (V w) ∧
For 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.
New/Filling/BesselSystem.lean · the statement, line 67def normCorrelation p := (√𝔰.openCellConst * √(‖(p 𝔰.ϱ).1‖ ^ 2 - 1) ^ (𝔰.k - 1) / card I * ∏ a ∈
For 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.
New/Filling/BesselSystem.lean · the statement, line 74def HasBandLimits J := SieveSystem unitOrOne (·⁻¹.1) 𝔰.ϱ J wave ((1 + b⁻¹ ^ 10) / deg) (headWeight
Side is the type with the two values full and cut, a class: which Bessel function is used, the full one or its cut.
New/Filling/BesselSystem.lean · line 80class inductive Side | full | cut
For 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= besselQuotMeasure on \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 implies InCut(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.)
New/Filling/BesselSystem.lean · the statement, line 85structure IsCutPair rep (W : Side → C(𝔰.G₁, EuclideanSpace ℂ I)) where
For a shape \mathfrak{s}, a real number b and a natural number f: a Bessel system BesselSystem(\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} with IsCutPair(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: forms bandLimit with HasBandLimits(b,W_{\mathrm{cut}}, deg, bandLimit). (The census also lists the section variables I,W, deg, which the structure's own fields shadow.)
New/Filling/BesselSystem.lean · the statement, line 102structure BesselSystem where
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.
New/Filling/CrudeBoundDefs.lean · lines 16–17lemma 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 _, _⟩⟧)
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} with reduceAboveG(S,x)(y)=t_x for every x (Chinese remainder theorem at the chosen places and their conjugates).
New/Filling/CrudeBoundDefs.lean · the statement, line 19lemma Filling.exists_reduceAboveG_eq (t : ∀ _, _) : ∃ y, ∀ x, S.reduceAboveG x y = t x := ⟨∑ x,
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 that idOrInvAdjoint(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}).
New/Filling/CrudeBoundDefs.lean · the statement, line 27def Filling.vectorFixer {i} (w : S.chosenPlaces i) (d : _ × {v : _ → ResField w.1 // v ≠ 0}) :=
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\in vectorFixer(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.
New/Filling/CrudeBoundDefs.lean · the statement, line 33def Filling.FixesNormAtLeast s x := ∃ A : Finset ((Σ i, S.chosenPlaces i) × _), x ≤ ∏ p ∈ A,
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\in vectorFixer(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)-frameGram of s_{0,w} is nonzero.
New/Filling/CrudeBoundDefs.lean · the statement, line 38def Filling.fixingSet Sg (d : ∀ _, _) := {s | (∀ w ∈ Sg, s ∈ S.vectorFixer (i := 0) w (d w)) ∧
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= ratMiddle it maps a pair (x,x') to (h(z,x),h(z,x')).
New/Filling/CrudeBoundDefs.lean · line 45abbrev Filling.zFormPair := T.toRows₂.fromBlocks 0 0 T.toRows₂
For 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 of zFormPair(T)).
New/Filling/CrudeBoundDefs.lean · the statement, line 51def commonLink :=
For 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.
New/Filling/CrudeBoundDefs.lean · the statement, line 56def HasCommonFlagVector a := ∃ x y, frameImage 1 *ᵥ x = frameImage γ.1.1 *ᵥ y ∧ x a = c ∧ y a = c' ∧
For 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.)
New/Filling/CrudeBoundDefs.lean · the statement, line 61def IsNormalForm (j : ℕ) (γ : T.G) := ∃ c, c * star c = 1 ∧ ∀ a, j ≤ a.1 →
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).
New/Filling/CrudeBoundDefs.lean · line 68abbrev Filling.ratGram := (S.ratMiddle E).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): 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.
New/Filling/CrudeBoundDefs.lean · line 72abbrev Filling.linkForm := (S.ratMiddle E).fromBlocks 0 0 (-S.ratMiddle E)
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 of classBasis(S,c)^{-1}, which takes rational coordinates to coordinates in the basis of the lattice h_c\Lambda_0.
New/Filling/CrudeBoundDefs.lean · line 76def Filling.classCoord := (S.classBasis c)⁻¹.1
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).
New/Filling/CrudeBoundDefs.lean · line 80def Filling.classCoordX₀ (c : S.Classes) := middleBaseChange 𝔰 S.piBar * c.out⁻¹.1.1
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).
New/Filling/CrudeBoundDefs.lean · the statement, line 85abbrev Filling.countWeight i := Nat.card (S.reducedImage besselS) * card S.Classes / S.N ^
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 iff IsNormalForm(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).
New/Filling/CrudeBoundDefs.lean · the statement, line 92def Filling.HasLevel := IsNormalForm j.1 γ ∧ leadingMinor (S.frameProducts γ) j ≠ 0 ∧
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 in termsOver(S,c,s,c') for one and the same s\in\mathsf{G}.
New/Filling/CrudeBoundDefs.lean · the statement, line 97def Filling.CongruentTerms (c' : S.Classes) (γ γ' : S.G E) := ∃ s, γ ∈ S.termsOver c s c' ∧
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).
New/Filling/CrudeBoundDefs.lean · line 102def Filling.termDiscNorm := ∏ v, ‖Φ v (S.termDisc γ)‖
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\in frameBox(\mathtt{boxSize}(S)) and InCut(y_v,b) at every infinite place v.
New/Filling/CrudeBoundDefs.lean · the statement, line 106def Filling.boxedPoints :=
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\in boxedPoints(S) with ratToInf(\gamma)^{-1}\cdot y\in boxedPoints(S).
New/Filling/CrudeBoundDefs.lean · line 111def Filling.IsNear := ∃ y ∈ S.boxedPoints, (S.ratToInf γ)⁻¹ * y ∈ S.boxedPoints
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 iff unipotentChar(\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}).
New/Filling/CrudeBoundDefs.lean · the statement, line 115def Filling.CharsAgree := ∀ u ∈ besselU, ∀ u' ∈ besselU, u * γ = γ * u' →
For 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 basis besselLatticeBasis(\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}).
New/Filling/EichlerFlag.lean · the statement, lines 17–18def latMiddleGram {R} [CommRing R] (𝔰 : Shape) (N : R) : 𝔰.Form R := let c := of fun i _ ↦ ite (i = 𝔰.k₀) (-1) 0
For 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.
New/Filling/EichlerFlag.lean · line 29def middleBaseChange := (scaleAt (star p.1) 𝔰.k₀).fromRows (of fun () j ↦ ite (j = 𝔰.k₀) (-p⁻¹) 0)
For 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 with middleBaseChange(\mathfrak{s},p) on X_0, and checks both products by simp and grind.)
New/Filling/EichlerFlag.lean · the statement, lines 33–34def besselLatticeBasis : GL 𝔰.BesselIndex R := by use fromBlocks 1 0 0 (((scaleAt (star p⁻¹.1) 𝔰.k₀).fromBlocks 0 (of fun _ j ↦ ite (j =
For 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}.
New/Filling/EichlerFlag.lean · line 43def frameDisc Z := let d := leadingMinor Z 𝔰.top.castSucc; Z.det * star Z.det - N ^ 2 * (d * star d)
Let 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}\cdot splitGram(\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 from latMiddleGram(\mathfrak{s},N).
New/Filling/EichlerFlag.lean · the statement, lines 45–46lemma gram_besselLatticeBasis : p * star ↑p = N → (besselLatticeBasis 𝔰 p).1ᴴ * (𝔰.middleGram N).splitGram * besselLatticeBasis 𝔰 p = (latMiddleGram 𝔰 N).splitGram := by
For 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).
New/Filling/EichlerFlag.lean · line 52abbrev framePair := (frameImage 1).fromCols (frameImage γ.1.1)
For R,\mathfrak{s},T as in framePair (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.
New/Filling/EichlerFlag.lean · line 55abbrev isotropicFramePair := (framePair γ).submatrix id (.map castSucc castSucc)
For 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}).
New/Filling/EichlerFlag.lean · line 59def linkMatrix := let m (x : T.G) := x.1.1.toRows₂.toRows₁; (m 1).fromRows (m γ⁻¹)
For 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 under linkMatrix(\gamma) of the kernel of t\mapsto (isotropicFramePair(\gamma)){}^{H}\cdot J\cdot t,J= T.splitGram; 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.
New/Filling/EichlerFlag.lean · line 63def link := ((isotropicFramePair γ)ᴴ * T.splitGram).mulVecLin.ker.map (linkMatrix γ).mulVecLin
For a natural number k and a real number r: dampedPower(k,r)=r^{k}\cdot\min(1,r)^{6}.
New/Filling/EichlerFlag.lean · line 68def dampedPower k (r : ℝ) := r ^ k * min 1 r ^ 6
For 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.
New/Filling/EichlerFlag.lean · line 72def headWeight K i (p : ℕ → ℂˣ) := ∏ l ∈ range i, dampedPower K ‖∏ a ∈ range (l + 1), (p a).1‖⁻¹
For 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).
New/Filling/EichlerFlag.lean · the statement, lines 81–82structure SieveSystem (u : C → U) (ι : U → C) (n : ℕ) (J : ℕ → _ → _ → ℂ) (ψ : C → ℂ) (En : ℝ) (Λ : ℕ → _ → ℝ) (β : C → ℝ) where
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.
New/Filling/EichlerFlag.lean · the statement, lines 96–100lemma 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 := by
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 in SieveSystem, \tau finite), i\le n a natural number (hypothesis hi) 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}.
New/Filling/EichlerFlag.lean · the statement, lines 116–119lemma 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)) ^ 2
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 in SieveSystem, \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.
New/Filling/EichlerFlag.lean · the statement, lines 125–129lemma 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 ·) x
For 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; here genIndex(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.
New/Filling/EichlerFlag.lean · the statement, line 145def finHeadWeight {A} [SemilocalField A] K i (p : ℕ → Aˣ) := ∏ l ∈ .range i,
Let 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). Then latMiddleGram(\mathfrak{s},N) is unimodular over R: it is hermitian and it is the matrix of an element of GL(R), i.e. invertible with inverse over R (the inverse is latMiddleGram(\mathfrak{s},0)+N\cdot E_{k_0k_0}).
New/Filling/EichlerFlag.lean · the statement, lines 148–149lemma isUnimodular_latMiddleGram [StarRing A] 𝔰 {N : A} (h : N ∈ R ∧ star N = N) : IsUnimodular R (latMiddleGram 𝔰 N) := by use ?_, ⟨latMiddleGram 𝔰 N, latMiddleGram 𝔰 0 + diagonal (Pi.single
For 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.
New/Filling/EichlerFlag.lean · the statement, line 152lemma frameImage_one_mulVec : @frameImage A 𝔰 1 *ᵥ i' = init i' ⊕ᵥ ((0 ⊕ᵥ fun _ ↦ i' 𝔰.top) ⊕ᵥ 0) :=
For 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).
New/Filling/EichlerFlag.lean · lines 155–156lemma frameImage_mulVec γ x : @frameImage A 𝔰 γ *ᵥ x = γ *ᵥ frameImage 1 *ᵥ x := by simp [← mul_inclMatrix]
For 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.
New/Filling/EichlerFlag.lean · lines 158–159lemma 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]⟩
Let A be a commutative ring with involution, \mathfrak{s} a shape, T a Gram matrix on V_{\varrho} over A such that J= T.splitGram is hermitian and invertible, and \tau\in A with \tau+\overline{\tau}=1 (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 inside TraceOne.τ.)
New/Filling/EichlerFlag.lean · the statement, lines 165–168lemma 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) := by
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.
New/Filling/GramLiouville.lean · line 18noncomputable abbrev finAdeleMat := M.map ((↑) : E → 𝔸f E)
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).
New/Filling/GramLiouville.lean · line 20lemma finAdeleMat_conjTranspose : finAdeleMat Mᴴ = (finAdeleMat M)ᴴ := by aesop
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).
New/Filling/GramLiouville.lean · line 22lemma map_conjTranspose (φ : E →+* ℂ) : Mᴴ.map φ = (M.map φ)ᴴ := by aesop
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).
New/Filling/GramLiouville.lean · lines 25–26@[simp] lemma finAdeleMat_smul (a : E) : finAdeleMat (a • M) = (a : 𝔸f E) • finAdeleMat M := by aesop
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.
New/Filling/GramLiouville.lean · lines 28–29lemma mul_eq_zero_of_range_le_ker [Fintype τ] : colSpan y ≤ A.mulVecLin.ker → A * y = 0 := by simp [LE.le, ext_iff_mulVec]
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\in colSpan(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.)
New/Filling/GramLiouville.lean · the statement, lines 33–35lemma 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 :=
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} and hs : \dim V=s (by default rfl): 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\in GL_s(\mathbb{A}_f); its columns form a basis of the lattice of adelic points of V that H makes integral.
New/Filling/GramLiouville.lean · the statement, 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} :=
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]= genIndex the inverse module: the discriminant of the lattice of adelic points of V that H makes integral.
New/Filling/GramLiouville.lean · the statement, line 58noncomputable def sublatticeDisc := √(genIndex
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\in GL_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.
New/Filling/GramLiouville.lean · the statement, lines 64–68lemma 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 ≤ i
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\mapsto besselFn(S,y,i) is continuous on \prod_v G_1.
New/Filling/LatticeChart.lean · line 14@[fun_prop] lemma continuous_besselFn i : Continuous (S.besselFn · i) := by fun_prop [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 \gamma\in G(S,E) (implicit): y\mapsto besselKernel(S,\gamma,y) is continuous.
New/Filling/LatticeChart.lean · lines 16–17@[fun_prop] lemma continuous_besselKernel : Continuous (S.besselKernel γ) := by fun_prop [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.
New/Filling/LatticeChart.lean · the statement, lines 19–20lemma enorm_besselKernel y : ‖S.besselKernel γ y‖ₑ = (∏ v, ‖(S.besselSys v).W σ (y v)‖ₑ) * ∏ v, ‖(S.besselSys v).W σ (((S.ratToInf γ)⁻¹ * y) v)‖ₑ := by
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\le amplitudeAbs(S,c,c',\gamma) in [0,\infty].
New/Filling/LatticeChart.lean · the statement, line 24lemma enorm_amplitude_le c c' : ‖S.amplitude c c' γ‖ₑ ≤ S.amplitudeAbs c c' γ := by grw [amplitude,
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, then middleBaseChange(\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}.
New/Filling/LatticeChart.lean · the statement, lines 34–36lemma 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) := by
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 of inclHFin(k)-1 iff P holds for every entry of middleBaseChange(\mathfrak{s},\overline{\pi})\cdot(k-1)\cdot\operatorname{diag}(\operatorname{conj}(\overline{\pi}^{-1}) at k_0).
New/Filling/LatticeChart.lean · the statement, lines 40–42lemma 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,
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.
New/Filling/LatticeChart.lean · the statement, lines 49–51lemma 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)) := by
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}).
New/Filling/LatticeChart.lean · the statement, lines 57–58lemma inclHFin_mem_latStabilizer : S.inclHFin k ∈ S.latStabilizer ↔ ↑k ∈ congruenceGL (Ô E ∙ ↑S.piBar) fun () ↦ 𝔰.k₀ := .trans ⟨(·.isIntMatrix.sub .one), by simp_all [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), k in the finite adelic unitary group of X_0 (implicit) with inclHFin(k)\in K (h), i\in\{0,1\} and a chosen place w above q_i: the reduction of inclHFin(k) at w is 1 iff the reduction of k modulo w (as an element of K_0(\kappa)=G_f(\kappa)\cap GL(\hat{O}), integral by inclHFin_mem_latStabilizer) is 1.
New/Filling/LatticeChart.lean · the statement, lines 67–68lemma 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 := by
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).
New/Filling/LatticeChart.lean · lines 74–75lemma 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]; rfl
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.
New/Filling/LatticeChart.lean · lines 77–78lemma card_resField_eq_levelPrime i (w : S.chosenPlaces i) : .card (ResField w.1) = S.levelPrime i := by grind [card_ResField, chosenPlaces_q]
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 to latMiddle(S,R).splitGram gives latMiddle(S,R').splitGram.
New/Filling/LevelBridge.lean · lines 29–30lemma map_splitGram_latMiddle : (S.latMiddle R).splitGram.map f = (S.latMiddle _).splitGram := by aesop
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 of GL(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 in agreeWithOneOn(r) over R').
New/Filling/LevelBridge.lean · lines 32–33lemma _root_.Membership.mem.map_mem_unitriangularOn {r h} {H : Subgroup (GL 𝔰.BesselIndex _)} {γ} : γ ∈ (agreeWithOneOn r _ h).subgroupOf H → .map f γ.1 ∈ agreeWithOneOn r _ h := by aesop
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}xB lies in the unipotent group \mathsf{U} of the lattice-basis form iff x lies in \mathsf{U} (B=\mathtt{latBasis}).
New/Filling/LevelBridge.lean · the statement, line 39lemma toLatBasis_mem_besselU : S.toLatBasis x ∈ besselU ↔ x ∈ besselU := ⟨(by
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}.
New/Filling/LevelBridge.lean · the statement, line 43@[simp] lemma ratToFin_mem_besselU : S.ratToFin γ ∈ besselU ↔ γ ∈ 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 k in the finite adelic unitary group of X_0: inclHFin(S)(k) lies in \mathsf{H} (of the lattice-basis form).
New/Filling/LevelBridge.lean · line 46lemma inclHFin_mem_besselH k : S.inclHFin k ∈ besselH := by simp [besselLatticeBasis, Sum.forall]
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 of inclHFin(S) is exactly \mathsf{H}\subseteq GFin(S).
New/Filling/LevelBridge.lean · the statement, line 48lemma range_inclHFin : S.inclHFin.range = besselH := le_antisymm (fun _ ⟨k, e⟩ ↦
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.
New/Filling/LevelBridge.lean · lines 52–53lemma ratToFin_toBesselH γ : S.ratToFin (toBesselH _ _ γ) = S.inclHFin (stdEmbFin γ) := by ext; simp [stdSpace_embFin γ]
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 by toBesselH with middle form middleGram(N)).
New/Filling/LevelBridge.lean · line 57def classBasis (c : S.Classes) := (toBesselH _ ↑S.N c.out).1 * S.latBasis
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 of termPosition(S,c,c',\gamma) is classBasis(c)^{-1}\cdot\gamma\cdotclassBasis(c') (\gamma mapped entrywise to \mathbb{A}_f).
New/Filling/LevelBridge.lean · lines 59–60lemma coe_termPosition c c' γ : (S.termPosition c c' γ).1 = (classBasis c)⁻¹ * .map (algebraMap E _) γ * classBasis c' := by simp [classBasis]
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}, then termPosition(S,c,c,\gamma)=h_c^{-1}\gamma h_c\in\mathsf{U} (h_c\in\mathsf{H}\subseteq\mathsf{S} normalises \mathsf{U}).
New/Filling/LevelBridge.lean · the statement, lines 62–63lemma _root_.Membership.mem.termPosition_mem_besselU c : γ ∈ besselU → S.termPosition c c γ ∈ besselU := (besselS_le_normalizer_besselU (mem_unitriGroup_of_mem_floorGroup
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\in termsOver(S,c,s,c') and \delta\in termsOver(S,c',t,c''), then \gamma\delta\in termsOver(S,c,s\cdot t,c'').
New/Filling/LevelBridge.lean · lines 66–67lemma termsOver.mul : γ ∈ S.termsOver c s c' → δ ∈ S.termsOver c' t c'' → γ * δ ∈ S.termsOver c (s * t) c'' | ⟨k, _⟩ => .imp' (k * ·) (by aesop)
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\in termsOver(S,c,s,c'), then \gamma^{-1}\in termsOver(S,c',s^{-1},c).
New/Filling/LevelBridge.lean · line 69lemma termsOver.inv : γ ∈ S.termsOver c s c' → γ⁻¹ ∈ S.termsOver c' s⁻¹ c := .imp' (·⁻¹) (by aesop)
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}).
New/Filling/LevelBridge.lean · the statement, lines 71–72@[local simp] lemma simpleRootSum_adelicToFin : simpleRootSum (S.adelicToFin u) = (simpleRootSum u).2 := by
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}).
New/Filling/LevelBridge.lean · the statement, line 77@[simp] lemma simpleRootSum_ratToAdelic : simpleRootSum (S.ratToAdelic u) = simpleRootSum u :=
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.
New/Filling/LevelBridge.lean · line 80@[simp] lemma norm_selfDualChar : ‖S.selfDualChar x‖ = 1 := norm_coe _
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 image ratToInf(S)(\gamma)_v in G_1.
New/Filling/LevelBridge.lean · lines 82–83lemma _root_.Membership.mem.ratToInf_mem_unitriangularOn {r h} (k : γ ∈ (agreeWithOneOn r _ h).subgroupOf _) v : S.ratToInf γ v ∈ (agreeWithOneOn r _ h).subgroupOf _ := by aesop
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= stdAddChar is 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.
New/Filling/LevelBridge.lean · the statement, lines 88–90lemma 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 := by
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).
New/Filling/LevelBridge.lean · the statement, lines 98–99lemma besselFn_ratToInf_mul [Side] (h : γ ∈ besselU) y : S.besselFn (S.ratToInf γ * y) = (S.unipotentChar (S.ratToFin γ))⁻¹ • S.besselFn y := (besselFn_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), a commutative ring F with involution and a subring R of F: latMiddle(S,F) is unimodular over R (hermitian, and in GL(R)).
New/Filling/LevelBridge.lean · lines 108–109lemma isUnimodular_latMiddle [StarRing F] {R} : IsUnimodular R (S.latMiddle F) := by simp [isUnimodular_latMiddleGram]
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).splitGram is symmetric (equal to its transpose); in this file F carries the trivial involution by a local instance (starRingOfComm).
New/Filling/LevelBridge.lean · the statement, line 114lemma transpose_splitGram : (S.latMiddle F).splitGramᵀ = (S.latMiddle F).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), 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 of GL(F) if b is true and the identity if b is false, J= latMiddle(S,F).splitGram the Gram matrix in the lattice basis.
New/Filling/LevelBridge.lean · the statement, line 119def idOrInvAdjoint b :=
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.
New/Filling/LevelBridge.lean · the statement, line 125def reduceAboveG (x : (Σ i, S.chosenPlaces i) × _) :=
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 under reduceAboveG(S,((i,w),b)) equals idOrInvAdjoint(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.
New/Filling/LevelBridge.lean · the statement, lines 130–131lemma 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⟩ ↦ by
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 underlying gIdele(S) is the integer g=q_0q_1.
New/Filling/LevelBridge.lean · line 138lemma gIdele_val : S.gIdele.1 = S.g := by simp [gIdele]
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}.
New/Filling/LevelBridge.lean · line 140lemma gIdele_mem : ↑S.gIdele ∈ Ô E := by simp [gIdele, mul_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) and a finite adele a: selfDualChar(S)(r\cdot a)=1 for every r\in\hat{O} iff a\in\hat{O}.
New/Filling/LevelBridge.lean · the statement, line 142lemma forall_selfDualChar_mul_eq_one_iff a : (∀ r : Ô E, S.selfDualChar (r * a) = 1) ↔ a ∈ Ô E := by
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}.
New/Filling/LevelBridge.lean · lines 147–148lemma selfDualChar_eq_one_of_mem : ∀ x ∈ Ô E, S.selfDualChar x = 1 := by simpa using S.forall_selfDualChar_mul_eq_one_iff 1
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} iff reduceAboveG(S,x)(r)=0 for every x=((i,w),b) (r and \overline{r} vanish modulo every chosen place).
New/Filling/LevelBridge.lean · the statement, lines 150–151lemma inv_gIdele_smul_mem_iff r : S.gIdele⁻¹ • r.1 ∈ Ô E ↔ ∀ x, S.reduceAboveG x r = 0 := by simpa [dvd_def, Subtype.ext_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(g)= principalLevel(S) equals unitaryLevel(\hat{O},g,J), the k\in GFin(S)\cap GL(\hat{O}) with g^{-1}(k-1) integral.
New/Filling/LevelBridge.lean · the statement, line 154lemma principalLevel_eq_unitaryLevel : S.principalLevel = unitaryLevel (Ô E) S.gIdele _ :=
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}.
New/Filling/NearTerms.lean · the statement, lines 27–31lemma 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 := by
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}.
New/Filling/NearTerms.lean · the statement, lines 65–68lemma 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)) := by
Strong 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 with T.splitGram mapped entrywise to \mathbb{A}_f equal to T'.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.
New/Filling/NearTerms.lean · the statement, lines 94–96lemma 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.map
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}).
New/Filling/NearTerms.lean · the statement, line 120@[simp] lemma Filling.unipotentChar_one : S.unipotentChar 1 = 1 := by simp [unipotentChar,
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\in GFin(S) with x\in\mathsf{U} (x implicit; hx) and y\in GFin(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).
New/Filling/NearTerms.lean · the statement, lines 125–127lemma 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_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), u,v\in GFin(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), then unipotentChar(S,v)= unipotentChar(S,u).
New/Filling/NearTerms.lean · the statement, lines 135–137lemma 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 _
Under the standing hypotheses (IsAdmissible S, 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) and termPosition(S,c,d,\gamma)\in K(g) (o), then c=d and \gamma\in\mathsf{U}_c(g)= classUnip(S,c).
New/Filling/NearTerms.lean · the statement, lines 145–146lemma 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 :=
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\in GFin(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) and unipotentChar(S,\mathtt{ratToFin}(u_0))= unipotentChar(S,u).
New/Filling/NearTerms.lean · the statement, lines 152–154lemma 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_approx
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\in termsOver(S,c,\sigma,d).
New/Filling/NearTerms.lean · the statement, lines 158–159lemma Filling.exists_besselS_mem_termsOver [ok : S.IsAdmissible] c {σ} : σ ∈ S.reducedImage besselS → ∃ d, ∃ γ ∈ besselS, γ ∈ S.termsOver c σ d := fun ⟨k, hk, _⟩ ↦ by
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.
New/Filling/NearTerms.lean · the statement, lines 170–172lemma 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 := by
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.
New/Filling/NearTerms.lean · line 187lemma frameImage_mul : frameImage (s * s') = s.1.1 * frameImage s'.1.1 := rfl
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).
New/Filling/NearTerms.lean · lines 189–190lemma frameImage_mul_of_mem_besselU0 : u ∈ besselU0 → frameImage (γ * u).1.1 = frameImage γ := by simp_all [mem_besselU0_iff, submatrix_mul_besselFrame]
For R,\mathfrak{s},T and s,s'\in U(\mathtt{T.splitGram}) (implicit): (s^{-1}s')f=f iff sf=s'f.
New/Filling/NearTerms.lean · lines 192–193lemma 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_invertible
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}).
New/Filling/NearTerms.lean · the statement, lines 201–202lemma 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,
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).
New/Filling/NearTerms.lean · the statement, lines 205–206lemma frameProducts_mulVec_of_frameImage_eq (e : frameImage 1 *ᵥ x = frameImage γ.1.1 *ᵥ y) : S.frameProducts γ *ᵥ y = Pi.single 𝔰.top (-S.N * x 𝔰.top) := by
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).
New/Filling/NearTerms.lean · lines 209–210lemma 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)
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).
New/Filling/NearTerms.lean · the statement, lines 215–218lemma 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)
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).
New/Filling/NearTerms.lean · the statement, line 225lemma map_termDisc_eq_norm : Φ v (S.termDisc γ) = ‖Φ v (S.termDisc γ)‖ := eq_coe_norm_of_nonneg (by
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)).
New/Filling/NearTerms.lean · the statement, line 230lemma hasLevel_last (h : S.termDisc γ ≠ 0) : S.HasLevel (last _) γ := ⟨⟨1, by simp; lia⟩, fun e ↦ by
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))|.
New/Filling/NearTerms.lean · the statement, lines 233–234lemma gramDiscReal_realFrameGram_ratToInf : gramDiscReal (realFrameGram (S.ratToInf γ v)) = (∏ a : Fin 𝔰.n, S.frameScaleSq v a) ^ 2 * ‖Φ v (S.termDisc γ)‖ := congrArg _ (by simp [↓ofReal_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), 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).
New/Filling/NearTerms.lean · the statement, line 238lemma ratToInf_mem_besselU0 (h : u ∈ besselU0) v : S.ratToInf u v ∈ 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), 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\in boxedPoints(S) iff y\in boxedPoints(S).
New/Filling/NearTerms.lean · the statement, lines 241–242lemma mul_mem_boxedPoints_iff {u} (hu : ∀ v, u v ∈ besselU0) : u * y ∈ S.boxedPoints ↔ y ∈ S.boxedPoints := by simp_all [boxedPoints,
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): if IsNormalForm(j,\gamma), then IsNormalForm(j,\mathtt{ratToInf}(S)(\gamma)_v).
New/Filling/NearTerms.lean · the statement, line 245lemma _root_.IsNormalForm.ratToInf {j} : IsNormalForm j γ → IsNormalForm j (S.ratToInf γ v)
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\in termsOver(S,c,r,c') (the premise), then the matrix of termPosition(S,c,c',\gamma) is integral over \hat{O}.
New/Filling/NearTerms.lean · lines 252–253lemma termsOver.isIntMatrix_termPosition : γ ∈ S.termsOver c r c' → IsIntMatrix (Ô E) (S.termPosition c c' γ).1.1 | ⟨k, _, e⟩ => e ▸ k.2.isIntMatrix
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.
New/Filling/NearTerms.lean · the statement, lines 255–256lemma classCoord_conj_splitGram c : (S.classCoord c)ᴴ * (S.latMiddle _).splitGram * S.classCoord c = (S.ratMiddle _).splitGram := gram_inv_of_gram_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 classes c,c' (implicit): termPosition(S,c,c',\gamma)\cdot f= classCoord(c)\cdot(\gamma f) (\gamma f mapped to \mathbb{A}_f).
New/Filling/NearTerms.lean · lines 259–260lemma frameImage_termPosition : frameImage (S.termPosition c c' γ) = S.classCoord c * finAdeleMat (frameImage γ.1.1) := coe_termPosition c .. ▸ frameImage_mul_of_mem_agreeWithOneOn (by simp) _
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 of termPosition(S,c,c',\gamma) for the lattice form equals Z(\gamma) mapped to \mathbb{A}_f.
New/Filling/NearTerms.lean · the statement, lines 262–263lemma frameGram_termPosition : (S.latMiddle _).frameGram (S.termPosition c c' γ) = finAdeleMat (S.frameProducts γ) := by
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.
New/Filling/NearTerms.lean · the statement, lines 268–269lemma 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,
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.)
New/Filling/NearTerms.lean · lines 278–279lemma 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]; grind
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).
New/Filling/NearTerms.lean · the statement, line 281lemma pow_le_tailScale {e} (h : e ≤ 10 ^ 5 * 𝔰.n ^ 9 * numInfPlaces E) : S.b ^ e ≤ S.tailScale := by
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}}.
New/Filling/NearTerms.lean · the statement, line 285lemma tailScale_pow_four : S.tailScale ^ 4 = S.b ^ (𝔰.k * numInfPlaces E) := by
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\le besselEnergy(S),0\le mainEnergy(S),0<N,0< unipCovolume(S),0<b,1\le b and 0<\#\overline{S} (h), then p holds (these conditions are all true).
New/Filling/NearTerms.lean · the statement, lines 288–290lemma 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 := by
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).
New/Filling/NearTerms.lean · lines 295–300lemma 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])
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.
New/Filling/NearTerms.lean · the statement, lines 302–303lemma 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; by
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\in termsOver(S,c,r,c') (k), u\in termsOver(S,c,r,d) (h) and \gamma f=uf (e), then c'=d and \gamma^{-1}u\in\mathsf{U}_{c'}^{0}(g).
New/Filling/NearTerms.lean · the statement, lines 309–311lemma 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 (by
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\in termsOver(S,c,r,c') (k; \gamma,c,c',r implicit) and frame indices a,b: the entry Z(\gamma)_{ab} is an algebraic integer.
New/Filling/NearTerms.lean · the statement, line 315lemma isIntegral_frameProducts : IsIntegral ℤ (S.frameProducts γ a b) := by
For 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= levelPrime 0 and q_1= levelPrime 1; 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 set chosenPlaces(i) of finite places of E; a subgroup K_c= columnLevel of 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 system besselSys(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_i chosenPlaces(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; each chosenPlaces(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.
New/Filling/Setup.lean · the statement, line 22structure Filling where
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.
New/Filling/Setup.lean · line 70abbrev g := S.levelPrime 0 * S.levelPrime 1
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.N mapped to R).
New/Filling/Setup.lean · line 74abbrev ratMiddle := 𝔰.middleGram (S.N : R)
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 of latBasis(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}).
New/Filling/Setup.lean · line 78abbrev latMiddle := latMiddleGram 𝔰 (S.N : R)
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 is ratMiddle(S,R).splitGram (\varrho hyperbolic planes, 1 on X_0,-N at z).
New/Filling/Setup.lean · line 82abbrev G [StarRing R] := (S.ratMiddle R).G
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 matrix latMiddle(S,\mathbb{A}_f).splitGram, i.e. the finite adelic unitary group of V written in the lattice basis.
New/Filling/Setup.lean · line 86abbrev GFin := (S.latMiddle (𝔸f E)).G
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.
New/Filling/Setup.lean · line 91abbrev GRes := ∀ i (w : S.chosenPlaces i), GL 𝔰.BesselIndex (ResField w.1)
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 system besselSys(v).
New/Filling/Setup.lean · line 95abbrev BesselCoord := ∀ v, (S.besselSys v).I
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.
New/Filling/Setup.lean · line 99def Classes := DoubleCosets (stdSpace ..).Γf S.columnLevel deriving Nonempty
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 form ratMiddle(S,E).splitGram, f=(e_1,\ldots,e_{\varrho},z).
New/Filling/Setup.lean · line 107abbrev frameProducts (γ : S.G E) := (S.ratMiddle E).frameGram γ
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 of GFin(S) of the elements that lie in GL(\hat{O}), i.e. integral invertible matrices with integral inverse over the integral finite adeles \hat{O} (in the lattice basis).
New/Filling/Setup.lean · line 111def latStabilizer := (intGL _ (Ô E)).subgroupOf S.GFin
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).
New/Filling/Setup.lean · the statement, line 115protected def reduction : S.latStabilizer →* S.GRes := .pi fun _ ↦
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 of GFin(S): the principal congruence subgroup of level g=q_0q_1 at the chosen places.
New/Filling/Setup.lean · line 120def principalLevel := S.reduction.ker.map S.latStabilizer.subtype
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 of GFin(S): reducedImage(S,A) is the image in \mathsf{G} of A\cap K under \operatorname{reduction}(S).
New/Filling/Setup.lean · line 124def reducedImage A := (Subgroup.subgroupOf A _).map S.reduction
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).
New/Filling/Setup.lean · line 128def kappa := (S.g * Φ v S.ϖ.val / (2 * π * .I)).re
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^{*}.
New/Filling/Setup.lean · the statement, line 132def basisScale : 𝔰.BesselIndex → ℂ := let s a := S.kappa v ^ (𝔰.ϱ - a) / √S.N; (s ·) ⊕ᵥ
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 to ratMiddle(S,R).splitGram gives ratMiddle(S,R').splitGram.
New/Filling/Setup.lean · lines 138–139lemma map_splitGram_ratMiddle {R'} [CommRing R'] (f : R →+* R') : (S.ratMiddle R).splitGram.map f = (S.ratMiddle _).splitGram := by aesop
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.
New/Filling/Setup.lean · line 142def selfDualChar := (Circle.coeHom.compAddChar (ψf E)).mulShift ↑(-S.ϖ.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): \varpi\ne0 in E (\varpi generates the different, which is a nonzero ideal).
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_ϖ
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.
New/Filling/Setup.lean · line 148def frameScaleSq := S.kappa v ^ (2 * (𝔰.ϱ - a)) / S.N
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|.
New/Filling/Setup.lean · line 152def frameScaleProd := ∏ v, ∏ a : Fin (𝔰.ϱ + 1), S.frameScaleSq v a ^ (𝔰.k + 2 * (𝔰.ϱ - a))
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}.
New/Filling/Setup.lean · the statement, line 156def unipCovolume := let d := ∑ a ∈ .range 𝔰.ϱ, (a + (𝔰.k + 1) + a); (S.g ^ (2 * d + 𝔰.ϱ) /
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}.
New/Filling/Setup.lean · the statement, line 161def siegelConst :=
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}.
New/Filling/Setup.lean · line 167abbrev termDisc := frameDisc ↑S.N (S.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), an infinite place v and every frame index b: basisScale(S,v,f_b)=\kappa_v^{\varrho-b}/\sqrt{N}.
New/Filling/Setup.lean · lines 169–170lemma basisScale_besselFrame : ∀ b, S.basisScale v (𝔰.besselFrame b) = S.kappa v ^ (𝔰.ϱ - b) / √S.N := by simp [basisScale]
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).
New/Filling/Setup.lean · the statement, line 172lemma coe_kappa : S.kappa v = S.g * Φ v S.ϖ / (2 * π * .I) := conj_eq_iff_re.1 (by
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.
New/Filling/Setup.lean · line 175@[simp] lemma kappa_ne_zero : S.kappa v ≠ 0 := by simp [← ofReal_ne_zero, coe_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), an infinite place v and a frame index a: 0< frameScaleSq(S,v,a).
New/Filling/Setup.lean · line 177@[simp] lemma frameScaleSq_pos : 0 < S.frameScaleSq v a := by simp [frameScaleSq, sq]
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).
New/Filling/Setup.lean · line 179lemma frameScaleProd_pos : 0 < S.frameScaleProd := prod_pos (by simp [prod_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 every basis index i of V: basisScale(S,v,i)\ne0.
New/Filling/Setup.lean · line 181@[simp] lemma basisScale_ne_zero : ∀ i, S.basisScale v i ≠ 0 := by simp [basisScale]
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)\in GL_r(\mathbb{C}) is the invertible diagonal matrix with the entries basisScale(S,v,i).
New/Filling/Setup.lean · line 185def basisScaleGL := diagGL (.mk0 _ <| S.basisScale_ne_zero v ·)
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).splitGram for 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).
New/Filling/Setup.lean · lines 187–188lemma 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]
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.
New/Filling/Setup.lean · line 192abbrev latBasis := besselLatticeBasis 𝔰 S.piBar
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)\cong GFin(S) is the group isomorphism g\mapsto B^{-1}gB from 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_besselLatticeBasis with \overline{\pi}\pi=N).
New/Filling/Setup.lean · the statement, line 196def toLatBasis : S.G (𝔸f E) ≃* S.GFin :=
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).
New/Filling/Setup.lean · line 201def ratToAdelic : S.G E →* S.G (𝔸 E) := U.map toAdele (h := map_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): 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.
New/Filling/Setup.lean · the statement, line 205def adelicToInf : S.G (𝔸 E) →* type_of% y := .pi fun v ↦ .comp
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)\to GFin(S) is the homomorphism taking the finite part of an adelic element and changing to the lattice basis (toLatBasis).
New/Filling/Setup.lean · the statement, line 210def adelicToFin : S.G (𝔸 E) →* S.GFin :=
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)\circ ratToAdelic(S):G(S,E)\to\prod_v G_1, sending a rational element to the tuple of its rescaled images at the infinite places.
New/Filling/Setup.lean · line 215def ratToInf := S.adelicToInf.comp S.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): ratToFin(S)= adelicToFin(S)\circ ratToAdelic(S):G(S,E)\to GFin(S), sending a rational element to its image in the finite adelic unitary group in the lattice basis.
New/Filling/Setup.lean · line 219def ratToFin := S.adelicToFin.comp S.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): inclHFin(S) is the homomorphism from the finite adelic unitary group of X_0 (the identity form on \kappa over \mathbb{A}_f) to GFin(S): embed into \mathsf{H} (acting on X_0, fixing the other basis vectors; toBesselH with middle form middleGram(N)) and change to the lattice basis (toLatBasis).
New/Filling/Setup.lean · line 223def inclHFin := S.toLatBasis.toMonoidHom.comp (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 a class c: h(S,c)=h_c= inclHFin(S)(\widetilde{c}), the image in GFin(S) of the chosen representative \widetilde{c}\in U(X_0)(\mathbb{A}_f) of c.
New/Filling/Setup.lean · line 229abbrev h := S.inclHFin c.out
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'}\in GFin(S).
New/Filling/Setup.lean · line 233def termPosition := (S.h c)⁻¹ * S.ratToFin γ * S.h c'
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 that termPosition(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').
New/Filling/Setup.lean · line 237def termsOver := {γ | ∃ k, S.reduction k = s ∧ k = S.termPosition c c' γ}
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).
New/Filling/Setup.lean · the statement, line 240def classUnip : Subgroup (S.G E) :=
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.
New/Filling/Setup.lean · line 244def classUnip₀ := S.classUnip c ⊓ 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): boxSize(S)=b^{2n^{2}},n=\varrho+1, the size of the boxes.
New/Filling/Setup.lean · line 247def boxSize := S.b ^ (2 * 𝔰.n ^ 2)
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 and InCut(y_v,b) then y_v\in frameBox(\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).
New/Filling/Setup.lean · the statement, line 252def IsBoxPartition (ω : _ → ENNReal) := Measurable ω ∧
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\in BesselCoord(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} of besselSys(v) at y_v.
New/Filling/Setup.lean · line 259def besselFn (i : S.BesselCoord) := ∏ v, (S.besselSys v).W σ (y v) (i v)
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 coordinates besselFn(y,i)\cdot\operatorname{conj}(\mathtt{besselFn}(\gamma^{-1}y,j)),\gamma^{-1}y= ratToInf(\gamma)^{-1}\cdot y.
New/Filling/Setup.lean · the statement, line 263def besselKernel : EuclideanSpace ℂ (S.BesselCoord × S.BesselCoord) :=
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.
New/Filling/Setup.lean · line 268def columnDim := card S.Classes * card S.BesselCoord
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.
New/Filling/Setup.lean · line 271def besselDegree := ∏ v, (S.besselSys v).deg
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).
New/Filling/Setup.lean · line 273lemma besselDegree_pos : 0 < S.besselDegree := prod_pos fun _ _ ↦ (besselSys ..).deg_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): 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.
New/Filling/Setup.lean · line 276def mainEnergy := S.columnDim ^ 2 / (S.besselDegree * mass E 𝔰.r)
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}.
New/Filling/Setup.lean · line 280abbrev unipOrder := S.g ^ (numInfPlaces E * (𝔰.ϱ * (2 * 𝔰.k + 2 * 𝔰.ϱ + 1)))
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), where reducedImage(S,\mathsf{S})=\overline{S} is the image in \mathsf{G} of the Bessel subgroup.
New/Filling/Setup.lean · line 284def packetConst := Nat.card (S.reducedImage besselS) * S.unipOrder * card S.Classes * S.siegelConst
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.
New/Filling/Setup.lean · line 289def besselEnergy : ℝ := Nat.card (S.reducedImage besselS) * S.columnDim
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.
New/Filling/Setup.lean · line 292def tailScale := S.b ^ (𝔰.k * numInfPlaces E / 4 : ℝ)
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}}.
New/Filling/Setup.lean · line 296abbrev codimFactor := (S.b / S.g) ^ (𝔰.k * numInfPlaces E) * (2 * S.tailScale ^ 2)
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 hypotheses IsAdmissible(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}}\le besselDegree(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)\cap GL(\hat{O}) of the preimage of K; and packetConst(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).
New/Filling/Setup.lean · the statement, line 301class IsAdmissible where
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 of adelicToInf(S)(\gamma)_v is (\gamma_i j)_v\cdotbasisScale(S,v,j)/basisScale(S,v,i).
New/Filling/Setup.lean · lines 320–321lemma 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]
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 of ratToInf(S)(\gamma)_v is \Phi_v(\gamma_i j)\cdotbasisScale(S,v,j)/basisScale(S,v,i).
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 ..
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).
New/Filling/Setup.lean · line 326lemma coe_ratToFin : S.ratToFin γ = S.latBasis⁻¹ * .map (algebraMap E _) γ * S.latBasis := rfl
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 (hypothesis hC). Then only finitely many points of C have the form (submatrix on rows and columns f of ratToInf(S)(u)_v){}_v with u\in\mathsf{U}_c(g): the set C\cap {that tuple : u\in classUnip(S,c)} is finite.
New/Filling/Setup.lean · the statement, lines 332–333lemma 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 ↦
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 under ratToInf(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).
New/Filling/Setup.lean · the statement, lines 343–345lemma 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 β
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 of exists_cutoff_classUnip for the subgroup \mathsf{U}_c^{0}(g) of \mathsf{U}_c(g)) and a function chosen by Hilbert's \varepsilon among those with IsBoxPartition(S,c,\cdot) (arbitrary if there is none). It is irreducible (@[irreducible]).
New/Filling/Setup.lean · the statement, line 356@[irreducible] def classCutoff := (S.exists_cutoff_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, 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.
New/Filling/Setup.lean · the statement, line 361def amplitude := ∫ y,
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].
New/Filling/Setup.lean · the statement, line 366def amplitudeAbs := ∫⁻ y,
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).
New/Filling/Setup.lean · line 370def amplitudeSum := ∑' γ : ↥(T ∩ S.termsOver c s c'), S.amplitude c c' γ
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).
New/Filling/Setup.lean · the statement, line 372lemma abs_kappa_eq : |S.kappa v| = S.g * ‖Φ v S.ϖ‖ / (2 * π) :=
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).
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]
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).
New/Filling/Setup.lean · the statement, lines 379–381lemma 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,
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).
New/Filling/Setup.lean · line 384lemma unipCovolume_pos : 0 < S.unipCovolume := div_pos (by bound) S.frameScaleProd_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): gIdele(S) is the integer g=q_0q_1 as a unit of the finite adeles of E.
New/Filling/Setup.lean · line 387def gIdele : (𝔸f E)ˣ := .map (algebraMap E _).1 (.mk0 S.g (by simp))
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 GFin(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.
New/Filling/Setup.lean · line 391def unipotentChar (u : S.GFin) := S.selfDualChar (S.gIdele⁻¹ * simpleRootSum u)
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').
New/Filling/Setup.lean · the statement, line 395def Agrees := ∀ u u', u.1 ∈ besselU → u'.1 ∈ besselU → S.reduction u * s = s * S.reduction u' →
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.
New/Filling/Setup.lean · line 400def IsStable := ∀ᵉ (u ∈ besselU) (u' ∈ besselU) (γ), u⁻¹ * γ * u' ∈ T ↔ γ ∈ T
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) with termDisc(S,\gamma)\ne0 and \operatorname{link}(\gamma)=\Lambda.
New/Filling/Setup.lean · line 404def termsOfLink Λ := {γ | S.termDisc γ ≠ 0 ∧ link γ = Λ}
For 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.
New/Filling/StableCells.lean · lines 15–16lemma splitGram_mulVec v : T.splitGram *ᵥ v = (v <| eStar ·) ⊕ᵥ (T *ᵥ (v <| inr <| inl ·) ⊕ᵥ (v <| inl ·)) := funext (by simp [splitGram])
For 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).
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])
For 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.
New/Filling/StableCells.lean · the statement, 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); by
For 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.
New/Filling/StableCells.lean · the statement, line 28lemma mem_link {p} : p ∈ link γ ↔ ∃ a, (γ.1.1 *ᵥ (a ⊕ᵥ (p ∘ inr ⊕ᵥ 0))) ∘ inr = p ∘ inl ⊕ᵥ 0 :=
For F,\mathfrak{s},T (implicit), a natural number j and \gamma\in U(J) (implicit): if IsNormalForm(j,\gamma), then IsNormalForm(j,\gamma^{-1}).
New/Filling/StableCells.lean · the statement, line 34lemma IsNormalForm.inv : IsNormalForm j γ → IsNormalForm j γ⁻¹ := .imp' star fun c h ↦
For F,\mathfrak{s},T,\gamma (implicit), j\in\{0,\ldots,\varrho+1\} (implicit) with IsNormalForm(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'.
New/Filling/StableCells.lean · the statement, lines 38–39lemma 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' := by
For F,\mathfrak{s},T, a natural number j,\gamma,u\in U(J) (implicit): if u\in\mathsf{U} (h) and IsNormalForm(j,\gamma), then IsNormalForm(j,u\gamma).
New/Filling/StableCells.lean · the statement, line 46lemma IsNormalForm.besselU_mul (h : u ∈ besselU) : IsNormalForm j γ → IsNormalForm j (u * γ) :=
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).
New/Filling/StableCells.lean · the statement, lines 51–52lemma 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 _ _ _ ↦
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).
New/Filling/StableCells.lean · the statement, lines 57–59lemma 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,
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}.
New/Filling/StableCells.lean · the statement, line 64lemma Filling.isStable_hasLevel j : S.IsStable {γ | S.HasLevel j γ} := fun _ a _ b _ ↦ .and ⟨(by
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 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).
New/Filling/StableCells.lean · the statement, lines 71–72lemma mem_link_iff_orthogonal {γ : S.G E} {p} : p ∈ link γ ↔ ∀ q ∈ link γ, star q ⬝ᵥ S.linkForm *ᵥ p = 0 := ⟨by
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).
New/Filling/StableCells.lean · the statement, lines 87–90lemma 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)
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).
New/Filling/StableCells.lean · the statement, lines 96–97lemma Filling.link_big_cell_eq_iff (hσ : σ ∈ GT 𝔰.ϱ) (hτ : τ ∈ GT 𝔰.ϱ) : link (weylElem 𝔰.ϱ p * σ) = link (weylElem 𝔰.ϱ q * τ) ↔ σ = τ := by