Chapter VII · Unit 147
The exchange identity: theta integrals of complementary rank agree up to a constant, and cruder forms complete a family to a basis in the lower bound
exchange_theorem); it uses it for one square of lifts and transposed lifts, for the grid of such squares, and for the cruder forms of Data.crude_rows , which complete a family of target forms to a basis with integral twisted lifts and bounded conjugates in the lower bound (Theorem C). Chunk a (this dossier) holds the analytic and local foundations: the Rallis inner product of the adjoint lift \theta_j^* and the L-value of the lift of the constant from U(1) (CharacterLiftNorm); local partner data and matched pairs (BlockPartners, PartnersMatch, StableSpaces); the vanishing of theta coefficients at forms that are not negative definite (NonnegativeVanishing); the equivariant functional of the difference of the two theta integrals and its vanishing on standard data (ExchangeDifference, StandardCoefficients); and the exchange identity at the top of the tower, from equal-rank constancy, matched real data and determinant vectors (LowRankIdentity, RealPair, DeterminantVectors).Notes
What it holds · 305 declarations
lemma
LValueData.lines 13–47argumentmap_trivialLift Galois action on \Xi. Let P be parameters, s a natural number (the level of the tower; E(P, s) the field), n a finite index type, S level places of E(P, s) without twist places (h\psi: the twist index type of S is empty), and \sigma \inGal(\mathbb{C}/K(P)). There are t, l, u with |t| = \Omega(P, s)^{-1/2} and l \ne 0 such that for all L-value data X on n with places S (X.1 = S) and all e, \mu, \psi, m with the weight relationisand the unramifiednessunr, writing Y =LValueData(S,jetDeg(X)\circ e^{-1}, \mu, \psi, is, \ldots, unr): if |n| = 2m,placePerm(s, \sigma) = e and \mu(u') = \sigma(\mu_{X}(u')) at every point u' with trivial infinite component, then for every finite point h and index i: \sigma((jetScale(P, s)^{\sum_{\tau} \mathit{dg}_{\tau}}\cdottrivialLift(X))(h)_{i}) = t^{\sum_{\tau} \mathit{dg}_{\tau}}\cdot(l\cdot b(auxPair(Y))(u))\cdotmultiplierRatio(\sigma,onHom(1, 1, h)_{2})\cdottrivialLift(Y)(h)_{i\circ e^{-1}}, \mathit{dg} =jetDeg(X).Structured proof, 16 steps Proposition 8.11, p. 22 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartConjugates.lean · lines 13–19 lemma LValueData.map_trivialLift {P s} n [Fintype n] (S : LevelPlaces (E P s)) (hψ : IsEmpty S.TwistIndex) (σ : Gal(ℂ/K P)) : ∃ t l u, ‖t‖ = (√(P.bigOmega s))⁻¹ ∧ l ≠ 0 ∧ ∀ {X : LValueData _ n} {e μ ψ m} is unr, X.1 = S → let Y := (mk X.1 (X.jetDeg <| e.symm ·) μ ψ is X.one_lt_card unr); Fintype.card n = 2 * m → placePerm s σ = e → (∀ u, u.1.1 = 1 → μ.1 u = σ (X.μ.1 u)) → ∀ h i, σ ((P.jetScale s ^ (∑ τ, X.jetDeg τ) • X.trivialLift) h i) = (t ^ ∑ τ, X.jetDeg τ) * (l * Y.auxPair.b.1 u) * multiplierRatio σ (onHom (s := X.auxPair.signs) (s' := 1) (1, 1, h)).2 * Y.trivialLift h (i <| e.symm ·)lemma
Data.lines 52–81argumentPair. log_norm_map_norm_sq_trivialLift For parameters P, admissible data D, a finite index type n and \sigma \inGal(\mathbb{C}/K(P)) there is a real c such that for every pair p of D with H :HasLiftRank(p, n) (|n| = 2z, z \ge 2) there is a real r with -4f \le r, r \le 4f if p is flat (IsFlat(p, n): c_{\tau} = z at every \tau), and \log |\sigma(\lVerttrivialLift(H, 1)\rVert^{2})| = c + r + \sum_{\tau}jetSize(D, c_{\tau} - z): the untwisted lift's squared norm, conjugated by \sigma, is c plus a bounded error plus \sum_{\tau}(\log \lambda_{\tau}! - \lambda_{\tau} \log(\Omega /g)) with \lambda_{\tau} = c_{\tau} - z (Data.).jetSize Structured proof, 13 steps Proposition 8.11, p. 22 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartConjugates.lean · lines 52–54 lemma Data.Pair.log_norm_map_norm_sq_trivialLift {P} (D : Data P) n [Fintype n] (σ : Gal(ℂ/K P)) : ∃ c, ∀ (p : D.Pair) (H : p.HasLiftRank n), ∃ r : ℝ, -(4 * D.f) ≤ r ∧ (p.IsFlat n → r ≤ 4 * D.f) ∧ log ‖σ (‖trivialLift H .one‖ ^ 2)‖ = c + r + ∑ τ, D.jetSize (p.c τ - p.z) := bylemma
Data.lines 20–21one-stepcard_Y_le For parameters P, admissible data D and a natural number j \le m (hj): |Y_j| \le n_m, the rank of Y_j (Data.) is at most n(D, m).Y D j The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 20–21 lemma Data.card_Y_le {j} (hj : j ≤ D.m) : Fintype.card (D.Y j) ≤ D.n D.m := by simp [n]; grw [hj]; grindlemma
Data.lines 25–38argumentisHCParam_Y For parameters P and admissible data D: at each infinite place the doubled parameterparamY(D, m) on Y_m has distinct entries, each an entry of twice the Harish-Chandra parameter of the weight (columnsY(D),lastEntry(D, m)):IsHCParam(columnsY(D),lastEntry(D, m),paramY(D, m)).Structured proof, 4 steps Lemma 8.4, p. 19 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 25–26 lemma Data.isHCParam_Y : IsHCParam D.columnsY (D.lastEntry D.m) (D.paramY D.m) := have ⟨k, _⟩ := Nat.exists_eq_add_one.2 D.k_poslemma
Data.line 40one-stepcard_V For P and D: |RowIndex(D) \sqcupFin(t)| = r + t, the rank of V_j.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 40 lemma Data.card_V : Fintype.card (D.RowIndex ⊕ Fin D.t) = D.r + D.t := by simp [↓card_rowIndex]lemma
Data.lines 42–44one-stepcard_filter_basisNumber For P, D, a decidable predicate q on the row indices, natural numbers a, b with q(x) \leftrightarrowbasisNumber(D, x) \in [a, b) (hq) and b \le r (h): the number of x with q(x) is b - a.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 42–44 lemma Data.card_filter_basisNumber {q} [DecidablePred q] a b (hq : ∀ x, q x ↔ ↑(D.basisNumber x) ∈ Ico a b) (h : b ≤ D.r) : #{x | q x} = b - a := by rw [← Nat.card_Ico, card_equiv D.basisNumber _, card_attachFin] <;> grindlemma
Data.lines 46–47one-stepvarsigma_strictAnti For P, D and an infinite place \tau: the row parameter \varsigma(\tau, \cdot) =rowParameter(D, \tau, \cdot) is strictly decreasing.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 46–47 lemma Data.varsigma_strictAnti τ : StrictAnti (D.rowParameter τ) := by grind [strictAnti_nat_of_succ_lt, rowParameter]lemma
Data.lines 49–50one-stepparamW_lt_iff For P, D, an infinite place \tau and row indices a, b:paramW(D, \tau, a) <paramW(D, \tau, b) if and only ifbasisNumber(D, b) <basisNumber(D, a).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 49–50 lemma Data.paramW_lt_iff τ {a b} : D.paramW τ a < D.paramW τ b ↔ D.basisNumber b < D.basisNumber a := by simp [paramW, (varsigma_strictAnti ..).lt_iff_gt]lemma
Data.lines 53–54one-stepcard_neg_signsW For P, D and 1 \le j \le m: exactly m - j basis indices of W_j have sign -1:negCount(signsW(D, j)) = m - j.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 53–54 lemma Data.card_neg_signsW : negCount (D.signsW j) = D.m - j := by grind [negCount, D.card_filter_basisNumber (D.posRank j) D.r]lemma
Data.lines 58–71argumentfitsParams_auxPair For P, D, a tame character \vartheta and 1 \le j \le m: the doubled parameterparamW(D) on W_j fits the auxiliary pairauxPair(D, \vartheta, j) (AuxPair.): it corresponds toFitsParams paramV, the basis vectors of each sign are numbered by decreasing parameter, and the column numbers k^{+}, k^{-} have lengths at most the numbers of signs.Structured proof, 3 steps Lemma 8.4, p. 19 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 58 lemma Data.fitsParams_auxPair ϑ (j : D.LiftIndex) : (D.auxPair ϑ j).FitsParams D.paramW := bylemma
LevelPlaces.lines 76–82argumentLevelForm. inner_eq_petersson Let E be a field which is a CM number field with a CM type, n a finite index type, s signs, V :Space(E, n, s) a standard space (V., instance i), \kappa, e a weight and l its parameter withIsStd IsHCParam(\kappa, e, l) (h), S level places, H a level and \chi a character. For algebraic forms \varphi, \varphi ' in S.LevelForm(H, \chi, \kappa, e): \langle \varphi, \varphi '\rangle = [K_f :levelOf(H)]\cdot \#WeylIndex(n, \kappa)\cdotpetersson(V,ofAlgForm(l, s, \varphi),ofAlgForm(l, s, \varphi ')): the class-sum inner product is the index of the level times the number of Weyl indices times the Petersson product of the associated functions.Structured proof, 2 steps Lemma 8.5, p. 20 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 76–79 lemma LevelPlaces.LevelForm.inner_eq_petersson {s} (V : Space E n s) {κ e l} [i : V.IsStd] (h : IsHCParam κ e l) {S : LevelPlaces E} {H χ} (φ φ' : S.LevelForm H χ κ e) : inner ℂ φ φ' = (levelOf _ H).relIndex (Kf E n) * Fintype.card (WeylIndex n κ) * V.petersson (ofAlgForm l s φ.1) (ofAlgForm l s φ'.1) := bydef
chosenIndexEmbline 86computationFor a non-empty index type n (Nonempty n, instance h):chosenIndexEmbis an embedding of the one-point set into n chosen once (a choice of one basis index).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 86 noncomputable def chosenIndexEmb [h : Nonempty n] : Unit ↪ n := (h.map .punit).somestructure
LValueDatalines 91–98computationFor a field E which is a CM number field with a CM type and a finite index type n: an element ofLValueData(E, n) consists of level places of E (chosen places M and twist places Q), jet degrees \mathit{dg} (a natural number at each infinite place), a character \mu of U(1)(\mathbb{A}) of weight \tau \mapsto -(\mathit{dg}(\tau) + \lfloor |n|/2\rfloor) with tame part \psi, the condition |n| > 1, and the unramifiedness \psi_{w} = 1 at every finite place w off the places. (The census's lines 91–98 of this structure end with line 98,unseal Finset., which is the prefix of the next declaration,univ in LValueData., not part ofauxPair LValueData.)The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 91 structure LValueData (E n : Type) [Field E] [CMType E] [Fintype n] extends LevelPlaces E whereabbrev
LValueData.lines 101–103computationauxPair For E, n and X :LValueData(E, n):auxPair(X) is the auxiliary pair with the places of X, W = I_{1} the definite line, the embeddingchosenIndexEmbof the one point into n, the weight with one row of length \mathit{dg}(\tau) at each \tau (k^{+} = \mathit{dg} at height 1, k^{-} = 0), the character \mu of X, and the conditions of X.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 101 noncomputable abbrev LValueData.auxPair (X : LValueData E n) := AuxPair.mk _ 1 (stdSpace ..)def
LValueData.lines 110–111computationkernelValue For E with Weil data, n, X :LValueData(E, n), a scale c, a datum f and finite points g of U(1), h of U(n):kernelValue(X, c, f, g, h) =schurJet(\kappa(auxPair(X)),jetSeries(c, \omega((1, g), 1, h)f))\cdot 1, the jets of the one-row weight of X, derivatives scaled by c, of the datum f moved by (g, h) under the Weil action of the kernel ofauxPair(X).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 110 noncomputable def LValueData.kernelValue c f g h :=lemma
LValueData.lines 117–118one-stepisLiftWeight For E, n and X :LValueData(E, n) (no Weil data): the weight ofauxPair(X), with exponents -\mathit{dg} and 0, is a lift weight from the line to n (IsLiftWeight Unit n κ(auxPair X) (−dg) 0).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 117–118 lemma LValueData.isLiftWeight : IsLiftWeight Unit n X.auxPair.κ (-X.jetDeg ·) 0 := by simp_all [IsLiftWeight, FitsRanks, X.one_lt_card, le_of_lt, ne_of_gt]; rflinstance
LValueData.lines 120–121one-stepa_hasWeight (instance) For E with Weil data, n and X: the character a(auxPair(X)) = \upsilon^{\text{negCount}} has weightdetExp(auxPair(X)) and trivial tame part.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 120 instance LValueData.a_hasWeight : X.auxPair.a.HasWeight X.auxPair.detExp 1 :=instance
LValueData.lines 123–124one-stepb_hasWeight (instance) For E with Weil data, n and X: the character b(auxPair(X)) = \mu \cdot \upsilon^{\lfloor |n|/2\rfloor} has weight -\mathit{dg} and the tame part \psi of X.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 123 instance LValueData.b_hasWeight : X.auxPair.b.HasWeight (-X.jetDeg ·) X.ψ :=abbrev
LValueData.lines 128–129computationliftKernel For E with Weil data, n and X:liftKernel(X) is the theta kernelthetaKernelfrom I_{1} to I_n for the weight and characters ofauxPair(X) (a, b with their weights), with scale 1 and level all of U(1)(\mathbb{A}_{f}).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 128 noncomputable abbrev LValueData.liftKernel :=lemma
LValueData.lines 132–133one-stepconjWeylRep_eq_one For E, n, X and a real point x of U(I_{1}):conjWeylRep(\kappa(auxPair(X)), 0, x) = 1 (the Weyl representation of the one-row weight is trivial on the line).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 132–133 @[simp] lemma LValueData.conjWeylRep_eq_one : conjWeylRep X.auxPair.κ 0 x = 1 := by simp_all [conjWeylRep, schur_eq_one]def
LValueData.lines 137–142computationkernelForm For E with Weil data, n, X and a finite point g of U(1):kernelForm(X, g) is the algebraic form h \mapstokernelValue(X, 1, \Upsilon, g, h) on V = I_n (\Upsilon =auxDatum(auxPair(X))), an element ofFormV(auxPair(X)) (its level and automorphy laws come from the transformation of \Upsilon,AuxPair., and from the kernel).pairWeil_upsilon The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 137 noncomputable def LValueData.kernelForm (g : Gf E Unit) : X.auxPair.FormV :=abbrev
LValueData.line 146computationchosenLevel For E with Weil data, n and X:chosenLevel(X) is the principal level on the finite adelic U(1) at the chosen places M of X: the integral elements reducing to 1 at each of these places.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 146 noncomputable abbrev LValueData.chosenLevel := levelOf (n := Unit) X.chosenPlace ⊥def
LValueData.line 150computationtrivialLift For E with Weil data, n and X:trivialLift(X) = \Xi, the lift of the trivial character, is the class sumstdClassSum(chosenLevel(X),kernelForm(X)) of the kernel forms over U(1) at the principal level at the chosen places M.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 150 noncomputable def LValueData.trivialLift := stdClassSum X.chosenLevel X.kernelFormlemma
LValueData.lines 155–159argumentkernelForm_invariant For E with Weil data, n and X: the kernel g \mapstokernelForm(X, g), as a function of the finite point g of U(I_{1}), is invariant on the left under the rational points (stdRatPoints.) and on the right underFixesLeft chosenLevel(X):chosenLevel(X) \lerightStab(kernelForm(X)).Structured proof, 3 steps Lemma 8.6, p. 20 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 155–156 lemma LValueData.kernelForm_invariant : stdRatPoints.FixesLeft X.kernelForm ∧ X.chosenLevel ≤ rightStab X.kernelForm := bylemma
LValueData.lines 161–164argumenttrivialLift_eq_stdClassSum_translate For E with Weil data, n, X and a finite point g of U(I_{1}):trivialLift(X) =stdClassSum(chosenLevel(X), u \mapstokernelForm(X, u\cdot g)).Structured proof, 1 step Lemma 8.6, p. 20 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 161–162 lemma LValueData.trivialLift_eq_stdClassSum_translate g : X.trivialLift = stdClassSum X.chosenLevel (X.kernelForm <| · * g) := by rw [stdClassSum, classSum_eq_relIndex_smul le_rfl g _lemma
LValueData.lines 170–175argumenttoPoly_eq_rename_harmonicPoly For E, n, X (no Weil data) and a coordinate vector \eta of the weight:toPoly(\eta) is the renaming ofharmonicPoly(auxPair(X))(\eta), each variable c sent to the variable with row index (c.1, c.2.1) and column 0.Structured proof, 1 step Lemma 8.7, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 170–171 lemma LValueData.toPoly_eq_rename_harmonicPoly η : toPoly _ _ η = rename (fun c ↦ (⟨c.1, c.2.1⟩, 0)) (X.auxPair.harmonicPoly η) :=lemma
LValueData.lines 178–183argumentharmonicPoly_eq_schurCoeffPoly For E, n, X (no Weil data) and \eta:harmonicPoly(auxPair(X))(\eta) =schurCoeffPoly(\eta \cdotweylGramOver, 1), the Schur coefficient polynomial of the vector \eta times the Weyl \operatorname{Gram} matrix.Structured proof, 2 steps Lemma 8.7, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 178–179 lemma LValueData.harmonicPoly_eq_schurCoeffPoly η : X.auxPair.harmonicPoly η = schurCoeffPoly (η ᵥ* weylGramOver) 1 := funext fun z ↦ bylemma
LValueData.lines 185–190argumenttheta_pairWeil_fockDatum For E with Weil data, n, X, a real point x of U(I_{1}), a vector \eta, a real point y of U(I_n) and finite points g, h: \theta(\omega((x, g), y, h)(fockDatum(auxPair(X), \eta))) =gramForm(\overline{\eta},conjWeylRep(\kappa,detExp, y^{-1})(kernelForm(X, g)(h))).Structured proof, 2 steps Lemma 8.6, p. 20 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 185–187 lemma LValueData.theta_pairWeil_fockDatum η y g h : θ _ (X.auxPair.pairThetaKernel.ω ((x, g), y, h) (X.auxPair.fockDatum η)) = gramForm (star η) (conjWeylRep _ X.auxPair.detExp y⁻¹ (X.kernelForm g h)) := bylemma
LValueData.lines 195–202argumentkernelForm_of_jetDeg_eq_zero For E with Weil data, n, X with all jet degrees zero (k:jetDeg(X) = 0), finite points g, h and an index i:kernelForm(X, g)(h)_{i} =modKernel(I_{1}, I_n, 1, b(auxPair(X)),levelModulus(X, 2),resDetDatum(auxPair(X))(reductions), 1, (1, g), (1, h)): every coordinate is the theta kernel with characters 1 and b, polynomial 1 and the datumresDetDatummodulo M^{2}Q.Structured proof, 3 steps Lemma 8.6, p. 20 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 195–197 lemma LValueData.kernelForm_of_jetDeg_eq_zero g h (k : X.jetDeg = 0) i : X.kernelForm g h i = modKernel (stdSpace ..) (stdSpace ..) 1 X.auxPair.b (X.levelModulus 2) (X.auxPair.resDetDatum fun i ↦ ·.map (levelResidueAt i)) 1 (1, g) (1, h) := bylemma
LValueData.lines 204–206one-steptheta_eq_inner_kernelForm For E with Weil data, n, X, a real point x, an algebraic form y on I_n and a finite point g' of U(I_{1}): \theta(auxPair(X))(y)(x, g') = \langlekernelForm(X, g'), y\rangle.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 204–205 lemma LValueData.theta_eq_inner_kernelForm y g' : X.auxPair.θ y (x, g') = inner ℂ (X.kernelForm g') y := by simp [inner, LevelPlaces.LevelForm.innerAt_eq_stdClassSum,lemma
LValueData.lines 211–213one-stepinner_trivialLift Adjointness: for E with Weil data, n, X, a finite point g of U(I_{1}) and a form y: \langletrivialLift(X), y\rangle =stdClassSum(chosenLevel(X), u \mapsto \theta(auxPair(X))(y)(1, u\cdot g)), the class sum over U(I_{1}) at principal level at M of u \mapsto(\theta y)(1, \mathit{ug}).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 211–212 lemma LValueData.inner_trivialLift g y : inner ℂ X.trivialLift y = stdClassSum X.chosenLevel (X.auxPair.θ y ⟨1, · * g⟩) := by simpa [theta_eq_inner_kernelForm,lemma
LValueData.lines 218–222argumenthookNumber_eq_prod_factorial For E, n and X (no Weil data): the hook constant of the weight ofauxPair(X), in rank |n| at every place, equals \prod_{\tau}(\mathit{dg}(\tau))!:hookNumber(\kappa(auxPair(X)),rankAt(n)) = \prod_{\tau} (jetDeg(X)(\tau))!.Structured proof, 1 step Lemma 8.7, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/AlgebraicPartDefs.lean · lines 218–219 lemma LValueData.hookNumber_eq_prod_factorial : hookNumber X.auxPair.κ (rankAt n) = ∏ τ, (X.jetDeg τ).factorial := by rw [hookNumber, (?_ : highestPoly .. =abbrev
Data.line 227computationPair. HasLiftRank For parameters P, data D, a pair p =(\nu, z) of D and a finite index type n:HasLiftRank(p, n) holds when |n| = 2z and z \ge 2.The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 227 abbrev HasLiftRank {D} (p : @Pair P D) n [Fintype.{0} n] := Fintype.card n = 2 * p.z ∧ 2 ≤ p.zabbrev
Data.line 231computationPair. IsFlat For P, D, a pair p =(\nu, z) of weight -c and a finite index type n:IsFlat(p, n) holds when c(\tau) = z at every infinite place \tau andHasLiftRank(p, n) (|n| = 2z, z \ge 2).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 231 abbrev IsFlat n [Fintype n] := (∀ τ, p.c τ = p.z) ∧ p.HasLiftRank ndef
Data.lines 235–236computationPair. denomBound For P, D and a pair p =(\nu, z) of weight -c:denomBound(p) = g^{2f\cdot 2z}\cdot(g\cdot d)^{\sum_{\tau}(c(\tau) - z)}, a natural number that clears the denominators of the lift \Xi (g =gProd(D), d = d(P), f the number of infinite places).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 235 noncomputable def denomBound := D.gProd ^ (2 * D.f * (2 * p.z)) * (D.gProd * P.d) ^ ∑ τ,abbrev
Data.lines 242–244computationPair. lValueData For P, D, a pair p =(\nu, z) of weight -c, a finite index type n with H :HasLiftRank(p, n) and a tame character \vartheta:lValueData(H, \vartheta) is the L-value data on n with the level places of \vartheta (Data.), the jet degrees c(\tau) - z and the character \nu \cdot \vartheta.levelPlaces The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 242 noncomputable abbrev lValueData := (⟨D.levelPlaces ϑ, (p.c · - p.z), _,def
Data.lines 249–250computationPair. trivialLift For P, D, a pair p, n with H :HasLiftRank(p, n) and a tame character \vartheta:trivialLift(H, \vartheta) =(\kappa_{0}^{|n|}\cdot(\operatorname{conj}(\pi_{g})\cdot \text{per})^{\sum_{\tau}(c(\tau) - z)})\cdottrivialLift(lValueData(H, \vartheta)): the lift \Xi_{\vartheta} of the trivial character from U(1) to U(2z) for \nu \vartheta, scaled (\kappa_{0} =vacuumScale(P, s(D)), \pi_{g} =Data., per =piG jetScale(P, s(D))).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 249 noncomputable def trivialLift := (P.vacuumScale D.s ^ Fintype.card n *def
Data.lines 254–255computationPair. intAlgPart For P, D, a pair p, n with H :HasLiftRank(p, n) and a tame character \vartheta:intAlgPart(H, \vartheta) =chosenGroupOrder(D)\cdotdenomBound(p)^{2}\cdot \lVerttrivialLift(H, \vartheta)\rVert^{2}/levelNorm(\vartheta)^{|n|-1}, the normalised squared norm (levelNorm(\vartheta) the product of the norms of the places of Q).The Lean statement
New/Exchange/AlgebraicPartDefs.lean · line 254 noncomputable def intAlgPart : ℂ := ↑(D.chosenGroupOrder * p.denomBound ^ 2) * ‖trivialLift Hlemma
exists_common_coset_repslines 20–29argumentLet F be a semilocal field with compact open subring O, and b, n finite index types. There are a linear functional \ell on the complex functions on \mathrm{GL}_b(F) and a choice of representatives r_q \in \mathrm{GL}_b(F) of the cosets q \in \mathrm{GL}_b(F)/\mathrm{GL}_b(O) such that: (1) for every finite set t of cosets and every function f with f(r_q) = 0 for all q \notin t, \ell(f) = \sum_{q\in t} f(r_q); and (2) for every n \times b matrix y over F having a left inverse, there is exactly one coset q with y\cdot r_q primitive (IsPrimitiveMatrix O: entries in O and a left inverse with entries in O), and exactly one coset q with y\cdot r_q^{-1} primitive.Structured proof, 1 step Lemma 3.1, p. 12 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/BlockPartners.lean · lines 20–22 lemma exists_common_coset_reps : ∃ (ℓ : (_ → ℂ) →ₗ[ℂ] ℂ) (r : GL b F ⧸ intGL b O → GL b F), (∀ t f, (∀ q, f (r q) ≠ 0 → q ∈ t) → ℓ f = ∑ q ∈ t, f (r q)) ∧ ∀ y : Matrix n b F, HasLeftInv y → (∃! q, IsPrimitiveMatrix O (y * (r q).1)) ∧ ∃! q, IsPrimitiveMatrix O (y * (r q).1⁻¹) := match skolem.1def
localSectionlines 33–34computationFor a semilocal field F, finite index types b, n, a multiplicative character \chi of F and an n \times b matrix y over F,localSection(\chi, y) is the linear functional \Psi \mapsto \ell(g \mapsto \chi(\det g)\cdot \Psi(y\cdot g)) on the complex functions \Psi on n \times b matrices, \ell the functional chosen byexists_common_coset_reps; by its property (1) it is \sum_{q} \chi(\det r_q)\Psi(y\cdot r_q) over the representatives r_q whenever only finitely many terms are non-zero.The Lean statement
New/Exchange/BlockPartners.lean · line 33 def localSection :=def
matchingPairslines 39–41computationFor a semilocal field F, finite index types a, b, n, a multiplicative character \chi of F and an identification e : b \sqcup a \simeq n,matchingPairs(\chi, e) is the space of pairs (\Phi, \Psi) with \Phi a Schwartz–Bruhat function on the a \times n matrices supported on those whose transpose has a left inverse (surjective matrices) and \Psi a Schwartz–Bruhat function on n \times b matrices supported on matrices with a left inverse (injective matrices), such that for every k \in \mathrm{GL}_n(F):localSection(\chi, (invLastRows(e, k))^{\mathsf{T}})(\Phi \circ transpose) = \chi(\det k)\cdotlocalSection(\chi,firstCols(e, k))(\Psi); that is, the \chi(\det)-averages \Phi, \Psi over \mathrm{GL}_a(F), \mathrm{GL}_b(F) satisfy \Phi(x_k) = \chi(\det k)\Psi(y_k), x_k the rows of k^{-1} indexed by a, y_k the columns of k indexed by b.The Lean statement
New/Exchange/BlockPartners.lean · line 39 def matchingPairs := .prod (schwartzBruhat (HasLeftInv ·ᵀ)) (schwartzBruhat HasLeftInv) ⊓lemma
matchingPairs.lines 46–51argumenttranslate_mem Let F be a semilocal field, a, b, n finite index types, \chi a multiplicative character of F and e : b \sqcup a \simeq n. If p =(\Phi, \Psi) lies inmatchingPairs(\chi, e) (h), then for every g \in \mathrm{GL}_n(F) the pair (\chi(\det g)\cdot \Phi(\cdot g), \Psi(g^{-1}\cdot)) also lies inmatchingPairs(\chi, e): matched pairs are stable under the action of \mathrm{GL}_n(F).Structured proof, 1 step Lemma 3.4, p. 13 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/BlockPartners.lean · lines 46–47 lemma matchingPairs.translate_mem {p} (h : p ∈ matchingPairs χ e) (g : GL n F) : (χ g.1.det • (p.1 <| · * g.1), (p.2 <| g⁻¹.1 * ·)) ∈ matchingPairs χ e := ⟨⟨(schwartzBruhatlemma
localSection_of_primitivelines 55–58argumentLet F be a semilocal field, b, n finite index types, \chi a multiplicative character of F and y an n \times b matrix over F with a left inverse (hy). There is g \in \mathrm{GL}_b(F) such that y\cdot g is primitive and, for every function \Psi that vanishes off the primitive matrices,localSection(\chi, y)(\Psi) = \chi(\det g)\cdot \Psi(y\cdot g).Structured proof, 1 step Lemma 3.5, p. 13 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/BlockPartners.lean · lines 55–56 lemma localSection_of_primitive (hy : HasLeftInv y) : ∃ g : GL b F, IsPrimitiveMatrix O (y * g.1) ∧ ∀ Ψ, (∀ x, Ψ x ≠ 0 → IsPrimitiveMatrix O x) → localSection χ y Ψ = χ g.1.det * Ψ (y * g.1) :=lemma
TameLocalChar.lines 60–65argumentisClopen_primitive Let F be a semilocal field, a, b, n finite index types, \chi a multiplicative character of F which is tame (TameLocalChar χ: a finite residue ring R, a surjection O \to R with kernel \varpi O, and a primitive character \eta of R with \eta \circ \pi = \chi^{-1} on units of O and 0 on non-units), and e : b \sqcup a \simeq n. Then the set of primitive n \times a matrices over F is closed and open (clopen).Structured proof, 1 step Lemma 3.6, p. 13 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/BlockPartners.lean · lines 60–61 lemma TameLocalChar.isClopen_primitive (_ : TameLocalChar χ) (e : b ⊕ a ≃ n) : IsClopen {y : Matrix n a F | IsPrimitiveMatrix O y} := ⟨by simpa [Set.image, eq_comm,lemma
matchingPairs.lines 70–89argumentexists_linear_factor Let F be a semilocal field, a, b, n finite index types, \chi a multiplicative character of F which is tame (h\chi), e : b \sqcup a \simeq n, X any type and \Lambda a linear map from complex functions on a \times n matrices to functions X \to \mathbb{C} such that \chi(\det g)\cdot \Lambda(\Phi(g\cdot)) = \Lambda(\Phi) for every g \in \mathrm{GL}_a(F) and every Schwartz–Bruhat \Phi supported on surjective matrices (h\Lambda). Then there is a linear map T from complex functions on n \times b matrices to functions X \to \mathbb{C} with T(\Psi) = \Lambda(\Phi) for every pair (\Phi, \Psi) inmatchingPairs(\chi, e).Structured proof, 11 steps Proposition 3.7, p. 13 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/BlockPartners.lean · lines 70–72 lemma matchingPairs.exists_linear_factor {X} (hχ : TameLocalChar χ) (Λ : _ →ₗ[ℂ] X → ℂ) (hΛ : ∀ g : GL a F, ∀ Φ ∈ schwartzBruhat (HasLeftInv ·ᵀ), χ g.1.det • Λ (Φ <| g.1 * ·) = Λ Φ) : ∃ T : _ →ₗ[ℂ] _, ∀ p ∈ matchingPairs χ e, T p.2 = Λ p.1 := bylemma
partner_blocklines 94–108argumentLet n, a, b be finite index types, R a commutative ring, e : b \sqcup a \simeq n, \chi a multiplicative character of R and f any complex function on a \times b matrices over R. Cut an a \times n matrix x by e into column blocks x =(x_{1} | x_{2}) with x_{2} square (a \times a), and an n \times b matrix y into row blocks y =(y_{1} ; y_{2}) with y_{1} square (b \times b). Then the functions \Phi(x) = \chi^{-1}(\det x_{2})\cdot f(x_{2}^{-1}x_{1}) and \Psi(y) = \chi^{-1}(\det y_{1})\cdot f(-y_{2}y_{1}^{-1}) are partners for \chi over R with respect to e and the whole ring as O (IsPartner ⊤ e χ Φ Ψ): \Phi vanishes off the matricesinvLastRows(e, k), \Psi offfirstCols(e, k), k \in \mathrm{GL}_n(R), and \Phi(invLastRows(e, k)) = \chi(\det k)\cdot \Psi(firstCols(e, k)) for all k.Structured proof, 7 steps Lemma 3.8, p. 14 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/BlockPartners.lean · lines 94–97 lemma partner_block {n a b R} [Fintype n] [Fintype a] [Fintype b] [CommRing R] (e : b ⊕ a ≃ n) (χ : MulChar R ℂ) (f : _ → ℂ) : IsPartner ⊤ e χ (fun x ↦ let x := x.submatrix id e χ⁻¹ x.toCols₂.det * f (x.toCols₂⁻¹ * x.toCols₁)) fun y ↦ let y := y.submatrix e id χ⁻¹ y.toRows₁.det * f (-(y.toRows₂ * y.toRows₁⁻¹))lemma
Data.lines 19–37computationstdLevelIndex_lastResLevel_eq For parameters P and admissible data D there are a number C and an integer k such that for every m-fold twist \vartheta, writing w(n) =triangleOrder(D, false, \vartheta, n):stdLevelIndex(levelOf(lastResLevel(D, \vartheta))) = C\cdot \#(O_E/\mathfrak{m}(D, \vartheta, 0))^{k}\cdotgramFactor(auxPair(D, \vartheta, 1))^{m}\cdot w(m)/(w(0)\cdot w(1)^{m}), wherelastResLevelis the level J_m of the last space of the chain andgramFactorthat of the first auxiliary pair.Structured proof, 7 steps Definition 8.3, p. 19 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/ChainNorms.lean · lines 19–21 lemma stdLevelIndex_lastResLevel_eq : ∃ C, ∃ k : ℤ, ∀ ϑ : D.MFoldTwist, let w := triangleOrder false ϑ; stdLevelIndex (levelOf _ (D.lastResLevel ϑ)) = C * card (D.𝔪 ϑ 0).ResRing ^ k * (D.auxPair ϑ 1).gramFactor ^ D.m * w D.m / (w 0 * w 1 ^ D.m)lemma
Data.lines 42–47argumentinner_iotaAtLevel For P, D, an m-fold twist \vartheta and forms x, y of level g on U(Y_{0}): writing u =weightedChain(triangleOrder(D, false),triLift(D, false), \vartheta, 0, m), the chain of the m weighted lifts Y_{0} \to Y_m of the triangle: \langleiotaAtLevel(D, \vartheta)(x),iotaAtLevel(D, \vartheta)(y)\rangle =stdLevelIndex(levelOf(lastResLevel(D, \vartheta)))\cdot \#WeylIndex(Y(D, m),columnsY(D))\cdot \langle u(x), u(y)\rangle.Structured proof, 3 steps Lemma 9.3, p. 25 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/ChainNorms.lean · lines 42–44 lemma inner_iotaAtLevel x y : let u := weightedChain (D.triangleOrder false) (D.triLift _) ϑ 0 D.m; inner ℂ (D.iotaAtLevel ϑ x) (D.iotaAtLevel ϑ y) = stdLevelIndex (levelOf _ (D.lastResLevel ϑ)) * card (WeylIndex (D.Y D.m) D.columnsY) * inner ℂ (u x.1) (u y.1)lemma
Data.lines 53–55argumentiotaAtLevel_injective For P, D and an m-fold twist \vartheta (a twist whose first m powers are twists): the composite \iota_{\vartheta} =iotaAtLevel(D, \vartheta) of the m theta lifts from U(Y_{0}) to the definite U(Y_m) is injective on forms of principal level g on U(Y_{0}).Structured proof, 1 step Theorem 4, p. 5 of The exchange theorem, one square of lifts, and the triangle of lifts and descents Input 7, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/ChainNorms.lean · line 53 @[simp] lemma iotaAtLevel_injective : Function.Injective (D.iotaAtLevel ϑ) := .of_ker _ fun y e ↦lemma
AuxPair.lines 36–44argumentadjoint_theta_eq_formLift Let E be a field (Field E) which is a CM number field with a CM type (CMType E) and carries Weil data (WeilData E); let r, n be finite index types (Fintype r,Fintype n), r nonempty (Nonempty r), and O :AuxPairE r n an auxiliary pair, with W = W(O) its space of rank |r| and V = I_n the definite space. Let l be a parameter on W that fits O (h :FitsParams(O, l)), let y be a form on W of the type that the statement infers, and let z be an algebraic form on V of the level, character and weight of O (an element ofFormV(O)) such that (a) for every \Xi inFormV(O) the inner product \langle z, \Xi \rangle equals the Petersson productpetersson(W, y, \theta(O)(\Xi)), \theta(O) the class-sum lift from V to W (AuxPair.). Then the function underlying z equalsθ toAlgForm(I_n,isHCParam_paramV(O),formLift(pairThetaKernel(O),typeKernel(l, \cdot), \cdot,fockDatum(O,highestVector(\kappa(O),paramV(O))))(y)): the algebraic form, for the parameterparamV(O), of the theta lift of y to I_n by the datum v_{P_{\xi}} \otimes \Upsilon at the highest vector \xi of the weight of O.Structured proof, 1 step Lemma 8.2, p. 27 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 36–39 lemma AuxPair.adjoint_theta_eq_formLift [Nonempty r] {l} (h : O.FitsParams l) {y : O.W.Form _} {z} (a : ∀ Ξ, inner ℂ z Ξ = O.W.petersson y (O.θ Ξ)) : z.1 = (stdSpace ..).toAlgForm O.isHCParam_paramV (formLift O.pairThetaKernel (typeKernel l _) _ (O.fockDatum (highestVector _ O.paramV)) y) := (h.isEdge.isArrow O.a O.b O.auxDatum.2).elim fun Alemma
AuxPair.lines 49–56argumentlift_auxDatum_eq_lift_modDatum Let E be a field which is a CM number field with a CM type and carries Weil data; let r, n be finite index types and O :AuxPairE r n an auxiliary pair with space W = W(O). Let v be a real datum (a vector of the Fock model at the infinite places) and y a function on U(W)(\mathbb{A}) which is rapidly decreasing and automorphic on W (\mathit{hy} : y \inrapidFunctions(W)) and fixed by the principal level at the chosen places M (h :HasLevel(y,levelOf(chosenPlace(O), \perp)), i.e. by the elements of K_{0} that reduce to 1 at every place of M). Then the theta lift of y bypairThetaKernel(O) with the datumintegrated(v,auxDatum(O)) = v \otimes \Upsilon equals its theta lift with the datummodDatum(\cdot, \cdot, \cdot, \#TwistGL(O, r)\cdotlevelIndicator(O), v), whose real part is v and whose finite part is \#TwistGL(O, r) = \prod_{w\in Q} \#\mathrm{GL}_r(k_w) times the indicatorAuxPair.of O.levelIndicator Structured proof, 2 steps Lemma 8.3, p. 27 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 49–51 lemma AuxPair.lift_auxDatum_eq_lift_modDatum v {y} (hy : y ∈ O.W.rapidFunctions) (h : HasLevel y (levelOf O.chosenPlace ⊥)) : lift O.pairThetaKernel (integrated _ v O.auxDatum) y = lift O.pairThetaKernel (modDatum _ _ _ ((Nat.card (O.TwistGL r) : ℂ) • O.levelIndicator) v) y := bylemma
AuxPair.lines 62–75computationlevelIndicator_support_and_normSq Let E be a field which is a CM number field with a CM type, let r, n be finite index types and O :AuxPairE r n an auxiliary pair; let R = O_E/\mathfrak{m} be the residue ring of the modulus \mathfrak{m} =levelModulus(O, 1), the product of the places of M and Q, and let F = \#TwistGL(O, r)\cdotlevelIndicator(O), a function on n \times r matrices over R (\gamma = \#TwistGL(O, r) = \prod_{w\in Q} \#\mathrm{GL}_r(k_w)). Then (1) for every matrix y with F(y) \ne 0 the rows of y indexed byincl(O) form the identity:inclMatrix(R,incl(O))^{\mathsf{T}}\cdot y = 1; and (2) \sum_{y} |F(y)|^{2} (the product star F \cdot F) equals \gamma^{2}\cdot(\prod_{i} q(twistPlace(O, i)))^{\text{rankDiff}(O)\cdot |r|}, where q(w) is the norm of the place w andrankDiff(O) = |n| - |r|. (No Weil data is assumed.)Structured proof, 4 steps Lemma 8.4, p. 27 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 62–65 lemma AuxPair.levelIndicator_support_and_normSq : let F := (Nat.card (O.TwistGL r) : ℂ) • O.levelIndicator (∀ y, F y ≠ 0 → (inclMatrix (O.levelModulus 1).ResRing O.incl)ᵀ * y = 1) ∧ star F ⬝ᵥ F = Nat.card (O.TwistGL r) ^ 2 * (∏ i, (O.twistPlace i).q) ^ (O.rankDiff * card r)def
AuxPair.lines 79–80computationgramFactor For a field E which is a CM number field with a CM type, carrying Weil data, finite index types r, n and an auxiliary pair O :AuxPairE r n, the complex numbergramFactor(O) = [K_{0} :levelGroup(O)]\cdot \#TwistGL(O, r)^{2}\cdot(\prod_{w} q(twistPlace(O, w)))^{\text{rankDiff}(O)\cdot |r|} / \#\mathrm{GL}_r(O_E/levelModulus(O, 1)): the indexstdLevelIndexof the level group of O (the elements of K_{0} fixing the incl-basis vectors mod M and preserving the span of the others mod Q), times \gamma^{2} with \gamma = \prod_{w\in Q} \#\mathrm{GL}_r(k_w), times the norm of the product of the places of Q to the power (|n| - |r|)\cdot |r|, divided by the number of invertible r \times r matrices over O_E/MQ.The Lean statement
New/Exchange/CharacterLiftNorm.lean · line 79 noncomputable def AuxPair.gramFactor : ℂ := stdLevelIndex O.levelGroup * Nat.card (O.TwistGL r) ^ 2abbrev
Data.lines 84–86computationrallisTerm For parameters P, admissible data D for P, a tame character \vartheta of D, signs s on the row index set and a hermitian space V =Space(E(D),RowIndex(D), s), a natural number j, two forms y', y inprincipalForms(D, V) (forms of parameter \varsigma fixed by the principal level at the chosen places above g) and a coset \gamma of the finite adelic group of rank n' = |Y 1| = r + t modulo the elements integral off the places of \mathfrak{m} = \mathfrak{m}(D, \vartheta, 1) and their conjugates,rallisTerm(D, \vartheta, j, V, y', y, \gamma) iscosetTerm(|Y(D, 1)|, b(auxPair(D, \vartheta, j)), (conjugate closure of the places of \mathfrak{m}(D, \vartheta, 1))^{c}, y', y, \gamma) divided by \#((Y(D, 1) \timesRowIndex(D)) \to O_E/\mathfrak{m}(D, \vartheta, 1)). HerecosetTermis \rho(g)\langle y', R(g)y\rangle for the representative g of \gamma, \rho =vacuumCoeffof rank n' for the character b = \mu_{j}^{0}\vartheta \upsilon^{\lfloor n'/2\rfloor} of the j-th auxiliary pair and R the right translation; the divisor is \#(O_E/\mathfrak{m})^{n'r}.The Lean statement
New/Exchange/CharacterLiftNorm.lean · line 84 noncomputable abbrev Data.rallisTerm j (V : Space _ _ s) (y' y : D.principalForms V) γ :=lemma
Data.lines 91–101argumentexists_isSphericalWith_iota Let P be parameters and D admissible data for P. For every eigensystem p (a complex number p(w, i) for each finite place w of E(D) and each i) there is a family F, assigning to each finite place w a function F(w) : \mathbb{C} \to \mathbb{C}, such that for every form y ineigenPart(D, Y_{0}, p) (forms of principal level g on Y_{0} on which each Hecke elementheckeOperator(D, x) acts by p(x)) and every finite place w withIsSplitOffLevel(D, w) (w split, i.e. \overline{w} \ne w, and neither w nor \overline{w} a chosen place above g), the chain of lifts \iota(1)(y) of y for the trivial twist 1 is spherical at w with Hecke polynomial F(w):IsSphericalWith(rightRegular, \overline{w} \ne w, F(w), \iota(1)(y)), i.e. it is fixed by the maximal compact subgroups at w and \overline{w} and the Hecke polynomial operator at each X acts on it by F(w)(X).Structured proof, 6 steps Lemma 8.6, p. 28 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower Input 7, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 91–92 lemma Data.exists_isSphericalWith_iota p : ∃ F : _ → _, ∀ y ∈ D.eigenPart _ p, ∀ w (h : D.IsSplitOffLevel w), IsSphericalWith (rightRegular ..) h.1 (F w) (D.ι .one y).1 := bylemma
Data.lines 105–106one-stepinner_auxLift Let P be parameters, D admissible data for P, \vartheta a tame character of D and j a lift index (1 \le j \le m). For every form y of principal level g on W_j (y \inprincipalForms(D,spaceW(D, j))) and every algebraic form \Xi on V_j of the level of the j-th auxiliary pair (\Xi \inFormV(auxPair(D, \vartheta, j))): \langleauxLift(D, \vartheta, j)(y), \Xi \rangle =petersson(spaceW(D, j), y, \theta(auxPair(D, \vartheta, j))(\Xi)); that is, the class-sum inner product of \theta_{j}^{\ast}y with \Xi is the Petersson product on W_j of y with the theta lift \theta \Xi for the pair (W_j, V_j).The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 105–106 lemma Data.inner_auxLift y Ξ : inner ℂ (D.auxLift ϑ j y) Ξ = (D.spaceW j).petersson y ((D.auxPair ϑ j).θ Ξ) := (exists_theta_to_principalForms ..).choose_spec j.2 Ξ ▸ LinearMap.adjoint_inner_left ..lemma
Data.lines 113–132argumentauxLift_injective_and_hasSum_inner Let P be parameters, D admissible data for P and j a lift index (1 \le j \le m). There is a complex number A \ne 0 such that for every tame character \vartheta of D: the adjoint liftauxLift(D, \vartheta, j) (\theta_{j}^{\ast}, from forms of parameter \varsigma and principal level g on W_j to algebraic forms on V_j) is injective, and for all forms x, y inprincipalForms(D,spaceW(D, j)) the series over the cosets \gamma of A\cdotgramFactor(auxPair(D, \vartheta, j))\cdotrallisTerm(D, \vartheta, j,spaceW(D, j), x, y, \gamma) has sum \langleauxLift(D, \vartheta, j)(x),auxLift(D, \vartheta, j)(y)\rangle (HasSum). The constant A does not depend on \vartheta.Structured proof, 9 steps Theorem 4, p. 4 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 113–115 lemma Data.auxLift_injective_and_hasSum_inner : ∃ A ≠ 0, ∀ ϑ, Injective (D.auxLift ϑ j) ∧ ∀ x y, HasSum (A * (D.auxPair ϑ j).gramFactor * D.rallisTerm ϑ j _ x y ·) (inner ℂ (D.auxLift ϑ j x) (D.auxLift ϑ j y)) := bylemma
Data.lines 137–143argumentlifts_auxLift Let P be parameters, D admissible data for P, \vartheta a tame character of D and j a lift index (1 \le j \le m). Let p be an eigensystem and y a form ineigenPart(D,spaceW(D, j), p) (principal level g on W_j, eachheckeOperator(D, x) acting by p(x)). ThenLifts(auxPair(D, \vartheta, j),auxLift(D, \vartheta, j)(y), (w, i) \mapsto p(w, i)): at every finite place w with \overline{w} \ne w and w off the places of the auxiliary pair (and their conjugates), \theta_{j}^{\ast}y is spherical with Hecke polynomial T \mapstotrivialHecke(q_w, n - r, \nu(w)T)\cdotheckePolyEval(r, w, p(w, \cdot), q_w^{n-r}\nu(w)T/\nu '(w)), where r, n are the ranks of W_j, V_j and \nu, \nu ' the Frobenius values (AutChar.) of the characters a, b of the pair; equivalently \prod_{l<n-r}(1 - q^{l+r/2}\chi_{W}(w)X)\cdot P(q^{(n-r)/2}\chi_{W}\chi_{V}^{-1}(w)X) for the Hecke polynomial P of y at w.frobValue Structured proof, 1 step Lemma 8.8, p. 29 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower Input 7, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 137–138 lemma Data.lifts_auxLift {p y} (hy : y ∈ D.eigenPart _ p) : (D.auxPair ϑ j).Lifts (D.auxLift ϑ j y) (p ⟨·, ·⟩) := fun w hw hS ↦ adjoint_theta_eq_formLift _ (D.fitsParams_auxPair ϑ j)lemma
Data.lines 147–148restatementauxLift_injective Let P be parameters, D admissible data for P, \vartheta a tame character of D and j a lift index (1 \le j \le m). The adjoint liftauxLift(D, \vartheta, j) (\theta_{j}^{\ast}, from the forms of parameter \varsigma and principal level g on W_j to the algebraic forms on V_j) is injective. (The first half ofData..)auxLift_injective_and_hasSum_inner Corollary 8.9, p. 29 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower Input 7, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/CharacterLiftNorm.lean · line 147 lemma Data.auxLift_injective : Injective (D.auxLift ϑ j) :=lemma
Data.lines 152–158argumentauxLift_principalRep Let P be parameters, D admissible data for P, \vartheta a tame character of D and j a lift index (1 \le j \le m). For every s in the group \prod_{w} \mathrm{GL}_r(k_w) over the chosen places w above g (s \in G(D)) and every form y of principal level on W_j:auxLift(D, \vartheta, j)(principalRep(D,spaceW(D, j))(s)(y)) =formAction(auxPair(D, \vartheta, j))(s)(auxLift(D, \vartheta, j)(y)); \theta_{j}^{\ast} intertwines the representationData.on forms on W_j withprincipalRep AuxPair.(s acting by \prod \psi_{w}(\det s_w) times translation by \operatorname{diag}(s, 1)) on forms on V_j.formAction Structured proof, 1 step Lemma 8.10, p. 29 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower Input 7, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 152–153 lemma Data.auxLift_principalRep s y : D.auxLift ϑ j (D.principalRep _ s y) = (D.auxPair ϑ j).formAction s (D.auxLift ϑ j y) := ext_inner_right ℂlemma
LValueData.lines 174–184argumentauxPair_lifts_trivialLift Let E be a field which is a CM number field with a CM type and carries Weil data, n a finite index type and X :LValueDataE n L-value data. ThenLifts(auxPair(X),trivialLift(X), 1): the lift \Xi =trivialLift(X) of the trivial character from U(1) to U(I_n) lifts the constant system 1, i.e. at every finite place w with \overline{w} \ne w and w off the places of X and their conjugates, \Xi is spherical with Hecke polynomial T \mapstotrivialHecke(q_w, |n| - 1, \alpha(w)T)\cdotheckePolyEval(1, w, 1, q_w^{|n|-1}\alpha(w)T/\beta(w)), that is \prod_{l<|n|-1}(1 - q^{l} \alpha T)\cdot(1 - q^{|n|-1}\alpha \beta^{-1}T), where \alpha, \beta are the Frobenius values (AutChar.) of the characters a, b offrobValue auxPair(X) in ranks 1 and |n|.Structured proof, 5 steps Lemma 8.11, p. 29 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/CharacterLiftNorm.lean · line 174 lemma LValueData.auxPair_lifts_trivialLift : X.auxPair.Lifts X.trivialLift 1 := fun _ hw h ↦ bylemma
LValueData.lines 191–252argumentinner_trivialLift_self_eq_L Let E be a field which is a CM number field with a CM type and carries Weil data, n a finite index type, X :LValueDataE n L-value data and k a natural number with 2k = |n| (hM) and k > 1 (hk), so |n| \ge 4 is even. Put C = \operatorname{vol}([U(I_n)])\cdot \operatorname{vol}([U(I_{1})]) /eulerProd(realZetaCoeff, |n|/2), the volumes being the total masses of the quotient measures and the Euler product that of the coefficientsrealZetaCoeff. Then C \ne 0, and \langle \Xi, \Xi \rangle for \Xi =trivialLift(X) equals C\cdot \prod_{i}(q(chosenPlace(X, i)) - 1)\cdothookNumber(\kappa(auxPair(X)),rankAt(n))\cdot \#WeylIndex(n, \kappa(auxPair(X)))\cdot L(\mu(X)^{-1},places(X), k)\cdot(\prod_{i} q(twistPlace(X, i)))^{|n|-1}, where L(\mu^{-1}, S, k) =AutChar.is the partial Hecke L-value L^{S\cup \overline{S}}(k, BC(\mu^{-1})) of the base change x \mapsto \mu^{-1}(x/\overline{x}) to the ideles of E, without the Euler factors at the places of X and at their conjugates (L AutCharLFunction.48–50); the product over the chosen places is the number d attached to the weight's level; C does not depend on X (only on E and n).lean Structured proof, 28 steps Theorem 5, p. 5 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/CharacterLiftNorm.lean · lines 191–195 lemma LValueData.inner_trivialLift_self_eq_L {k} (hM : 2 * k = card n) (hk : 1 < k) : let C := (stdSpace E n).quotMeasure.real ⊤ * (stdSpace E Unit).quotMeasure.real ⊤ / eulerProd (K := E) realZetaCoeff (card n / 2 :); C ≠ 0 ∧ inner ℂ X.trivialLift X.trivialLift = C * (∏ i, ((X.chosenPlace i).q - 1) :) * hookNumber X.auxPair.κ (rankAt n) * card (WeylIndex n X.auxPair.κ) * X.μ⁻¹.L X.places k * (∏ i, (X.twistPlace i).q :) ^ (card n - 1)def
Data.lines 17–18computationCostsSquares For parameters P, admissible data D, a natural number n and a complex function c on the m-fold twists of D:CostsSquares(D, n, c) ("c costs n squares") holds when for every fit family \theta of twists (Data., indexed by \iota : \mathbb{C} \simeq \overline{\mathbb{Q}}_{\ell}) the family \iota \mapsto |c(\theta(\iota))/c(1)|^{-2} has height at most n\cdot(2t\cdot x^{999}) (IsFitFamily D θ HeightLe).The Lean statement
New/Exchange/CostOfSquares.lean · line 17 def CostsSquares := ∀ θ, D.IsFitFamily θ → HeightLe (n * (2 * D.t * D.x ^ 999)) fun ι ↦lemma
Data.lines 22–24one-stepCostsSquares. mul Costs add in products: for P, D and functions c, c' on twists withCostsSquares(D, n, c) (h) andCostsSquares(D, n', c') (h'), and n + n' \le N (e):CostsSquares(D, N, c\cdot c').The Lean statement
New/Exchange/CostOfSquares.lean · lines 22–23 lemma CostsSquares.mul (h : D.CostsSquares n c) (h' : D.CostsSquares n' c') (e : n + n' ≤ N) : D.CostsSquares N (c * c')lemma
Data.lines 28–29one-stepcard_𝔪 For P, D, a natural number e and a tame character \vartheta: the residue ring of the modulus \mathfrak{m}(D, \vartheta, e) = M^{e}\cdot Q has (\prod_{i} q(chosen(D, i)))^{e}\cdotlevelNorm(\vartheta) elements, the product over the chosen places above g.The Lean statement
New/Exchange/CostOfSquares.lean · line 28 lemma card_𝔪 e ϑ : card (D.𝔪 ϑ e).ResRing = (∏ i, (D.chosen i).q) ^ e * ϑ.levelNorm := bylemma
Data.lines 33–36argumentCostsSquares. of_norm_sq_eq_mul_card_zpow For P, D, a function c on m-fold twists, a natural number e, a real C and an integer k: if |c(\vartheta)|^{2} = C\cdot \#(O_E/\mathfrak{m}(D, \vartheta, e))^{k} for every m-fold twist \vartheta (h), then c costs 0 squares:CostsSquares(D, 0, c).Structured proof, 2 steps Lemma 7.2, p. 17 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CostOfSquares.lean · lines 33–34 lemma CostsSquares.of_norm_sq_eq_mul_card_zpow e C (k : ℤ) (h : ∀ ϑ, ‖c ϑ‖ ^ 2 = C * card (D.𝔪 ϑ e).ResRing ^ k) : D.CostsSquares 0 clemma
Data.line 38one-stepCostsSquares. one For P and D: the constant function 1 costs 0 squares:CostsSquares(D, 0, 1).The Lean statement
New/Exchange/CostOfSquares.lean · line 38 lemma CostsSquares.one : D.CostsSquares 0 1 := .of_norm_sq_eq_mul_card_zpow 0 1 0 (by simp)lemma
Data.lines 42–49argumentisPrimitiveMulChar_of_isTameFor For P, D, a tame character \vartheta, a character \nu, weights \gamma and a multiplicative character \chi of O_E/\mathfrak{m}(D, \vartheta, 1): if \nu is tame for the squarefree modulus \mathfrak{m}(D, \vartheta, 1) with character \chi (IsTameFor(\mathfrak{m}(D, \vartheta, 1), \nu, \gamma, \chi)), then \chi is primitive: for each a \ne 0 in O_E/\mathfrak{m} some \chi(1 + c\cdot a) is neither 0 nor 1.Structured proof, 2 steps Lemma 7.2, p. 17 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CostOfSquares.lean · line 42 lemma isPrimitiveMulChar_of_isTameFor {ϑ ν γ χ} : IsTameFor (D.𝔪 ϑ 1) ν γ χ → IsPrimitiveMulChar χlemma
Data.lines 54–63argumentexists_isTameFor_costsSquares_one Let P, D, p =(\nu, z) a pair ramified exactly at the chosen places (r:Data.), e \ge 1 (Pair. IsRamified NeZero e) and 1 \le n \le m. Then (1) for every m-fold twist \vartheta, (\nu \cdot \vartheta^{n})^{-1} is tame for the modulus \mathfrak{m}(D, \vartheta, e) = M^{e}\cdot Q(\vartheta) with weights c(p) and character (charOfTamePart(\psi_{p}\cdot \psi_{\vartheta}^{n}))^{-1}; and (2) every c with |c(\vartheta)|^{2} = C\cdotlValueProd(places(\mathfrak{m}(D, \vartheta, e)), (\nu \cdot \vartheta^{n})^{-1}, z) for all \vartheta costs one square:CostsSquares(D, 1, c).Structured proof, 1 step Lemma 7.2, p. 17 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CostOfSquares.lean · lines 54–58 lemma exists_isTameFor_costsSquares_one (p : D.Pair) (r : p.IsRamified) e [NeZero e] (n : D.LiftIndex) : (∀ ϑ : D.MFoldTwist, IsTameFor (D.𝔪 ϑ e) (p.ν * ϑ.toAutChar ^ n.1)⁻¹ (p.c ·) (charOfTamePart _ (p.ψ * ϑ.ψ ^ n.1))⁻¹) ∧ ∀ {c C}, (∀ ϑ : D.MFoldTwist, ‖c ϑ‖ ^ 2 = C * lValueProd (D.𝔪 ϑ e).places (p.ν * ϑ.toAutChar ^ n.1)⁻¹ p.z) → D.CostsSquares 1 c := ⟨fun ϑ ↦ by simpa [Pi.neg_def] using! (isTameFor_of_hasWeightlemma
Data.lines 28–31argumentisLiftWeight_kappa For P, D and a natural number j: the weight \kappa(D) goes up from X_j to X_{j+1} (IsLiftWeight (X j) (X (j+1)) κ (τ ↦ ⌊|X_{j+1}|/2⌋ − w_{j+1}(τ)) (lastEntry j)): |X_j| < |X_{j+1}|, \kappa has no column of height strictly between them, andlastEntry(D, j) at \tau is \lfloor |X_{j+1}|/2\rfloor - w_{j+1}(\tau) + \kappa(\tau, |X_j|).Structured proof, 1 step Lemma 10.2, p. 27 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CrudeModularData.lean · lines 28–29 lemma Data.isLiftWeight_kappa (j : ℕ) : IsLiftWeight (D.X j) (D.X (j + 1)) D.κ ((Fintype.card (D.X (j + 1)) / 2 : ℕ) - D.w (j + 1) ·) (D.lastEntry j) := ⟨fun _ ↦ ⟨by grind, fun h ↦ byabbrev
Data.line 35computationhomX For P, D and j:homX(D, j) is the hermitian space \operatorname{Hom}(X_j, X_{j+1}) of the standard definite spaces on the index sets X_j and X_{j+1}.The Lean statement
New/Exchange/CrudeModularData.lean · line 35 abbrev Data.homX (j : ℕ) := (stdSpace D.E (D.X j)).hom (stdSpace _ (D.X (j + 1)))def
Data.lines 40–44computationliftKernel For P, D, a tame character \vartheta and j:liftKernel(D, \vartheta, j) is the theta kernel of lift j + 1, from forms on X_j to forms on X_{j+1} at the levelscolumnLevel(D, j), for the character \mu_{j+1} twisted by \vartheta^{j+1} (chainChar), with scale \operatorname{conj}(\pi_{g})\cdotjetScale(P, s(D)).The Lean statement
New/Exchange/CrudeModularData.lean · lines 40–41 @[simps! -isSimp ω] def Data.liftKernel (j : ℕ) : Kernel _ (D.X (j + 1)) D.κ (D.lastEntry j) (D.lastEntry (j + 1)) (D.columnLevel j) (D.homX j).finitePart := byabbrev
Data.line 48computationTranslations For P and D:Translations(D) is the type of tuples (x_j) of finite adelic matrices x_j with rows X_{j+1} and columns X_j, the translations that define the data of a chain.The Lean statement
New/Exchange/CrudeModularData.lean · line 48 abbrev Data.Translations := ∀ j, D.X (j + 1) × D.X j → 𝔸f D.Edef
Data.lines 52–53computationtranslateDatum For P, D, a tuple x of translations and j:translateDatum(D, x, j) is the normalised vacuumintVacuumof \operatorname{Hom}(X_j, X_{j+1}) translated by the finite Heisenberg operator of x_j.The Lean statement
New/Exchange/CrudeModularData.lean · line 52 def Data.translateDatum (x : D.Translations) j :=abbrev
Data.lines 57–58computationchainComb For P, D, a tame character \vartheta, a finitely supported function \Psi on translation tuples, data \Phi(x, \cdot) and j:chainComb(D, \vartheta, \Psi, \Phi, j) = \sum_{x} \Psi(x)\cdotchain(liftKernel(D, \vartheta), \Phi(x), j), the linear map from smooth forms of stage 0 to stage j combining the chains of j theta lifts with the data \Phi(x).The Lean statement
New/Exchange/CrudeModularData.lean · line 57 abbrev Data.chainComb (Ψ : D.Translations →₀ ℂ) (Φ : _ → ∀ _, _) j := Ψ.sum fun x ↦def
Data.line 62computationBμ For P, D, a tame character \vartheta and \Psi: B\mu(D, \vartheta, \Psi) is the map from columns to algebraic forms on Y_m: the combinationchainComb(D, \vartheta, \Psi,translateDatum, m) of chains of m lifts with the data of the translations, restricted to the columns and followed by the restrictionrestrictToY(D).The Lean statement
New/Exchange/CrudeModularData.lean · line 62 def Data.Bμ Ψ := D.restrictToY ∘ₗ chainComb ϑ Ψ translateDatum _ ∘ₗ D.Column.subtypelemma
span_piGBarlines 66–70argumentFor parameters P and admissible data D: the ideal of \mathcal{O}_{E} generated bypiGBar(D), the complex conjugate ofpiG(D), is the product, over i = 0, 1, of the prime idealschosen(D, i) containing it and g_i.Structured proof, 1 step Lemma 10.2, p. 27 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CrudeModularData.lean · line 66 lemma span_piGBar (D : Data P) : .span {D.piGBar} = ∏ i, (D.chosen i).1 := bydef
Data.line 73computationinducedPlace For P, D, a prime p with a chosen embedding \iota : \mathbb{C} \to \mathbb{C}_{p}, and an infinite place \sigma:inducedPlace(D, \sigma) is the prime of E above p induced by the embedding \iota \circ \sigma of E into \mathbb{C}_{p} (placeOfEmb).The Lean statement
New/Exchange/CrudeModularData.lean · line 73 def Data.inducedPlace := placeOfEmb (ιₚ.comp (Φ σ))structure
Data.lines 77–81computationIsMarked For P, D, a prime p with a chosen embedding \iota : \mathbb{C} \to \mathbb{C}_{p} and a finite set \Lambda of finite places:IsMarked(D, \Lambda) holds when \Lambda is disjoint from its conjugate (no l \in \Lambda has \overline{l} \in \Lambda), \Lambda non-empty implies that p is served (Data.), every l \in \Lambda isIsServed p inducedPlace(D, \tau) for a top \tau, and p < x_{1} is non-split in K (Data.).IsSmallNonsplit p The Lean statement
New/Exchange/CrudeModularData.lean · line 77 structure Data.IsMarked wherestructure
Data.lines 85–86computationIsFullMark For P, D, p with a chosen embedding and \Lambda:IsFullMark(D, \Lambda) holds whenIsMarked(D, \Lambda) and for each top \tau, \Lambda containsinducedPlace(D, \tau) or its conjugate.The Lean statement
New/Exchange/CrudeModularData.lean · line 85 structure Data.IsFullMark extends D.IsMarked Λ whereabbrev
Data.lines 90–91computationintegralColumns For P and D:integralColumns(D) is the O_{\iota}-module of integral columns, the forms \varphi inColumn(D) whose value \varphi(g) has gauge (weylGauge) at most 1 at every g (integralFormsAt (Column D) 1, pulled back along the inclusion).The Lean statement
New/Exchange/CrudeModularData.lean · line 90 abbrev Data.integralColumns :=abbrev
Data.line 95computationevenPlaces For P, D, a prime p with a chosen embedding and a finite set \Lambda:evenPlaces(D, \Lambda) is the set of infinite places \sigma of E whose induced primeinducedPlace(D, \sigma) lies in \Lambda.The Lean statement
New/Exchange/CrudeModularData.lean · line 95 abbrev Data.evenPlaces : Finset D.Φ := {σ | inducedPlace σ ∈ Λ}def
Data.line 98computationmarkExponent For P, D, a prime p with a chosen embedding and a finite place l:markExponent(D, l) = a\cdot \#\{\tau \intops(D) |inducedPlace(D, \tau) = l\}.The Lean statement
New/Exchange/CrudeModularData.lean · line 98 def Data.markExponent l := D.a * #{τ ∈ D.tops | inducedPlace τ = l}def
Data.line 102computationlowColumns For P, D, j and an infinite place \tau:lowColumns(D, j, \tau) = \sum_{h < n_{j+1}, h \ne 1} \kappa_{\tau}(h), the number of columns at \tau of height below n_{j+1} and different from 1.The Lean statement
New/Exchange/CrudeModularData.lean · line 102 def Data.lowColumns j τ := ∑ h ∈ range (D.n (j + 1)), ite (h = 1) 0 (D.κ τ h)def
Data.line 106computationlowBoxes For P, D, j and \tau:lowBoxes(D, j, \tau) = \sum_{h < n_{j+1}, h \ne 1} h\cdot \kappa_{\tau}(h), the number of boxes in the columns counted bylowColumns(D, j, \tau).The Lean statement
New/Exchange/CrudeModularData.lean · line 106 def Data.lowBoxes j τ := ∑ h ∈ range (D.n (j + 1)), h * ite (h = 1) 0 (D.κ τ h)lemma
Modulus.lines 111–113one-stepcard_resRing_le For P, s, a modulus \mathfrak{m} of E(P, s) and a natural number k > 0 (p) lying in the ideal of \mathfrak{m} (h): \#(O_E/\mathfrak{m}) \le k^{2\cdot(\text{number} \mathit{of} \text{infinite} \text{places} \mathit{of} E(P, s))}.The Lean statement
New/Exchange/CrudeModularData.lean · lines 111–112 lemma Modulus.card_resRing_le {k : ℕ} (h : ↑k ∈ 𝔪.ideal) (p : 0 < k) : .card 𝔪.ResRing ≤ k ^ (2 * numInfPlaces (P.E s)) :=lemma
Parameters.lines 121–128argumentsmul_vacuumDatum_mem_standardData For P, s, finite n, n', a modulus \mathfrak{m} of E(P, s), a function \Psi on n' \times n matrices over O_E/\mathfrak{m}, natural numbers N, q and a prime l with a chosen embedding: if q\cdot N \in \mathfrak{m} (hd), every value of \Psi is integral away from q (h\Psi) and l is coprime to q (hl), then N^{2f\cdot |n'\times n|}\cdot \kappa_{0}^{|n'\times n|}\cdotvacuumDatum(I_n, I_{n'}, \mathfrak{m}, \Psi) lies instandardData(\cdot, N) (f the number of infinite places, \kappa_{0} =vacuumScale(P, s)).Structured proof, 1 step Lemma 10.2, p. 27 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CrudeModularData.lean · lines 121–124 lemma Parameters.smul_vacuumDatum_mem_standardData {N q l : ℕ} [Fact l.Prime] [PadicPlace l] (hd : ↑(q * N) ∈ 𝔪.ideal) (hΨ : ∀ x, Ψ x ∈ integralAway q) (hl : l.Coprime q) : ((N ^ (2 * numInfPlaces (P.E s) * Fintype.card (n' × n)) : ℕ) : ℂ) • P.vacuumScale s ^ Fintype.card (n' × n) • (vacuumDatum (stdSpace ..) (stdSpace ..) 𝔪 Ψ).1 ∈ standardData _ N := bylemma
Parameters.lines 133–139argumentisAdmissibleComb_vacuumDatum For P, s, finite n, n', a modulus \mathfrak{m}, a function \Psi on n' \times n matrices over O_E/\mathfrak{m} and a real M with |\sigma(\Psi(x))| \le M for every automorphism \sigma of \mathbb{C} and every x (hM): \kappa_{0}^{|n'\times n|}\cdotvacuumDatum(I_n, I_{n'}, \mathfrak{m}, \Psi) is an admissible combination of the finite Heisenberg translates of the integral vacuum (IsAdmissibleComb), with total modulus of coefficients at most \#(n' \times n \to O_E/\mathfrak{m})\cdot M under every automorphism.Structured proof, 2 steps Lemma 10.2, p. 27 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/CrudeModularData.lean · lines 133–136 lemma Parameters.isAdmissibleComb_vacuumDatum M (hM : ∀ (σ : ℂ ≃+* ℂ) x, ‖σ (Ψ x)‖ ≤ M) : IsAdmissibleComb (Space.finHeisOp _ · (intVacuum _)) .univ 0 0 True (Fintype.card (n' × n → 𝔪.ResRing) * M) (P.vacuumScale s ^ Fintype.card (n' × n) • (vacuumDatum (stdSpace ..) (stdSpace ..) 𝔪 Ψ).1) := bylemma
Data.lines 23–40argumentexists_isTidy_integral_eq_gridPeriod For parameters P and admissible data D there are: a family \Phi of data (\Phi(\vartheta) \inGridDatum(\vartheta)) with \Phi(\vartheta) tidy of order 4m onpath(0) for every m-fold twist \vartheta; a real point g; \alpha \in \mathbb{C}; and a linear map r fromgridLevelForms(D, m) onto the forms of principal level on Y_{0} (r surjective, free of \vartheta), such that for every m-fold twist \vartheta, every form \Xi and every \varphi \ingridLevelForms(D, m):stdLevelIndex(levelY(D, \vartheta, m))\cdot \int \Xi(x)\cdotliftChainY(D, \vartheta, m)(r(\varphi))(x) \mathit{dx} = \alpha \cdotgridPeriod(\Phi, (\vartheta, \Xi, \varphi), 0 \le m, g), the integral over the quotient of the space Y_m; i\cdot \int \Xi \cdotlift(r\varphi) = \alpha \cdot(grid period), i = [K_{0} :levelY(\vartheta, m)], lift the composite of the m mapsliftY(\vartheta).Structured proof, 7 steps Theorem 3, p. 3 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · lines 23–26 lemma Data.exists_isTidy_integral_eq_gridPeriod : ∃ Φ, (∀ ϑ, IsTidy (4 * D.m) (D.path 0) (Φ ϑ)) ∧ ∃ g α, ∃ r : D.gridLevelForms D.m →ₗ[ℂ] _, r.range = ⊤ ∧ ∀ (ϑ : D.MFoldTwist) Ξ φ, stdLevelIndex (D.levelY ϑ D.m) * ∫ x, Ξ x * D.liftChainY ϑ _ (r φ) x ∂(spaceY ..).quotMeasure = α * gridPeriod Φ (ϑ, Ξ, φ) zero_le g := bydef
Data.lines 44–47computationHasRoute For parameters P, admissible data D, i \le m (h), j \le m (h') and a natural number k:HasRoute(D, h, h', k) holds when there is a function d of the m-fold twists to \mathbb{C}^{\times} costing k squares (Data.) such that for every n and every family \Lambda with \Lambda(\vartheta) tidy of order n onCostsSquares D k d path(i) for all \vartheta, there is a family \Phi with \Phi(\vartheta) tidy of order n + k onpath(j) for all \vartheta and: for every function T of the triples, if for every g there is \beta withgridPeriod(\Phi, x, h', g) = \beta \cdot T(x) for all x, then for every g there is \beta withgridPeriod(\Lambda, x, h, g) = \beta \cdot T(x)/d(\vartheta(x)) for all x.Definition 4.3, p. 11 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · line 44 def Data.HasRoute {i j} (h : i ≤ D.m) (h' : j ≤ D.m) k := ∃ d : _ → ℂˣ, D.CostsSquares k (d ·) ∧ ∀ nlemma
Data.lines 52–104argumenthasRoute_succ For parameters P, admissible data D and j < m (h):HasRoute(D, j \le m, j + 1 \le m, 4j + 2): tidy data of order n onpath(j) give tidy data of order n + 4j + 2 onpath(j + 1), and if the new periods are constant multiples of T, the old are constant multiples of T/d.Structured proof, 24 steps Theorem 2$'$, p. 2 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · line 52 lemma Data.hasRoute_succ {j} (h : j < D.m) : D.HasRoute (j := j + 1) h.le h (4 * j + 2) := bylemma
Data.lines 109–116argumentgridPeriod_climb For parameters P, admissible data D and j \le m (h):HasRoute(D, 0 \le m, j \le m, 2j^{2}): tidy data of order n onpath(0) give tidy data of order n + 2j^{2} onpath(j), and if the new periods are multiples of T, the old are multiples of T/d.Structured proof, 4 steps Theorem 2, p. 2 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · line 109 lemma Data.gridPeriod_climb {j} (h : j ≤ D.m) : D.HasRoute zero_le h (2 * j * j) := bylemma
Data.lines 120–151argumentexists_mul_endPeriod_mem_embValRing For parameters P and admissible data D there is a natural number N \ne 0 with N \le \exp(x^{99}\cdot b^{2}) such that for every m-fold twist \vartheta, order n, datum \Lambda tidy of order n onpath(m), pair y of forms withFixedByEndLevels(\vartheta, y), prime p with a p-adic place (Fact p.,Prime PadicPlace p) and p coprime to the norm of the modulus of \vartheta, and such that the Weyl gauges of the values of the algebraic forms of y are at most 1 (p-integral forms): N\cdotendPeriod(\Lambda, y) lies in the valuation ringembValRing(is p-integral).Structured proof, 10 steps Theorem 4, p. 3 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · lines 120–123 lemma Data.exists_mul_endPeriod_mem_embValRing : ∃ N ≠ (0 : ℕ), N ≤ exp (D.x ^ 99 * D.b ^ 2) ∧ ∀ {ϑ n} {Λ : GridDatum ϑ} {y p} [Fact p.Prime] [PadicPlace p], IsTidy n (D.path D.m) Λ → FixedByEndLevels ϑ y → p.Coprime ϑ.levelNorm → (∀ z g, weylGauge _ (endDetExp z 0) g ((D.endToAlgForm z (y z)).1 g) ≤ 1) → N * endPeriod Λ y ∈ embValRing :=lemma
Data.lines 156–184argumentendPeriod_le For parameters P and admissible data D, at the trivial twist 1 only: let \Lambda \inGridDatum(1) be tidy of order 4m + 2m^{2} onpath(m) (h), y a pair of forms withFixedByEndLevels(1, y) (hy), \sigma an automorphism of \mathbb{C} and B a real function of the grids such that the squared Weyl norms of the \sigma-conjugates of the values of the algebraic forms of y(z) are at most B(z) (k). Then \lVert \sigma(endPeriod(\Lambda, y))\rVert \le \exp(x^{200}\cdot b^{2})\cdot \sqrt{B}(false)\cdot \sqrt{B}(true).Structured proof, 15 steps Theorem 4, p. 3 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · lines 156–159 lemma Data.endPeriod_le {Λ : GridDatum 1} {y} (h : IsTidy (4 * D.m + 2 * D.m * D.m) (D.path D.m) Λ) (hy : FixedByEndLevels 1 y) (σ : ℂ ≃+* ℂ) {B : _ → ℝ} (k : ∀ z g, weylNormSq (σ ∘ (D.endToAlgForm z (y z)).1 g) ≤ B z) : ‖σ (endPeriod Λ y)‖ ≤ exp (D.x ^ 200 * D.b ^ 2) * √(B false) * √(B true) := bylemma
Data.lines 191–247argumentcrude_rows Crude rows: integral twisted lifts and bounded conjugates. For parameters P and admissible data D there is a function c of the m-fold twists to \mathbb{C}^{\times} costing 2m^{2} squares (Data.) such that the forms y of level K(g) on Y_{0} satisfying (1) for every m-fold twist \vartheta, prime l (CostsSquares D (2m²) c Fact l.), l-adic place \iota (an embedding of \mathbb{C} into \mathbb{C}_{l},Prime PadicPlace l) and l coprime to the norm of the modulus of \vartheta: (c(\vartheta)/c(1))\cdotiotaAtLevel(D, \vartheta)(y) lies in the l-integral forms (LevelPlaces.); and (2) for every automorphism \sigma of \mathbb{C} and point g:LevelForm. integralForms weylNormSq(\sigma \circ(\iota(1)(y))(g)) \le \exp(x_{1}^{2}\cdot b^{2}), span the whole space (the span is \top).Structured proof, 27 steps Theorem 1, p. 2 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/CrudeRows.lean · lines 191–194 lemma Data.crude_rows : ∃ c : _ → ℂˣ, D.CostsSquares (2 * D.m * D.m) (c ·) ∧ span ℂ {y | (∀ ϑ l [Fact l.Prime] ι, l.Coprime ϑ.levelNorm → (c ϑ / c 1 : ℂ) • D.iotaAtLevel ϑ y ∈ LevelPlaces.LevelForm.integralForms (l := l) ι) ∧ ∀ (σ : ℂ ≃+* ℂ) g, weylNormSq (σ ∘ (D.ι .one y).1 g) ≤ exp (D.x₁ ^ 2 * D.b ^ 2)} = ⊤ := byabbrev
posCoordMatrixlines 27–28computationFor a field E which is a CM number field with a CM type and carries Weil data, finite index types n, r, signs s on n and t on r, an n \times r adelic matrix F and a vector u of the Fock model of \operatorname{Hom}(W, V) (real coordinates indexed by (infinite place, index pair)):posCoordMatrix(s, t, F, u) is, at each infinite place, the square matrix \zeta \cdot F with \zeta the matrix of the coordinates of P_{+}u, P_{+} =posProjof the real signshomSigns(s, t) (the coordinates that join lines of equal sign), read at the real places (atRealPlace).The Lean statement
New/Exchange/DeterminantVectors.lean · line 27 abbrev posCoordMatrix u :=def
detVectorFnlines 32–33computationFor E as above, finite n, r, signs s, t, a natural number k, natural numbers m(w) at the infinite places, c \in \mathbb{C}, an n \times r adelic matrix F and a vector u:detVectorFn(s, t, k, m, c, F, u) = c\cdotvac(u)\cdot \operatorname{conj}(\prod_{w} \det_{+}(M_w)^{m(w)}\cdot \det_{-}(M_w)^{m(w)+2k}), where M =posCoordMatrix(s, t, F, u), \det_{+}, \det_{-} are the principal minors of M_w on the indices with t = 1 and t = -1, andvac(u) is the Gaussian (the real vacuum) at u.The Lean statement
New/Exchange/DeterminantVectors.lean · line 32 def detVectorFn u := c * realVac u * star (∏ w, let M := posCoordMatrix s t F u wdef
detVectorslines 41–42computationFor E as above, finite n, r, signs s, t (implicit) and natural numbers k, m(w):detVectors(k, m) is the set of determinant vectors, the vectors v of the Fock spacePairFock(E, s, t) which are rapid and equal to the function u \mapstodetVectorFn(s, t, k, m, c, F, u) for some constant c \in \mathbb{C} and some n \times r adelic matrix F.The Lean statement
New/Exchange/DeterminantVectors.lean · line 41 def detVectors k m :=lemma
frameAt_real_unitarylines 45–50argumentLet E be a field which is a CM number field with a CM type (no Weil data); n, n', r finite index types, signs s on n and s' on n', W :Space(E, n, s), W' :Space(E, n', s') and D a splitting of W over W' along r. Let t be signs and suppose D is adapted at 1 with t (h :IsAdapted(D, 1, t)). For every infinite place w, the real frame matrix P = (frameAt(D, 1, t)) at w is unitary (P^{*}P = 1 and PP^{*} = 1) and \operatorname{diag}(s)\cdot P = P\cdot B, where B is the block matrix with blocks (0 1; 1 0) on r \sqcup r and \operatorname{diag}(s') on n'.Structured proof, 4 steps Lemma 7.2, p. 25 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/DeterminantVectors.lean · lines 45–47 lemma frameAt_real_unitary {t} (h : D.IsAdapted 1 t) w : let P := atRealPlace (D.frameAt 1 t) w; (Pᴴ * P = 1 ∧ P * Pᴴ = 1) ∧ signMatrix s * P = P * fromBlocks (n := r ⊕ r) (fromBlocks 0 1 1 0) 0 0 (signMatrix s')lemma
posProj_eqlines 53–54one-stepFor a finite index type n and signs s : n \to \{\pm 1\}:posProj(s) = \tfrac12 \cdot(1 + \operatorname{diag}(s)), the projection onto the coordinates of positive sign.The Lean statement
New/Exchange/DeterminantVectors.lean · lines 53–54 lemma posProj_eq : posProj s = (2⁻¹ : ℂ) • (1 + signMatrix s) := by rw [signMatrix_eq_posProj_sub]; modulelemma
PositivePart.lines 59–83argumentexists_slice_eq Let E be a field which is a CM number field with a CM type and carries Weil data; n, n', r finite index types; signs s, s'; W :Space(E, n, s), W' :Space(E, n', s') and D a splitting of W over W' along r, adapted at 1 with signs t (h). For all a and u (vectors of coordinates) there is U with P_{+}(s)\cdot U = L\cdot(-a) + I\cdot P_{+}(s')\cdot u + K\cdot(-a) (L, I, K the blocks of the mixed model of h, P_{+} the projections to positive coordinates) such that for every polynomial P in the positive coordinates, with v the Fock vector of P renamed into all coordinates: (slice(h, a, v))(u) = v(U).Structured proof, 9 steps Lemma 7.3, p. 25 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/DeterminantVectors.lean · lines 59–62 lemma PositivePart.exists_slice_eq {t} (h : D.IsAdapted 1 t) a u : ∃ U, posProj (realSigns E s) *ᵥ U = h.mixedModel.L *ᵥ -a + h.mixedModel.I *ᵥ posProj (realSigns E s') *ᵥ u + h.mixedModel.K *ᵥ -a ∧ ∀ P, let v := polyVector _ (rename (@Subtype.val _ (realSigns E s · = 1)) P); h.mixedModel.slice a v u = v Ulemma
surjOn_cone_integral_detVectorslines 88–144argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, n', r, r' finite index types; signs s, t on n, r and s', t' on n', r'; natural numbers k and m(w); W :Space(E, n, s), W' :Space(E, n', s'), V :Space(E, r, t), V' :Space(E, r', t'); A a base-adapted splitting of W' over W along one line and X a base-adapted splitting of V' over V along one line (so W', V' are W, V plus a hyperbolic plane). Let \beta be a parameter and z a real number with z \ge 1 (hz), and suppose \mathit{rk} W' = 2(k +negCount(s')) (hn). Then the cone integral at z with weights k + m, v' \mapsto \int \intconeIntegrand(A, X, k + m, \beta, z, v', p) d(Haar \times Haar)(p), is surjective fromdetVectors(k, m) (for (s', t')) ontodetVectors(k, m) (for (s, t)) in the sense ofSet.: every determinant vector v of the smaller pair is the cone integral of some determinant vector v' of the larger pair (the direction used when planes are removed). It is not asserted that the cone integral maps every determinant vector v' into the determinant vectors of the smaller pair (noSurjOn MapsTo).Structured proof, 25 steps Proposition 7.4, p. 25 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/DeterminantVectors.lean · lines 88–90 lemma surjOn_cone_integral_detVectors β z (hz : 1 ≤ z) (hn : card n' = 2 * (k + negCount s')) : (detVectors k m).SurjOn (∫ p, coneIntegrand A X (k + m ·) β z · p ∂.prod .haar .haar) (detVectors k m) :=lemma
exists_isBaseAdaptedlines 24–29argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, r, p finite index types, s signs on n, W :Space(E, n, s), and t signs on r with |r| = |n| + 2|p| (h) andnegCount(t) = |p| +negCount(s) (h'). There are a space W' :Space(E, r, t) and a base-adapted splitting A of W' over W along p (W' is W plus |p| hyperbolic planes).Structured proof, 1 step Lemma 4.3, p. 12 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/EqualRankValue.lean · lines 24–25 lemma exists_isBaseAdapted t (h : card r = card n + 2 * card p) (h' : negCount t = card p + negCount s) : ∃ (W' : Space E r t) (A : W'.Splitting W p), IsBaseAdapted A :=lemma
slice_zero_congrlines 31–33one-stepLet E, n, n', r, p, b, s, s', u, W, W', U and a base-adapted splitting A of W' over W along p be as in the section, and let B be another base-adapted splitting of W' over W along r whose frame k is that of A reindexed by e and whose embedding i is that of A (k). ThenrealSlice(A, U, 0) =realSlice(B, U, 0): the slices at 0 agree.The Lean statement
New/Exchange/EqualRankValue.lean · lines 31–32 lemma slice_zero_congr {B : W'.Splitting W r} {e} (k : B.k = A.k.submatrix id e ∧ B.i = A.i) [IsBaseAdapted B] : realSlice A U 0 = realSlice B U 0 := by simp [realSlice, ← Pi.zero_def,lemma
slice_zero_complines 35–39argumentLet E, n, n', r, r', p, b and signs s, s', t', u be as in the section; W, W', U, V'; A a base-adapted splitting of W' over W along p and B a base-adapted splitting of W over V' along r. For every real datum y:realSlice(A\circ B, U, 0, y) =realSlice(B, U, 0,realSlice(A, U, 0, y)): the slice at 0 for the composite splitting is the slice for B of the slice for A.Structured proof, 1 step Lemma 4.3, p. 12 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/EqualRankValue.lean · lines 35–36 lemma slice_zero_comp [IsBaseAdapted B] y : realSlice (A.comp B) U 0 y = realSlice B U 0 (realSlice A U 0 y) := eq_of_integrated_zeroTerm_eq (isAdapted_homSource ..) fun _ ↦lemma
exists_stdExchange_removing_planeslines 44–87argumentDescent. Let E be a field which is a CM number field with a CM type and carries Weil data; n, n', r, r', p, b finite index types with p non-empty; signs s, s', t, t', u; W :Space(E, n, s) of even rank (\mathit{hn}: 2 divides |n|), W' :Space(E, n', s'), U :Space(E, b, u), V' :Space(E, r', t'); A a base-adapted splitting of W' over W along p; \mu weights, \ell a real function of split tame characters, k, j natural numbers, V :Space(E, r, t) withnegCount(t') = |p| +negCount(t) (hs), and \sigma, \sigma ' identifications for standard row data. There is a map f on real data such that (1) for all x, y:StdExchange(W', V', U, \mu, \sigma ', x, y, \ell) impliesStdExchange(W, V, U, \mu, \sigma, f(x),realSlice(A, U, 0, y), \ell); and (2) if |n| = 2(k +negCount(s)), |n'| = 2(k +negCount(s')) and \mu = k + j(\cdot), then f mapsdetVectors(k, j) ontodetVectors(k, j).Structured proof, 20 steps Proposition 4.4, p. 12 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/EqualRankValue.lean · lines 44–48 lemma exists_stdExchange_removing_planes [Nonempty p] μ {ℓ} k j (V : Space E r t) σ σ' (hs : negCount t' = card p + negCount t) (hn : 2 ∣ card n) : ∃ f : _ → _, (∀ x y, StdExchange W' V' U μ σ' x y ℓ → StdExchange W V U μ σ (f x) (realSlice A U 0 y) ℓ) ∧ (card n = 2 * (k + negCount s) → card n' = 2 * (k + negCount s') → μ = ((k : ℤ) + j ·) → (detVectors k j).SurjOn f (detVectors k j)) := bylemma
exchange_of_partnerslines 97–141argumentExchange with implicit constant. Let E be a field which is a CM number field with a CM type and carries Weil data; n, m, r, p, b finite index types with p non-empty; signs s, s', t, u; W :Space(E, n, s), X :Space(E, m, s'), U :Space(E, b, u); \mu weights; A a base-adapted splitting ofhypSum(Unit, X) (X plus one hyperbolic plane) over W along p; V :Space(E, r, t); \sigma : b \sqcup r \simeq n; z, y rapid real data (r_{1}, \mathit{hy}); 1 +negCount(s') = |p| +negCount(t) +negCount(u) (\mathit{hs}, by default proved by simp) and |n| even (\mathit{hn}, by default proved by simp). There are a real C and a rapid real datum v such that every split tame character \mathfrak{c} of weight \mu, with \gamma =rankTwist(\nu_{\mathfrak{c}}^{-1}, n), has c \in \mathbb{C} with C\cdot |c|^{2} =lValueProdInt(\mathfrak{c}, |r| - |n|/2)\cdotequalRankThetaRatio(hypSum(Unit, X), \mathfrak{c}, z) and, for all partners \Phi, \Psi for \chi_{\mathfrak{c}} over O with respect to \sigma with \Psi locally constant and every point g:thetaIntegral(W, V, \gamma, 1,localDatum(W, V, v, \Phi,readsAt(\mathfrak{c})))(g) = c\cdot \int_{[U(U)]}pairTheta(U, W, \gamma, \gamma,localDatum(U, W, y, \Psi,readsAt(\mathfrak{c})), (h, g)) \mathit{dh}.Structured proof, 14 steps Proposition 4.5, p. 13 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/EqualRankValue.lean · lines 97–105 lemma exchange_of_partners {E} [Field E] [CMType E] [WeilData E] {n m r p b} [Fintype n] [Fintype m] [Fintype r] [Fintype p] [Fintype b] {s s' t u} {W : Space E n s} {X : Space E m s'} (U : Space E b u) μ [Nonempty p] (A : (hypSum Unit X).Splitting W p) [IsBaseAdapted A] (V : Space E r t) (σ : b ⊕ r ≃ n) {z y} (r₁ : IsRapidDatum z) (hy : IsRapidDatum y) (hs : 1 + negCount s' = card p + negCount t + negCount u := by simp) (hn : 2 ∣ card n := by simp) : ∃ C v, IsRapidDatum v ∧ ∀ 𝔠 : SplitTameChar E μ, let γ := rankTwist 𝔠.ν⁻¹ n; ∃ c, C * ‖c‖ ^ 2 = lValueProdInt 𝔠 (card r - card n / 2) * equalRankThetaRatio (hypSum Unit X) 𝔠 z ∧ ∀ Φ Ψ, IsLocallyConstant Ψ → IsPartner SemilocalField.O σ 𝔠.χ Φ Ψ → ∀ g, thetaIntegral W V γ 1 (localDatum W V v Φ 𝔠.readsAt) g = c * ∫ h, pairTheta U W γ γ (localDatum U W y Ψ 𝔠.readsAt) (h, g) ∂U.quotMeasurelemma
name_vacElem_of_isEmptylines 146–149computationLet E be a field which is a CM number field with a CM type and carries Weil data, n an empty finite index type (IsEmpty n), s signs, W :Space(E, n, s), \mu weights, \mathfrak{c} a split tame character of weight \mu and \Phi a complex function on (empty) matrices. Then the vector named by \Phi at the places of \mathfrak{c} is \Phi(0) times the vacuum:name(W, S, \Phi, vac) = \Phi(0)\cdot \text{vac}.Structured proof, 2 steps Lemma 4.3, p. 12 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/EqualRankValue.lean · lines 146–147 lemma name_vacElem_of_isEmpty [IsEmpty n] (𝔠 : SplitTameChar E μ) Φ : W.name 𝔠.S Φ W.vacElem = Φ 0 • W.vacElem := bylemma
exists_equalRankThetaRatio_valuelines 160–209argumentLet E be a field which is a CM number field with a CM type and carries Weil data, n a finite index type, s signs, W :Space(E, n, s), \mu weights and k a natural number with |n| = 2k + 2\cdotnegCount(s) (hk) and k \le \mu(v) at every infinite place v (hm). There are a rapid real datum v and a constant C \ne 0 such thatequalRankThetaRatio(hypSum(Unit, W), \mathfrak{c}, v) = C for every split tame character \mathfrak{c} of weight \mu.Structured proof, 23 steps Proposition 4.6, p. 14 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/EqualRankValue.lean · lines 160–162 lemma exists_equalRankThetaRatio_value k (hk : card n = 2 * k + 2 * negCount s) (hm : ∀ v, k ≤ μ v) : ∃ v, IsRapidDatum v ∧ ∃ C ≠ 0, ∀ 𝔠 : SplitTameChar E μ, equalRankThetaRatio (hypSum Unit W) 𝔠 v = C := byabbrev
thetaSmalllines 17–18computationFor a field E which is a CM number field with a CM type and carries Weil data, finite index types n, a, signs s, t, weights \mu, hermitian spaces W :Space(E, n, s), V :Space(E, a, t), a split tame character \mathfrak{c} of weight \mu, a real datum v and a complex function \Psi on matrices:thetaSmall(W, V, \mathfrak{c}, v, \Psi) is the theta integral over [U(V)], a function on U(W)(\mathbb{A}), of the pair (W, V) with the charactersrankTwist(\nu, n) = \nu \cdot \upsilon^{\lfloor |n|/2\rfloor} and \upsilon^{|a|} (\upsilon the splitting character of the Weil data) and the datumlocalDatum(W, V, v, y \mapsto \Psi(y^{\mathsf{T}}), \overline{r}): real part v, finite part the function y \mapsto \Psi(y^{\mathsf{T}}) of the components at the places conjugate to S (read through conjugation, \overline{r} =readsAt(\mathfrak{c}) conjugated), and the vacuum at the other finite places.The Lean statement
New/Exchange/ExchangeDifference.lean · line 17 noncomputable abbrev thetaSmall v (Ψ : _ → ℂ) :=lemma
exists_isEquivariantLiftlines 26–60argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, a, b finite index types; W :Space(E, n, s) of even rank (\mathit{hn}: 2 divides |n|), V :Space(E, a, t), V' :Space(E, b, t') hermitian spaces; \mathfrak{c} a split tame character of weight \mu, with places S and local character \chi_{\mathfrak{c}} at S; \sigma : b \sqcup a \simeq n; v, v' rapid real data (\mathit{hv}, \mathit{hv}': all weighted norms finite,IsRapidDatum); and c \in \mathbb{C}. There are a space M of complex functions on n \times b matrices over the local product at S and a linear map \mathcal{D} from such functions to functions on U(W)(\mathbb{A}) such that (1) M, \mathcal{D} form an equivariant lift for \mathfrak{c}, W and the local character \rho =localChar(S, \upsilon^{|b|}, |b|)^{-1} (IsEquivariantLift 𝔠 W ρ M 𝒟: M consists of Schwartz–Bruhat functions supported on matrices with a left inverse; each \mathcal{D}\Psi, \Psi \in M, is an automorphic function on U(W); for every finite adelic g supported at S, the translate \Phi = \Psi((g_S)\cdot) lies in M and \mathcal{D}\Phi(x g) = \rho(\det g_S)\cdot \mathcal{D}\Psi(x) for all x; and \mathcal{D}\Psi is invariant under the elements of K_f trivial at S); and (2) for all partners \Phi, \Psi for \chi_{\mathfrak{c}} over O with respect to \sigma (IsPartner O σ χ_𝔠 Φ Ψ) with \Psi locally constant: \Psi \in M and \mathcal{D}(\Psi) =thetaLarge(W, V, \mathfrak{c}, v, \Phi) - c\cdotthetaSmall(W, V', \mathfrak{c}, v', \Psi).Structured proof, 14 steps Proposition 4.2, p. 17 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/ExchangeDifference.lean · lines 26–29 lemma exists_isEquivariantLift σ (hn : 2 ∣ card n) {v v'} (hv : IsRapidDatum v) (hv' : IsRapidDatum v') (c : ℂ) : ∃ M 𝒟, IsEquivariantLift 𝔠 W (localChar _ (υ ^ card b) (card b))⁻¹ M 𝒟 ∧ ∀ {Φ Ψ}, IsLocallyConstant Ψ → IsPartner O σ 𝔠.χ Φ Ψ → Ψ ∈ M ∧ 𝒟 Ψ = thetaLarge W V 𝔠 v Φ - c • thetaSmall W V' 𝔠 v' Ψ := bylemma
exchange_theoremlines 16–46argumentExchange theorem. Let E be a field which is a CM number field with a CM type and carries Weil data; n, a, b finite index types with signs s, t, t'; W :Space(E, n, s), V :Space(E, a, t), V' :Space(E, b, t'); \sigma : b \sqcup a \simeq n (so \mathit{rk} W = \mathit{rk} V + \mathit{rk} V'); supposenegCount(s) =negCount(t) +negCount(t') (hs), |a| = |b| + 2e for a natural number e (he), 2\cdotnegCount(s) + 2 \le |n| (hn); let \mu be weights with |n| \le 2\mu(v) + 2\cdotnegCount(s) at every infinite place v (h\mu), and v a rapid real datum (hv). There are a real C and a rapid real datum x such that for every modulus \mathfrak{m}, character \nu of U(1)(\mathbb{A}), and multiplicative character \chi of O_E/\mathfrak{m} withIsTameFor(\mathfrak{m}, \nu, \mu, \chi) (\mathfrak{m} \ne (1); \nu of weight \mu with tame part non-trivial exactly at the places of \mathfrak{m}; \chi the product of its local tame parts), writing \gamma =rankTwist(\nu^{-1}, n) = \nu^{-1}\upsilon^{\lfloor |n|/2\rfloor}: there is c \ne 0 with |c|^{2} = C\cdotlValueProd(places(\mathfrak{m}), \nu, e) = C\cdot(\prod_{w\in S} Nw)^{e^{2}}\cdot \prod_{j=1}^{e} |L^{S\cup \overline{S}}(j, BC \nu)|^{2}, S =places(\mathfrak{m}), where L^{S\cup \overline{S}}(\cdot, BC \nu) = \nu.L(S, \cdot) is the Hecke L-function of the base change x \mapsto \nu(x/\overline{x}) without the Euler factors at S and at the conjugate places (both products are 1 when e = 0), such that for all partners \Phi, \Psi for \chi over O_E/\mathfrak{m} with respect to \sigma (IsPartner ⊤ σ χ Φ Ψ) and every point g:thetaIntegral(W, V, \gamma, 1,modDatum(W, V, \mathfrak{m}, \Phi, x))(g) = c\cdot \int_{[U(V')]}pairTheta(V', W, \gamma, \gamma,modDatum(V', W, \mathfrak{m}, \Psi, v), (h, g)) \mathit{dh}. C and x are chosen once, before the triple (\mathfrak{m}, \nu, \chi); c depends on the triple only, and serves all partners and all g; only |c|^{2} is specified. Here |n| = 2|b| + 2e.Structured proof, 15 steps Theorem 1, p. 3 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/ExchangeTheorem.lean · lines 16–21 lemma exchange_theorem σ (hs : negCount s = negCount t + negCount t') {e} (he : card a = card b + 2 * e) (hn : 2 * negCount s + 2 ≤ card n) {μ : _ → ℤ} (hμ : ∀ v, card n ≤ 2 * μ v + 2 * negCount s) {v} (hv : IsRapidDatum v) : ∃ C x, IsRapidDatum x ∧ ∀ 𝔪 ν χ, IsTameFor 𝔪 ν μ χ → let γ := rankTwist ν⁻¹ n; ∃ c ≠ 0, ‖c‖ ^ 2 = C * lValueProd 𝔪.places ν e ∧ ∀ Φ Ψ, IsPartner ⊤ σ χ Φ Ψ → ∀ g, thetaIntegral W V γ 1 (modDatum W V 𝔪 Φ x) g = c * ∫ h, pairTheta V' W γ γ (modDatum _ W 𝔪 Ψ v) (h, g) ∂V'.quotMeasureinstance
(anonymous)lines 15–18computationInstance: for parameters P, data D and an m-fold twist \vartheta, the reductionreduceToTriangle(\vartheta, false) from the residue ring ofgridModulus(\vartheta) = O_E/\mathfrak{b}Q to that oftriangleModulus(false, \vartheta) = O_E/MQ is a local ring homomorphism: an element whose image is a unit is a unit (\mathfrak{b} and M have the same prime factors, the chosen places above g).The Lean statement
New/Exchange/GridFirstColumns.lean · line 15 instance : IsLocalHom (reduceToTriangle ϑ false) :=lemma
Data.lines 22–30argumenttriangleOrder_eq_mul_levelIndex Let P be parameters, D admissible data and j a natural number. There is C \in \mathbb{C} such that for every m-fold twist \vartheta:triangleOrder(D, false, \vartheta, j) = C\cdotlevelIndex(\vartheta, false, 0, j); the order of \mathrm{GL} over the residue ring oftriangleModulus(false, \vartheta), of the rank of the node (0, j) of the grid V, is C times the index of the levelnodeLevel(\vartheta, (false, 0, j)), with C independent of \vartheta.Structured proof, 1 step Lemma 6.1, p. 13 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 22–23 lemma triangleOrder_eq_mul_levelIndex j : ∃ C, ∀ ϑ, D.triangleOrder false ϑ j = C * levelIndex ϑ false 0 j := ⟨(card (D.triangleModulus false 1).ResRing / cardlemma
Data.lines 35–42argumentdiagonalPeriodForm_formRep Let P be parameters, D admissible data, \vartheta an m-fold twist, j a natural number with h : j \le m and g a real point. For every finite point u of U(V_{j,j}), every form y at node (j, j) of the grid V and every form \varphi at node (j, j) of the grid Z:diagonalPeriodForm(\vartheta, h, g)(formRep(u)(y),formRep(U.block(gridDiagEquiv(D, j))(u, 1))(\varphi)) =diagonalPeriodForm(\vartheta, h, g)(y, \varphi): the period is unchanged when y is translated by u and \varphi by u \oplus 1.Structured proof, 3 steps Lemma 6.2, p. 13 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 35–36 lemma diagonalPeriodForm_formRep {j h g} u y φ : diagonalPeriodForm ϑ h g (formRep _ _ u y) (formRep _ _ (U.block (D.gridDiagEquiv j) (u, 1)) φ) = diagonalPeriodForm ϑ h g y φ := bylemma
Data.lines 47–70argumentexists_restrict_bordered Let P be parameters, D admissible data and g a real point. There is a linear map r fromgridLevelForms(D, 0) (forms of principal levelgridLevelGenon Z_{0,0} = Y_{0} \oplus \langle 1\rangle) to the forms on Y_{0} (the spacegridSpace(0, false, 0, 0)) of levelchosenLevel= K(g_{0}g_{1}) such that for every \varphi \ingridLevelForms(D, 0), every m-fold twist \vartheta and every form y on Y_{0} of principal level at the places oflevelPlaces(D, \vartheta) (fixed bylevelOf(placeAt, \perp)):petersson(Y_{0}, y, r(\varphi)) =diagonalPeriodForm(\vartheta, 0 \le m, g)(\operatorname{conj}(y), \varphi), i.e. \langle y, r\varphi \rangle = \int \overline{y}(x)\cdot \varphi((x \oplus 1)g) \mathit{dx}.Structured proof, 10 steps Lemma 6.4, p. 15 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 47–50 lemma exists_restrict_bordered g : ∃ r : D.gridLevelForms 0 →ₗ[ℂ] levelSpace ((gridSpace ..).formRep (D.gridKernel false 0 0 false)) chosenLevel, ∀ φ (ϑ : D.MFoldTwist), ∀ y ∈ levelSpace (formRep ..) (levelOf (D.levelPlaces ϑ).placeAt ⊥), (gridSpace ..).petersson y (r φ) = diagonalPeriodForm ϑ zero_le g (conjForm (isConjKernelPair_gridKernel (by simp) false).2 y) φ := bylemma
Data.lines 79–92argumentformRep_legDescents_tupleAction Let P be parameters, D admissible data, \vartheta an m-fold twist and g a family of invertible matrices at the nodes with g(z, 0, m) = 1 for both grids (h). Let z be a grid, b a natural number, S a tuple, F a form at node (0, m) of grid z, and k \in K_{0} with reduction modulogridModulus(\vartheta) equal to g(z, 0, b) (e) and k = 1 if b = m (n). ThenformRep(k)(legDescents(tupleAction(g, S), z, b)(F)) =edgeCharProd(g,legEdges(z, b))\cdotlegDescents(S, z, b)(F): k translates the descent for the moved tuple to that for S, times the edge character product over its edges.Structured proof, 8 steps Lemma 6.2, p. 13 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 79–81 lemma formRep_legDescents_tupleAction {z b} S F k (e : g (z, 0, b) = (gridModulus ϑ).reductionK₀ k) (n : b = D.m → k = 1 := by simp [m_eq_two_mul_varrho_add_two]) : formRep _ _ k.1 (legDescents (tupleAction g S) z b F) = edgeCharProd g (D.legEdges z b) • legDescents S z b F := bylemma
Data.lines 97–106argumentdiagonalPeriodForm_tupleAction Let P be parameters, D admissible data, \vartheta an m-fold twist and g a family at the nodes with g(z, 0, m) = 1 for both grids (h) and g(true, 0, 0) =blockInlGL(gridDiagEquiv(D, 0), g(false, 0, 0)) (k). For a real point r, forms \Xi, \varphi at the nodes (0, m) of the grids V and Z and a tuple S:diagonalPeriodForm(\vartheta, 0 \le m, r)(legDescents(tupleAction(g, S), false, 0)(\Xi),legDescents(tupleAction(g, S), true, 0)(\varphi)) =edgeCharProd(g,path(0))\cdotdiagonalPeriodForm(\vartheta, 0 \le m, r)(legDescents(S, false, 0)(\Xi),legDescents(S, true, 0)(\varphi)).Structured proof, 3 steps Lemma 6.2, p. 13 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 97–100 lemma diagonalPeriodForm_tupleAction (h : ∀ z, g (z, 0, D.m) = 1) (k : g (true, 0, 0) = blockInlGL (D.gridDiagEquiv 0) (g (_, 0, 0))) r Ξ φ S : diagonalPeriodForm ϑ zero_le r (legDescents (tupleAction g S) _ 0 Ξ) (legDescents (tupleAction g S) _ 0 φ) = edgeCharProd g (D.path 0) * diagonalPeriodForm ϑ zero_le r (legDescents S _ 0 Ξ) (legDescents S _ 0 φ) := bylemma
Data.lines 110–134argumentgridPeriod_eq_endPeriod Let P be parameters, D' admissible data, \Lambda a family of data (\Lambda(\vartheta) \inGridDatum(\vartheta)) and g a real point. There is \beta \in \mathbb{C} such that for every triple x =(\vartheta, \Xi, \varphi):gridPeriod(\Lambda, x, m \le m, g) = \beta \cdotendPeriod(\Lambda(\vartheta), (\Xi, \varphi)) (the pair of forms read as the function on the two grids).Structured proof, 10 steps Lemma 7.2, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 110–111 lemma gridPeriod_eq_endPeriod Λ g : ∃ β, ∀ x, D'.gridPeriod Λ x le_rfl g = β * endPeriod (Λ x.1) (·.rec x.2.1 x.2.2) := bylemma
Data.lines 138–193argumentendPeriod_mem Let P be parameters, D admissible data, \vartheta an m-fold twist, n a natural number and \Lambda \inGridDatum(\vartheta) tidy of order n onpath(m) (h\Lambda); y a pair of forms at the nodes (0, m) withFixedByEndLevels(\vartheta, y) (hy); S a predicate S(z, j, g, v) on grids, indices, points and vectors; F a normed field, \sigma : \mathbb{C} \to F a ring homomorphism, M \in \mathbb{C} and R \in \mathbb{R}. Assume (\mathit{hs}) S is preserved by the kernels: for every tuple x, grid z, j < m, points g, h and vector v, S(z, j, g, v) implies S(z, j + 1, h,jetMatrix(endKernel(\vartheta, z, j))(\omega(g, h)(endDatum(x, z, j)))\cdot v); (hB) S holds at the start: S(z, 0, g,endToAlgForm(z)(y(z))(g)) for all z, g; (hA) for vectors v', v with S at the end node of the grid V at g and of the grid Z atendBlockPoint(\vartheta, g): \lVert \sigma(M\cdotendPairing(v', v))\rVert \le R. Then there is N \letupleBound(\vartheta)^{n} such thatendPeriod(\Lambda, y) is a sum of N\cdot \prod_{z} \prod_{j < m + [z = V]} \#StdClasses(endLevel(\vartheta, z, j)) complex numbers a, each with \lVert \sigma(M\cdot a)\rVert \le R.Structured proof, 22 steps Proposition 7.3, p. 18 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 138–144 lemma endPeriod_mem {n} {Λ : GridDatum ϑ} (hΛ : IsTidy n (D.path D.m) Λ) {y} (hy : FixedByEndLevels ϑ y) (S : ∀ _ _, _ → _ → Prop) {F M R} [NormedField F] (σ : ℂ →+* F) (hs : ∀ x z, ∀ j < D.m, ∀ g h v, S z j g v → S z _ h ((endKernel ϑ z j).jetMatrix ((endKernel ϑ z j).ω (g, h) (@endDatum _ D ϑ x z j)) v)) (hB : ∀ z g, S z 0 g ((D.endToAlgForm z (y z)).1 g)) (hA : ∀ {g v' v}, S _ _ g v' → S _ _ (endBlockPoint ϑ g) v → ‖σ (M * D.endPairing v' v)‖ ≤ R) : ∃ N ≤ tupleBound ϑ ^ n, endPeriod Λ y ∈ (N * ∏ z, ∏ j ∈ range (D.m + (!z).toNat), .card (StdClasses (endLevel ϑ z j))) • {a | ‖σ (M * a)‖ ≤ R} := bylemma
Data.lines 199–237argumentexists_isLevelTidy_iotaPlus_eq Let P be parameters, D admissible data, \vartheta an m-fold twist and b \le m (hb). There is \Phi \inGridDatum(\vartheta), level-tidy of order 2(m - b) onlegEdges(false, b) \cuplegEdges(true, b) (Data.), such that for every bilinear form B and forms \Xi, \varphi at the nodes (0, m) of the grids V and Z: B(IsLevelTidy iotaPlus(\vartheta, false, b)(\Xi),iotaPlus(1, true, b)(\varphi)) =(\prod_{b \le i < m}triangleOrder(false, \vartheta, i)\cdottriangleOrder(true, \vartheta, i))\cdot \Phi(S \mapsto B(legDescents(S, false, b)(\Xi),legDescents(S, true, b)(\varphi))).Structured proof, 13 steps Proposition 6.3, p. 14 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 199–203 lemma exists_isLevelTidy_iotaPlus_eq {b} (hb : b ≤ D.m) : ∃ Φ : GridDatum ϑ, IsLevelTidy (2 * (D.m - b)) (D.legEdges false b ∪ D.legEdges true b) Φ ∧ ∀ (B : _ →ₗ[ℂ] _ →ₗ[ℂ] ℂ) Ξ φ, B (iotaPlus ϑ false b Ξ) (D.iotaPlus 1 true b φ) = (∏ i ∈ Ico b D.m, triangleOrder false ϑ i * triangleOrder true ϑ i) * Φ fun S ↦ B (legDescents S _ b Ξ) (legDescents S _ b φ) := Nat.decreasingInduction (fun b h ⟨Φ, q, e⟩ ↦ bylemma
Data.lines 242–272argumentexists_isTidy_diagonalPeriodForm_eq Let P be parameters and D admissible data. There are C \in \mathbb{C} and a family \Lambda (\Lambda(\vartheta) \inGridDatum(\vartheta)) such that for every m-fold twist \vartheta: \Lambda(\vartheta) is tidy of order 4m onpath(0), and for every real point r and forms \Xi, \varphi at the nodes (0, m) of the grids V and Z:triangleOrder(false, \vartheta, m)\cdotdiagonalPeriodForm(\vartheta, 0 \le m, r)(iotaPlus(\vartheta, false, 0)(\Xi),iotaPlus(1, true, 0)(\varphi)) = C\cdotgridPeriod(\Lambda, (\vartheta, \Xi, \varphi), 0 \le m, r).Structured proof, 18 steps Proposition 6.3, p. 14 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridFirstColumns.lean · lines 242–244 lemma exists_isTidy_diagonalPeriodForm_eq : ∃ C Λ, ∀ ϑ, IsTidy (4 * D.m) (D.path 0) (Λ ϑ) ∧ ∀ r Ξ φ, triangleOrder false ϑ D.m * diagonalPeriodForm ϑ zero_le r (iotaPlus ϑ _ 0 Ξ) (D.iotaPlus 1 _ 0 φ) = C * gridPeriod Λ (ϑ, Ξ, φ) zero_le r := bylemma
LValueData.lines 14–18argumentfitsParams_auxPair Let E be a field which is a CM number field with a CM type, n a finite index type and X :LValueDataE n L-value data. The parameter 0 fits the auxiliary pair of X:FitsParams(auxPair(X), 0).Structured proof, 1 step Lemma 3.5, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 14 lemma LValueData.fitsParams_auxPair (X : LValueData E n) : X.auxPair.FitsParams 0 := bylemma
AuxPair.lines 24–28argumentheckePolyOnForms_testValue_eq_zero Let E be a field which is a CM number field with a CM type and carries Weil data (instance taken by the lemma), r, n finite, O :AuxPairE r n an auxiliary pair, w a finite place with \overline{w} \ne w (hw) and w off the places of O and their conjugates (hS). If an algebraic form y on V satisfiesLifts(O, y, z) for an eigensystem z (h: at such places y is spherical with Hecke polynomial \prod_{0\le l<n-r}(1 - q_w^{l} \nu X)\cdot p(X), \nu =frobValue(a(O), r, w)), then the Hecke polynomial operatorheckePolyOnForms(O, \mathit{hw},hS) at X =testValue(O, w) kills y.Structured proof, 2 steps Lemma 3.5, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 24–25 lemma AuxPair.heckePolyOnForms_testValue_eq_zero [WeilData E] {y z} (h : O.Lifts y z) : O.heckePolyOnForms hw hS (O.testValue w) y = 0 := byabbrev
Data.line 33computationnStar For parameters P and admissible data D:nStar(D) = f\cdot(2t^{3}), the natural number N_{\ast} = 2\mathit{ft}^{3} (f the number of infinite places of E, t = 5r).Definition 3.4, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 33 noncomputable abbrev nStar := D.f * (2 * D.t ^ 3)lemma
Data.lines 35–36one-stepnStar_bounds For parameters P and admissible data D: 2r \le b, 300\cdotnStar(D) + t \le h_{2}, andnStar(D) > 0 (size comparisons of the data).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 35 lemma nStar_bounds : 2 * D.r ≤ D.b ∧ 300 * nStar D + D.t ≤ D.h₂ ∧ 0 < nStar D :=def
Data.lines 42–43computationorderW For parameters P, data D, a lift index j and an index c of the basis of W_j:orderW(j, c) = -1 - \operatorname{ord}(c) ifsignsW(j, c) = 1 and \operatorname{ord}(c) otherwise, ord the order ofuntwistedAuxPair(j): an integer-valued order on the basis of W_j putting the positive vectors first, in reversed order.Definition 3.4, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 42 noncomputable def orderW c :=abbrev
Data.line 47computationconjHolWeight For P, data D, a lift index j and an infinite place \tau:conjHolWeight(j, \tau) is the lowest K-type \Lambda = \lambda + \rho - 2\rho_{c} (HCParam.) of the Harish-Chandra parameter -lowestKType paramW(\tau) for the signssignsW(j) of W_j.Definition 3.4, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 47 noncomputable abbrev conjHolWeight τ := (toHCParam (D.signsW j) (-D.paramW τ)).lowestKTypedef
Data.lines 51–52computationkernelWeight For P, data D, a lift index j and an infinite place \tau:kernelWeight(j, \tau) =staircaseWeight(SmallIndex(D),signsW(j), \operatorname{ord}(untwistedAuxPair(j)), the diagram k^{-} =colsMinus(\tau) ofuntwistedAuxPair(j) in the negative letters and none in the positive ones, shift -(m/2 - j)): the weight of the kernel on V^{\circ} of the pair (W_j, V^{\circ}).Definition 3.4, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 51 noncomputable def kernelWeight τ := staircaseWeight D.SmallIndex (D.signsW j)lemma
Data.lines 59–61one-steprank_bounds_card_bigIndex For P, data D and a lift index j: 6r \le n_m, 100m + 9 < k, r + 1 = k + m, t = 5r, |RowIndex(D)| = r and |BigIndex(j)| = r + 9m + 1.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 59–60 lemma rank_bounds_card_bigIndex : 6 * D.r ≤ D.n D.m ∧ 100 * D.m + 9 < D.k ∧ D.r + 1 = D.k + D.m ∧ D.t = 5 * D.r ∧ Fintype.card D.RowIndex = D.r ∧ Fintype.card (BigIndex j) = D.r + 9 * D.m + 1 :=lemma
Data.lines 63–65one-steptwo_mul_card_detIndex_add_le For P, data D, a lift index j and an infinite place \tau: 2(|DetIndex(j, \tau)| + |BigIndex(j)| + m) \le 5b.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 63–64 lemma two_mul_card_detIndex_add_le τ : (2 * (Fintype.card (DetIndex j τ) + Fintype.card (BigIndex j) + D.m) : ℕ) ≤ 5 * D.b := bylemma
Data.lines 70–76argumentconjHolWeight_eq_add_kernelWeight For P, data D, a lift index j (1 \le j \le m) and an infinite place \tau:conjHolWeight(j, \tau) =staircaseWeight(BigIndex(j),signsW(j), \operatorname{ord}(untwistedAuxPair(j)), the diagramcolsPlus(\tau) in the positive letters, -(bigCharExp(j) - w(j, \tau))) +kernelWeight(j, \tau): the lowest K-type at \tau for the signs of W_j and -\varsigma is the weight ofData.(a staircase weight for V'') plus the kernel weight on V^{\circ}.fNatural Structured proof, 2 steps Lemma 3.5, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 70–72 @[local simp↓] lemma conjHolWeight_eq_add_kernelWeight τ : conjHolWeight j τ = staircaseWeight (BigIndex j) (D.signsW j) (untwistedAuxPair j).ord (Pi.single 1 ((untwistedAuxPair j).colsPlus τ)) (-(bigCharExp j + -D.w j τ)) + kernelWeight j τ := bylemma
Data.lines 78–87argumentconjHolWeight_kernelWeight_bounds For P, data D, a lift index j and an infinite place \tau, with s =signsW(j) and k =conjHolWeight(j, \tau): |k(i)| \le 5b for every i; k andkernelWeight(j, \tau) are K-dominant for s and the orderorderW(j) (IsKDominant); and both have holomorphic gaps 300\cdotnStar(D) for s (HasHolGap).Structured proof, 5 steps Lemma 3.5, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 78–80 lemma conjHolWeight_kernelWeight_bounds τ : let s := D.signsW j; let k := conjHolWeight j τ; (∀ i, |↑(k i)| ≤ 5 * D.b) ∧ IsKDominant s (orderW j) k ∧ IsKDominant s (orderW j) (kernelWeight j τ) ∧ HasHolGap s k (300 * nStar D) ∧ HasHolGap s (kernelWeight j τ) (300 * nStar D)lemma
Data.lines 91–92one-stepisPosFirstOrder_orderW For P, data D and a lift index j (implicit):orderW(j) puts the positive vectors first:IsPosFirstOrder(signsW(j),orderW(j)).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 91 lemma isPosFirstOrder_orderW : IsPosFirstOrder (D.signsW j) (orderW j) := by grind [IsPosFirstOrder,lemma
Data.lines 94–95one-stepparamW_lt_of_orderW_lt For P, data D, a lift index j (implicit), an infinite place \tau and indices a, b of the basis of W_j: ifsignsW(j, a) =signsW(j, b) andorderW(j, a) <orderW(j, b), thenparamW(\tau, a) <paramW(\tau, b).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 94–95 lemma paramW_lt_of_orderW_lt τ a b : D.signsW j a = D.signsW j b → orderW j a < orderW j b → D.paramW τ a < D.paramW τ b := by simp; grindinstance
Data.line 97computationinstFactNeRingOfIntegersEHPowGbOfNat Instance: for P, data D (implicit) and a natural number c: \overline{\pi}^{c} \ne 0, with \overline{\pi} =piGBar(D).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 97 instance instFactNeRingOfIntegersEHPowGbOfNat (c) : Fact (D.piGBar ^ c ≠ 0) := ⟨by simp⟩lemma
Data.lines 102–103one-stepplaces_modulus_eq_union For P, data D, c \ne 0 and a tame character \vartheta: the finite places dividing the modulus \mathfrak{m}(D, \vartheta, c) (the chosen places above g to the power c, times Q(\vartheta)) are exactly the chosen places together with the places of Q(\vartheta):places(\mathfrak{m}(D, \vartheta, c)) = \{w :IsChosen(w)\} \cup Q(\vartheta).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 102–103 lemma places_modulus_eq_union ϑ : (D.𝔪 ϑ c).places = {w | D.IsChosen w} ∪ ϑ.Q := by simp [places_levelModulus, levelPlaces, range_chosen]lemma
Data.lines 105–108argumentisTameFor_of_hasWeight For P, data D, c \ne 0, characters \nu with weight \gamma and tame part \psi \cdot \psi_{\vartheta} (H) for a twist \vartheta, where \psi(w) \ne 1 exactly at the chosen places w (b): \nu is tame for the modulus \mathfrak{m}(D, \vartheta, c) with the charactercharOfTamePart(\mathfrak{m}(D, \vartheta, c), \psi \cdot \psi_{\vartheta}) of the residue ring:IsTameFor(\mathfrak{m}(D, \vartheta, c), \nu, \gamma,charOfTamePart(\cdot, \psi \cdot \psi_{\vartheta})).Structured proof, 1 step Lemma 3.5, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 105–106 lemma isTameFor_of_hasWeight {ν γ ψ} (ϑ : D.Twist) (H : ν.HasWeight γ (ψ * ϑ.ψ)) (b : ∀ w, ψ w ≠ 1 ↔ D.IsChosen w) : IsTameFor (D.𝔪 ϑ c) ν γ (Modulus.charOfTamePart _ (ψ * ϑ.ψ)) :=lemma
Data.lines 113–115one-stepisTameFor_twistedChi For P, data D, a natural number c \ne 0 (instanceNeZeroc, so c \ge 1), a lift index j \in D.LiftIndex (1 \le j \le m, astwistedChirequires; Lean's j.1 is the natural number) and a twist \vartheta: the charactertwistedChi(\vartheta, j) = \chi^{j}\cdot \vartheta has weight 0 and is tame for the modulus \mathfrak{m}(D, \vartheta, c) =(\overline{\pi}_{0}\overline{\pi}_{1})^{c}\cdot Q with the charactercharOfTamePart(\cdot,liftTamePart(\vartheta, j)) = \prod_{w} \omega_{w}^{j} \vartheta_{w} of the residue ring.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · lines 113–114 lemma isTameFor_twistedChi j (ϑ : D.Twist) : IsTameFor (D.𝔪 ϑ c) (twistedChi ϑ j) 0 (Modulus.charOfTamePart _ (D.liftTamePart ϑ j)) :=instance
Data.line 117computationinstNeZeroNatB₁ Instance: for P and data D (implicit), b_{1} \ne 0 (a size comparison).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 117 instance instNeZeroNatB₁ : NeZero D.b₁ := .of_pos D.nat_le_of_hasLogBoundabbrev
Data.line 120computationgridLevelGen For P and data D (implicit):gridLevelGen= \overline{\pi}^{b_{1}}, an integer of E, \overline{\pi} =piGBar(D) (\pi the integer of K of norm g_{0}g_{1}).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 120 noncomputable abbrev gridLevelGen := D.piGBar ^ D.b₁abbrev
Data.line 124computationgridModulus For P, data D (implicit) and an m-fold twist \vartheta:gridModulus(\vartheta) = \mathfrak{m}(D, \vartheta, b_{1}) = \mathfrak{b}Q, the product of the chosen places above g to the power b_{1}, times Q(\vartheta).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 124 noncomputable abbrev gridModulus := D.𝔪 ϑ D.b₁lemma
Data.lines 128–129one-stepgridModulus_one_ideal For P and data D (implicit): the ideal ofgridModulus(1) (the trivial twist) is the principal ideal of O_E generated bygridLevelGen= \overline{\pi}^{b_{1}}.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 128 lemma gridModulus_one_ideal : (gridModulus 1).ideal = .span {D.gridLevelGen} :=abbrev
Data.line 133computationtriangleModulus For P, data D (implicit), a grid z and an m-fold twist \vartheta:triangleModulus(z, \vartheta) = \mathfrak{m}(\vartheta, 1) = MQ for z false and \mathfrak{m}(1, b_{1}) = \mathfrak{b} = M^{b_{1}} for the trivial twist for z true (M the product of the chosen places).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 133 noncomputable abbrev triangleModulus z (ϑ : D.MFoldTwist) := D.𝔪 (cond z 1 ϑ :) (cond z D.b₁ 1)abbrev
Data.lines 137–140computationreduceToTriangle For P, data D (implicit), an m-fold twist \vartheta and a grid z:reduceToTriangle(\vartheta, z) is the reduction ring homomorphism from the residue ring ofgridModulus(\vartheta) = \mathfrak{b}Q to that oftriangleModulus(z, \vartheta) (MQ for z false, \mathfrak{b} for z true), well defined because the ideal ofgridModulus(\vartheta) is contained in that oftriangleModulus(z, \vartheta).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 137 noncomputable abbrev reduceToTriangle z := Ideal.Quotient.factorlemma
Data.line 142one-steppiGBar_dvd_gridLevelGen For P and data D (implicit): \overline{\pi} dividesgridLevelGen= \overline{\pi}^{b_{1}} (b_{1} \ne 0).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridModuli.lean · line 142 lemma piGBar_dvd_gridLevelGen : D.piGBar ∣ gridLevelGen := by simp [NeZero.ne]abbrev
Data.lines 21–22computationEdgeTuple For parameters P, data D' and an m-fold twist \vartheta of D':EdgeTuple(\vartheta) is the type of tuples assigning to every ordered pair e =(p, p') of grid nodes a matrix over the residue ring ofgridModulus(\vartheta) = O_E/\mathfrak{b}Q, with columns indexed by the basisNodeIndex(p) of p and rows byNodeIndex(p').Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 21 abbrev EdgeTuple := ∀ e : _ × _,abbrev
Data.line 26computationGridDatum For P, D' and an m-fold twist \vartheta:GridDatum(\vartheta) is the space of complex linear functionals on the complex functions of tuples S \inEdgeTuple(\vartheta) ("data").Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 26 abbrev GridDatum := (EdgeTuple ϑ → ℂ) →ₗ[ℂ] ℂabbrev
Data.line 30computationIsMuEdge For grid nodes p =(z, a, b) and q (a node is a triple (z, a, b) standing for V_{a,b} if z is false and Z_{b,a} if z is true):IsMuEdge(p, q) holds when p lies in the grid Z (z true) exactly when the first indices of p and q differ; these are the edges whose character carries the twist.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 30 abbrev IsMuEdge (p q : Node) := p.1 ↔ p.2.1 ≠ q.2.1def
Data.lines 34–35computationedgeChar For P, D', an m-fold twist \vartheta and an ordered pair e =(p, p') of nodes:edgeChar(\vartheta, e) is the multiplicative character of the residue ring ofgridModulus(\vartheta) attached to the tame partgridTamePart(\vartheta,IsMuEdge(p, p'), l) with l = the second index of p if p and p' have the same first index, and the first index of p otherwise: the local components (\omega_{w} \vartheta_{w})^{l+1} on \mu-edges and \omega_{w}^{l+1} otherwise.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 34 def edgeChar (e : _ × _) := (gridModulus ϑ).charOfTamePartdef
Data.lines 39–41computationIsAdmissibleFamily For P, data D, an m-fold twist \vartheta of D and a family g with g(p) \in \mathrm{GL}(NodeIndex(p), O_E/gridModulus(\vartheta)) at every node p:IsAdmissibleFamily(g) holds when (1) for both grids z, g(z, 0, m) lies in the levelnodeLevel(\vartheta, (z, 0, m)), and (2) for every a, the value of g at the node (a, a) of the grid Z isblockInlGL(gridDiagEquiv(D, a), \cdot) of its value at the node (a, a) of the grid V (the value in V extended by 1).Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 39–40 def IsAdmissibleFamily {D : Data P} {ϑ : D.MFoldTwist} (g : ∀ p, GL (D.NodeIndex p) (gridModulus ϑ).ResRing) := (∀ z, g (z, 0, D.m) ∈ nodeLevel ..) ∧def
Data.line 44computationtupleAction For P, D', \vartheta ', a family g as above (for \vartheta '), a tuple S \inEdgeTuple(\vartheta ') and an ordered pair e =(p, p'):tupleAction(g, S, e) = g(p')^{-1}\cdot S(e)\cdot g(p), the tuple S moved by g.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 44 def tupleAction (S : EdgeTuple ϑ') (e : Node × Node) := (g e.2)⁻¹.1 * S e * (g e.1).1def
Data.lines 48–49computationedgeCharProd For P, D', \vartheta ', a family g as above and a finite set w of ordered pairs of nodes:edgeCharProd(g, w) = \prod_{e=(p,p')\in w}edgeChar(\vartheta ', e)(\det g(p')/\det g(p)), a complex number.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 48 def edgeCharProd (w : Finset (Node × Node)) : ℂ := ∏ e ∈ w,abbrev
Data.line 53computationtupleBound For P, D' and an m-fold twist \vartheta:tupleBound(\vartheta) = |R|^{(2\cdot n(D', m))^{2}}, R the residue ring ofgridModulus(\vartheta) and n(D', m) the rank n_m of the data; it bounds the number of matrices on one edge.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 53 abbrev tupleBound := card (D'.gridModulus ϑ).ResRing ^ (2 * D'.n D'.m) ^ 2abbrev
Data.lines 57–58computationLeftInvOnMuEdges For P, D', \vartheta ', a tuple S \inEdgeTuple(\vartheta ') and a finite set w of ordered pairs of nodes:LeftInvOnMuEdges(S, w) holds when for every e =(p, p') \in w which is a \mu-edge (IsMuEdge(p, p')), the matrix S(e) has a left inverse over O_E/gridModulus(\vartheta ').Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 57 abbrev LeftInvOnMuEdges (S : EdgeTuple ϑ') (w : Finset (Node × Node)) := ∀ e ∈ w, IsMuEdge e.1 e.2 →def
Data.lines 62–64computationIsShortSum For P, D', \vartheta ', a natural number n, a finite set w of ordered pairs of nodes and a datum \Lambda \inGridDatum(\vartheta '):IsShortSum(n, w, \Lambda) holds when there are a type X, a finite set W of elements of X, coefficients c : X \to \mathbb{C} and tuples s : X \toEdgeTuple(\vartheta ') such that |W| \letupleBound(\vartheta ')^{n}, every non-zero c(x) is a root of unity with s(x) satisfyingLeftInvOnMuEdges(s(x), w), and \Lambda(f) = \sum_{x\in W} c(x)\cdot f(s(x)) for every function f of tuples.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 62 def IsShortSum (w : Finset (Node × Node)) (Λ : GridDatum ϑ') := ∃ X : Type, ∃ W,abbrev
Data.lines 68–69computationGridDatum. bind For P, data D, an m-fold twist \vartheta, a datum \Lambda \inGridDatum(\vartheta), a finite type X, weights \kappa(S, x) \in \mathbb{C} and tuples t(S, x) for S \inEdgeTuple(\vartheta) and x \in X:bind(\Lambda, \kappa, t) is the datum f \mapsto \Lambda(S \mapsto \sum_{x\in X} \kappa(S, x)\cdot f(t(S, x))): every tuple S is replaced by the tuples t(S, x) with the weights \kappa(S, x).Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 68–69 abbrev GridDatum.bind {D : Data P} {ϑ : D.MFoldTwist} (Λ : GridDatum ϑ) {X : Type} [Fintype X] (κ : _ → X → ℂ) (t : _ → X → _) := (Λ ∘ₗ .pi fun S ↦ ∑ x, κ S x • .proj (t S x) : GridDatum ϑ)structure
Data.lines 73–76computationIsTidy For P, data D, an m-fold twist \vartheta, a natural number n, a finite set w of ordered pairs of nodes and a datum \Lambda \inGridDatum(\vartheta):IsTidy(n, w, \Lambda) (tidy data of order n for the edges w) is the structure with two fields: (equivariant) for every admissible family g (Data.) and every function f of tuples, \Lambda(S \mapsto f(IsAdmissibleFamily tupleAction(g, S))) =edgeCharProd(g, w)\cdot \Lambda(f); and (isShortSum)IsShortSum(n, w, \Lambda).Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 73–74 structure IsTidy {D : Data P} {ϑ : D.MFoldTwist} (n : ℕ) (w : Finset (Node × Node)) (Λ : GridDatum ϑ) wheredef
Data.lines 80–81computationIsLevelTidy For P, D', \vartheta ', a natural number n, a finite set w of ordered pairs of nodes and a datum \Lambda \inGridDatum(\vartheta '):IsLevelTidy(n, w, \Lambda) holds whenIsShortSum(n, w, \Lambda) and every family g with g(z, 0, i) \innodeLevel(\vartheta ', (z, 0, i)) for both grids z and all i \le m satisfies \Lambda(S \mapsto f(tupleAction(g, S))) =edgeCharProd(g, w)\cdot \Lambda(f) for every f.Definition 4.1, p. 9 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 80 def IsLevelTidy (w : Finset (Node × Node)) (Λ : GridDatum ϑ') := IsShortSum n w Λ ∧ ∀ g, (∀ z, ∀ i ≤abbrev
Data.line 84computationverticalEdge For a grid z and natural numbers a, b:verticalEdge(z, a, b) is the ordered pair of nodes ((z, a, b), (z, a, b + 1)).Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 84 abbrev verticalEdge (z : Bool) (a b : ℕ) := ((z, a, b), z, a, b + 1)abbrev
Data.line 88computationrowEdge For a grid z and natural numbers a, b:rowEdge(z, a, b) is the ordered pair of nodes ((z, a, b), (z, a + 1, b)), the edge raising the first index.Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 88 abbrev rowEdge (z : Bool) (a b : ℕ) := ((z, a, b), z, a + 1, b)def
Data.line 91computationlegEdges For P, data D', a grid z and a natural number b:legEdges(z, b) is the finite set of the edgesverticalEdge(z, 0, i), b \le i < m, from (0, i) to (0, i + 1) in grid z.Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 91 def legEdges (z : Bool) (b : ℕ) := (Ico b D'.m).image (verticalEdge z 0)def
Data.line 95computationgridPath For P, D', a grid z and natural numbers a, b:gridPath(z, a, b) = \{rowEdge(z, i, b) : i < a\} \cuplegEdges(z, b): the edges (0, j) \to (0, j + 1) for b \le j < m and (i, b) \to(i + 1, b) for i < a.Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 95 def gridPath (z : Bool) (a b : ℕ) := (range a).image (rowEdge z · b) ∪ D'.legEdges z babbrev
Data.line 99computationpath For P, D' and a natural number n:path(n) =gridPath(false, n, n) \cupgridPath(true, n, n), the edges of the path of stage n in both grids (from (0, n) to (n, n) and from (0, n) to (0, m)).Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 99 abbrev path := D'.gridPath false n n ∪ D'.gridPath true n ndef
Data.lines 104–106computationlegDescents For P, data D, an m-fold twist \vartheta, a tuple S \inEdgeTuple(\vartheta), a grid z and a natural number b:legDescents(S, z, b) is the linear map fromGridForm(z, 0, m) (forms at node (0, m) of grid z) toGridForm(z, 0, b), the composite of the descentsdescentMove(S(verticalEdge(z, 0, i))) for i = m - 1 down to b, each with the matrix that S puts on its edge: for b < m it isdescentMove(S(verticalEdge(z, 0, b))) \circlegDescents(S, z, b + 1); for b = m the identity; for b > m zero.Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 104 def legDescents b : D.GridForm z 0 D.m →ₗ[ℂ] D.GridForm z 0 b := if b < D.m then descentMove (Sdef
Data.lines 113–114computationgridPathMap For P, data D, an m-fold twist \vartheta, a tuple S \inEdgeTuple(\vartheta), a grid z and natural numbers a, b:gridPathMap(S, z, a, b) is the linear map fromGridForm(z, 0, m) toGridForm(z, a, b) that descends from (0, m) to (0, b) and then lifts a times:gridPathMap(S, z, 0, b) =legDescents(S, z, b) andgridPathMap(S, z, a + 1, b) =liftMove(S(rowEdge(z, a, b))) \circgridPathMap(S, z, a, b), using the matrices S puts on the edges.Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 113 def gridPathMap : ∀ a b, D.GridForm z 0 D.m →ₗ[ℂ] D.GridForm z a bdef
Data.lines 118–121computationdiagonalPeriodForm For P, data D, a natural number j (implicit), an m-fold twist \vartheta_{1}, a proof h that j \le m and a real point g:diagonalPeriodForm(\vartheta_{1}, h, g) is the bilinear form (f, F) \mapsto \int_{[U(V_{j,j})]} f(x)\cdot F((x \oplus u^{j})\cdot g) \mathit{dx} on forms f at node (j, j) of the grid V and F at node (j, j) of the grid Z, the period pairing of the conjugate kernel pair of the grid (isConjKernelPair_gridKernel) at the point x \mapstoreindex(gridDiagEquiv(D, j))(x \oplus u^{j}), u =flipScalarofgridModulus(\vartheta_{1}).Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 118 @[simp] def diagonalPeriodForm h g := (Space.periodPairing (isConjKernelPair_gridKernel ⟨h, h⟩) ⟨1,def
Data.lines 125–127computationgridPeriod For P, data D, a natural number j (implicit), a family \Lambda of data (\Lambda(\vartheta) \inGridDatum(\vartheta) for every m-fold twist \vartheta), a triple y =(\vartheta, \Xi, \varphi) (\Xi a form at node (0, m) of the grid V, \varphi one of the grid Z), a proof h that j \le m and a real point g:gridPeriod(\Lambda, y, h, g) = \Lambda(\vartheta)(S \mapstodiagonalPeriodForm(\vartheta, h, g)(gridPathMap(S, false, j, j)(levelIndex(\vartheta, false, 0, m)\cdot \Xi),gridPathMap(S, true, j, j)(\varphi))): the stage-j period of y, \Xi (scaled by the index of the level at Y_m) and \varphi descended to (0, j) and lifted to (j, j) with the matrices of S.Definition 4.2, p. 10 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 125 @[simp] def gridPeriod (Λ : ∀ ϑ, D.GridDatum ϑ) (y : _ × _ × _) h g := Λ y.1 fun S ↦lemma
Data.lines 129–130one-stepedgeCharProd_mul For P, D', \vartheta ', families g, g' as above and a finite set w of ordered pairs of nodes:edgeCharProd(g\cdot g', w) =edgeCharProd(g, w)\cdotedgeCharProd(g', w).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 129–130 lemma edgeCharProd_mul g' : edgeCharProd (g * g') w = edgeCharProd g w * edgeCharProd g' w := by simp [edgeCharProd, field]lemma
Data.lines 134–135one-steplegDescents_congr For P, data D, an m-fold twist \vartheta, tuples S, S' \inEdgeTuple(\vartheta), a grid z and a natural number b: if S(e) = S'(e) for every edge e \inlegEdges(z, b) (h), thenlegDescents(S, z, b) =legDescents(S', z, b).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 134–135 lemma legDescents_congr (h : ∀ e ∈ D.legEdges z b, S e = S' e) : legDescents S z b = legDescents S' z b := by fun_induction legDescents S z b <;> grind [legEdges, legDescents]lemma
Data.lines 137–138one-stepgridPathMap_congr For P, D, \vartheta, tuples S, S' \inEdgeTuple(\vartheta), a grid z and natural numbers a, b': if S(e) = S'(e) for every edge e \ingridPath(z, a, b') (h), thengridPathMap(S, z, a, b') =gridPathMap(S', z, a, b').Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 137–138 lemma gridPathMap_congr (h : ∀ e ∈ D.gridPath z a b', S e = S' e) : gridPathMap S z a b' = gridPathMap S' z a b' := by induction a <;> grind [gridPath, gridPathMap, legDescents_congr]lemma
Data.lines 143–147argumentIsShortSum. bind Let P, D, \vartheta be as above, n, k natural numbers, w, w' finite sets of ordered pairs of nodes, X a finite type, \kappa(S, x) \in \mathbb{C} and t(S, x) \inEdgeTuple(\vartheta) for tuples S and x \in X, and \Lambda \inGridDatum(\vartheta). Suppose |X| \letupleBound(\vartheta)^{k} (N), and for all S, x with \kappa(S, x) \ne 0 andLeftInvOnMuEdges(S, w), \kappa(S, x) is a root of unity andLeftInvOnMuEdges(t(S, x), w') holds (H). IfIsShortSum(n, w, \Lambda), thenIsShortSum(n + k, w',bind(\Lambda, \kappa, t)).Lemma 4.4, p. 11 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 143–147 lemma IsShortSum.bind {n k w w' X} [Fintype X] {κ : _ → X → ℂ} {t} {Λ : GridDatum ϑ} (N : card X ≤ tupleBound ϑ ^ k) (H : ∀ S x, κ S x ≠ 0 → LeftInvOnMuEdges S w → IsOfFinOrder (κ S x) ∧ LeftInvOnMuEdges (t S x) w') : IsShortSum n w Λ → IsShortSum (n + k) w' (Λ.bind κ t) | ⟨_, W, c, s, h⟩ => ⟨_, W ×ˢ ⊤, (c • κ ∘ s).uncurry, (t ∘ s).uncurry, by simp [pow_add, mul_le_mul', sum_product, mul_sum, *]; grind [IsOfFinOrder.mul]⟩lemma
Data.lines 149–152computationcard_matrix_le_tupleBound For P, data D, an m-fold twist \vartheta and nodes p, q whose index pairs are at most (m, m) (h, h'): the number ofNodeIndex(p) \timesNodeIndex(q) matrices over the residue ring R ofgridModulus(\vartheta) is at mosttupleBound(\vartheta) = |R|^{(2n_m)^{2}}.Structured proof, 2 steps Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 149–150 lemma card_matrix_le_tupleBound {p q} (h : p.2 ≤ (D.m, D.m)) (h' : q.2 ≤ (D.m, D.m)) : card (Matrix (D.NodeIndex p) (D.NodeIndex q) (gridModulus ϑ).ResRing) ≤ tupleBound ϑ := byabbrev
Data.line 156computationEndIndex For P, data D, a grid z and a natural number a:EndIndex(z, a) =GridIndex(z, a, m), the index set of the node (a, m) of grid z; these nodes carry the chain of lifts between definite groups.Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 156 abbrev EndIndex := D.GridIndex z a D.mdef
Data.lines 161–174computationendWeightData For P, data D and a grid z:endWeightData(z) is a chosen triple (\kappa, e, proof): column multiplicities \kappa and exponents e(j) such that for every j, (\kappa, e(j)) goes up (IsLiftWeight) from the node (j, m) to (j + 1, m) along the weightgridWeight(z, j,EndIndex(z, j + 1)), withgridWeight(z, j,EndIndex(z, j)) = e(j + 1), and for every j \le m, (\kappa, e(j)) is a Harish-Chandra parameter for -gridParam(z, 0, j, m) (IsHCParam).Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 161–163 def endWeightData : let ι := D.EndIndex z; Σ' κ, Σ' e : ℕ → _, (∀ j, IsLiftWeight (ι j) (ι (j + 1)) κ (D.gridWeight z j (ι (j + 1))) (e j) ∧ D.gridWeight z j (ι j) = e (j + 1)) ∧ ∀ j ≤ D.m, IsHCParam κ (e j) (-D.gridParam z 0 j D.m)abbrev
Data.line 178computationendDetExp For P, data D and a grid z:endDetExp(z) = the exponents e ofendWeightData(z), which complete \kappa to the weight at the node (j, m) of grid z.Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 178 abbrev endDetExp := (D.endWeightData z).2.1def
Data.lines 182–183computationendLevel For P, data D, an m-fold twist \vartheta_{1}, a grid z and a natural number b':endLevel(\vartheta_{1}, z, b') is the level (an open subgroup of K_{0} for the basisEndIndex(z, b')) of the elements whose reduction modulogridModulus(\vartheta_{1}) lies in the subgroupnodeLevel(\vartheta_{1}, (z, b', m)) (Modulus.).levelOfSubgroup Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 182 def endLevel :=lemma
Data.lines 185–188argumentendLevel_le_principalLevel For P, data D, an m-fold twist \vartheta_{1}, a grid z and a natural number b':endLevel(\vartheta_{1}, z, b') is contained in the principal level ofgridLevelGen(D) = \overline{\pi}^{b_{1}} (principalLevel _ gridLevelGen).Structured proof, 1 step Lemma 7.2, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 185 lemma endLevel_le_principalLevel : endLevel ϑ₁ z b' ≤ principalLevel _ gridLevelGen :=def
Data.lines 192–193computationendKernel For P, data D, an m-fold twist \vartheta_{1}, a grid z and a natural number b':endKernel(\vartheta_{1}, z, b') is the theta kernel (thetaKernel) from the node (b', m) to (b' + 1, m) of grid z for the weight ofendWeightData(z) at b', scale 1\cdotjetScale(P, s(D)), the charactersgridCharof the two nodes, and the levelendLevel(\vartheta_{1}, z, b'), between algebraic forms.Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 192 def endKernel := have h := (endWeightData z).2.2.1 b'; thetaKernel h.1 (1 * P.jetScale D.s)lemma
Data.lines 195–200computationboxes_endWeightData_le For P, data D, a grid z and j \le m (h): |EndIndex(z, j)| \le 2n_m,boxes(\kappa, |EndIndex(z, j)|) \le b_{1}\cdot r^{4} for the multiplicities \kappa ofendWeightData(z), and |endDetExp(z, j, \tau)| \le \lceil 20b\rceil at every infinite place \tau.Structured proof, 2 steps Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 195–197 lemma boxes_endWeightData_le (h : j ≤ D.m) : Fintype.card (D.EndIndex z j) ≤ 2 * D.n D.m ∧ boxes (D.endWeightData z).1 (Fintype.card (D.EndIndex z j)) ≤ D.b₁ * D.r ^ 4 ∧ ∀ τ, (D.endDetExp z j τ).natAbs ≤ ⌈20 * D.b⌉₊ := bydef
Data.lines 204–206computationendBranching For P and data D:endBranchingis a chosen integer matrix B that pairs the weights at the nodes (m, m) of the grids V and Z (fromexists_branching_pairing, for the interlacing parameters ofData.).gridParam_interlace Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 204 def endBranching := Classical.indefiniteDescription _abbrev
Data.line 209computationendPairing For P and data D:endPairingis the complex bilinear form (v', v) \mapsto v'^{\mathsf{T}}\cdot B\cdot v of the branching matrix B =endBranching.Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 209 abbrev endPairing := (dotProductBilin ℂ ℂ).compl₂ (D.endBranching.1.map (↑)).mulVecLindef
Data.line 211computationendBlockPoint For P, data D, an m-fold twist \vartheta_{1} and a point h of U(V_{m,m}):endBlockPoint(\vartheta_{1}, h) = the block point U.block(gridDiagEquiv(D, m))(h, u^{m}) of U(Z_{m,m}), u =flipScalarofgridModulus(\vartheta_{1}).Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 211 def endBlockPoint h := U.block (D.gridDiagEquiv D.m) (h, (gridModulus ϑ₁).flipScalar ^ D.m)instance
Data.lines 213–215computationisStd_gridSpace Instance: for P, data D, a grid z and an offset i, the hermitian spacegridSpace(0, z, i, m) at the node (i, m) is standard (IsStd).Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 213 instance isStd_gridSpace {z i} : (D.gridSpace 0 z i D.m).IsStd := by cases z <;> cases i <;> firstdef
Data.line 219computationendToAlgForm For P, data D and a grid z:endToAlgForm(z) is the linear isomorphism from forms at the definite node (0, m) of grid z onto smooth algebraic forms of weight (\kappa,endDetExp(z)) ofendWeightData(z) (Space.).toAlgForm Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 219 def endToAlgForm := (D.gridSpace 0 z 0 _).toAlgForm ((D.endWeightData z).2.2.2 0 zero_le)abbrev
Data.lines 222–223computationFixedByEndLevels For P, data D, an m-fold twist \vartheta_{1} and a pair y of forms (y(z) at the node (0, m) of grid z, for both z):FixedByEndLevels(\vartheta_{1}, y) holds when for both grids z the algebraic formendToAlgForm(z)(y(z)) is fixed by the levelendLevel(\vartheta_{1}, z, 0).Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 222 abbrev FixedByEndLevels (y : ∀ _, _) := ∀ z,def
Data.lines 227–228computationendDatum For P, data D, an m-fold twist \vartheta, a tuple S, a grid z and j:endDatum(S, z, j) = \kappa_{0}^{n n'}\cdotvacuumDatum(indicator of the matrix S(rowEdge(z, j, m))), the finite datum of the lift from node (j, m) to (j + 1, m), n, n' the ranks, \kappa_{0} =vacuumScale(P, s(D)).Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 227 def endDatum j := P.vacuumScale D.s ^ Fintype.card (D.EndIndex z j.succ × D.EndIndex z j) •abbrev
Data.line 230computationendChain For P, D, \vartheta, a tuple S, a grid z, j and a form F:endChain(S, z, j, F) =chain(endKernel(\vartheta, z),endDatum(S, z), j,endToAlgForm(z)(F)), the chain of j lifts along the last column of grid z.Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 230 abbrev endChain j F := chain (endKernel ϑ z) (endDatum S z) j (D.endToAlgForm z F)def
Data.lines 234–235computationendPeriod For P, data D, an m-fold twist \vartheta, a datum \Lambda \inGridDatum(\vartheta) and a pair y of forms:endPeriod(\Lambda, y) = \Lambda(S \mapstoclassIntegralover U(V_{m,m}) atendLevelof h \mapstoendPairing(c_V(h), c_Z(endBlockPoint(\vartheta, h)))), where c_z =endChain(S, z, m, y(z)) is the chain of m lifts of y(z) in grid z.Definition 7.1, p. 17 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · line 234 def endPeriod (Λ : GridDatum ϑ) (y : ∀ _, _) := Λ fun S ↦ let c z := (endChain S z _ (y z)).1lemma
Data.lines 242–293argumentIsTidy. exists_square_move Crossing a square. Let P, D, an m-fold twist \vartheta, a grid z, indices a, b, n, a finite set w of ordered pairs of nodes and \Lambda \inGridDatum(\vartheta); nodes p, v, Q, U, R, r; a finite type T, a type J; bijections \tau :GridIndex(z, a, b) \simeqNodeIndex(U), \sigma :NodeIndex(p) \sqcup T \simeqNodeIndex(Q), \rho :NodeIndex(r) \sqcup T \simeqNodeIndex(R); an additive character \psi of the residue ring; a multiplicative character \chi, a bijection \varepsilon and a constant C; and families L(i), M(i), i \in J, withSquareLaw(\chi, \varepsilon, C, L(i), M(i)) for all i (q). Assume (hQ) every admissible family g has g(R) =blockInlGL(\rho, g(r)) and, for every k, the family u = g updated at p by k and at Q byblockInlGL(\sigma, k) is admissible with u(p) = k; (h) U \ne v, (Q, U) is a \mu-edge and (U, R) is not, or (p, v) is and (v, r) is not, the nodes U, R, v, r have index pairs at most (m, m) and are different from p and Q, and every edge of w has source outside \{p, Q\} and target outside \{p, Q, R, r\}; (H) \Lambda is tidy of order n on w \cup \{(p, v), (Q, U)\}; and (X) \chi = (edgeChar(\vartheta, (p, v))\cdotedgeChar(\vartheta, (Q, U)))^{-1},edgeChar(\vartheta, (U, R)) =edgeChar(\vartheta, (p, v)) andedgeChar(\vartheta, (v, r)) =edgeChar(\vartheta, (Q, U)). Then there is \Phi, tidy of order n + 2 on w \cup \{(U, R), (v, r)\}, such that for every f(S, k) \in J depending only on the values of S on w: \Lambda(S \mapsto \sum_{k} \psi(\operatorname{tr}(k\cdot x_{2}))\cdot M(f(S, k))((S(p, v); x_{1}))) = C\cdot \Phi(S \mapsto L(f(S, x'_{2}))((S(v, r) | x'_{1}))), where x = S(Q, U) reindexed by \tau, \sigma with column blocks x_{1}, x_{2} and x' = S(U, R) reindexed by \rho, \tau with row blocks x'_{1}, x'_{2}.Structured proof, 21 steps Proposition 5.1, p. 11 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridMove.lean · lines 242–254 lemma IsTidy.exists_square_move {P} {D : Data P} {ϑ z a b n w} {Λ : GridDatum ϑ} {p v Q U R} r {T J} [Fintype T] (τ : D.GridIndex z a b ≃ D.NodeIndex U) (σ : D.NodeIndex p ⊕ T ≃ D.NodeIndex Q) (ρ : D.NodeIndex r ⊕ T ≃ D.NodeIndex R) (ψ : AddChar _ ℂ) {χ ε C} {L M : J → _} (q : ∀ i, SquareLaw χ ε C (L i) (M i)) (hQ : ∀ g, @IsAdmissibleFamily _ D ϑ g → g R = blockInlGL ρ (g r) ∧ ∀ k, let u := update (update g p k) Q (blockInlGL σ k) IsAdmissibleFamily u ∧ u p = k) (h : U ≠ v ∧ (IsMuEdge Q U ∧ ¬IsMuEdge U R ∨ IsMuEdge p v ∧ ¬IsMuEdge v r) ∧ (∀ q ∈ [U, R, v, r], q.2 ≤ (D.m, D.m) ∧ q ∉ [p, Q]) ∧ ∀ e ∈ w, e.1 ∉ [p, Q] ∧ e.2 ∉ [p, Q, R, r]) (H : IsTidy n (insert (p, v) (insert (Q, U) w)) Λ) (X : χ = (edgeChar ϑ (p, v) * edgeChar ϑ (Q, U))⁻¹ ∧ edgeChar ϑ (U, R) = edgeChar ϑ (p, v) ∧ edgeChar ϑ (v, r) = edgeChar ϑ (Q, U) := by simp [edgeChar]) : ∃ Φ, IsTidy (n + 2) (insert (U, R) (insert (v, r) w)) Φ ∧ ∀ f : _ → _ → J, DependsOn f w → Λ (fun S ↦ let x := (S (Q, U)).submatrix τ σ; ∑ k, ψ (k * x.toCols₂).trace * M (f S k) (fromRows (S (p, v)) x.toCols₁)) = C * Φ fun S ↦ let x := (S (U, R)).submatrix ρ τ L (f S x.toRows₂) (fromCols (S (v, r)) x.toRows₁)def
Data.lines 18–19computationGridIndex For P, data D, a grid z and natural numbers i, j:GridIndex(D, z, i, j) is the index set of the node (i, j) of grid z:BlockIndex(BlockIndex(BlockIndex(RowIndex(D), Unit, [z]),Fin(t + [z]), i),Fin(t - [z]), j), that is r + [z] base indices, i blocks of size t + [z] and j blocks of size t - [z] ([z] = 1 for z true, 0 for false); the basis of V_{i,j} (rank r +(i + j)t) for z false and of Z_{j,i} (rank r + 1 + i(t + 1) + j(t - 1)) for z true.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 18 protected def GridIndex j := BlockIndex (BlockIndex (BlockIndex D.RowIndex Unit z.toNat)def
Data.lines 23–24computationgridNumber For P, data D and a grid z:gridNumber(z) is the numbering of the base index setBlockIndex(RowIndex(D), Unit, [z]) byFin(r + [z]): the given numberingbasisNumberonRowIndex, and r for the extra point.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 23 def gridNumber : BlockIndex D.RowIndex Unit z.toNat ≃ Fin (D.r + z.toNat) :=def
Data.line 28computationgridBlockEquiv For P, data D, natural numbers i, j and a grid z:gridBlockEquivis the bijection listing the indices of the node (i, j) of grid z as r + [z] base indices (numbered bygridNumber(z)), i blocks of size t + [z] and j blocks of size t - [z].Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 28 def gridBlockEquiv {z i} := show D.GridIndex z i j ≃ _ from equivSum (equivSum (D.gridNumber z) i) jlemma
Data.lines 32–33computationentrySign_eq For natural numbers o, j, a:entrySign(o, j, a) = -1 if o + a + \min(a - o, j) is odd and 1 otherwise (truncated subtraction of natural numbers).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 32 lemma entrySign_eq j a : entrySign o j a = ite ((o + a + min (a - o) j) % 2 = 1) (-1) 1 := bydef
Data.lines 37–38computationgridSigns For P, data D, a grid z, natural numbers o, i, j and an index x ofGridIndex(D, z, i, j):gridSigns(z, o, i, j, x) =entrySign(o, j,num(x) + 1 - k) on the r (in Z, r + 1) base indices and +1 on all added blocks.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 37 def gridSigns j (x : D.GridIndex z i j) :=def
Data.lines 43–46computationgridParam For P, data D, a grid z, natural numbers o, i, j and an infinite place \tau:gridParam(z, o, i, j, \tau) is the doubled Harish-Chandra parameter at node (i, j) with offset o (for the signsgridSigns(z, o, i, j)): on the grid V, 2\varsigma(\tau, \cdot) on the base indices, 2w(l + 1, \tau) + t - 1 - 2b on the b-th entry of the l-th added block of the first kind and t - 1 - 2(w(l + 1 + o, \tau) + [z]) - 2b on those of the second kind, lowered by 1 if i + j is odd; on the grid Z, the same values raised by 1 (\varsigma =rowParameter, w =Data.).w Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 43 def gridParam j (τ : D.Φ) : HCParam (D.gridSigns z o i j) := fun x ↦def
Data.line 50computationsignsY For P, data D and a natural number j:signsY(j) =gridSigns(false, 0, 0, j), the signs on the basis of Y_j (-1 exactly at the base indices i withnum(i) - k - j non-negative and even, +1 elsewhere); a function on the basis index set Y(D, j).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 50 def signsY j : D.Y j → ℤˣ := D.gridSigns false 0 0 jdef
Data.line 54computationparamY For P, data D and a natural number j:paramY(j) =gridParam(false, 0, 0, j), the doubled parameter of Y_j: a function of an infinite place and an index of Y(D, j).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 54 def paramY j : D.Φ → D.Y j → ℤ := D.gridParam false 0 0 jdef
Data.line 60computationgridWeight For P, data D, a boolean c, a natural number l, a finite type n and an infinite place \tau:gridWeight(c, l, n, \tau) = \lfloor(|n| + [not c])/2\rfloor - w(l + 1, \tau), the weight at \tau of the charactergridChar(\lfloor |n|/2\rfloor - w_{l+1}(\tau) if c is true, \lceil |n|/2\rceil - w_{l+1}(\tau) if c is false).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 60 def gridWeight c l (n : Type) [Fintype n] τ := (((card n + (!c).toNat) / 2 :) - D.w (l + 1) τ : ℤ)def
Data.lines 64–66computationgridHarmonic For P, data D, natural numbers o, l, a, b, i, j, booleans d, c and a grid z:gridHarmonic(o, d, c, l, z, a, b, i, j) is the product over the infinite places of the chosen joint harmonics (jointHarmonic) for the weightsgridWeight(c, l, \cdot) of the nodes (a, b) and (i, j) of grid z, the parametersgridParam(z, o, a, b),gridParam(z, o, i, j) (negated if d is true) and the signs of the two nodes.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 64 def gridHarmonic o d c l z a b i j := jointHarmonic (D.gridWeight c l (D.GridIndex z a b))lemma
Data.lines 70–71computationcard_gridIndex For P, data D, natural numbers i, j and a grid z: |GridIndex(D, z, i, j)| = r + [z] + i(t + [z]) + j(t - [z]).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · lines 70–71 lemma card_gridIndex : card (D.GridIndex z i j) = D.r + z.toNat + i * (D.t + z.toNat) + j * (D.t - z.toNat) := by simp [card_congr D.gridBlockEquiv]lemma
Data.lines 73–75computationcard_neg_gridSigns_eq_sum For P, data D, a grid z and natural numbers o, i, j: the number of signs -1 ofgridSigns(z, o, i, j) is \sum_{n < r + [z]} [entrySign(o, j, n + 1 - k) = -1].Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · lines 73–74 lemma card_neg_gridSigns_eq_sum : negCount (D.gridSigns z o i j) = ∑ n ∈ range (D.r + z.toNat), ite (entrySign o j (n + 1 - D.k) = -1) 1 0 := by simp [negCount, ↓Fintype.card_subtype, ↓card_filter,lemma
Data.lines 81–83computationcard_neg_gridSigns For P, data D, a grid z and natural numbers i, j: with offset 0, the number of signs -1 at the node (i, j) is \lfloor(m - j + [z])/2\rfloor (m - j truncated at 0): \lfloor(m - j + 1)/2\rfloor in the grid Z and \lfloor(m - j)/2\rfloor in the grid V.Structured proof, 2 steps Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows Input 8, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/GridParameters.lean · line 81 lemma card_neg_gridSigns z i j : negCount (D.gridSigns z 0 i j) = (D.m - j + z.toNat) / 2 := bylemma
Data.lines 86–87computationgridSigns_zero For P and data D: with offset 0, the signs of Z_{0,0} are those of Y_{0} followed by +1 on the extra index:gridSigns(true, 0, 0, 0) =signsY(0) \oplus 1.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 86 lemma gridSigns_zero : D.gridSigns true 0 0 0 = Sum.elim (D.signsY 0) 1 :=def
Data.lines 91–95computationgridDiagEquiv For P and data D:gridDiagEquiv(j) is, for every natural number j, a bijection from the index set of V_{j,j} plus one point to that of Z_{j,j}: the identity for j = 0, otherwise a chosen bijection keeping the signs, the extra point having sign (-1)^{\min(j, m)} (it exists by counting negative signs,exists_equiv_of_card_neg).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 91 def gridDiagEquiv : ∀ j, D.GridIndex false j j ⊕ Unit ≃ D.GridIndex true j jlemma
Data.lines 99–101computationgridDiagEquiv_spec For P, data D and j \le m (h): with offset 0, the signs of Z_{j,j} are, throughgridDiagEquiv(j), those of V_{j,j} together with the sign (-1)^{j} on the extra index: (gridSigns(false, 0, j, j) \oplus(-1)^{j}) \circgridDiagEquiv(j)^{-1} =gridSigns(true, 0, j, j).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · lines 99–101 lemma gridDiagEquiv_spec (h : j ≤ D.m) : Sum.elim (D.gridSigns false 0 j j) (fun _ ↦ (-1) ^ j) ∘ (D.gridDiagEquiv j).symm = D.gridSigns true 0 j j := by cases j; use D.gridSigns_zero.symm; grind [gridDiagEquiv]lemma
Data.lines 105–106computationcard_gridIndex_mod_two For P, data D, a grid z and natural numbers i, j: |GridIndex(D, z, i, j)| mod 2 is 0 in the grid Z and (i + j + 1) mod 2 in the grid V.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 105 lemma card_gridIndex_mod_two z i j : card (D.GridIndex z i j) % 2 = ite z 0 ((i + j + 1) % 2) := bylemma
Data.lines 108–109computationw_add_gap_le For P, data D, an infinite place \tau and natural numbers a < b (h): w(a, \tau) + (2 if a + 1 < b, else 1)\cdot h \le w(b, \tau).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 108 lemma w_add_gap_le a b (h : a < b) : D.w a τ + ite (a + 1 < b) 2 1 * D.h ≤ D.w b τ := bylemma
Data.lines 116–117computationgridSigns_eq_one For P, data D, a grid z, natural numbers i, j with m \le j (h): all signs at the node (i, j) with offset 0 are +1:gridSigns(z, 0, i, j) = 1.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 116 lemma gridSigns_eq_one (h : D.m ≤ j) : D.gridSigns z 0 i j = 1 :=lemma
Data.lines 121–124computationhasGap_gridParam For P, data D, an infinite place \tau, a grid z, natural numbers i, j and an offset o (default 0) with o = 0 or i = 0 (H): the doubled parametergridParam(z, o, i, j, \tau) is a Harish-Chandra parameter with gap h (HCParam.).HasGap Structured proof, 1 step Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows Input 8, p. 12 of Good forms and rows: equal Hecke traces on unitary groups that differ at the real places
The Lean statement
New/Exchange/GridParameters.lean · lines 121–122 lemma hasGap_gridParam z i j (o := 0) (H : o = 0 ∨ i = 0 := by simp) : (D.gridParam z o i j τ).HasGap D.h := by constructor <;> norm_cast <;> push_cast [typevec,lemma
Data.lines 128–140computationgridParam_interlace For P, data D, an infinite place \tau and an integer x: at the node (m, m), the number of entries of -gridParam(true, 0, m, m, \tau) above x minus the number of entries ofgridParam(false, 0, m, m, \tau) above x lies in \{0, 1\}: the negated parameter of the grid Z and the parameter of the grid V interlace.Structured proof, 9 steps Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · lines 128–129 lemma gridParam_interlace x : (#{j | x < -D.gridParam true 0 D.m D.m τ j} - #{i | x < D.gridParam false 0 D.m D.m τ i} : ℤ) ∈ Icc 0 1 := bylemma
Data.lines 142–144computationabs_gridParam_le For P, data D, a grid z, natural numbers i, j and an infinite place \tau: if i \le m and j \le m, then every entry x of the parameter satisfies |gridParam(z, 0, i, j, \tau, x)| \le \lceil 20b\rceil.Structured proof, 2 steps Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 142 lemma abs_gridParam_le : i ≤ D.m → j ≤ D.m → ∀ x, |D.gridParam z 0 i j τ x| ≤ ⌈20 * D.b⌉₊ := bylemma
Data.lines 146–147computationcard_gridIndex_le For P, data D, a grid z and natural numbers i, j with i \le m and j \le m (h): |GridIndex(D, z, i, j)| \le 2\cdot n(D, m).Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · line 146 lemma card_gridIndex_le (h : i ≤ D.m ∧ j ≤ D.m) : card (D.GridIndex z i j) ≤ 2 * D.n D.m := byinstance
(anonymous)line 149computationInstance: for P, data D, a grid z and natural numbers i, j, the index setGridIndex(D, z, i, j) is non-empty.The Lean statement
New/Exchange/GridParameters.lean · line 149 instance : Nonempty (D.GridIndex z i j) := card_pos_iff.1 (by grind)lemma
Data.lines 154–165argumentparamsCorrespond_grid For P, data D, a boolean d, a grid z, natural numbers o, i, j and (c, l, i', j') =(z, i, i + 1, j) if d is true and (not z, j + o, i, j + 1) otherwise (e), with i' \le m (hi), j' \le m (hj) and o = 0 or i' = 0 (H): every step of either grid is an edge for the parameters:ParamsCorrespond(gridWeight(c, l,GridIndex(z, i, j)),gridWeight(c, l,GridIndex(z, i', j')),negIf(d,gridParam(z, o, i, j)),negIf(d,gridParam(z, o, i', j')),gridSigns(z, o, i, j),gridSigns(z, o, i', j')): from (i, j) to (i + 1, j) with both parameters negated, or to (i, j + 1) with them unchanged.Structured proof, 1 step Lemma 3.2, p. 7 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · lines 154–158 lemma paramsCorrespond_grid d z o i j {c l i' j'} (e : (c, l, i', j') = bif d then (z, i, i + 1, j) else (!z, j + o, i, j + 1)) (hi : i' ≤ D.m := by lia) (hj : j' ≤ D.m := by lia) (H : o = 0 ∨ i' = 0 := by lia) : ParamsCorrespond (D.gridWeight c l (D.GridIndex z i j)) (D.gridWeight c l (D.GridIndex z i' j')) (negIf d (D.gridParam z o i j)) (negIf d (D.gridParam z o i' j')) (D.gridSigns z o i j) (D.gridSigns z o i' j') := fun τ ↦ bylemma
Data.lines 167–176argumentparamsCorrespond_first_arrow For P, data D, natural numbers i, j with i + j < m (h) and a grid z: put \delta(n, \tau) = |GridIndex(z, 0, n)| -gridWeight(not z, i,GridIndex(z, 0, n), \tau) and P(o, j, o', j') =ParamsCorrespond(\delta(j), \delta(j'), -gridParam(z, o, 0, j), -gridParam(z, o', 0, j'),gridSigns(z, o, 0, j),gridSigns(z, o', 0, j')). Then P(i + 1, j, i, j + 1) and P(i, j + 1, i + 1, j).Structured proof, 3 steps Lemma 3.2, p. 7 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/GridParameters.lean · lines 167–171 lemma paramsCorrespond_first_arrow z (h : i + j < D.m) : let δ n τ := card (D.GridIndex z 0 n) - D.gridWeight (!z) (0 + i) (D.GridIndex z 0 n) τ let P o j o' j' := ParamsCorrespond (δ j) (δ j') (-D.gridParam z o 0 j) (-D.gridParam z o' 0 j') (D.gridSigns z o 0 j) (D.gridSigns z o' 0 j'); P (i + 1) j i (j + 1) ∧ P i (j + 1) (i + 1) jinstance
Data.lines 14–18computationfinite_pair Instance: for parameters P and admissible data D (implicit), the type of pairsPair(D) is finite (from the finiteness of tame Hecke characters of bounded conductor and the bounds on the weights and points of a pair).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 14 instance Data.finite_pair : Finite (@Pair P D) := .of_injective (β := Set.Iic (fun _ ↦ ⌊_⌋₊) ×def
Data.lines 22–23computationTameChar. pow For P, data D (implicit), a tame character \vartheta and a natural number n:TameChar.(\vartheta, n) is the tame character \vartheta^{n}, with the same set Q and tame part \psi^{n}.pow Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 22 noncomputable def Data.TameChar.pow ϑ n :=structure
Data.lines 27–28computationMFoldTwist For parameters P and admissible data D:MFoldTwist(D) is the structure of m-fold twists: a twist \vartheta (Data.: a tame character whose tame part is non-trivial at every place of its set Q) whose tame part satisfies \psi_{w}^{n} \ne 1 for every w \in Q and every n with 1 \le n \le m (Twist pow_ne_one).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · lines 27–28 structure Data.MFoldTwist (D : Data P) extends D.Twist where pow_ne_one : ∀ n ∈ D.LiftIndex, ∀ w ∈ Q, ψ w ^ n ≠ 1abbrev
Data.line 32computationchainChar For P, data D, a tame character \vartheta and a natural number j:chainChar(D, \vartheta, j) =liftChar(D, \vartheta^{j}, j), the character \mu_{j}^{0}\vartheta^{j} of U(1)(\mathbb{A}) used for lift j of a chain (\mu_{j}^{0} = \mu_{0}(D, j)).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 32 noncomputable abbrev Data.chainChar (D : Data P) ϑ j := D.liftChar (.pow ϑ j) jinstance
Data.line 34computationinstOneTws Instance: for P and data D, the m-fold twists have a distinguished element 1, the trivial twist (its set Q is empty, so the condition is vacuous).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 34 noncomputable instance Data.instOneTws (D : Data P) : One D.MFoldTwist := ⟨1, nofun⟩def
Data.lines 39–40computationMFoldTwist. powTwist For P, data D (implicit), an m-fold twist \vartheta and a lift index n (1 \le n \le m):powTwist(\vartheta, n) is the power \vartheta^{n} as a twist (its tame part is non-trivial on Q bypow_ne_one).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 39 noncomputable def Data.MFoldTwist.powTwist ϑ (n : LiftIndex D) :=lemma
Data.lines 42–43computationtwist_one_spec For P and data D (implicit): the trivial twist has automorphic character 1, the trivial m-fold twist reads as the trivial twist, and the set Q of the trivial twist is empty.Definition 3.1, p. 6 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · lines 42–43 lemma Data.twist_one_spec : ((1 : D.Twist).toAutChar = 1 ∧ (1 : D.MFoldTwist).1 = 1) ∧ (1 : D.Twist).Q = ∅ := by tautodef
Data.lines 47–48computationPair. ratio For P, data D (implicit), a pair p =(\nu, z), a tame character \vartheta and a sign s (default 1):ratio(p, \vartheta, s) = |L(z, (\nu \vartheta^{s})^{-1})| / |L(z, \nu^{-1})|, a complex number (real, positive when defined), the Euler factors at the chosen places above g removed in both L-values and those at Q(\vartheta) in the numerator (AutChar.with the sets of places \{w :L IsChosen(w)\} \cup Q(\vartheta) and \{w :IsChosen(w)\}).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 47 noncomputable def Data.Pair.ratio (p : D.Pair) (ϑ : D.TameChar) (s : ℤˣ := 1) := (‖(p.ν *def
thetaOnRealDatalines 21–22computationFor a field E which is a CM number field with a CM type and carries Weil data, finite index types n, a, signs s, t, hermitian spaces W_{1} :Space(E, n, s), V :Space(E, a, t), characters \alpha, \gamma of U(1)(\mathbb{A}), a finite datum F, an adelic matrix x and a point p of U(W_{1})(\mathbb{A}) \times U(V)(\mathbb{A}):thetaOnRealData(W_{1}, V, \alpha, \gamma, F, x, p) is the continuous linear functional v \mapsto \theta(\varrho(x)\cdot \omega_{\alpha,\gamma}(p)(v \otimes F)) on the real data v of the pair (W_{1}, V): the theta functional \theta after the Heisenberg operator \varrho of the vector of x and the Weil action \omega_{\alpha,\gamma}(p) of the pair (pairWeil W₁ V α γ p).The Lean statement
New/Exchange/LowRankIdentity.lean · line 21 noncomputable def thetaOnRealData α γ F x p :=lemma
thetaTerm_stdDatum_speclines 27–61argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, a, b, m finite index types; signs s, t, r; X :Space(E, m, r), W_{1} :Space(E, n, s), D a base-adapted splitting of X over W_{1} along b, V :Space(E, a, t). Let P be a finite set of places with non-trivial local productLocProd(P) (Nontrivial), A a set of places and \pi a reading map with h :ReadsAt(A, \pi); \Phi a Schwartz–Bruhat function supported in a set U (h\Phi) which equals the standard datum of the adapted frame, \Phi =stdDatum(adaptedFrame(h, D), y \mapsto \varepsilon \cdotinvOnUnits(\chi, \det(y\cdot N))) (e), for a character \chi, a constant \varepsilon and a (b \sqcup n) \times a matrix N overLocProd(P); v a rapid real datum (hv); characters \beta, \beta ', \gamma with \beta ' = \beta \cdot \upsilon^{|b|} (h\beta); and c, z, q, g (the coordinates of a point). Put f =localDatum(X, V, v, \Phi, h) and p =radicalElt(D, c, z)\cdotlevi(D, (q, g)). Then: (1) the theta terms of D for (V, \beta ', \gamma, f) at p are integrable; (2) for all rational x, x' = x_V^{-1}\cdot x, adelic Y with x'\cdot q =scaleIdele(E)\cdot Y and every k, writing y = k_f^{-1}\cdot Y_f, the theta termthetaTerm(D, V, \beta ', \gamma, f, p, x, k) equals \psi(\tfrac12 \cdot \operatorname{tr}(z\cdot(x^{*}J_V x))) \cdot \gamma_{a}(\det q)^{-1} \cdot |\det q|^{|a|/2} \cdot [y integral]\cdotvacuumFactor(D, V) \cdotthetaOnRealData(W_{1}, V, \beta, \gamma,namedVector(W_{1}, V, y' \mapsto [y' integral]\cdot \varepsilon \cdotinvOnUnits(\chi, \det((y mod \pi | y')\cdot N)), h), x'c^{*}\cdotstdForm(s), (g, k))(realSlice(D, V, k^{-1}Y, v)), \gamma_{a} the character attached to \gamma in rank |a|; and (3) for signs t' and T not represented by t' (as an adelic matrix: at some infinite place v there is no complex c with c^{*}\cdot \operatorname{diag}(t')\cdot c = T_v) such that every non-zero real slicerealSlice(D, V, x, v) has its \operatorname{Gram} matrix x^{*}\cdotstdForm(t)\cdot x represented by t', the coefficientcentreCoeff(D, \jmath T,thetaIntegral(X, V, \beta ', \gamma, f), p) vanishes.Structured proof, 16 steps Proposition 5.3, p. 20 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/LowRankIdentity.lean · lines 27–40 lemma thetaTerm_stdDatum_spec {P A π} [Nontrivial (@LocProd E _ _ P)] (h : ReadsAt A π) {Φ U v β β'} γ χ ε (N : Matrix (b ⊕ n) a (LocProd P)) (hΦ : Φ ∈ schwartzBruhat U) (e : Φ = (adaptedFrame h D).stdDatum fun y : Matrix a _ (LocProd P) ↦ ε * invOnUnits χ (y * N).det) (hv : IsRapidDatum v) (hβ : β' = β * upsilonU1 ^ card b) c z q g : let f := localDatum X V v Φ h; let p := D.radicalElt c z * D.levi (q, g); (D.HasIntegrableTerms V β' γ f p ∧ ∀ x x' (Y : Matrix a b (𝔸 E)), V.x⁻¹.1 * Matrix.map x toAdele = x' → x' * q.1 = scaleIdele E • Y → ∀ k, let y := k.2⁻¹.1.1 * Y.map snd; (delta% D.thetaTerm V β' γ f p x k) = stdAddChar E (toAdele 2⁻¹ * (z * (xᴴ * V.J * x).map toAdele).trace) * (((γ.spaceChar (card a)).1 q.det : ℂ)⁻¹ * √(ideleAbs q.det) ^ card a * (ite (IsIntMatrix (Ô E) y) (vacuumFactor (isAdapted_homSource D V)).1 0 * thetaOnRealData W₁ V β γ (namedVector _ V (fun y' ↦ ite (IsIntMatrix O y') (ε * invOnUnits χ (fromCols (y.map π) y' * N).det) 0) h) (x' * cᴴ * stdForm E s) (g, k) (realSlice D V (k⁻¹.mat * Y) v)))) ∧ ∀ t' T, ¬RepresentedBy t' (T.map toAdele) → (∀ x, realSlice D V x v ≠ 0 → RepresentedBy t' (xᴴ * stdForm E t * x)) → D.centreCoeff ((j : E) • T) (thetaIntegral X V β' γ f) p = 0lemma
thetaOnRealData_boxProd_eq_mullines 65–71computationLet E be a field which is a CM number field with a CM type and carries Weil data; n, b finite index types, s, t' signs, W_{1} :Space(E, n, s), V' :Space(E, b, t'); \alpha, \beta characters; f, F finite data for (W_{1}, V') and (W_{1}, W_{1}); c an adelic matrix; g, u, l points of U(W_{1})(\mathbb{A}), U(V')(\mathbb{A}), U(W_{1})(\mathbb{A}); \varphi, v real data for (W_{1}, V') and (W_{1}, W_{1}). For the target V' \oplus W_{1} and product data:thetaOnRealData(W_{1}, V' \oplus W_{1}, \alpha, \alpha \cdot \beta,boxProd(f, F), (c; 0), (g,sum(u, l)))(realBoxProd(\varphi, v)) =thetaOnRealData(W_{1}, V', \alpha, \beta, f, c, (g, u))(\varphi) \cdotpairTheta(W_{1}, W_{1}, \alpha, \alpha, v \otimes F, (g, l)): the theta term at the map (c; 0) is the term for V' at c times the theta kernel of (W_{1}, W_{1}).Structured proof, 1 step Lemma 5.4, p. 21 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/LowRankIdentity.lean · lines 65–69 lemma thetaOnRealData_boxProd_eq_mul {E n b} {s t'} [Field E] [CMType E] [WeilData E] [Fintype n] [Fintype b] {W₁ : Space E n s} (V' : Space E b t') α β f F c g u φ v l : thetaOnRealData W₁ (V'.sum W₁) α (α * β) (Space.boxProd homSigns_sum_target f F) (.fromRows c 0) (g, .sum (u, l)) (realBoxProd (realSigns_comp_split homSigns_sum_target) φ v) = thetaOnRealData W₁ V' α β f c (g, u) φ * pairTheta W₁ W₁ α α (integrated _ v F) (g, l) := bylemma
thetaLarge_eq_apply_one_of_even_ranklines 75–86argumentLet E be a field which is a CM number field with a CM type and carries Weil data; a, m finite index types, t, r signs, X :Space(E, m, r) of even rank (\mathit{hn}: 2 divides |m|), W :Space(E, a, t), D_{1} a base-adapted splitting of X over W along an isotropic line (IsBaseAdapted D₁), \mathfrak{c} a split tame character of weight \mu and v a rapid real datum (hv). Then the theta integral for (X, X) with the characters of \mathfrak{c} and the finite datum \chi_{\mathfrak{c}}^{-1}\circ \det is constant: for every g,thetaLarge(X, X, \mathfrak{c}, v,stdColDatum(\chi_{\mathfrak{c}}, 1))(g) =thetaLarge(X, X, \mathfrak{c}, v,stdColDatum(\chi_{\mathfrak{c}}, 1))(1).Structured proof, 3 steps Proposition 5.5, p. 21 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/LowRankIdentity.lean · lines 75–77 lemma thetaLarge_eq_apply_one_of_even_rank [IsBaseAdapted D₁] {v} (hn : 2 ∣ card m) (hv : IsRapidDatum v) g : thetaLarge X X 𝔠 v (stdColDatum 𝔠.χ 1) g = thetaLarge X X 𝔠 v (stdColDatum 𝔠.χ 1) 1 := bydef
equalRankThetaRatiolines 90–91computationFor a field E which is a CM number field with a CM type and carries Weil data, a finite index type a, signs t, V :Space(E, a, t), weights \mu, a split tame character \mathfrak{c} of weight \mu and a real datum v:equalRankThetaRatio(V, \mathfrak{c}, v) = |thetaLarge(V, V, \mathfrak{c}, v,stdColDatum(\chi_{\mathfrak{c}}, 1))(1)|^{2} /lValueProdInt(\mathfrak{c}, |a|/2), a real number: the squared absolute value of the value \lambda(v) at 1 of the theta integral for (V, V) with real datum v and finite datum \chi^{-1}\circ \det, divided by \Pi(\mathit{rk} V/2).The Lean statement
New/Exchange/LowRankIdentity.lean · line 90 noncomputable def equalRankThetaRatio v := ‖thetaLarge V V 𝔠 v (stdColDatum 𝔠.χ 1) 1‖ ^ 2 /def
StdExchangelines 96–99computationFor a field E which is a CM number field with a CM type and carries Weil data, finite index types n, b, m, signs s, t', r, hermitian spaces X :Space(E, m, r), V :Space(E, n, s), V' :Space(E, b, t'), weights \mu, \sigma (an identification for the standard row datum), real data v, y and a function \ell from split tame characters of weight \mu to \mathbb{R}:StdExchange(X, V, V', \mu, \sigma, v, y, \ell) holds when v and y are rapid and there is a real C such that every split tame character \mathfrak{c} of weight \mu has a complex number c with C\cdot |c|^{2} =lValueProdInt(\mathfrak{c}, |n| - |m|/2)\cdot \ell(\mathfrak{c}) and, for every matrix z with entries in O,thetaLarge(X, V, \mathfrak{c}, v,stdRowDatum(\sigma, \chi_{\mathfrak{c}}, z)) = c\cdotthetaSmall(X, V', \mathfrak{c}, y,stdColDatum(\chi_{\mathfrak{c}}, z)).The Lean statement
New/Exchange/LowRankIdentity.lean · lines 96–97 def StdExchange {t' r} (X : Space E m r) (V : Space E n s) (V' : Space E b t') μ σ v y (ℓ : _ → ℝ) := IsRapidDatum v ∧ IsRapidDatum y ∧ ∃ C, ∀ 𝔠 : SplitTameChar E μ, ∃ c : ℂ, C * ‖c‖ ^ 2 =lemma
stdExchange_of_periodslines 111–205argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, a, b, m finite index types; signs s, t, r; X :Space(E, m, r); W_{1} :Space(E, n, s) of even rank (\mathit{hn}: 2 divides |n|); D a base-adapted splitting of X over W_{1} along b; W :Space(E, a, t); weights \mu; signs t' and V' :Space(E, b, t'); D_{1} a base-adapted splitting of W_{1} over W along a line; \sigma ' an identification for standard row data; v, v' rapid real data (\mathit{hv}, \mathit{hv}') for (X, V' \oplus W_{1}) and (X, V'); l a complex function on split tame characters of weight \mu; \rho a real function on U(V' \oplus W_{1})(\mathbb{R}) with \rho \ge 0 (h_{0}) and \rho \ne 0 near 1 (h_{1}). Assume the period condition (hc): for every split tame character \mathfrak{c} of weight \mu, with \gamma =rankTwist(\nu_{\mathfrak{c}}^{-1}, n), and every h there is p such that for all B \in \mathrm{GL}_b and z with \det B at the infinite places equal to z, and all \beta, f, x, g, y: the integral over l' \in [U(W_{1})] ofthetaOnRealData(W_{1}, V' \oplus W_{1}, \gamma, \gamma \beta,boxProd(f,namedVector(W_{1}, W_{1},stdColDatum(\chi_{\mathfrak{c}}, 1),readsAt(\mathfrak{c}))), (x; 0), (g,sum(y, l')))(realPairWeil(i \mapsto |n|/2 - \mu(i), 0)(1,sum(p)\cdot h)(realSlice(D, V' \oplus W_{1},mat(sum(p)\cdot h, 1)^{-1}\cdot(B; 0), v))) equals \rho(h)\cdot l(\mathfrak{c})/(BC(\nu_{\mathfrak{c}})(z)\cdot(\sqrt{|}z|_{\mathbb{A}})^{|n|}) \cdotthetaOnRealData(W_{1}, V', \gamma, \beta, f, x, (g, y))(realSlice(D, V', B, v')) (slices of v integrate over [U(W_{1})] to \rho \cdot l(\mathfrak{c}) times those of v', up to the Levi factor; here z is read as the idele with infinite components z and finite components 1, BC(\nu_{\mathfrak{c}}) = \mathfrak{c}.\nu.baseChangeis the base-change character x \mapsto \nu_{\mathfrak{c}}(x/\overline{x}) of the ideles of E (\nu_{\mathfrak{c}} itself lives on the unitary line U(1)(\mathbb{A})), and |z|_{\mathbb{A}} =ideleAbs(z)); and assume the support or sign condition (hz): either every non-zero real slicerealSlice(D, V' \oplus W_{1}, x, v) has \operatorname{Gram} matrix x^{*}\cdotstdForm(t' \oplus s)\cdot x represented by t', or t' = -1 and W_{1} has a positive sign i (s(i) = 1) with 2\cdotnegCount(s) \le |n|. ThenStdExchange(X, V' \oplus W_{1}, V', \mu, \sigma ', v, v', \mathfrak{c} \mapsto |l(\mathfrak{c})|^{2}/lValueProdInt(\mathfrak{c}, |n|/2)).Structured proof, 43 steps Theorem 3, p. 4 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/LowRankIdentity.lean · lines 111–122 lemma stdExchange_of_periods [IsBaseAdapted D₁] {σ' v v'} (l : _ → ℂ) (hn : 2 ∣ card n) {ρ : GInf E (t' ⊕ᵥ s) → ℝ} (h₀ : 0 ≤ ρ) (h₁ : ∀ᶠ h in nhds 1, ρ h ≠ 0) (hv : IsRapidDatum v) (hv' : IsRapidDatum v') (hc : ∀ 𝔠 : SplitTameChar E μ, let γ := rankTwist 𝔠.ν⁻¹ n; ∀ h, ∃ p, ∀ (B : GL b _) (z : _ˣ), (det <| atRealPlace B.1 ·) = z.1 → ∀ β f x g y, ∫ l, thetaOnRealData W₁ (V'.sum W₁) γ (γ * β) (boxProd homSigns_sum_target f (namedVector W₁ W₁ (stdColDatum 𝔠.χ 1) 𝔠.readsAt)) (fromRows x 0) (g, .sum (y, l)) (realPairWeil (card n / 2 - μ ·) 0 (1, (G.sum p).1 * h) (realSlice D (V'.sum W₁) (G.mat ((G.sum p).1 * h, 1)⁻¹ * fromRows (m₂ := n) B.1 0) v)) ∂W₁.quotMeasure = ρ h * l 𝔠 / (𝔠.ν.baseChange.1 (z.map (.inl ..)) * √(ideleAbs (z.map (.inl ..))) ^ card n) * thetaOnRealData W₁ V' γ β f x (g, y) (realSlice D V' B v')) (hz : (∀ x, realSlice D (V'.sum W₁) x v ≠ 0 → RepresentedBy t' (xᴴ * stdForm E (t' ⊕ᵥ s) * x)) ∨ t' = -1 ∧ ∃ i, s i = 1 ∧ 2 * negCount s ≤ card n) : StdExchange X (V'.sum W₁) V' μ σ' v v' fun 𝔠 ↦ ‖l 𝔠‖ ^ 2 / lValueProdInt 𝔠 (card n / 2) := bylemma
centreCoeff_eq_zero_of_not_negativelines 21–103argumentLet E be a field which is a CM number field with a CM type, with Weil data H (WeilData E; \jmath = H.j, \upsilon = H.upsilonU1 its splitting character). Let a, b, m, n be finite index types; X :Space(E, m, r), Y :Space(E, n, s), Z :Space(E, a, t) hermitian spaces with signs r, s, t, and D a splitting of X over Z along b (Space.: X =(\mathrm{lE}^{b} \oplus \mathrm{kE}^{b}) \perpSplitting X Z b iZwith isotropic frames l, k, l^{*}Jk = 1, so \mathit{rk} X = \mathit{rk} Z + 2|b|). Let \nu be a character of U(1)(\mathbb{A}) with weights \mu and tame part \psi (AutChar.), \delta a character, f a datum of the pair (X, Y), g a point of U(X)(\mathbb{A}) and T an n' = b \times b matrix over E. Assume: i is an index of Y with s(i) = 1 (Y has a positive sign); (h\gamma) \mu(\tau) <HasWeight ν μ ψ negCount(-t) for every infinite place \tau (the weights of \nu are below the number of positive signs of Z); (\mathit{ht}) |b| +negCount(t) =negCount(s) (Y has |b| more negative signs than Z); (d) \delta = \nu \cdot \upsilon^{|b|}; (h_{0}) T is invertible; (hR) T, read as an adelic matrix, is not represented by the form -1, i.e. at some infinite place \tau there is no c with -c^{*}c = T_{\tau} (T_{\tau} is not negative semidefinite); (hi) the theta terms of D for (Y, \delta, \delta, f, g) are integrable (Space.). Then the Fourier coefficient of the theta integralSplitting. HasIntegrableTerms D Y δ δ f g thetaIntegral(X, Y, \delta, \delta, f) at \jmath T along the centre of the unipotent radical of D vanishes at g:centreCoeff(D, \jmath \bullet T,thetaIntegral(X, Y, \delta, \delta, f), g) = 0.Structured proof, 41 steps Proposition 5.2, p. 19 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/NonnegativeVanishing.lean · lines 21–26 lemma centreCoeff_eq_zero_of_not_negative {E} [Field E] [CMType E] [H : WeilData E] {a b m n} [Fintype a] [Fintype b] [Fintype m] [Fintype n] {r ν} {X : Space E m r} {s} {Y : Space E n s} {t} {Z : Space E a t} {D : X.Splitting Z b} {μ ψ δ f g T} [AutChar.HasWeight ν μ ψ] i (hγ : ∀ τ, μ τ < negCount (-t)) (ht' : s i = 1) (ht : card b + negCount t = negCount s) (d : δ = ν * H.upsilonU1 ^ card b) (h₀ : IsUnit T) (hR : ¬RepresentedBy (-1) (T.map toAdele)) (hi : D.HasIntegrableTerms Y δ δ f g) : D.centreCoeff (H.j • T) (thetaIntegral X Y δ δ f) g = 0 := bylemma
integral_integral_sum_eqlines 22–27one-stepLet E be a field which is a CM number field with a CM type; n, n', n_{1}, n_{2} finite; A :Space(E, n', s'), U_{1} :Space(E, n_{1}, s_{1}), U_{2} :Space(E, n_{2}, s_{2}); \mu the product of the quotient measures of U_{1} and U_{2}. For families c, G of complex numbers and F of functions on (U(U_{1}) \times U(U_{2})) \times U(A) indexed by n: if every F(i) with c(i) \ne 0 is integrable for \mu \times (quotient measure of A) with integral G(i), then \int_{x} \int_{y} \sum_{i} c(i)\cdot F(i)(x, y) \mathit{dy} d\mu(x) = \sum_{i} c(i)\cdot G(i).Structured proof, 2 steps Lemma 5.1, p. 14 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/OneSquare.lean · lines 22–25 lemma integral_integral_sum_eq {c G : n → ℂ} {F : n → _} : let μ := U₁.quotMeasure.prod U₂.quotMeasure (∀ i, c i ≠ 0 → Integrable (F i) (μ.prod A.quotMeasure) ∧ integral (μ.prod A.quotMeasure) (F i) = G i) → ∫ x, ∫ y, ∑ i, c i • F i (x, y) ∂A.quotMeasure ∂μ = ∑ i, c i • G ilemma
apply_eq_mul_of_formRep_onelines 29–31one-stepFor E, n', n_{1}, n_{2}, signs and spaces A, U_{1}, U_{2} as in the section, types e, e_{1}, e_{2} of forms, forms f on U_{1}, w on U_{2}, y on A, complex numbers c, c', C and linear maps u, d, l: if y = c\cdot u(R(1)f) (h), R(1)w = c'\cdot d(y) (h') and c'\cdot c = C (H), then l(w) = C\cdot l(d(u(f))), R the right translation (formRep).The Lean statement
New/Exchange/OneSquare.lean · lines 29–31 lemma apply_eq_mul_of_formRep_one {e e₁ e₂ f w} {y : A.Form e} {c c' C : ℂ} {u d l : _ →ₗ[ℂ] _} (h : y = c • u (U₁.formRep e₁ 1 f)) (h' : U₂.formRep e₂ 1 w = c' • d y) (H : c' * c = C) : l w = C * l (d (u f)) := by simp_all [smul_smul]lemma
exists_integrable_kernel_boundlines 33–44argumentFor E, n', n_{1}, n_{2}, signs and spaces A, U_{1}, U_{2} as in the section, forms y on U_{1} and y' on U_{2} that are automorphic and rapidly decreasing (r, r'), characters b_{1}, b_{2} of U(1)(\mathbb{A}) and a kernel K(v, g, z) (v a Fock vector for the signs s, g a point of U(U_{1} \oplus U_{2}), z a point of U(A)) such that (h) there are B, N, C with |K(v, g, z)| \le C\cdot \text{weightedNorm}_N(v)\cdotheight(g)^{B} whenever \text{weightedNorm}_N(v) < \infty, and (hK) each K(v, \cdot, \cdot) is continuous: there are N and C such that for every v with \text{weightedNorm}_N(v) < \infty the function F(q) = y(q_{11})\cdot y'(q_{12})\cdot(b_{1}(\det q_{11})\cdot b_{2}(\det q_{12}))^{-1}\cdot K(v,sum(q_{1}), q_{2}) is integrable over [U(U_{1})] \times [U(U_{2})] \times [U(A)] and |F(q)| \le C\cdot \text{weightedNorm}_N(v) for all q.Structured proof, 5 steps Lemma 5.1, p. 14 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/OneSquare.lean · lines 33–39 lemma exists_integrable_kernel_bound {y y'} (r : y ∈ U₁.rapidFunctions) (r' : y' ∈ U₂.rapidFunctions) {b₁ b₂ : AutChar E} {K : fockSpace s → _ → _ → ℂ} (h : ∃ B N C, ∀ v g z, weightedNorm N v ≠ ⊤ → ‖K v g z‖ * A.height z ^ 0 ≤ C * (weightedNorm N v).toReal * (U₁.sum U₂).height g ^ B) (hK : ∀ v, Continuous ↿(K v) := by fun_prop) : ∃ N C, ∀ v, weightedNorm N v ≠ ⊤ → let F q := y q.1.1 * y' q.1.2 * (b₁.1 q.1.1.det * b₂.1 q.1.2.det)⁻¹.1 * K v (.sum q.1) q.2 Integrable F ((U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure) ∧ ∀ q, ‖F q‖ ≤ C * (weightedNorm N v).toReallemma
one_squarelines 59–134argumentOne square: lift then descent is proportional to descent then lift. Let E be a field which is a CM number field with a CM type and carries Weil data; n, n', n_{1}, n_{2} finite index types with signs s, s', s_{1}, s_{2}; A' :Space(E, n, s), A :Space(E, n', s'), U_{1} :Space(E, n_{1}, s_{1}), U_{2} :Space(E, n_{2}, s_{2}). Let I be an index set with families of characters a(i, \cdot), b(i, \cdot), \nu(i), moduli \mathfrak{m}(i) and local characters \chi(i), and suppose four edge families (IsEdgeFamily): h_{2} for b from k_{2} to k in direction d with datum \Phi_{2}, h_{1} for a from k_{1} to k in direction \neg d with \Phi_{1}, h_{3} for a from k' to k_{2} in direction \neg d with \Phi_{2}', h_{4} for b from k' to k_{1} in direction d with \Phi_{1}'. Let \sigma be an identification of index sets, and assumenegCount(s_{1} \oplus s_{2}) =negCount(s') +negCount(s) (hs), |n'| = |n| + 2e (he), 2\cdotnegCount(s_{1} \oplus s_{2}) + 2 \le |n_{1} \sqcup n_{2}| (hn), weights \mu with |n_{1} \sqcup n_{2}| \le 2\mu(v) + 2\cdotnegCount(s_{1} \oplus s_{2}) at every infinite place (h\mu), each \nu(i) tame for \mathfrak{m}(i) with weights \mu and character \chi(i) (ht), and a(i, p)\cdot b(i, q) =rankTwist(\nu(i)^{-1}, n_{1} \sqcup n_{2}) whenever |p| + |q| = |n_{1}| + |n_{2}| (hE). For a matrix x write u(i, x) =modDescent(\cdot, A, b(i), \Phi_{2}, \delta_{x_{2}}) \circmodLift(U_{1}, A, a(i), \Phi_{1}, \delta_{x_{1}}) (lift from U_{1} to A, then descent to U_{2}, with point data at the column blocks x_{1}, x_{2} of x), and for y write v(i, y) =modLift(A', U_{2}, a(i), \Phi_{2}', \delta_{y_{2}}) \circmodDescent(\cdot, \cdot, b(i), \Phi_{1}', \delta_{y_{1}}) (descent from U_{1} to A', then lift to U_{2}, with point data at the row blocks of y). There are C and \kappa such that every i has c \ne 0 with |c|^{2} = C\cdotlValueProd(places(\mathfrak{m}(i)), \nu(i), e) and, for every form f on U_{1} and every linear functional l,SquareLaw(\chi(i), \sigma, \kappa /c, x \mapsto l(u(i, x)(f)), y \mapsto l(v(i, y)(f))). (\kappa is not shown to be non-zero.)Structured proof, 28 steps Theorem 2, p. 4 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/OneSquare.lean · lines 59–70 lemma one_square {k₁ k₂ d k Φ₁ Φ₂ k' Φ₁' Φ₂' I} {a b ν 𝔪 χ : ∀ _ : I, _} (h₂ : IsEdgeFamily b k₂ k d Φ₂) (h₁ : IsEdgeFamily a k₁ k (!d) Φ₁) (h₃ : IsEdgeFamily a k' k₂ (!d) Φ₂') (h₄ : IsEdgeFamily b k' k₁ d Φ₁') σ (hs : negCount (s₁ ⊕ᵥ s₂) = negCount s' + negCount s) e (he : card n' = card n + 2 * e) (hn : 2 * negCount (s₁ ⊕ᵥ s₂) + 2 ≤ card (n₁ ⊕ n₂)) {μ : _ → ℤ} (hμ : ∀ v, card (n₁ ⊕ n₂) ≤ 2 * μ v + 2 * negCount (s₁ ⊕ᵥ s₂)) (ht : ∀ i, IsTameFor (𝔪 i) (ν i) μ (χ i)) (hE : ∀ i {p q} [Fintype p] [Fintype q], card p + card q = card n₁ + card n₂ → a i p * b i q = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)) : let u i x := modDescent _ A (b i) Φ₂ (Pi.single x.toCols₂ 1) _ _ ∘ₗ modLift U₁ A (a i) Φ₁ (Pi.single x.toCols₁ 1) _ (k !d) let v i y := modLift A' U₂ (a i) Φ₂' (Pi.single y.toRows₂ 1) _ (k₂ !d) ∘ₗ modDescent _ _ (b i) Φ₁' (Pi.single y.toRows₁ 1) (k₁ !d) (k' !d) ∃ C κ, ∀ i, ∃ c ≠ 0, ‖c‖ ^ 2 = C * lValueProd (𝔪 i).places (ν i) e ∧ ∀ f (l : _ →ₗ[ℂ] ℂ), SquareLaw (χ i) σ (κ / c) (l <| u i · f) (l <| v i · f)lemma
IsPartner.lines 14–26argumentmem_matchingPairs Let a, b, n be finite index types, F a semilocal field with compact open subring O, \chi a multiplicative character of F which is tame (h\chi), e : b \sqcup a \simeq n, and \Phi, \Psi complex functions (on a \times n and n \times b matrices) which are partners for \chi over O with respect to e (h :IsPartner(O, e, \chi, \Phi, \Psi): \Phi vanishes off the matricesinvLastRows(e, k), \Psi offfirstCols(e, k), k \in \mathrm{GL}_n(O), and \Phi(invLastRows(e, k)) = \chi(\det k)\cdot \Psi(firstCols(e, k))), with \Psi locally constant (h\Psi). Then (\Phi, \Psi) lies inmatchingPairs(\chi, e).Structured proof, 2 steps Lemma 3.9, p. 14 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/PartnersMatch.lean · lines 14–15 lemma IsPartner.mem_matchingPairs {a b n} [Fintype a] [Fintype b] [Fintype n] {F} [SemilocalField F] {χ e Φ Ψ} (hχ : TameLocalChar χ) (h : @IsPartner F a b n _ _ O e χ Φ Ψ) (hΨ : IsLocallyConstant Ψ) : (Φ, Ψ) ∈ matchingPairs χ e := bylemma
exists_rapid_with_realSlicelines 19–35argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, a, b, m finite index types; s, r signs; X :Space(E, m, r), W_{1} :Space(E, n, s), D a base-adapted splitting of X over W_{1} along b; t' signs and V' :Space(E, a, t'). Let \tau be a real function (on the real coordinates of the slices) which is smooth (c: C^{\infty}), compactly supported (k), non-negative (h) and non-zero at some point y (o), and let v be a rapid real datum (hv). Then there are \kappa \in \mathbb{C} and a rapid real datum \Lambda for (X, V') such that the slice of \Lambda at 0 for the opposite splitting is v,realSlice(D.symm, V', 0, \Lambda) = v, and at every x the slice of \Lambda in the mixed model of D is (\tau(x)\cdot \kappa)\cdotrealWeil(1, v).Structured proof, 7 steps Lemma 6.1, p. 23 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/RealPair.lean · lines 19–22 lemma exists_rapid_with_realSlice {t'} (V' : Space E a t') (τ : _ → ℝ) (c : ContDiff ℝ ∞ τ) {v} (hv : IsRapidDatum v) (k : HasCompactSupport τ) (h : 0 ≤ τ) y (o : τ y ≠ 0) : ∃ κ Λ, IsRapidDatum Λ ∧ realSlice D.symm V' 0 Λ = v ∧ ∀ x, (isAdapted_homSource D V').mixedModel.slice x Λ = (τ x • (κ : ℂ)) • realWeil 1 v := bylemma
exists_contDiff_wittlines 40–54argumentWitt's theorem, smooth local form. Let b, m be finite index types, J an m \times m complex matrix with J^{*} = J (hJ), and x an m \times b complex matrix whose \operatorname{Gram} matrix x^{*}Jx is invertible (d: \det(x^{*}Jx) \ne 0). There is a map k from m \times b matrices to the unitary group U(J) such that y \mapsto k(y) (as a matrix) is smooth (C^{\infty} over \mathbb{R}) and, for every y near x, k(y)\cdot x\cdot c = y for some b \times b matrix c: elements of U(J) depending smoothly on y carry the span of x to that of y near x.Structured proof, 7 steps Lemma 6.2, p. 23 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/RealPair.lean · lines 40–42 lemma exists_contDiff_witt {J : Matrix m m ℂ} (hJ : Jᴴ = J) {x : Matrix m b ℂ} (d : (xᴴ * J * x).det ≠ 0) : ∃ k : _ → U J, ContDiff ℝ ∞ (fun y ↦ (k y).1.1) ∧ ∀ᶠ y in nhds x, ∃ c : Matrix b b ℂ, (k y).1.1 * x * c = y := bylemma
exists_stdExchange_toplines 59–132argumentLet E be a field which is a CM number field with a CM type and carries Weil data; n, a, b, m finite index types; s, r signs; X :Space(E, m, r), W_{1} :Space(E, n, s) of even rank (\mathit{hn}: 2 divides |n|), D a base-adapted splitting of X over W_{1} along b; t, t' signs, W :Space(E, a, t), D_{1} a base-adapted splitting of W_{1} over W along one line; V' :Space(E, b, t'); \sigma ' an identification for standard row data; \mu weights; and v, v_{1} rapid real data (\mathit{hv}, r_{1}) for (W_{1}, V') and (W_{1}, W_{1}). There are real data x for (X, V' \oplus W_{1}) and x' for (X, V') such that the slice of x' at 0 for the opposite splitting is v,realSlice(D.symm, V', 0, x') = v, andStdExchange(X, V' \oplus W_{1}, V', \mu, \sigma ', x, x', \mathfrak{c} \mapstoequalRankThetaRatio(W_{1}, \mathfrak{c}, v_{1})) holds.Structured proof, 34 steps Theorem 1, p. 2 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/RealPair.lean · lines 59–62 lemma exists_stdExchange_top {t t'} {W : Space E a t} (D₁ : W₁.Splitting W Unit) [IsBaseAdapted D₁] (V' : Space E b t') σ' (hn : 2 ∣ Fintype.card n) μ {v v₁ : PairFock ..} (hv : IsRapidDatum v) (r₁ : IsRapidDatum v₁) : ∃ x x', realSlice D.symm V' 0 x' = v ∧ StdExchange X (V'.sum W₁) V' μ σ' x x' (equalRankThetaRatio W₁ · v₁) := bylemma
Data.lines 16–34argumentexists_squareLaw_grid Let P be parameters, D admissible data, a, b natural numbers with a < m (h) and b < m (m), and z a grid. There are \kappa \in \mathbb{C}, an identification \sigma and a nowhere-zero function c of the m-fold twists (values in \mathbb{C}^{\times}) which costs one square (Data.) such that for every m-fold twist \vartheta and every pair l =(l_{1}, l_{2}) of a form l_{1} at the node (a, b + 1) of grid z and a linear functional l_{2} onCostsSquares D 1 c GridForm(z, a + 1, b): the two functions x \mapsto l_{2}(descentMove(x_{2})(liftMove(x_{1})(l_{1}))) and y \mapsto l_{2}(liftMove(y_{2})(descentMove(y_{1})(l_{1}))) (lift then descent and descent then lift from (a, b + 1) to (a + 1, b), x =(x_{1} | x_{2}) cut into column blocks, y =(y_{1}; y_{2}) into row blocks) satisfySquareLaw((edgeChar(\vartheta,verticalEdge(z, a, b))\cdotedgeChar(\vartheta,rowEdge(z, a, b)))^{-1}, \sigma, \kappa /c(\vartheta), \cdot, \cdot); \kappa is free of \vartheta.Structured proof, 8 steps Lemma 5.2, p. 12 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/RowLadder.lean · lines 16–19 lemma Data.exists_squareLaw_grid z (h : a < D.m) (m : b < D.m) : ∃ κ σ, ∃ c : _ → ℂˣ, D.CostsSquares 1 (c ·) ∧ ∀ ϑ (l : _ × (GridForm z (a + 1) b →ₗ[ℂ] ℂ)), SquareLaw (edgeChar ϑ (verticalEdge z a b) * edgeChar ϑ (rowEdge z a b))⁻¹ σ (κ / c ϑ) (fun x ↦ l.2 (descentMove x.toCols₂ (liftMove x.toCols₁ l.1))) fun y ↦ l.2 (liftMove y.toRows₂ (descentMove y.toRows₁ l.1)) := bylemma
Data.lines 40–62argumentdescent_past_gridPathMap A descent moves past a lifts. Let P be parameters, D admissible data, a, b natural numbers with b < m (h) and a \le b (h'), and z a grid. There are \kappa \in \mathbb{C} and a nowhere-zero function c of the m-fold twists costing a squares (Data.) such that for every m-fold twist \vartheta, order n, finite set w of edges and datum \Lambda: if every edge of w avoids grid z or isCostsSquares D a c rowEdge(z, i, b) with i \ge a, and \Lambda is tidy of order n on w \cupgridPath(z, a, b), then there is \Phi, tidy of order n + 2a on \{verticalEdge(z, a, b)\} \cupgridPath(z, a, b + 1) \cup w, with \Lambda(S \mapsto l(S)(gridPathMap(S, z, a, b)(F))) = \kappa /c(\vartheta)\cdot \Phi(S \mapsto l(S)(descentMove(S(verticalEdge(z, a, b)))(gridPathMap(S, z, a, b + 1)(F)))) for every form F at (0, m) and every family l(S) of linear functionals depending only on the values of S on w.Structured proof, 10 steps Proposition 5.3, p. 12 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/RowLadder.lean · lines 40–45 lemma Data.descent_past_gridPathMap {P} {D : Data P} {a b} (h : b < D.m) z (h' : a ≤ b) : ∃ κ, ∃ c : _ → ℂˣ, D.CostsSquares a (c ·) ∧ ∀ ϑ n w Λ, (∀ e ∈ w, z ∉ [e.1.1, e.2.1] ∨ ∃ i ≥ a, e = rowEdge z i b) → IsTidy n (w ∪ D.gridPath z a b) Λ → ∃ Φ, IsTidy (n + 2 * a) (insert (verticalEdge z a b) (D.gridPath z a (b + 1)) ∪ w) Φ ∧ ∀ F (l : EdgeTuple ϑ → _ →ₗ[ℂ] ℂ), DependsOn l w → Λ (fun S ↦ l S (gridPathMap S z a b F)) = κ / c ϑ * Φ fun S ↦ l S (descentMove (S (verticalEdge z a b)) (gridPathMap S z a _ F)) := bylemma
Data.lines 21–34argumentiotaPlus_adjoint_weightedChain Let P be parameters, D admissible data, z a grid, \vartheta an m-fold twist, i \le m (h) and y a form at node (0, 0) of grid z (of the triangle space). Put U =weightedChain(triangleOrder(z),triLift(D, z), \vartheta, 0, i)(y), the lift of y from node (0, 0) to (0, i) with each step weighted bytriangleOrder, and \iota(b) =iotaPlus(\vartheta, z, b). Then: if i \ne 0, every \iota(i - 1)(\varphi) and U are fixed by the elements u of K_{0} whose reduction modulotriangleModulus(z, \vartheta) is 1; and for every form \varphi at node (0, m): \int \iota(i)(\varphi)(g)\cdot U(g) \mathit{dg} = \int \iota(0)(\varphi)(g)\cdot y(g) \mathit{dg} over the quotients of the spaces at (0, i) and (0, 0).Structured proof, 4 steps Lemma 6.5, p. 15 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/RowsReached.lean · lines 21–25 lemma Data.iotaPlus_adjoint_weightedChain {P} (D : Data P) z ϑ {i} (h : i ≤ D.m) y : let U := weightedChain (triangleOrder z) (D.triLift z) ϑ 0 i y; let ι := iotaPlus ϑ z (i ≠ 0 → (∀ φ u, (triangleModulus z ϑ).reductionK₀ u = 1 → formRep _ _ u.1 (ι (i - 1) φ) = ι _ φ) ∧ ∀ u, (triangleModulus z ϑ).reductionK₀ u = 1 → formRep _ _ u.1 U = U) ∧ ∀ φ, ∫ g, ι i φ g * U g ∂(D.gridSpace ..).quotMeasure = ∫ g, ι 0 φ g * y g ∂(D.gridSpace ..).quotMeasurelemma
Data.lines 39–56argumentgridLevelForms_eq_map_iotaPlus For parameters P and admissible data D:gridLevelForms(D, 0) = the image ofgridLevelForms(D, m) underiotaPlus(1, true, 0); the untwisted descent from Z_{m,0} to Z_{0,0} (nodes (0, m) and (0, 0) of the grid Z) maps the forms of principal levelgridLevelGenonto those of the same level.Structured proof, 3 steps Lemma 6.5, p. 15 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/RowsReached.lean · lines 39–40 lemma Data.gridLevelForms_eq_map_iotaPlus {P} (D : Data P) : D.gridLevelForms 0 = (D.gridLevelForms _).map (D.iotaPlus 1 _ 0) := have : Module.Finite ℂ (D.gridLevelForms D.m) := (finite_levelSpacelemma
eq_zero_of_petersson_restrict_eq_zerolines 67–135argumentLet P be parameters, D admissible data, n a finite non-empty type, s signs on n and V :Space(E(D), n, s); A \in \mathbb{N}, L, N \in \mathbb{N}, \beta, m \in \mathbb{R}; t signs on n \sqcup \{\ast \} with t = s \oplus 1 (e); l(w) Harish-Chandra parameters for s and l'(w) for t at the infinite places w. Assume: (hg) each l(w) has a large gap 4A and (\mathit{hg}') each l'(w) a large gap 2A; (\mathit{hl}) |l(w, i)| \le L; (hA) 8(|n| + 1)^{2} < A; (hN) N < A; (hA') 2f(|n| + 1) + 2 \le A; (\mathit{hc}) g(D)\cdotcuspConst(E, n,cycloConductor)^{2} \le \beta; (h\beta) 2000(|n| + L + 1)^{6} \le \beta; (f\beta) f \le \beta; (\mathit{hm}) \beta^{20A(f + 1)} \le m; (hR) m^{3|n| + 2} \le \lVert \Phi_{w}(gridLevelGen)\rVert for every w; and (H) for every w there is \omega in the real unitary group of s \oplus 1 with \lVert \omega \rVert^{2} \le \beta and \operatorname{vol}\{r : \lVert r - 1\rVert \le 1\} \le \beta^{N}\cdot \lVert \int_{r}dsCoeff(l(w), r)\cdot \operatorname{conj}(dsCoeff(l'(w), \omega^{-1}\cdot(r \oplus 1)\cdot \omega))\rVert (a matrix-coefficient lower bound). Then there is a real point g such that every form y on V of type l and levelchosenLevelvanishes if it is orthogonal to x \mapsto \varphi((x \oplus 1)\cdot g) for every form \varphi on V \oplus \langle 1\rangle (reindexed by e) of type l' and principal levelgridLevelGen.Structured proof, 30 steps Proposition 6.7, p. 15 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/RowsReached.lean · lines 67–79 lemma eq_zero_of_petersson_restrict_eq_zero {P : Parameters} {D : Data P} (n : Type) [Fintype n] [Nonempty n] {s : n → ℤˣ} {V : Space D.E n s} (A : ℕ) {L N : ℕ} (β : ℝ) {m : ℝ} {t : n ⊕ Unit → ℤˣ} {l : _ → HCParam s} {l' : _ → HCParam t} {e : s ⊕ᵥ 1 = t} (hg : ∀ w, (l w).HasLargeGap (4 * A)) (hg' : ∀ w, (l' w).HasLargeGap (2 * A)) (hl : ∀ w i, |l w i| ≤ L) (hA : 8 * (Fintype.card n + 1) ^ 2 < A) (hN : N < A) (hA' : 2 * D.f * (Fintype.card n + 1) + 2 ≤ A) (hc : D.gProd * cuspConst D.E n D.cycloConductor ^ 2 ≤ β) (hβ : 2000 * (Fintype.card n + L + 1) ^ 6 ≤ β) (fβ : D.f ≤ β) (hm : β ^ (20 * A * (D.f + 1)) ≤ m) (hR : ∀ w, m ^ (3 * Fintype.card n + 2) ≤ ‖Φ w D.gridLevelGen.val‖) (H : ∀ w, ∃ ω : USign _, ‖ω.1.1‖ ^ 2 ≤ β ∧ volume.real {r : USign s | ‖r.1.1 - 1‖ ≤ 1} ≤ β ^ N * ‖∫ r : USign s, (l w).dsCoeff r * conj ((toHCParam (s ⊕ᵥ 1) (l' w)).dsCoeff (ω⁻¹ * inl s 1 r * ω).1.1)‖) : ∃ g, ∀ y ∈ levelSpace (V.formRep (typeKernel l s)) D.chosenLevel, (∀ φ ∈ levelSpace (((V.sum (signedSpace ..)).reindex (.refl _) e).formRep (typeKernel l' t)) (principalLevel _ D.gridLevelGen), V.petersson y (fun x ↦ φ (G.reindex (.refl _) e (.sum (x, 1)) * (g, 1))) = 0) → y.1 = 0 := bylemma
Data.lines 142–162argumenteq_zero_of_orthogonal_gridLevelForms Every row pairs with a restriction of explicit level. For parameters P and admissible data D there is a real point g of U(Z_{0,0}) such that every form y of level g_{0}g_{1} on Y_{0} (y \inprincipalForms(D,spaceY(D, 0))) vanishes ifpetersson(Y_{0}, y, x \mapsto \varphi(reindex(gridSigns_zero)(x \oplus 1)\cdot g)) = 0 for every form \varphi \ingridLevelForms(D, 0) of principal levelgridLevelGenon Z_{0,0} = Y_{0} \oplus \langle 1\rangle.Structured proof, 8 steps Corollary 6.8, p. 16 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/RowsReached.lean · lines 142–144 lemma Data.eq_zero_of_orthogonal_gridLevelForms {P} (D : Data P) : ∃ g, ∀ y ∈ D.principalForms (D.spaceY 0), (∀ φ ∈ D.gridLevelForms 0, (spaceY ..).petersson y (fun x ↦ φ (G.reindex (.refl _) D.gridSigns_zero.symm (.sum (x, 1)) * (g, 1))) = 0) → y.1 = 0 := bylemma
isForm_neg_iff_and_integral_neglines 29–40argumentLet E be a field which is a CM number field with a CM type, n a finite index type, s signs, W :Space(E, n, s) and S :Space(E, n, -s) a space with the opposite signs, and suppose (\Gamma) that the identification G.neg of the adelic unitary groups of signs s and -s carries the rational points of W onto those of S: G.neg(g) \in \Gamma(S) if and only if g \in \Gamma(W) (by default proved by simplification). Then (1) for every parameter l and every function F on U(S)(\mathbb{A}), the pull-back g \mapsto F(G.neg(g)) is a form of typetypeKernel(l, s) on W if and only if F is a form of typetypeKernel(l, -s) on S; and (2) for every function F, the integral of F over [U(S)] equals the integral over [U(W)] of g \mapsto F(G.neg(g)).Structured proof, 6 steps Lemma 4.1, p. 11 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 29–32 lemma isForm_neg_iff_and_integral_neg (S : Space E _ (-s)) (Γ : ∀ g, G.neg g ∈ S.Γ ↔ g ∈ W.Γ := by simp [Space.neg, flipSpace, Space.mem_Γ_iff_range, ← map_inv, ← smul_one_eq_diagonal, ← mul_assoc, ← star_mul]) : (∀ l F, W.IsForm (typeKernel l s) (F <| G.neg ·) ↔ S.IsForm (typeKernel l (-s)) F) ∧ ∀ F : _ → ℂ, integral S.quotMeasure F = ∫ g, F g.neg ∂W.quotMeasure := bylemma
thetaLarge_movelines 45–62argumentLet E be a field which is a CM number field with a CM type, n, a finite index types, s, t signs, W, W_{1} :Space(E, n, s), V, V_{1} :Space(E, a, t), with Weil data on E; let c \in \mathrm{GL}_n(E) and k in the adelic unitary group G(E, s) with x_W = c^{-1}\cdot x_{W_{1}}\cdot k (\mathit{hk}; c read as an adelic matrix), \mu weights and \mathfrak{c} a split tame character of weight \mu. There is u in the unit circle such that for all real data v, local functions \Phi and points g:thetaLarge(W, V, \mathfrak{c}, v, \Phi)(g) = u\cdotthetaLarge(W_{1}, V_{1}, \mathfrak{c}, v, \Phi)(k\cdot g).Structured proof, 8 steps Lemma 4.2, p. 11 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 45–47 lemma thetaLarge_move [WeilData E] (c : GL n E) (k : G E s) (hk : W.x = (c.map toAdele)⁻¹ * W₁.x * k.toUnitary) {μ} (𝔠 : SplitTameChar E μ) : ∃ u : Circle, ∀ v Φ g, thetaLarge W V 𝔠 v Φ g = u * thetaLarge W₁ V₁ 𝔠 v Φ (k * g) := bystructure
SquareLawlines 69–72computationFor a finite commutative ring R, finite index types a, b, n, a multiplicative character \chi of R, an identification \sigma : b \sqcup a \simeq n, c \in \mathbb{C} and complex functions L on a \times n matrices and L' on n \times b matrices over R:SquareLaw(\chi, \sigma, c, L, L') holds when (1) L(k\cdot x) = \chi(\det k)\cdot L(x) for every k \in \mathrm{GL}_a(R), (2) L'(y\cdot k) = \chi(\det k)\cdot L'(y) for every k \in \mathrm{GL}_b(R), and (3) \sum_{y} \Psi(y)L'(y) = c\cdot \sum_{x} \Phi(x)L(x) for all partners \Phi, \Psi for \chi over R with respect to \sigma (IsPartner ⊤ σ χ Φ Ψ).The Lean statement
New/Exchange/SquareLawFourier.lean · line 69 structure SquareLaw σ c (L : Matrix a n R → ℂ) (L' : Matrix n b R → ℂ) whereabbrev
inclusionDatumlines 76–77computationFor a commutative ring R and index types a, b:inclusionDatum(R) is the indicator function, on (a \sqcup b) \times a matrices over R, of the block matrix (1; 0), the inclusion matrix of a into a \sqcup b.The Lean statement
New/Exchange/SquareLawFourier.lean · line 76 abbrev inclusionDatum (R : Type) [CommRing R] {a b : Type} : Matrix (a ⊕ b) a R → ℂ :=def
nextDatumlines 81–82computationFor a finite commutative ring R, finite a, b, n, a complex function p on n \times a matrices and an (n \sqcup b) \times (a \sqcup b) matrix y over R:nextDatum(p, y) = p(-y_{11})/\#(n \times b matrices over R) if y has the block form (y_{11} \ast; 0 1) (lower-left block 0, lower-right block 1), and 0 otherwise.The Lean statement
New/Exchange/SquareLawFourier.lean · line 81 def nextDatum (p : _ → ℂ) (y : Matrix (n ⊕ b) (a ⊕ b) R) := if y.toBlocks₂₂ = 1 ∧def
swapFirstTwolines 85–86computationFor index types a, b, n:swapFirstTwois the bijection a \sqcup (n \sqcup b) \simeq n \sqcup (a \sqcup b) that exchanges the first two summands.The Lean statement
New/Exchange/SquareLawFourier.lean · line 85 def swapFirstTwo : a ⊕ n ⊕ b ≃ n ⊕ a ⊕ b := (sumAssoc ..).symm.translemma
sum_eq_sum_fromRowslines 89–90one-stepFor a finite ring R (no ring structure needed), finite a, N, n and a complex function f on (N \sqcup n) \times a matrices over R: \sum_{w} f(w) = \sum_{y} \sum_{z} f(fromRows(y, z)), the sum over all matrices split into their two row blocks.Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 89–90 lemma sum_eq_sum_fromRows (f : Matrix (N ⊕ n) a R → ℂ) : ∑ w, f w = ∑ y, ∑ z, f (fromRows y z) := (sumPiEquivProdPi _).symm.sum_comp f ▸ sum_prod_type _lemma
sum_eq_sum_fromColslines 93–94one-stepFor a finite type R, finite a, N, n and a complex function f on a \times(N \sqcup n) matrices over R: \sum_{w} f(w) = \sum_{z} \sum_{y} f(fromCols(y, z)), the sum over all matrices split into their two column blocks.Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · line 93 lemma sum_eq_sum_fromCols (f : Matrix a (N ⊕ n) R → ℂ) : ∑ w, f w = ∑ z, ∑ y, f (fromCols y z) :=lemma
injective_gl_inv_mul_mullines 97–98one-stepFor a commutative ring R, finite a, b and f \in \mathrm{GL}_a(R), g \in \mathrm{GL}_b(R): the map x \mapsto f^{-1}\cdot x\cdot g on a \times b matrices over R is injective.Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 97–98 lemma injective_gl_inv_mul_mul (f : GL a R) (g : GL b R) : Injective (f⁻¹.1 * · * g.1 : Matrix a b R → _) := (mul_left_injective_of_invertible _).comp (mul_right_injective_of_invertible _)lemma
inclMatrix_inlline 106one-stepFor a commutative ring R and index types a, b: the inclusion matrix of a into a \sqcup b over R is the block matrix (1; 0):inclMatrix(R, inl) =fromRows(1, 0).Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · line 106 lemma inclMatrix_inl : inclMatrix R .inl = fromRows 1 (0 : Matrix b a R) := by aesoplemma
SquareLaw.lines 111–127argumentsum_eq_nextDatum Let R be a finite commutative ring, a, b, n finite index types, \chi a multiplicative character of R, c \in \mathbb{C} and L, L' functions satisfyingSquareLaw(\chi,swapFirstTwo, c, L, L') for the identification a \sqcup (n \sqcup b) \simeq n \sqcup (a \sqcup b) (h). Then for every complex function p on n \times a matrices: \#\mathrm{GL}_a(R)\cdot \sum_{y} p(y)\cdot L'(fromRows(y,inclMatrix(R, inl))) = c\cdot \#\mathrm{GL}_{n\sqcup b}(R)\cdot \sum_{x}nextDatum(p, x)\cdot L(fromCols(inclMatrix(R, inl), x)), whereinclMatrix(R, inl) is the standard inclusion matrix 1_{0} in the other block.Structured proof, 8 steps Lemma 3.3, p. 10 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 111–113 lemma SquareLaw.sum_eq_nextDatum {χ c L L'} (h : SquareLaw χ (@swapFirstTwo a b n) c L L') p : card (GL a R) * ∑ y, p y * L' (fromRows y (inclMatrix R .inl)) = c * card (GL (n ⊕ b) R) * ∑ x, nextDatum p x * L (fromCols (inclMatrix R .inl) x) := byabbrev
blockInlGLline 130computationFor a finite commutative ring R, finite a, b, n and e : b \sqcup a \simeq n:blockInlGL(e) is the group homomorphism g \mapsto \operatorname{diag}(g, 1) from \mathrm{GL}_b(R) to \mathrm{GL}_n(R), the indices matched by e.The Lean statement
New/Exchange/SquareLawFourier.lean · line 130 abbrev blockInlGL := (reindexGL e).toMonoidHom.comp (blockGL (R := R).comp (.inl ..))def
graphKernellines 134–135computationFor a finite commutative ring R, finite a, b, n, a multiplicative character \chi of R, e : b \sqcup a \simeq n and matrices x (a \times n), y (n \times b):graphKernel(\chi, e, x, y) = \chi(\det k)/\#\mathrm{GL}_b(R) if (x, y) = (invLastRows(e, k),firstCols(e, k)) for some k \in \mathrm{GL}_n(R) (well defined,graphKernel_invLastRows_firstCols), and 0 on all other pairs.The Lean statement
New/Exchange/SquareLawFourier.lean · line 134 def graphKernel x y :=lemma
graphKernel_invLastRows_firstColslines 137–139one-stepFor a finite commutative ring R, finite a, b, n, \chi, e : b \sqcup a \simeq n and k \in \mathrm{GL}_n(R):graphKernel(\chi, e,invLastRows(e, k),firstCols(e, k)) = \chi(\det k)/\#\mathrm{GL}_b(R) (the value does not depend on the choice of k with these blocks).Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 137–138 @[local simp] lemma graphKernel_invLastRows_firstCols k : graphKernel χ e (invLastRows e k) (firstCols e k) = χ k.1.det / card (GL b R) := FactorsThrough.extend_apply (fun k ↦ by grindlemma
exists_eq_of_graphKernel_ne_zerolines 142–143one-stepFor a finite commutative ring R, finite b, n (and a), \chi, e : b \sqcup a \simeq n and matrices x, y: ifgraphKernel(\chi, e, x, y) \ne 0 then (x, y) = (invLastRows(e, k),firstCols(e, k)) for some k \in \mathrm{GL}_n(R).Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 142–143 lemma exists_eq_of_graphKernel_ne_zero x y : graphKernel χ e x y ≠ 0 → ∃ k, (invLastRows e k, firstCols e k) = (x, y) := by simp [graphKernel, Function.extend]lemma
graphKernel_equivariantlines 147–153argumentFor a finite commutative ring R, finite a, b, n, \chi, e : b \sqcup a \simeq n, g \in \mathrm{GL}_n(R), f \in \mathrm{GL}_a(R), q \in \mathrm{GL}_b(R) and matrices x, y:graphKernel(\chi, e, x, y) = \chi(\det g)/\chi(\det f)/\chi(\det q)\cdotgraphKernel(\chi, e, f^{-1}\cdot x\cdot g, g^{-1}\cdot y\cdot q).Structured proof, 4 steps Lemma 3.4, p. 10 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 147–148 lemma graphKernel_equivariant (g : GL n R) (f : GL a R) (q : GL b R) x y : graphKernel χ e x y = χ g.1.det / χ f.1.det / χ q.1.det * graphKernel χ e (f⁻¹.1 * x * g.1) (g⁻¹.1 * y * q.1) := bylemma
graphKernel_mul_rightlines 155–156one-stepFor R, a, b, n, \chi, e as above, matrices x, y and g \in \mathrm{GL}_b(R):graphKernel(\chi, e, x, y\cdot g) = \chi(\det g)\cdotgraphKernel(\chi, e, x, y).Lemma 3.2, p. 9 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 155–156 @[local simp] lemma graphKernel_mul_right x y (g : GL b R) : graphKernel χ e x (y * g.1) = χ g.1.det * graphKernel χ e x y := by simp [graphKernel_equivariant χ e 1 1 g x y]lemma
sum_graphKernel_mullines 160–166argumentFor R, a, b, n, \chi, e as above and a complex function \Psi on n \times b matrices with \Psi(y\cdot g) = \chi^{-1}(\det g)\cdot \Psi(y) for all y and g \in \mathrm{GL}_b(R) (h): for every k \in \mathrm{GL}_n(R), \sum_{y}graphKernel(\chi, e,invLastRows(e, k), y)\cdot \Psi(y) = \chi(\det k)\cdot \Psi(firstCols(e, k)).Structured proof, 1 step Lemma 3.4, p. 10 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 160–161 lemma sum_graphKernel_mul (Ψ : _ → ℂ) (h : ∀ y (g : GL b R), Ψ (y * g.1) = χ⁻¹ g.1.det * Ψ y) k : ∑ y, graphKernel χ e (invLastRows e k) y * Ψ y = χ k.1.det * Ψ (firstCols e k) := bylemma
exists_partner_kernellines 171–193argumentLet R be a finite commutative ring, a, b, N, n finite index types, \chi a multiplicative character of R, e : b \sqcup a \simeq N \sqcup n, and suppose (R, R) is a valuation pair (val:IsValuationPair ⊤). There is a function d on matrices such that (1) for all x, y: if d(y)\cdotgraphKernel(\chi, e, x, y) \ne 0 then this value is a root of unity (of finite order), a left inverse of the first row block of y gives one of the second column block of x, and a left inverse of the second row block of y gives one of the first column block of x; (2) the average over k \in \mathrm{GL}_b(R) of d(y\cdot k)\cdotgraphKernel(\chi, e, x, y) isgraphKernel(\chi, e, x, y); and (3) for all c, L, L' withSquareLaw(\chi, e, c, L, L') and every y one of whose row blocks has a left inverse: L'(y) = c\cdot \sum_{x}graphKernel(\chi, e, x, y)\cdot L(x).Structured proof, 10 steps Lemma 3.5, p. 10 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 171–175 lemma exists_partner_kernel (e : b ⊕ a ≃ N ⊕ n) (val : @IsValuationPair R _ ⊤) : ∃ d : _ → ℂ, (∀ x y, (d y * graphKernel χ e x y ≠ 0 → IsOfFinOrder (d y * graphKernel χ e x y) ∧ (HasLeftInv y.toRows₁ → HasLeftInv x.toCols₂) ∧ (HasLeftInv y.toRows₂ → HasLeftInv x.toCols₁)) ∧ 𝔼 k : GL b R, d (y * k.1) * graphKernel χ e x y = graphKernel χ e x y) ∧ ∀ c L L', SquareLaw χ e c L L' → ∀ y, HasLeftInv y.toRows₁ ∨ HasLeftInv y.toRows₂ → L' y = c * ∑ x, graphKernel χ e x y * L x := bylemma
SquareLaw.lines 202–220argumentsum_fourier_eq_nextDatum Let R be a finite commutative ring, N, T finite index types, \chi a primitive multiplicative character (h\chi) and \psi a primitive additive character (h\psi) of R. There is \gamma \in \mathbb{C} with |\gamma |^{2}\cdot |R|^{t(t+2n)} = 1 (n = \#N, t = \#T) such that for all c, L, L' and every function p on N \times T matrices: ifSquareLaw(\chi,swapFirstTwo, c, L, L') holds for the identification (N \sqcup T) \sqcup (N \sqcup T)-type swap of the first two summands (with a = N \sqcup T, b = T, n = N), then \sum_{y} \mathcal{F}(\overline{p})(y)\cdot L'(fromRows(y, 1_{0})) = \gamma \cdot c\cdot \sum_{x} \mathcal{F}(\operatorname{conj}(nextDatum(p)))(x)\cdot L(fromCols(1_{0}, x)), where \mathcal{F} =matrixFourier(\psi, \cdot) is the finite Fourier transform and 1_{0} the standard inclusion matrix.Structured proof, 5 steps Lemma 3.6, p. 11 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/SquareLawFourier.lean · lines 202–206 lemma SquareLaw.sum_fourier_eq_nextDatum {R} [CommRing R] [Fintype R] N T [Fintype N] [Fintype T] {χ ψ} (hψ : AddChar.IsPrimitive ψ) (hχ : IsPrimitiveMulChar χ) : ∃ γ, ‖γ‖ ^ 2 * card R ^ (card T * (card T + card N * 2)) = 1 ∧ ∀ {c L L'} p, SquareLaw χ (@swapFirstTwo (N ⊕ T) T N) c L L' → ∑ y, matrixFourier ψ (star p) y * L' (fromRows y (inclMatrix R .inl)) = γ * c * ∑ x, matrixFourier ψ (star (nextDatum p)) x * L (fromCols (inclMatrix R .inl) x) := ⟨star _ / card (Matrix (T ⊕ N) Tlemma
IntegralFrame.lines 15–21argumentexists_stdRowDatum_eq_stdDatum Let F be a semilocal field (instance V) with compact open subring O, b, m, n finite index types, \chi a tame multiplicative character of F (instance h\chi), A :IntegralFrameF n m b an integral frame and \sigma : b \sqcup (b \sqcup m) \simeq n. There is c \in \mathbb{C} with |c| = 1 such thatstdRowDatum(\sigma, \chi, L') =stdDatum(A, y \mapsto c\cdotinvOnUnits(\chi, \det y)): for every (b \sqcup m) \times n matrix x, \chi^{-1} of the determinant of the square matrix with rows those of L' and x, ordered by \sigma, when that matrix lies in \mathrm{GL}_n(O) (and 0 otherwise), equals c\cdot \chi^{-1}(\det(x\cdot(K | I))) when x is integral and \det(x\cdot(K | I)) is a unit of O (and 0 otherwise).Structured proof, 1 step Lemma 3.10, p. 15 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/StableSpaces.lean · lines 15–16 lemma IntegralFrame.exists_stdRowDatum_eq_stdDatum σ : ∃ c, ‖c‖ = 1 ∧ stdRowDatum σ χ A.L' = A.stdDatum (c * invOnUnits χ ·.det) := bylemma
partner_mem_of_stdColDatumlines 29–51argumentLet F be a semilocal field (instance V) with compact open subring O and topologically nilpotent unit \varpi, a, b, n finite index types, \chi a tame multiplicative character of F (instance h\chi), e : b \sqcup a \simeq n, U a set of n \times b matrices, P a space of complex functions on n \times b matrices that is stable under \mathrm{GL}_n(F) (hP) and consists of Schwartz–Bruhat functions supported in U (hS), and \Phi, \Psi partners for \chi over O with respect to e (Q) with \Psi locally constant (h\Psi). Let p \in P (hp), x an integral n \times b matrix (hx), s an integral b \times n matrix (hs) with s\cdot x = 1 (e_{1}), and r a function from n \times b matrices to \mathbb{N} with p(y) = r(y)\cdotstdColDatum(\chi, s)(y) for all y (H) and r(x) \ne 0 (h_{1}). Then \Psi \in P.Structured proof, 12 steps Lemma 3.12, p. 15 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/StableSpaces.lean · lines 29–30 lemma partner_mem_of_stdColDatum {p x s} (hp : p ∈ P) (hx : IsIntMatrix O x) (hs : IsIntMatrix O s) (e₁ : s * x = 1) (r : _ → ℕ) (H : ∀ y, p y = r y • stdColDatum χ s y) (h₁ : r x ≠ 0) : Ψ ∈ P := bylemma
IntegralFrame.lines 57–88argumentpartner_mem_of_unimodular_vanishing Let F be a semilocal field (instance V) with compact open subring O and unit \varpi, a, b, m, n finite index types, \chi a tame multiplicative character of F (instance h\chi), e : b \sqcup a \simeq n, U a set of n \times b matrices, P a \mathrm{GL}_n(F)-stable space (hP) of Schwartz–Bruhat functions supported in U (hS), \Phi, \Psi partners for \chi over O with respect to e (Q) with \Psi locally constant (h\Psi), A :IntegralFrameF n m b an integral frame (blocks K, I, L; K', I', L'), \psi an additive character of F with conductor O (h\psi: \psi is continuous and \psi(tO) = 1 exactly when t \in O) and M a space of complex functions on n \times b matrices. For z \in M_b(F) put S_z(y) =stdColDatum(\chi, K')(y + L\cdot z\cdot(K'\cdot y)), so S_{0} =stdColDatum(\chi, K'). Suppose (1) every S_z lies in M, and (2) every \Psi ' \in M with the following property lies in P: \Lambda(\Psi ') = 0 for every b \times b matrix T and every linear functional \Lambda such that \Lambda(S_z) = \psi(\operatorname{tr}(T\cdot z))\cdot \Lambda(S_{0}) for all z and \Lambda(S_{0}) = 0 whenever T is primitive (unimodular). Then \Psi \in P.Structured proof, 15 steps Proposition 3.13, p. 16 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/StableSpaces.lean · lines 57–62 lemma IntegralFrame.partner_mem_of_unimodular_vanishing {ψ} {M : Submodule ℂ _} (hψ : HasIntegralConductor ψ) : let S (z : Matrix b b F) y := stdColDatum χ A.K' (y + A.L * z * (A.K' * y)) (∀ z, S z ∈ M) → (∀ Ψ ∈ M, (∀ T (Λ : _ →ₗ[ℂ] ℂ), (∀ z, Λ (S z) = ψ (T * z).trace • Λ (stdColDatum χ A.K')) → (IsPrimitiveMatrix O T → Λ (stdColDatum χ A.K') = 0) → Λ Ψ = 0) → Ψ ∈ P) → Ψ ∈ Plemma
IsEquivariantLift.lines 18–78argumentapply_stdColDatum_eq_zero Let E be a field which is a CM number field with a CM type, with Weil data H (\jmath = H.j); n, a, b, m finite index types; s, t, r signs; \mathfrak{c} a split tame character of weight \mu (places S, local character \chi_{\mathfrak{c}}); \rho a character of the local product at S; X :Space(E, m, r), W_{1} :Space(E, n, s), W :Space(E, a, t) hermitian spaces; M, \mathcal{D} an equivariant lift for \mathfrak{c}, X and \rho (h :IsEquivariantLift\mathfrak{c} X \rho M \mathcal{D}); D a splitting of X over W_{1} along b and D_{1} a splitting of W_{1} over W along one line, both base-adapted (IsBaseAdapted D,IsBaseAdapted D₁); t' signs and V' :Space(E, b, t'). Let \Psi_{0} =stdColDatum(\chi_{\mathfrak{c}}, L') be the standard datum of the block L' of the frameadaptedFrame(readsAt(\mathfrak{c}), D). Assume (h_{0}): for all T, c, z, q, g, if either (i) there are an adelic b \times b matrix Y and k \in \mathrm{GL}_b(\hat{O}_{E}) withscaleIdele(E)\cdot x_{V'}\cdot Y = q, (finite part of Y)\cdot k unitary for the identity form, and J_{V'} = T, or (ii) T is invertible and, as an adelic matrix, not represented by t' (RepresentedByis the \operatorname{Gram} equation at the infinite places: at some infinite place v there is no complex c with c^{*}\cdot \operatorname{diag}(t')\cdot c = T_v), then the coefficientcentreCoeff(D, \jmath T, \mathcal{D}(\Psi_{0}),radicalElt(D, c, z)\cdotlevi(D, (q, g))) vanishes; and assume (h\Psi) \Psi_{0} \in M. Then for every \sigma : b \sqcup b \sqcup n \simeq m and every matrix z with entries in O (i): \mathcal{D}(stdColDatum(\chi_{\mathfrak{c}}, z)) = 0.Structured proof, 24 steps Theorem 2, p. 3 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower
The Lean statement
New/Exchange/StandardCoefficients.lean · lines 18–26 lemma IsEquivariantLift.apply_stdColDatum_eq_zero {E} [Field E] [CMType E] [H : WeilData E] {n a b m} [Fintype n] [Fintype a] [Fintype b] [Fintype m] {s t r μ} {𝔠 : SplitTameChar E μ} {ρ} {X : Space E m r} {W₁ : Space E n s} {W : Space E a t} {M 𝒟} (h : IsEquivariantLift 𝔠 X ρ M 𝒟) (D : X.Splitting W₁ b) (D₁ : W₁.Splitting W Unit) [IsBaseAdapted D] [IsBaseAdapted D₁] {t'} (V' : Space E b t') (h₀ : ∀ T c z q g, (∃ Y, ∃ k ∈ intGL b (Ô E), scaleIdele E • V'.x * Y = q ∧ Y.map (.snd ..) * k ∈ U 1 ∧ V'.J = T) ∨ IsUnit T ∧ ¬RepresentedBy t' (T.map toAdele) → D.centreCoeff (H.j • T) (𝒟 (stdColDatum 𝔠.χ (adaptedFrame 𝔠.readsAt D).L')) (D.radicalElt c z * D.levi (q, g)) = 0) (hΨ : stdColDatum 𝔠.χ (adaptedFrame 𝔠.readsAt D).L' ∈ M) (σ : b ⊕ b ⊕ n ≃ m) {z} (i : IsIntMatrix O z) : 𝒟 (stdColDatum 𝔠.χ z) = 0 := ((adaptedFrame 𝔠.readsAt D.symm).partner_mem_of_unimodular_vanishinglemma
Data.lines 13–29argumentexists_isSteep Let P be parameters, D admissible data and z a grid. There is a bijection e :InitIndex(D, 0) \sqcupFin(2\varrho + 2 + [z]) \simeqGridIndex(z, 0, 0) (an ordering of the indices of the node (0, 0) of grid z) such that at every infinite place \tau the parametergridParam(z, 0, 0, 0, \tau) of that node is steep with bound w_{0}(\tau) = w(D, 0, \tau) along e (IsSteep), with the signs of the node and offset 0.Structured proof, 6 steps Lemma 6.6, p. 15 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/SteepParameters.lean · lines 13–14 lemma Data.exists_isSteep {P} (D : Data P) z : ∃ e : D.InitIndex 0 ⊕ Fin (2 * D.ϱ + 2 + z.toNat) ≃ _, ∀ τ, IsSteep (D.gridParam z 0 0 0 τ) (D.w 0 τ) e := bydef
formNegEquivlines 27–30computationFor a field E which is a CM number field with a CM type and carries Weil data, a finite index type N, signs s, S :Space(E, N, s) and a parameter l:formNegEquiv(S, l) is the linear isometry from the forms of typetypeKernel(l, s) on S to the forms of typetypeKernel(l, -s) on the opposite space S.neg, given by the identification of the two unitary groups (isForm_neg_iff_and_integral_neg).The Lean statement
New/Exchange/TriangleArrows.lean · line 27 def formNegEquiv l : S.Form (typeKernel l s) ≃ₗᵢ[ℂ] S.neg.Form (typeKernel l _) := .symmlemma
IsEdgeFamily.lines 35–44argumentexists_adjoint_first_arrow Let E be a field which is a CM number field with a CM type and carries Weil data; N, N' finite index types, signs s, s', S :Space(E, N, s), T :Space(E, N', s'); I an index type and a(i, \cdot) characters. Suppose h: an edge family for a from the kernel pair (l, s) to k' in direction false with real datum \Phi (IsEdgeFamily); let i \in I, \mathfrak{m} a modulus and \Psi a point function. Put b(i, n) = a(i, n)^{-1}\cdot \upsilon^{|n|}. If there is an edge family for b from the kernel pair (l, -s) to k' in direction true with datum \Phi ', then there is \Psi ' such that for all forms y (on S) and x (on T): \langle x,modLift(S, T, a(i), \Phi, \Psi)(y)\rangle = \langlemodDescent(S.neg, T, b(i), \Phi ', \Psi ')(x),formNegEquiv(S, l)(y)\rangle: the lift along the first edge is the adjoint of the descent along the second, throughformNegEquiv.Structured proof, 2 steps Lemma 9.2, p. 24 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleArrows.lean · lines 35–38 lemma IsEdgeFamily.exists_adjoint_first_arrow {l k' Φ Φ'} (h : IsEdgeFamily a (kernelPair l s) k' false Φ) i {𝔪} Ψ : let b i n [Fintype n] := (a i n)⁻¹ * upsilonU1 ^ card n IsEdgeFamily b (kernelPair l (-s)) k' true Φ' → ∃ Ψ', ∀ y x, ⟪x, modLift S T (a i) (𝔪 := 𝔪) Φ Ψ _ _ y⟫ = ⟪modDescent _ T (b i) (𝔪 := 𝔪) Φ' Ψ' (k' false) _ x, formNegEquiv S l y⟫abbrev
Data.line 52computationTriForm For P, D, a boolean z and natural numbers i, n:TriForm(D, z, i, n) is the space of forms on the hermitian spacegridSpace(D, \ldots) at position (i, n) of the triangle, of the type with the doubled parametergridParam(D, z, i, 0, n).The Lean statement
New/Exchange/TriangleArrows.lean · line 52 abbrev TriForm := (D.gridSpace i ..).Form (typeKernel (D.gridParam z i 0 n) _)def
Data.lines 57–59computationtriLift For P, D, a boolean z, a tame character \vartheta and natural numbers i, n:triLift(D, z, \vartheta, i, n) :TriForm(D, z, i, n) \toTriForm(D, z, i, n + 1) is the theta liftmodLiftwith the charactersgridChar(\vartheta, \neg z, n + i), the harmonicgridHarmonic(D, i, false, \neg z, n + i, z, 0, n, 0, n + 1) and the indicator of the standard inclusion modulotriangleModulus(z, \vartheta) (inclusionDatum).The Lean statement
New/Exchange/TriangleArrows.lean · line 57 def triLift : D.TriForm z i n →ₗ[ℂ] D.TriForm z i (n + 1) := modLift _ _ (gridChar ϑ (!z) (n + i))def
Data.lines 63–64computationtriNegEquiv For P, D, a boolean z and every i:triNegEquiv(D, z, i) :TriForm(D, z, 0, 0) \simeqTriForm(D, z, i, 0) is the linear isometric isomorphism composed of i passages to the opposite hermitian space (formNegEquiv), by recursion on i.The Lean statement
New/Exchange/TriangleArrows.lean · line 63 def triNegEquiv : ∀ i, D.TriForm z 0 0 ≃ₗᵢ[ℂ] D.TriForm z i 0 := Nat.rec (.refl ..) fun _ ↦def
Data.lines 68–69computationtriBase For P, D and a boolean z:triBase(D, z) is the subspace ofTriForm(D, z, 0, 0) of forms fixed by the level: the chosen level (forms of level g on Y_{0}) if z is false, the principal level ofgridLevelGen(D) if z is true.The Lean statement
New/Exchange/TriangleArrows.lean · line 68 def triBase : Submodule ℂ (D.TriForm z 0 0) :=lemma
Data.lines 71–72one-steptriNegEquiv_formRep For P, D, z, a point k and a form y: for every i,triNegEquiv(D, z, i)(R(k)y) = R(k)(triNegEquiv(D, z, i)(y)): the passages to the opposite spaces commute with right translation.The Lean statement
New/Exchange/TriangleArrows.lean · lines 71–72 lemma triNegEquiv_formRep k y : ∀ i, D.triNegEquiv z i (formRep _ _ k y) = formRep _ _ k (D.triNegEquiv z i y) := Nat.rec rfl fun _ ↦ congrArg (formNegEquiv ..)lemma
Data.lines 77–106argumenthasSum_inner_triLift Inner product formula for the first lift of row i. For P, D, a boolean z and a natural number i < m (h): there is C such that for every tame character \vartheta and every y \intriBase(D, z), writing a(u) =triLift(D, z, \vartheta, i, 0)(triNegEquiv(D, z, i)(u)) for every form u of the ambient spaceTriForm(D, z, 0, 0) at the base corner (the statement'slet;triNegEquivis an isometry of that whole space): (1) every form v of the ambient space with \langle v, x\rangle = \langle a(y), a(x)\rangle for all forms x of the ambient space lies intriBase(D, z), and v = 0 only if y = 0; (2) for every form x of the ambient space (x is not restricted totriBase(D, z);cosetTermtakes two forms of the ambient space), the series over the cosets \gamma of C\cdotcosetTerm(|GridIndex(D, z, 0, 1)|,gridChar(\vartheta, \neg z, i,GridIndex(D, z, 0, 1)), (places oftriangleModulus(z, \vartheta) and their conjugates)^{c}, x, y, \gamma)/\#(mapsGridIndex(D, z, 0, 1) \timesGridIndex(D, z, 0, 0) \to O_E/triangleModulus(z, \vartheta)) sums totriangleOrder(D, z, \vartheta, 0)\cdot \langle a(x), a(y)\rangle.Structured proof, 13 steps Lemma 9.2, p. 24 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleArrows.lean · lines 77–82 lemma hasSum_inner_triLift (h : i < D.m) : ∃ C, ∀ ϑ (y : D.triBase z), let a y := D.triLift z ϑ i 0 (D.triNegEquiv z i y) (∀ v, (∀ x, ⟪v, x⟫ = ⟪a y, a x⟫) → v ∈ D.triBase z ∧ (v = 0 → y = 0)) ∧ ∀ x, HasSum (fun γ ↦ C * (cosetTerm (card (D.GridIndex z 0 1)) (gridChar ϑ (!z) i (D.GridIndex z 0 1)) (triangleModulus z ϑ).places.conjClosureᶜ x y γ / card (D.GridIndex z 0 1 × D.GridIndex z 0 0 → (triangleModulus z ϑ).ResRing))) (triangleOrder z ϑ 0 * ⟪a x, a y⟫)theorem
Data.lines 113–188argumentexists_isTriangle For P, D and a boolean z: there are descents d such that (m,triangleOrder(D, z),CostsSquares(D),triLift(D, z), d, i \mapstotriNegEquiv(D, z, i) \circ (inclusion oftriBase(D, z)), z = false) is a triangle of size m (IsTriangle): weights the triangle orders, the grading "costs n squares", the arrows the liftstriLiftand the descents d, the base embeddings throughtriNegEquiv; the cost bound and the adjoint law (asserted under G) concern z = false only.Structured proof, 35 steps Theorem 3, p. 4 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleArrows.lean · lines 113–114 theorem exists_isTriangle : ∃ d, IsTriangle D.m (D.triangleOrder z) D.CostsSquares (D.triLift z) d (fun i ↦ (D.triNegEquiv z i).toLinearIsometry.comp (D.triBase z).subtypeₗᵢ) (z = false) := bydef
Data.lines 25–27computationTameChar. IsIntegralMeasure For parameters P, data D, a tame character \vartheta of D and a complex function F on the tame characters:IsIntegralMeasure(\vartheta, F) holds when there are finitely many points u_{\alpha} of U(1)(\mathbb{A}) and complex numbers c_{\alpha}, each integral at every prime l not dividing the norm of the modulus Q of \vartheta (c_{\alpha} \inintegralAway(levelNorm(\vartheta))), such that F(\vartheta ') = \sum_{\alpha} c_{\alpha}\cdot \vartheta '(u_{\alpha}) for every tame character \vartheta ' with the same modulus Q as \vartheta.The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 25 def Data.TameChar.IsIntegralMeasure (F : D.TameChar → ℂ) :=lemma
Data.lines 31–34one-stepTameChar. IsIntegralMeasure. norm_sq For P, D and a tame character \vartheta: if F is an integral measure for \vartheta (Data.), then so is \psi \mapsto |F(\psi)|^{2}.TameChar. IsIntegralMeasure Structured proof, 1 step Lemma 8.9, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 31–32 lemma Data.TameChar.IsIntegralMeasure.norm_sq {F} : ϑ.IsIntegralMeasure F → ϑ.IsIntegralMeasure (‖F ·‖ ^ 2) := fun ⟨α, _, u, c, a, b⟩ ↦ ⟨_,lemma
Data.lines 40–44one-stepTameChar. IsIntegralMeasure. norm_apply_one_le For P, D, a prime l (Fact l.), an isomorphism \iota : \mathbb{C} \simeq \overline{\mathbb{Q}}_{l} (Prime PadicAlgCl l) and a function F that is an integral measure at the trivial tame character 1: |\iota(F(1))| \le 1.Structured proof, 1 step Lemma 8.9, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 40–41 lemma Data.TameChar.IsIntegralMeasure.norm_apply_one_le {F l} [Fact l.Prime] (ι : ℂ ≃+* PadicAlgCl l) : (@one P D).IsIntegralMeasure F → ‖ι (F one)‖ ≤ 1 := fun ⟨_, _, _, _, a,instance
(anonymous)line 48one-step(instance) For a pair p of D and an exponent l with an upper \log-bound for t (D.): the point z of p has the same upper \log-bound (z \le t).HasLogUpper D. t l The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 48 instance {l} [D.HasLogUpper D.t l] : D.HasLogUpper p.z l := D.hasLogUpper_of_le p.7.2def
Data.lines 55–56computationPair. pointDatum For P, D, a pair p, a finite index type n with H :HasLiftRank(p, n) and a tame character \vartheta:pointDatum(H, \vartheta) = \kappa_{0}^{|n|}\cdotvacuumDatum(I_{1}, I_n,levelModulus,levelIndicator(auxPair(lValueData(H, \vartheta)))): \kappa_{0} =vacuumScale(P, s(D)) to the power |n \times 1| times the datum, on the vacuum, of the indicator modulo MQ of the integral vectors congruent to the chosen basis vector e_{\iota} at M and with \iota-th coordinate 1 at Q.The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 55 noncomputable def pointDatum := P.vacuumScale D.s ^ card (n × Unit) • vacuumDatum (stdSpace ..)abbrev
Data.lines 61–62computationPair. pointKernel For P, D, p, n, H and \vartheta as above:pointKernel(H, \vartheta) =kernelValue(lValueData(H, \vartheta), \overline{\pi}\cdot \text{per},pointDatum(H, \vartheta)), the jets of the pair p twisted by \vartheta, at the scale \operatorname{conj}(\pi_{g})\cdotjetScale(P, s(D)), of the point datum: a function on U(1) \times U(2z) at finite points (\pi_{g} =Data.).piG The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 61 noncomputable abbrev pointKernel :=lemma
Data.lines 67–74argumentPair. trivialLift_apply For P, D, a pair p, n with H :HasLiftRank(p, n) (|n| = 2z \ge 4), a tame character \vartheta and a finite point h of U(2z):trivialLift(H, \vartheta)(h) = \sum_{(u, A)}pointKernel(H, \vartheta)(u\cdottwistLift(A), h), the sum over representatives u of the classes of U(1) at the principal level at the chosen places above g (StdClassesofD.) and A \in \prod_{w\in Q} k_w^{\times} (chosenLevel TwistGL), withtwistLift(A) the chosen lift (LevelPlaces.).twistLift Structured proof, 1 step Lemma 8.8, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 67–69 lemma trivialLift_apply h : trivialLift H ϑ h = ∑ c : StdClasses (n := Unit) D.chosenLevel × TwistGL _ Unit, pointKernel H ϑ (c.1.out * (D.levelPlaces ϑ).twistLift c.2) h := by erw [apply_eq_evalForm, map_smul, map_classSum, classSum,lemma
Data.lines 80–86argumentPair. weylGauge_pointKernel_le_one For P, D, a pair p, n with H :HasLiftRank(p, n), a tame character \vartheta, a prime l (Fact l.) with an embedding j : \mathbb{C} \to \mathbb{C}_{l} (Prime PadicPlace l), finite points g, h, and l prime to the norm of the modulus Q of \vartheta (hl):weylGauge(\cdot, 0, h,denomBound(p)\cdotpointKernel(H, \vartheta)(g, h)) \le 1:denomBound(p) times the jet is integral at h.Structured proof, 1 step Lemma 8.8, p. 21 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 80–82 lemma weylGauge_pointKernel_le_one {l} [Fact l.Prime] {j : PadicPlace l} g h (hl : l.Coprime ϑ.levelNorm) : weylGauge _ 0 h ((p.denomBound : ℂ) • pointKernel H ϑ g h) ≤ 1 := by simpa +contextual [weylGauge, weylRep, schur_eq_one] using!lemma
Data.lines 94–107argumentPair. isIntegralMeasure_intAlgPart One group-ring element gives all twists of a modulus. For P, D, a pair p, n with H :HasLiftRank(p, n) and a tame character \vartheta: the normalised value \vartheta ' \mapstointAlgPart(H, \vartheta ') is an integral measure for \vartheta (Data.):TameChar. IsIntegralMeasure intAlgPart(H, \vartheta ') = \sum_{a} c_a\cdot \vartheta '(u_a) for all \vartheta ' with the modulus Q of \vartheta, with points u_a and coefficients c_a not depending on \vartheta ' and integral at primes not dividing the norm of Q.Structured proof, 4 steps Theorem 6, p. 5 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 94 lemma isIntegralMeasure_intAlgPart : ϑ.IsIntegralMeasure (intAlgPart H) := let g (a : StdClasseslemma
Data.lines 115–121argumentPair. intAlgPart_eq_mul_L For P, D, a pair p =(\nu, z) and n with H :HasLiftRank(p, n) (z \ge 2): there is A \ne 0 such that for every tame character \vartheta,intAlgPart(H, \vartheta) = A\cdot L((\nu \cdot \vartheta)^{-1}, \{chosen places\} \cup Q(\vartheta), z), the partial Hecke L-value at z without the Euler factors at the chosen places, the places of Q(\vartheta) and their conjugates.Structured proof, 3 steps Theorem 5, p. 5 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 115–116 lemma intAlgPart_eq_mul_L : ∃ A ≠ 0, ∀ ϑ, intAlgPart H ϑ = A * (p.ν * ϑ.toAutChar)⁻¹.L ({w | D.IsChosen w} ∪ ϑ.Q) p.z := bylemma
Data.lines 125–127argumentPair. ratio_ne_zero_and_real For P, D, a pair p, a tame character \vartheta and a sign s = \pm 1: the ratio r =ratio(p, \vartheta, s) = |L(z, (\nu \vartheta^{s})^{-1})|/|L(z, \nu^{-1})| (Euler factors removed at the chosen places, and at Q in the numerator) is non-zero and real (\operatorname{conj} r = r).Structured proof, 2 steps Lemma 8.10, p. 22 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 125–126 lemma ratio_ne_zero_and_real : let r := p.ratio ϑ s; r ≠ 0 ∧ star r = rlemma
Data.lines 131–133one-stepPair. ratio_eq_intAlgPart_div For P, D, a pair p, n with H :HasLiftRank(p, n) and a tame character \vartheta:ratio(p, \vartheta, 1) =intAlgPart(H, \vartheta)/intAlgPart(H, 1).Structured proof, 1 step Definition 8.3, p. 19 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 131 lemma ratio_eq_intAlgPart_div : p.ratio ϑ = intAlgPart H ϑ / intAlgPart H .one :=lemma
Data.lines 137–138one-stepPair. intAlgPart_ne_zero For P, D, a pair p, n with H :HasLiftRank(p, n) and a tame character \vartheta:intAlgPart(H, \vartheta) \ne 0.The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 137 @[simp] lemma intAlgPart_ne_zero : intAlgPart H ϑ ≠ 0 := by grind [ratio_eq_intAlgPart_div H ϑ,lemma
Data.line 142one-stepPair. trivialLift_ne_zero For P, D, a pair p =(\nu, z) with z \ge 2, n with H :HasLiftRank(p, n) and a tame character \vartheta: the form \Xi =trivialLift(H, \vartheta), lifted from the definite U(1) to the definite U(2z) with the character \nu \vartheta, is non-zero.The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 142 @[simp] lemma trivialLift_ne_zero : trivialLift H ϑ ≠ 0 := by simpa using intAlgPart_ne_zero H ϑlemma
Data.lines 151–154one-stepIsFitFamily. heightLe_of_eq_zpow_mul For P, D, a family \theta of m-fold twists indexed by the isomorphisms \iota : \mathbb{C} \simeq \overline{\mathbb{Q}}_{\ell} which is fit (o :Data.), families y, y' and reals c \le c' (hc): if y has height at most c (h :IsFitFamily D θ HeightLe c y) and every non-zero y'(\iota) equalslevelNorm(\theta(\iota))^{k}\cdot y(\iota) for an integer k (hy), then y' has height at most c'.The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 151–153 lemma IsFitFamily.heightLe_of_eq_zpow_mul {c c' y y' θ} (o : D.IsFitFamily θ) (h : HeightLe c y) (hc : c ≤ c') (hy : ∀ ι, y' ι ≠ 0 → ∃ k : ℤ, y' ι = (θ ι).levelNorm ^ k * y ι) : HeightLe c' y' := h.mono hc fun ι ↦def
Data.lines 160–161computationPair. lowerPoint For P, D, a pair p and an integer z:lowerPoint(p, z) is the pair with the character of p and point \min(\max(1, z), z(p)), z clamped to the interval from 1 to the point of p.The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 160 def Pair.lowerPoint z :=lemma
Data.lines 166–173argumentPair. lValueProd_eq For P, D, a pair p =(\nu, z), a sign s = \pm 1 and a tame character \vartheta of modulus Q:lValueProd(\{chosen\} \cup Q, (\nu \cdot \vartheta^{s})^{-1}, z) = N(Q)^{z^{2}}\cdot(lValueProd(\{chosen\}, \nu^{-1}, z)\cdot \prod_{1\le z'\le z}ratio(lowerPoint(p, z'), \vartheta, s)^{2}), wherelValueProd(S, \mu, e) =(\prod_{w\in S} Nw)^{e^{2}}\cdot \prod_{z=1}^{e} |L^{S\cup \overline{S}}(z, BC \mu)|^{2}, L^{S\cup \overline{S}}(\cdot, BC \mu) = \mu.L(S, \cdot) the Hecke L-function of the base change x \mapsto \mu(x/\overline{x}) without the Euler factors at S and its conjugate places, and N(Q) =levelNorm(\vartheta).Structured proof, 4 steps Lemma 8.10, p. 22 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleLevelExponent.lean · lines 166–168 lemma Pair.lValueProd_eq (s : ℤˣ) (ϑ : D.TameChar) : lValueProd ({w | D.IsChosen w} ∪ ϑ.Q) (p.ν * ϑ.toAutChar ^ s.1)⁻¹ p.z = ϑ.levelNorm ^ p.z ^ 2 * (lValueProd {w | D.IsChosen w} p.ν⁻¹ p.z * ∏ z ∈ .Icc 1 p.z, (p.lowerPoint z).ratio ϑ s ^ 2) :=instance
(anonymous)line 175one-step(instance) For admissible data D and a boolean z: the natural numbercond(z, b_{1}(D), 1) is non-zero.The Lean statement
New/Exchange/TriangleLevelExponent.lean · line 175 instance (D : Data P) (z) : NeZero (cond z D.b₁ 1) := z.rec .one D.instNeZeroNatB₁structure
IsTrianglelines 20–27computationFor an index type I, a type V and a family F(i, n) of complex inner product spaces, V an inner product space, m \in \mathbb{N}, weights w(t, n) \in \mathbb{N}, a grading M (M(n, c) for families c : I \to \mathbb{C}), linear arrows a(t, i, n) : F(i, n) \to F(i, n + 1) and d(t, i, n) : F(i, n + 1) \to F(i + 1, n), linear isometries j(i) : V \to F(i, 0) and a proposition G:IsTriangle(m, w, M, a, d, j, G) holds when (1) M(0, 1); (2) M(n, c) and M(n', c') with n + n' \le N give M(N, c\cdot c'); (3) the square law: for i +(n + 1) < m there is \beta with w(t, n)\cdot \langle z, a(t, \cdot, n)(d(t, i, n)y)\rangle = \operatorname{conj}(\beta(t))^{-1}\cdot w(t, n + 2)\cdot \langle z, d(t, i, \cdot)(a(t, i, \cdot)y)\rangle for all t, y, z, and, under G, M(1, \beta) and there is \kappa with M(0, \kappa) and an adjoint law (for every t and z some x has \langle a y, z\rangle = \langle y, x\rangle for all y, and \langle d x, y\rangle = \kappa(t)\cdot \langle d z, a y\rangle); (4) the first arrows: for i < m, a(t, i, 0)\circ j(i) is adjoint to d(t, i, 0) on the images of j, and d(t, i, 0)(a(t, i, 0)(j(i)y)) = j(i + 1)(v) for some v with v = 0 only if y = 0.The Lean statement
New/Exchange/TriangleNorms.lean · line 20 structure IsTriangle whereabbrev
weightedChainline 31computationFor I, F as above, weights w and arrows a, an index t and a row i:weightedChain(w, a, t, i) is the family of composites F(i, 0) \to F(i, n) of the first n arrows a(t, i, k), the k-th multiplied by its weight w(t, k) (compUpTo).The Lean statement
New/Exchange/TriangleNorms.lean · line 31 noncomputable abbrev weightedChain t i := compUpTo fun n ↦ (w t n : ℂ) • a t i nlemma
IsTriangle.lines 36–43argumentweightedChain_descent Let (m, w, M, a, d, j, G) be a triangle (h) with all weights non-zero, i, n natural numbers with i + n < m (hi). There are \beta, \kappa such that (1) for all t, y:weightedChain(w, a, t, \cdot, n)(d(t, i, 0)(a(t, i, 0)y)) =(w(t, n + 1)/w(t, 1)/w(t, 0)/\operatorname{conj}(\beta(t)))\cdot d(t, i, n)(weightedChain(w, a, t, i, \cdot)y); and (2) under G: M(n, \kappa \cdot \beta) and \langle z, a(t, i, n)(weightedChain(w, a, t, i, n)(j(i)y))\rangle = \kappa(t)\cdot \langle d(t, i, n)z,weightedChain(w, a, t, \cdot, n)(j(\cdot)y)\rangle for all t, y, z.Structured proof, 3 steps Lemma 6.2, p. 16 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleNorms.lean · lines 36–39 lemma IsTriangle.weightedChain_descent i n (hi : i + n < m) : ∃ β κ, (∀ t y, weightedChain w a t _ n (d t i 0 (a t i 0 y)) = (w t n.succ / w t 1 / w t 0 / conj (β t) : ℂ) • d t i n (weightedChain w a t i _ y)) ∧ (G → M n (κ * β) ∧ ∀ t y z, ⟪z, a t i n (weightedChain w a t i n (j i y))⟫ = κ t * ⟪d t i n z, weightedChain w a t _ n (j _ y)⟫) := bylemma
IsTriangle.lines 47–49one-stepeq_zero_of_weightedChain In a triangle (h) of size m with non-zero weights, for every index t, all n, i with i + n \le m and every y \in V: ifweightedChain(w, a, t, i, n)(j(i)y) = 0 then y = 0 (the weighted chain of n arrows of row i is injective on the image of j(i)).The Lean statement
New/Exchange/TriangleNorms.lean · lines 47–48 lemma IsTriangle.eq_zero_of_weightedChain {t} : ∀ n i, i + n ≤ m → ∀ y, weightedChain w a t i n (j i y) = 0 → y = 0 := Nat.rec (by simp [norm_map, ← norm_eq_zero]) fun _lemma
IsTriangle.lines 54–66argumentinner_weightedChain_eq In a triangle (h) with non-zero weights and G (hG), let U be a complex vector space, s : U \to V and S(t, i) endomorphisms of U with w(t, 0)\cdot \langle a(t, i, 0)(j(i)x), a(t, i, 0)(j(i)(s y))\rangle = \langle x, s(S(t, i)y)\rangle for i < m and all t, x, y (hS). Then for all n, i with i + n = m there is \kappa with M(n\cdot n, \kappa) such that every t has an endomorphism T of U with \det T = \prod_{i\le k<m} \det S(t, k) and \langleweightedChain(w, a, t, i, n)(j(i)x),weightedChain(w, a, t, i, n)(j(i)(s y))\rangle = \kappa(t)\cdot(w(t, 0)\cdot w(t, 1)^{n}/w(t, n))\cdot \langle x, s(T y)\rangle for all x, y.Structured proof, 1 step Lemma 6.2, p. 16 of The exchange theorem, one square of lifts, and the triangle of lifts and descents
The Lean statement
New/Exchange/TriangleNorms.lean · lines 54–59 lemma IsTriangle.inner_weightedChain_eq (hG : G) {U} [AddCommGroup U] [Module ℂ U] {s : U → V} (S : I → ℕ → End ℂ U) (hS : ∀ i < m, ∀ t x y, w t 0 * ⟪a t i 0 (j i x), a t i 0 (j i (s y))⟫ = ⟪x, s (S t i y)⟫) : ∀ n i, i + n = m → ∃ κ, M (n * n) κ ∧ ∀ t, ∃ T : End ℂ U, T.det = ∏ k ∈ Ico i m, (S t k).det ∧ ∀ x y, ⟪weightedChain w a t i n (j i x), weightedChain w a t i n (j i (s y))⟫ = κ t * (w t 0 * w t 1 ^ n / w t n) * ⟪x, s (T y)⟫ := Nat.rec (fun _ _ ↦ ⟨_, h.1, fun _ ↦ ⟨1, by aesop⟩⟩) fun n H i hi ↦ bylemma
mul_firstColsline 44one-stepFor a commutative semilocal field F, finite n, an identification e : b \sqcup a \simeq n and g, k \in \mathrm{GL}_n(F): g\cdotfirstCols(e, k) =firstCols(e, g\cdot k), the columns indexed by b of g\cdot k are g times those of k (by definition).The Lean statement
New/Exchange/BlockPartners.lean · line 44 lemma mul_firstCols (g k : GL n F) : g.1 * firstCols e k = firstCols e (g * k) := rflinstance
Data.line 36computationinstCoeTwsTwist Instance: for P and data D, every m-fold twist is read as a twist (the coercionMFoldTwist\to Twist forgetting the condition).Definition 3.3, p. 8 of The grid of lifts and descents, and the crude rows
The Lean statement
New/Exchange/LValueRatio.lean · line 36 instance Data.instCoeTwsTwist (D : Data P) : Coe D.MFoldTwist D.Twist := ⟨MFoldTwist.toTwist⟩
What it takes for granted
Unit 10 · Lattice fundamental domains and holomorphic parameter integrals, Unit 17 · Constancy of invariant automorphic functions on isotropic unitary groups, Unit 18 · Casimir bounds and lowest compact types in the discrete series, Unit 19 · Integral branching maps for general linear groups, Unit 20 · Bases of minors and the Weyl character formula for Schur modules, Unit 22 · Finite-group averages and character inner products, Unit 25 · Adjoint theta lifts and matching of discrete-series types, Unit 26 · Doubling integrals and sharp data for the Rallis inner product, Unit 27 · Branching periods and the Rallis inner product for definite theta lifts, Unit 29 · Group-algebra projectors and averaging in unitary representations, Unit 35 · Matrix coefficients and reproducing formulas in the Fock model, Unit 36 · Joint harmonics in the local theta correspondence, Unit 37 · The adelic Heisenberg action, Weil representation and theta functional, Unit 38 · The mixed Schrödinger model and its parabolic zero term, Unit 41 · Consecutive mass ratios of unimodular Hermitian lattices, Unit 42 · Vanishing of Fourier coefficients at degenerate Hermitian indices, Unit 43 · Theta kernels, lifts and adjoint descents for unitary dual pairs, Unit 44 · Spherical Hecke operators and transfer through theta lifts, Unit 54 · Period lattices and complex uniformization of polarized abelian varieties, Unit 56 · The Weierstrass sigma function and theta addition on CM elliptic curves, Unit 57 · Fitting ideal bounds and multivariate Hensel lifting, Unit 71 · Étale cohomology on test rings, gluing and ℓ-adic coefficients, Unit 92 · Local Frobenius, tame inertia and decomposition groups, Unit 96 · Real-analytic continuation of Hecke Euler products at one, Unit 98 · Landherr’s principle for Hermitian forms and weak approximation on unitary groups, Unit 99 · Short bases of Hermitian lattices and the unitary mass, Unit 101 · Dual Weyl modules and integral Cartan components, Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing, Unit 103 · Matrix Gauss sums and shear invariance of local Weil data, Unit 104 · Unitary Hecke characters and splitting characters of CM fields, Unit 105 · Schwartz–Bruhat functions and tame characters on local fields, Unit 106 · Class numbers and adelic fundamental domains of number fields, Unit 109 · Galois conjugation of CM elliptic curves and theta translates, Unit 111 · Hecke operators on fixed vectors and estimates for class sums, Unit 112 · Matrix determinant estimates and simultaneous eigenvectors, Unit 113 · Haar moduli and integration over subgroups, Unit 114 · Iwasawa integration and means on compact quotients, Unit 115 · Haar measure on unitary groups in Cayley coordinates, Unit 116 · Casimir eigenvalues and decay of Flensted–Jensen coefficients, Unit 117 · Schur orthogonality and convolution bounds for discrete-series kernels, Unit 120 · Witt extension for Hermitian frames over fields and integral adeles, Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms, Unit 122 · Adelic Hermitian spaces and principal congruence subgroups, Unit 123 · Adelic self-duality and a one-sided Poisson summation bound, Unit 128 · Semilinear intertwining of Heisenberg and Weil actions, Unit 131 · Constant terms of theta lifts along an isotropic line, Unit 133 · Discrete series coefficients near 1, Laplace's method, and explicitly large Bessel functions, Unit 134 · The finite test datum of an auxiliary pair and the theta lift as a conjugate descent, Unit 135 · Heights of families indexed by ℓ-adic embeddings, the product formula, and the height of one Gram determinant, Unit 138 · The choice of the twists: Galois representations of lifts, Selmer groups made short by one anticyclotomic twist, and congruence bounds by Ribet's method, Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume, Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, Unit 150 · Theta functions of the CM curve: periods and scales, tight frames, the integral vacuum, Galois conjugates of jets, and divisibility of jets at non-split primes, Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x
Unit 96 · Real-analytic continuation of Hecke Euler products at one · 7 declarations
AutChar.unit 96HasWeight. baseChange_apply_inf For a character ν of weight e, the base change of ν at an element z of the infinite part is ∏_w (z_w/|z_w|)^{2e(w)}.
AutChar.unit 96HasWeight. charUnramifiedAt A character ν of U(1)(𝔸) of a given weight whose tame part is 1 at the place w is unramified at w: its base change to E has finite part unramified at w.
IsHeckeOfType.unit 96norm_heckeCoeff_le The Hecke coefficients heckeCoeff(ψ, S, v) of a Hecke character of the given type have absolute value at most 1.
If |a_v| ≤ 1 and s > 1, the series ∑_v log(1 − a_v q_v^{−s}) converges, its sum is continuous at s, and eulerProd(a, s) is the exponential of minus this sum (in particular non-zero).
For s > 1 (and |a_v| ≤ 1) the product over the finite places of (1 − a_v q_v^{−s})⁻¹ converges to eulerProd(a, s).
AutChar.unit 96HasWeight. L_ne_zero For a character ν of U(1)(𝔸) of non-zero weight e (with some tame part) and a finite set S of places, the partial L-value ν.L(S, s) — the Hecke L-function of the base change x ↦ ν(x/x̄) to the ideles of E, without the Euler factors at S ∪ S̄ — is non-zero for every real s ≥ 1 (
literature: specializes Hecke non-vanishing on Re s ≥ 1).abs_log_norm_eulerProd_leunit 96For 2 ≤ σ ≤ s and coefficients of absolute value at most 1, the Euler product at s is non-zero and |log|eulerProd|| ≤ 2·[K : ℚ]·2^{2−σ}.
Unit 134 · The finite test datum of an auxiliary pair and the theta lift as a conjugate descent · 7 declarations
AuxPair.unit 134FitsParams. isEdge If W ≠ 0 and the parameter l fits the auxiliary pair O, the Fock vector P_{v⁺} of the highest vector v⁺ for paramV(O) is an edge e_l → e_{paramV(O)} for the real Weil representation of weights r₋ and ⌊n/2⌋ + wt(μ) (edge: a real theta datum lifting forms of one discrete-series type to the other in both directions).
AuxPair.unit 134pairWeil_fockDatum For x in the real group of V and k in the level of O, the Weil action ω(1, (x, k)) sends the datum fockDatum(O, ξ̄) to levelChar(O)(k) times fockDatum(O, conj of conjWeylRep(x)ξ).
AuxPair.unit 134theta_eq_smul_star_lift_swap For a form Ξ on V, the class-sum lift θ(O)(Ξ) equals #WeylIndex(n, κ(O))·[K₀ : levelGroup(O)] times the complex conjugate of the descent (the swapped theta lift) of conj(ofAlgForm(paramV(O), 1, Ξ)) with the datum fockDatum(O, highestVector(κ(O), paramV(O))).
AuxPair.unit 134upsilon_eq_sum The finite datum Υ = auxDatum(O) is the sum over A ∈ ∏_{w∈Q} GL_r(k_w) of the datum modDatum(levelIndicator(O), vac) moved by the point (1, twistLift(O, A)) of U(W) (a lift of A⁻¹).
LevelPlaces.unit 134twistLift Definition: for A ∈ ∏_{w∈Q} GL_n(k_w), a chosen element of K₀ reducing to A⁻¹ at the places of Q and to 1 at those of M.
AuxPair.unit 134isHCParam_paramV The parameter paramV(O) is the Harish-Chandra parameter of the weight (κ(O), detExp(O)) of the forms on V.
AuxPair.unit 134pairWeil_upsilon For k, k′ in K₀ with k′ reducing to diag(k, 1) at M times j in the auxiliary level, (k, k′) multiplies Υ by (∏_M ψ_w(det k))⁻¹·auxLevelChar(j).
Unit 138 · The choice of the twists: Galois representations of lifts, Selmer groups made short by one anticyclotomic twist, and congruence bounds by Ribet's method · 5 declarations
AuxPair.unit 138innerAt_formAction The action formAction(O) of ∏_M GL_r(k_w) on the algebraic forms on V preserves the inner products innerAt(σ, ·, ·) at every conjugate σ.
AuxPair.unit 138theta_mul_eq_theta_formAction For k in K₀ reducing to s at the chosen places, θ(O)(Ξ)(g·(1, k)) = θ(O)(formAction(O)(s)(Ξ))(g).
Definition: IsSplitOffLevel(D, w) holds when the finite place w is split (w̄ ≠ w) and neither w nor w̄ is one of the chosen places above g₀, g₁.
Data.unit 138exists_theta_to_principalForms For each j there is a ℂ-linear map from the forms on V_j to the forms of principal level g on W_j which, for 1 ≤ j ≤ m, sends Ξ to the class-sum lift θ(auxPair(D, ϑ, j))(Ξ); auxLift(D, ϑ, j) is its adjoint.
Data.unit 138isSphericalWith_of_mem_eigenPart A form y in eigenPart(D, V, p) is, at every place w with IsSplitOffLevel(D, w), spherical with Hecke polynomial heckePolyEval(RowIndex(D), w, p(w, ·)).
Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data · 12 declarations
For j < m the datum datumY(ϑ, j) is an arrow, for the theta kernel of Y_j → Y_{j+1}, between the discrete-series types of paramY(D, j) and paramY(D, j+1), and the swapped datum an arrow between the conjugate types.
Definition: ι(ϑ) is the chain of lifts Y₀ → Y_m for the twist ϑ, as algebraic forms, on all forms of principal level g on Y₀.
LevelPlaces.unit 141card_levelModulus_resRing The residue ring of levelModulus(X, e) has (∏_i q(chosenPlace(X, i)))^e·∏_i q(twistPlace(X, i)) elements.
LevelPlaces.unit 141ker_reductionK₀_eq The kernel of the reduction of K₀ modulo levelModulus(X, 1) is the principal level at the places of X.
card_parabolic_blockNumberunit 141For each j there is k such that the parabolic subgroup of block numbers j over every commutative ring R has #GL_N(R)·#GL_T(R)^j·#R^k elements.
Data.unit 141chosenLevel_inf_trivialOn_le chosenLevel ∩ (the elements trivial at Q(ϑ)) is contained in the principal level at the places of levelPlaces(D, ϑ).
The grid character evaluated on the determinant of (1, k), k ∈ K₀, is the character of the tame part gridTamePart on the determinant of the reduction of k modulo gridModulus(ϑ).
Data.unit 141gridSpace_subdiag The space at the node (j, j + 1) of the grid Z is the space at the node (j + 1, j) of the grid V reindexed by a bijection τ.
Data.unit 141isEdgeFamily_grid Every step of a grid is an edge family: for (c, l, i′, j′) as in
Data., the grid characters, the kernels at the two nodes and the grid harmonic form an edge family (paramsCorrespond_grid IsEdgeFamily).Definition: the point descent from node (0, b + 1) to (0, b) of grid z: triangleOrder(z, ϑ, b) times the descent with the inclusion datum modulo the triangle modulus.
IsJointlyInvariant.unit 141sum_chain_mem_nsmul For jointly invariant data with free class actions: if a predicate P on chain vectors holds at the start and is preserved by the kernels, and pairings of P-vectors lie in A, then the sum of the chain values lies in (∏_j #StdClasses(K_j))-fold sums of A.
exists_linear_chain_eq_pureunit 141The value at g of the chain of lifts is a linear function of the pure tensor chain of the data.
Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups · 3 declarations
Definition: the system of places (
LevelPlaces) formed by the chosen places above g₀, g₁ (family M) and the places of the modulus Q of ϑ (family Q).Data.unit 140nonempty_modulus_places The modulus 𝔪(D, ϑ, c, b) (c ≠ 0) has at least one place.
Instance: the parameter paramW of W_j has gap h.
Unit 37 · The adelic Heisenberg action, Weil representation and theta functional · 4 declarations
Heisenberg.unit 37IsVacuum. hom_ext Two bounded linear maps from the reproducing (Fock) space that agree on all Heisenberg translates ρ(y)vac of the vacuum are equal.
Heisenberg.unit 37IsVacuum. weilRep_heisOp The Weil representation intertwines Heisenberg translates: ω(g)(ρ(x)v) = ρ(g·x)(ω(g)v).
Space.unit 37projOn_integrated Projecting a datum v ⊗ f to the places S projects its finite part: projOn(S, v ⊗ f) = v ⊗ projOn(S, f).
The projection projOn(S) fixes the vacuum.
Unit 103 · Matrix Gauss sums and shear invariance of local Weil data · 15 declarations
IntegralFrame.unit 103blocks_spec The blocks of an integral frame are integral and satisfy K′K = 1, I′K = 0, L′K = 0, K′I = 0, I′I = 1, L′I = 0, K′L = 0, I′L = 0, L′L = 1.
TameLocalChar.unit 103norm_eq_one For a tame character χ and an integral unit t, |χ(t)| = 1.
exists_primitive_residue_addCharunit 103If π : O → R is surjective with kernel ϖO-type condition g·x ∈ O and ψ has conductor O, there is a primitive additive character φ of R with φ(π x) = ψ(g·x).
index_stabilizer_GL_vectorunit 103The stabilizer in GL_n(F), F a finite field, of a non-zero vector has index |F|^n − 1.
invOnUnits_eq_mul_of_unitunit 103For an integral unit t, invOnUnits(χ, x) = χ(t)·invOnUnits(χ, x·t).
invOnUnits(χ) is multiplicative on O: invOnUnits(χ, xy) = invOnUnits(χ, x)·invOnUnits(χ, y) for x, y ∈ O.
isIntMatrix_of_stdColDatum_ne_zerounit 103For integral s, if stdColDatum(χ, s)(y) ≠ 0 then y has entries in O and s·y is primitive.
isPartner_stdRowDatum_stdColDatumunit 103For integral s, the standard row datum stdRowDatum(e, χ, s) and the standard column datum stdColDatum(χ, s) are partners for χ over O.
isPrimitiveMatrix_iff_isIntegralUnit_detunit 103A square matrix is primitive if and only if it has entries in O and its determinant is a unit of O.
isPrimitiveMatrix_of_stdColDatum_ne_zerounit 103For integral s, a matrix y with stdColDatum(χ, s)(y) ≠ 0 is primitive.
Matrix Gauss sum (the finite-field identity at invertible frequencies is classical, Kondo; this statement over a finite ring, at every frequency, is the artifact's own:
literature: unresolved): for a primitive multiplicative character χ of the finite ring R and S with S(g d) = χ(det g)S(d), the Fourier transform of S at y is χ⁻¹(det y) times its value at 1, and |value at 1|² relates to S(1) and the number of matrices.schwartzBruhat.unit 103of_support_primitive A locally constant function that vanishes off the primitive matrices is a Schwartz–Bruhat function supported on matrices with a left inverse.
Let s be integral, u a column and r a row with s u = 0 and r u = 0; a linear form Λ that is invariant, on a space M of Schwartz–Bruhat functions, under all shears y ↦ y + u z s y takes the same value on Ψ_s = stdColDatum and on Ψ_s(y + u r y) when both lie in M.
stdColDatum_mem_schwartzBruhatunit 103For integral s, the standard datum stdColDatum(χ, s) is a Schwartz–Bruhat function supported on matrices with a left inverse.
sum_addChar_trace_mulunit 103For a primitive additive character ψ of R and a matrix ρ: ∑_v ψ(tr(ρ·v)) over all matrices v equals the number of matrices if ρ = 0, and 0 otherwise.
Unit 25 · Adjoint theta lifts and matching of discrete-series types · 8 declarations
IsArrow.unit 25eq_formLift_of_coe_eq If φ is an arrow and the function underlying z is the theta lift of y by φ, then z is formLift(K, e, e′, φ)(y).
IsArrow.unit 25formRep_formLift If φ is an arrow e → e′, the right translate by k′ of the lift of a form y of type e is the lift, by ω(k, k′)φ, of the translate of y by k.
IsArrow.unit 25inner_formLift_adjoint If φ is an arrow e → e′ and, for the swapped pair, an arrow between the conjugate types, then ⟨L_φ y, x⟩ = ⟨y, conj(D_φ conj(x))⟩: the adjoint of the lift is the conjugate of the descent.
An edge Φ for the real Weil representation and characters a, b of the matching weights give, for every finite datum f, an arrow e → e′ (the lift by Φ ⊗ f sends forms of type e on S to forms of type e′ on T) and, for the swapped kernel, an arrow between the conjugate types.
If φ is an arrow, the lift formLift(K, e, e′, φ)(y) is, as a function, the theta lift of y.
ParamsCorrespond.unit 25isEdge_jointHarmonic If the parameters correspond, the joint harmonic is an edge for the real Weil representation between the discrete-series types of l and l′.
IsArrow.unit 25formRep_formLift_of_eq_smul If ω((1, k), 1, k′)φ = c·φ′, then translating the form lift of y by k′ gives c times the form lift by φ′ of the translate of y by k.
IsArrow.unit 25integral_mul_formLift_swap Adjointness of lift and descent: ∫ z·L_φ(y) over [U(T)] equals ∫ y·L_φ^{swap}(z) over [U(S)].
Unit 17 · Constancy of invariant automorphic functions on isotropic unitary groups · 1 declaration
IsAutFunction.unit 17apply_eq_apply_one Constancy on an isotropic unitary group: an automorphic function D on U(W), with W split along a line by H, of level supported at a non-empty set S of places and invariant under the elements of K_f trivial at S, such that invariance under the radical of H implies that D on the Levi part depends only on the second component, is constant: D(g) = D(1). The authors' label is strong approximation for isotropic unitary groups; the second reader reads it as a consequence of strong approximation for the special unitary group (Kneser) together with the stated torus hypothesis (
literature: weakens).
Unit 10 · Lattice fundamental domains and holomorphic parameter integrals · 1 declaration
IsDualFamily.unit 10eq_zero_of_coeff Fourier uniqueness on a compact quotient: let the χ_i form a dual family of characters of B modulo the lattice B₀ and let F be continuous and B₀-periodic. If the mean of χ_i·F over the quotient vanishes for every i such that χ_i(a) = c whenever c·F(x + a) = F(x) for all x, then F = 0. (The hypothesis is weaker than the vanishing of all Fourier coefficients ∫ χ_i·F: for the other i the coefficient vanishes by itself.
literature: specializes.)
Unit 38 · The mixed Schrödinger model and its parabolic zero term · 15 declarations
IsEquivariantLift.unit 38centreCoeff_shear Let (M, 𝒟) be an equivariant lift for the split tame character 𝔠 (h: IsEquivariantLift(𝔠, X, ρ, M, 𝒟)), H a splitting of X over X₀ along p and T a p × p matrix over E. For Ψ ∈ M (hΨ), adelic matrices c (m × a), k (a × m), B and ν with mat(ν) = 1 + (e·(c·k) − ē·B), e the idempotent adele of the places of 𝔠 (hν), and k·c = 0 (hc): for every point x, writing Ψ′(y) = Ψ(y + (mat(x⁻¹)·c)_𝔠·((k·mat(x))_𝔠·y)) (components at the places of 𝔠), Ψ′ ∈ M and centreCoeff(H, T, 𝒟Ψ′, x) = centreCoeff(H, T, 𝒟Ψ, ν⁻¹·x).
IsEquivariantLift.unit 38comp_mul_mem_ker For an equivariant lift (M, 𝒟), M ∩ ker 𝒟 is stable under the translations y ↦ g·y by g ∈ GL_m at S.
IsEquivariantLift.unit 38exists_linear_centreCoeff Let (M, 𝒟) be an equivariant lift for 𝔠 (h), H a splitting of X over X₀ along p and T a p × p matrix over E. For every point x there is a linear functional L such that for every Ψ ∈ M: L(Ψ) = centreCoeff(H, T, 𝒟Ψ, x), and for every z, writing Ψ′(y) = Ψ(y + (mat(x⁻¹)·kAdelic(H))_𝔠·z·((lCoord(H)·mat(x))_𝔠·y)), Ψ′ ∈ M and L(Ψ′) = ψ(tr((invDifferentIdele(E)⁻¹·T)_𝔠·z))·L(Ψ), ψ the additive character read at the places of 𝔠 (readsAt(𝔠)) and (·)_𝔠 the components at those places.
MixedModel.unit 38exists_section Existence of sections in the mixed model: for a smooth compactly supported coefficient τ, a smooth family u of unitary elements and a rapid vector ξ, there is a rapid Φ whose slice at every x is τ(x)·realWeil(u(x), ξ).
ReadsAt.unit 38sourceTerm_localDatum Let D : X.Splitting(W₁, b) be base-adapted, V : Space(E, a, t), h : ReadsAt(S, π) (π : 𝔸_f(E) → F into a semilocal field F), Φ a Schwartz–Bruhat function supported in U (k), x an adelic a × b matrix and v a real datum; write y for the finite part of x. If Φ(w) = stdDatum(adaptedFrame(h, D), G)(w) for every w with w·K = π(y) (K the block of the adapted frame), then sourceTerm(D, V, scaleIdele(E)·x, localDatum(X, V, v, Φ, h)) = [y integral]·vacuumFactor(D, V)·localDatum(W₁, V, realSlice(D, V, x, v), z ↦ [z integral over O]·G(fromCols(π(y), z)), h); in particular it is 0 when y is not integral.
Space.unit 38Splitting. exists_eq_radicalElt_mul_levi A point g acting on the frame of the splitting by a decomposes as radicalElt(c, b)·levi(t, g₀) with t = a (Iwasawa decomposition along the parabolic).
Space.unit 38Splitting. gram_frameAt The Gram matrix of the frame of a splitting at g is the block matrix with (0 1; 1 0) on the hyperbolic part and the form of the smaller space: frameAt(g, t)*·stdForm(s)·frameAt(g, t) = diag((0 1; 1 0), stdForm(s₀)).
For S disjoint from its conjugates, the box product of the vectors named by Ψ and Ψ′ at S is the vector named by the product function x ↦ Ψ(x₁)Ψ′(x₂).
Space.unit 38gram_at_point_eq_map (x_V⁻¹A)*·stdForm(s)·(x_V⁻¹B) is the image in the adeles of A*·J_V·B.
Space.unit 38name_boxIndicator Naming by the indicator of the integral box at S is the projection projOn(S).
Space.unit 38projOn_name_vacElem If S and its conjugates are disjoint from T, the datum named by Ψ at S with the vacuum elsewhere is unchanged by the projection to T.
SplitTameChar.unit 38invOnUnits_mul_div_star For an idele u that is a unit at every finite place, invOnUnits(χ_𝔠, u_S)·ν_𝔠(u)_f / invOnUnits(χ_𝔠, (ū)_S) = 1.
Space.unit 38exists_splitting A space V with an isotropic frame k (k*J k = 0, k left invertible) splits along k: there are a smaller space V₀ and a splitting D of V over V₀ with frame k.
Definition: the splitting of a space whose frames l, k, i are the column blocks of a matrix with the hyperbolic Gram matrix.
Modulus.unit 38isValuationPair_resRing The residue ring of a modulus, with itself as subring, is a valuation pair.
Unit 112 · Matrix determinant estimates and simultaneous eigenvectors · 17 declarations
For a partner Ψ and g ∈ GL_b(O): Ψ(y·g)·χ(det g) = Ψ(y).
IsPrimitiveMatrix.unit 112mul_iff If y is primitive, then y·x is primitive if and only if x is.
IsValuationPair.unit 112exists_firstCols_iff For a valuation pair (O, R), a matrix y is primitive if and only if it is the block of columns indexed by b of some k ∈ GL_n(O) (y = firstCols(e, k)).
det_fromRows_invLastRowsunit 112Jacobi's complementary minors: for k ∈ GL_n(R) and a matrix s, det(s stacked above invLastRows(e, k), reindexed by e)·det k = det(s·firstCols(e, k)).
exists_contDiff_eventuallyEqunit 112A real-analytic function at a point of a finite-dimensional space agrees near that point with a smooth (C^∞) function defined everywhere.
exists_firstCols_eq_mulunit 112For g ∈ GL_b(O), f ∈ GL_a(O) and k ∈ GL_n(O) there is j ∈ GL_n(O) with firstCols(e, j) = firstCols(e, k)·g, invLastRows(e, j) = f·invLastRows(e, k) and det j·det f = det k·det g.
exists_invLastRows_iff_transposeunit 112x = invLastRows(e, k) for some k ∈ GL_n(O) if and only if xᵀ = firstCols(e′, k) for some k ∈ GL_n(O), e′ the identification with the two summands swapped.
exists_invTransposeGL_inv_equnit 112For a valuation pair and g ∈ GL_n(R) there is k ∈ GL_n(O) with (g⁻¹)^{−T} = k^{−T}·g·k (Smith normal form).
A hermitian form that is not negative semidefinite on a subspace S represents 1 on S: some v ∈ S has v*βv = 1.
The index of the group rangeParabolic(u) equals that of the parabolic subgroup of the indices outside the range of u.
invLastRows_mul_firstColsunit 112invLastRows(e, k)·firstCols(e, k) = 0 (the rows of k⁻¹ indexed by a against the columns of k indexed by b).
invTransposeGL_mem_intGLunit 112The inverse transpose of k lies in GL_n(O) if and only if k does.
isPrimitiveMatrix_iff_mem_intGLunit 112An invertible matrix k is primitive if and only if k ∈ GL_n(O).
IsPartner.unit 112lift_of_reduction For a surjective local ring homomorphism π : O → R and characters with χ′(u) = χ(π u) on units: partners Φ, Ψ for χ over R lift to partners liftIntegralFn(π, Φ), liftIntegralFn(π, Ψ) for χ′ over O.
invFirstRows_mul_firstColsunit 112invFirstRows(e, k)·firstCols(e, k) = 1 (the rows of k⁻¹ indexed by b against the columns of k indexed by b).
isPrimitiveMatrix_firstColsunit 112For k ∈ GL_n(O), firstCols(e, k) is primitive.
Every polynomial is in the product of the subspaces of polynomials renamed from two variable sets covering all variables.
Unit 27 · Branching periods and the Rallis inner product for definite theta lifts · 7 declarations
IsSharp.unit 27partialIntegral_eq For a sharp datum F (constant c), c ≠ 0, and the partial integral off S₀ of the matrix coefficient of v ⊗ F times g ↦ petersson(y′, R((1, u)g)y) equals c times the archimedean integral ∫_x realInner(v, realPairWeil(x, 1)v)·petersson(y′, y(·x(1, u))).
rallis_inner_product_eulerunit 27Rallis inner product formula by doubling (the authors' label; the second reader finds an analogue for another dual pair (Rallis) and the unitary pairing for cusp-representation vectors (Li §2); the constant uniform in the data, the coset-sum evaluation and the injectivity are further assertions:
literature: unresolved), for an edge v and 2·rk S < rk T: there is A ≠ 0 such that for all characters a, b of the weights of the edge and every sharp datum F of level J and constant c, the lift L of forms y of level J by v ⊗ F is injective and ⟨L y′, L y⟩ = ∑_γ A·c·cosetTerm(rk T, b, S₀ᶜ, y′, y, γ).realPairWeil_schurCoeffPolyunit 27The real Weil representation acts on Schur coefficient polynomials through the Weyl representations: ω(x, y)schurCoeffPoly(A, ξ) = schurCoeffPoly(A·conjWeylMatrix(y⁻¹), conjWeylRep(x)ξ).
The value at z of the Schur coefficient polynomial schurCoeffPoly(A, ξ) is A ⬝ schur(κ, z)·ξ.
schurJet_jetSeries_eq_smulunit 27The Schur jets of the jet series at scale c are c^{boxes(κ)} times those at scale 1.
exists_lift_ofAlgForm_eq_smulunit 27For Harish-Chandra parameters and a lift weight, there is β such that the theta lift of ofAlgForm(φ) by the joint harmonic datum is β/[K₀ : K] times ofAlgForm of the kernel lift of φ.
Seesaw identity for periods (an inference from Kudla's seesaw identity with additional hypotheses:
literature: weakens): if the periods of lifts span with the required kernel identities, then the periods of descents are constant multiples of the given constants, with one scalar for every index.
Unit 43 · Theta kernels, lifts and adjoint descents for unitary dual pairs · 26 declarations
IsTargetBounded.unit 43isAutFunction_thetaIntegral The theta integral of a target-bounded datum is an automorphic function.
ReadsAt.unit 43isTargetBounded For a rapid real datum v and a Schwartz–Bruhat function φ supported on matrices whose transpose has a left inverse, the local datum localDatum(S, T, v, φ, r) is target-bounded.
ReadsAt.unit 43pairWeil_localDatum_of_mem_Kf For g, h in K_f, the Weil action on a local datum is a character factor α(det h)β(det g)⁻¹ times the local datum of the translated function y ↦ φ(h⁻¹y g) (components through π).
Space.unit 43Splitting. centreCoeff_eq_integral_stabilizer Assume HasIntegrableTerms(D, V, a, b, f, g, y) (the section's hypothesis), y continuous (hy) and left invariant under the rational points of U(V) (hΓ). For a rational x₀ with x₀*J_V x₀ invertible (h₀) and S the image of the rational stabilizer of x₀ (hS), writing F(h) = thetaTerm(D, V, a, b, f, g, x₀, h)·y(h): F is left S-invariant, integrable on the quotient by S, and centreCoeff(D, ȷ·(x₀*J_V x₀), ∫ pairTheta(W, V, a, b, f)(·, h)·y(h) dh, g) = ∫ F over the quotient by S.
Space.unit 43Splitting. centreCoeff_integral_eq_tsum With integrable theta terms, the coefficient at ȷβ of the theta integral ∫ pairTheta·y is the sum, over the rational frames x with x*J x = β, of the integrals of the theta terms at x.
Space.unit 43Splitting. hasIntegrableTerms_integrated_name If P is disjoint from its conjugates, Ψ is Schwartz–Bruhat at P and v is rapid, and the matrices where Ψ ≠ 0 give left-invertible transposed coordinate matrices at g, then the theta terms of D for the datum v ⊗ name(P, Ψ, vac) at g are integrable.
Space.unit 43Splitting. sourceTerm_levi The source term at x of the datum moved by the Levi element of (m, g₀) is the character factor b(det m)⁻¹|det m|^{n′/2} times the moved source term at h⁻¹x m.
Space.unit 43Splitting. sourceTerm_radicalElt The source term at x of the datum moved by the radical element radicalElt(c, z) is ψ(½·tr(z·x*·stdForm·x)) times the Heisenberg operator ϱ of x c*·stdForm applied to the source term.
Space.unit 43Splitting. symm_homSource_zeroTerm_eq_integral The zero term, for the opposite splitting, of a datum is the integral over x of the mixed terms of the datum at x.
ThetaKernel.unit 43exists_clm_lift For y automorphic and rapidly decreasing and each point h, the value at h of the theta lift of y is a continuous linear functional of the datum φ.
ThetaKernel.unit 43lift_equivariant For automorphic y, the lift of y by φ at h·l equals the lift, by ω(k, l)φ, of the translate y(·k), at h.
eq_of_integrated_zeroTerm_equnit 43Two real data v, u are equal if, for every datum f, the integrated data built from the zero terms of the projections of f agree.
exists_linear_thetaIntegralunit 43For characters α, β there is a linear map Λ on data with Λ(f) = thetaIntegral(S, T, α, β, f) for every target-bounded datum f.
realPairWeil_polyVectorunit 43For block-diagonal x, y (signs s, s′), the real Weil action on a polynomial vector v_P is a product of powers of principal minors of x, y times v_Q, Q obtained from P by a linear substitution of the variables.
thetaIntegral_pairWeilunit 43The theta integral of the datum moved by p = (p₁, p₂) at g equals the theta integral of the datum at g·p₁.
For base-adapted splittings A, X and each β: the sums over ξ of the theta functionals of the line terms do not depend on β, and there are a splitting D and an element u with every line term a mixed term of D, D adapted at 1 with u, and the frame of D at 1 given explicitly by the blocks of A and X.
Space.unit 43Splitting. zeroTerm_homSource_comp The zero term for a composite splitting D∘D′ is the zero term for D′ of the zero term for D.
Space.unit 43exists_mapsTo_ratVectors There is a point g of the adelic group of W such that g·γ is a rational vector of W for every rational vector γ of V.
ThetaKernel.unit 43integral_lift_eq_integral_descent Adjointness of lift and descent: for rapid y, y′, ∫ y′·(lift of y) over [U(T)] equals ∫ y·(descent of y′) over [U(S)].
Flipping the coordinates of a pair of spaces to the opposite space changes the theta kernel by a constant z of absolute value 1: pairTheta of the flipped pair at the flipped datum equals z times pairTheta of the original pair.
For a source that is a block sum S ⊕ V, the kernel with a product datum and a product polynomial factors as the product of the two kernels.
For a target that is a block sum T ⊕ V, the kernel with a product datum and a product polynomial factors as the product of the two kernels.
name_eq_zero_of_invariantunit 43A continuous functional ℓ invariant under the Heisenberg translations along the frame X ⊗ Y vanishes on the datum named by Ψ, provided the coordinate matrix X_f*·y·Y_f is non-zero wherever Ψ(y) ≠ 0.
pairTheta_decay_of_ontounit 43For a datum named by Ψ whose support consists of matrices with left-invertible transposes, the theta kernel decays in the target height, polynomially bounded in the source height and a weighted norm.
pairTheta_modDatum_decayunit 43For a modular datum with support in the left-invertible matrices (𝔪 having places), the theta kernel decays in the source height, polynomially bounded in the target height and a weighted norm.
Modulus.unit 43factor_reductionK₀ Reducing modulo 𝔫 and then mapping to the residue ring of 𝔪 (for 𝔫 ≤ 𝔪) is reducing modulo 𝔪.
Unit 120 · Witt extension for Hermitian frames over fields and integral adeles · 4 declarations
IsValuationPair.unit 120exists_isPrimitiveMatrix_mul For a valuation pair, every matrix X with a left inverse has X·b primitive for some invertible b (which may be taken block triangular for a given grading).
Over a stably unramified CM field, a hermitian matrix b with entries in Ô and a left inverse over Ô (unimodular) satisfies k*bk = 1 for some k ∈ GL_n(Ô).
Witt's theorem: two frames X, Y with equal Gram matrices (and the non-degeneracy conditions) are carried one to the other by an element of U(J).
witt_Ohat_of_orthonormalunit 120Witt's theorem over Ô: two integral frames X, Y that are orthonormal for the identity form are carried one to the other by an element of K_f.
Unit 104 · Unitary Hecke characters and splitting characters of CM fields · 9 declarations
Modulus.unit 104matrix_ext_modulusResidue For pairwise distinct finite places u(i) (hu: u injective) and a modulus 𝔪 whose ideal is ∏_i u(i) (e; by default the level modulus), two matrices x, y over O_E/𝔪 are equal if and only if for every i their images under the residue map r = modulusResidue(𝔪) at the place u(i) are equal (x.map r = y.map r).
SplitTameChar.unit 104exists_atPlaces_eq Every element g of the local group at the places S of 𝔠 is the family of components at S of an adelic element supported at S.
SplitTameChar.unit 104readsAt The evaluation at the places S of 𝔠 is a reading map (
ReadsAt 𝔠.), identifying the components at S with a semilocal field.S (evalPlaces 𝔠. S) SplitTameChar.unit 104tameLocalChar The local character χ_𝔠 of a split tame character, twisted to rank k, is tame (
TameLocalChar).The places of levelModulus(S, c) (c ≠ 0) are the places of the families of S.
For |n| even, the character attached to rankTwist(ν, n) in rank |n| is the base change of ν.
AutChar.unit 104HasWeight. exists_conj For a character μ of weight e and σ ∈ Aut(ℂ) permuting the CM embeddings by p, there is a character ν of weight e∘p⁻¹ with tame part σ∘ψ and ν(u) = σ(μ(u)) at points with trivial infinite component.
Modulus.unit 104mem_principalLevel_iff If the ideal of 𝔪 is generated by a, then k lies in the principal level of a if and only if its reduction modulo 𝔪 is 1.
exists_reductionK₀_equnit 104Every element of GL over the residue ring of 𝔪 is the reduction of an element of K₀ supported at the places of 𝔪.
Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing · 18 declarations
Space.unit 102IsAutomorphic. mem_rapidFunctions On a definite space (all signs equal) every automorphic function is rapidly decreasing.
Right translation by a point k of the finite group preserves the inner product of forms: ⟨R(k)y, R(k)y′⟩ = ⟨y, y′⟩.
Space.unit 102integral_quotMeasure_eq_classSum If F is left invariant under the rational points and ∫_x F(x, g) = f(g) with f right invariant under a level K, then the integral of F over the quotient is [K₀ : K]⁻¹ times the class sum of f over K.
isSphericalWith_toAlgForm_iffunit 102A form is spherical with a given Hecke polynomial if and only if its algebraic form is.
Definition: the class sum over the rational points of the standard definite space I_n, as a function of the level K and the summand.
LevelPlaces.unit 102LevelForm. innerAt_eq_stdClassSum The inner product at a conjugate σ of two algebraic forms is σ⁻¹ of the class sum of the Gram forms of their σ-conjugates.
LevelPlaces.unit 102map_inner_self_eq If σ(φ(g)_i) = c·a(g)·B(g)_{p(i)} and the conjugate relation holds with c′, a′ and a(g)·conj(a′(g)) = 1, then σ(⟨φ, φ⟩) = conj(c′)·c·⟨B, B⟩.
Space.unit 102inner_eq_petersson The inner product of two forms is their Petersson product.
Space.unit 102integral_mul_eq_classIntegral For an automorphic Φ with Φ(x, g) = L_g(conjWeylRep(x)(highest vector)), the integral of Φ·ofAlgForm(l, s, φ) over the quotient is (#WeylIndex·[K₀ : K])⁻¹ times the class integral of g ↦ L_g(φ(g)).
Space.unit 102ofAlgForm_toAlgForm The form associated with the algebraic form of y is y.
gramForm_mem_embValRingunit 102The Gram form of two vectors of gauge at most 1 (for conjugate embeddings) lies in the valuation ring of the embedding.
hcParameter_eq_of_stepsunit 102If L satisfies the step relation L(p) = L(p + 1) + 2κ(w, p + 1) + 2 and agrees with the Harish-Chandra parameter at one index q < N, then it agrees at every p < N.
Space.unit 102IsForm. norm_le_of_firstMinimum_lt Cusp step: for a form F with a cusp kernel and principal level M, at a point g whose first minimum is small, |F(g)| is at most any bound C for the oscillation of F on the δ-ball around g.
Space.unit 102exists_kernel_form For a cusp kernel e, a translate x and a level K there is a form k of level K (k = 0 is allowed) whose conjugate at g is the Poincaré sum ∑_γ e(xγg)_∞·1_K(xγg)_f (
literature: unresolved; Godement's and Muić's Poincaré series have extra hypotheses).Space.unit 102finite_levelSpace The forms of a given type and level form a finite-dimensional space.
Space.unit 102integral_comp_mul_right For F invariant under the rational points and continuous, the integral over the quotient is invariant under right translation by x (and integrability is preserved).
integral_mul_realConvunit 102∫ c(z)·realConv(α, F)(j z) dν(z) = ∫ α(x)·∫ c(z)·F(j(z)(x, 1)) dν(z) dx.
weylGauge_le_one_of_integralAboveunit 102If the values of φ at the points integral above p have l-adic coordinates of norm ≤ 1, then the Weyl gauge of φ is at most 1.
Unit 42 · Vanishing of Fourier coefficients at degenerate Hermitian indices · 6 declarations
Space.unit 42Splitting. centreCoeff_rat_mul For a rational element γ acting on the frame through the matrix c, the centre coefficient at T at γg equals the coefficient at c*Tc at g.
Space.unit 42Splitting. centreCoeff_sub For D automorphic on the group of W (the section's hypothesis) and D′ automorphic (h′), a scalar c and an element Y: F = D(·Y) − c·D′ is automorphic, and for every splitting H of W over W₀ along p, every T and every g: centreCoeff(H, T, F, g) = centreCoeff(H, T, D, g·Y) − c·centreCoeff(H, T, D′, g).
Space.unit 42Splitting. isContPeriodic_radicalCentre For an automorphic function D, the function M ↦ D(radicalCentre(M)·g) on adelic matrices is continuous and periodic under the rational matrices.
exists_isBaseAdapted_stageunit 42An adapted splitting of V′ over V factors in two stages: an adapted splitting of V′ over V plus q planes, followed by removing these planes, with the same frame and embedding.
Freitag's lemma (singular forms are governed by their coefficients at unimodular indices): under the stated invariance, radical and base conditions, the centre coefficient at an invertible T of an automorphic function vanishes at points supported at S.
exists_isBaseAdapted_reindexunit 42For a splitting D along one plane and an equivalence e : Unit ≃ p, there is a base-adapted splitting A′ along p with frame D.k reindexed by e and the same embedding D.i.
Unit 98 · Landherr’s principle for Hermitian forms and weak approximation on unitary groups · 2 declarations
Landherr's theorem for spaces with a point: over stably unramified E, two spaces with the same signs differ by a rational change of coordinates a (a*J_V a = J_W) and by moving the point by an element of the adelic group.
Space.unit 98weak_approximation Weak approximation: for a finite set S of places, the products γ·(1, k) with γ rational and k trivial at S are dense in the adelic unitary group.
Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms · 1 declaration
Space.unit 121isAutomorphic_const A constant function is automorphic.
Unit 35 · Matrix coefficients and reproducing formulas in the Fock model · 3 declarations
Identity of the real Heisenberg model: β(y, x)·vac(x − y) = vac(x)·vac(y)·exp(⟨holCoord(y), holCoord(x)⟩).
MixedModel.unit 35isRapidDatum_slice The slice at a of a rapid datum, in a mixed model, is rapid.
exists_tendsto_weightedNormunit 35A rapid real datum is a limit of polynomial vectors in every weighted norm.
Unit 123 · Adelic self-duality and a one-sided Poisson summation bound · 2 declarations
The residue field at a finite place w has q(w) elements (the norm of w).
isDualFamily_ratMatricesunit 123The characters M ↦ ψ(tr(Xᵀ M)), X rational, form a dual family for the rational matrices in the adelic matrices (Fourier analysis on 𝔸/E).
Unit 131 · Constant terms of theta lifts along an isotropic line · 6 declarations
exists_constant_term_thetaLargeunit 131Tower property: constant term of a theta integral along an isotropic line: there are β, z ≥ 1 and C such that every split tame character 𝔠 of weight μ has γ ≠ 0 with |γ|²·Π(|r| − |n|/2) = C·Π(|r| − |n|/2 + 1) and, for rapid v′ and integral s, the integral over the line parabolic of the theta integral of the larger pair is γ times the theta integral of the smaller pair with the cone integral of v′.
The L-value product lValueProdInt(𝔠, e) is positive.
pairWeil_stdRowDatum_eq_selfunit 131For integral z and k ∈ K_f, the Weil action of (1, k) fixes the local datum of the standard row datum stdRowDatum(σ, χ_𝔠, z).
rankTwist_eq_mul_of_splittingunit 131If W′ splits as W plus |b| hyperbolic planes, then rankTwist(ν, n′) = rankTwist(ν, n)·υ^{|b|}.
For ξ ≠ 0, the constant term along ξ·k_X of f is the theta functional of the line term of (A, X) at ξ.
integral_thetaIntegral_lineRadicalunit 131For a target-bounded datum, the integral over the line radical of the theta integral equals the integral over [U(V)] of the sum over x of the constant terms along x.
Unit 26 · Doubling integrals and sharp data for the Rallis inner product · 11 declarations
exists_hasSum_vacuumCoeff_at_placeunit 26Local doubling at one place: for ν of weight l with tame part 1 at w and w̄ and k > 1, there are representatives t(γ) of the cosets of the local level at w, supported at w, such that vacuumCoeff(2k, ν·υ^k, t(γ)) sums to ∏_{u∈{w,w̄}}(1 − realZetaCoeff(u)/q_u^k)/(1 − ν(ϖ_u)⁻¹/q_u^k).
hasSum_partialIntegral_cosetunit 26Integrating out the places A: for representatives t(γ) of the cosets of the local level at A and a datum that is the vacuum at A, the partial integral at B is the sum over γ of vacuumCoeff(t(γ)) times the partial integral at D of the translated integrand, where localLevel(D) = localLevel(A) ∩ localLevel(B).
Rallis inner product formula, doubling form (the authors' label; the second reader finds the shape and the rank range of the classical identity, Li Thm 2.1, but different test spaces and volume normalisation:
literature: unresolved): for rk T > 2 rk S, f clean and y, y′ rapidly decreasing automorphic, g ↦ ⟨f′, ω(g, 1)f⟩⟨y′, R(g)y⟩ is integrable and ⟨θ_{f′}y′, θ_f y⟩ = vol[U(T)]·∫ of it.If the signs of S agree or 𝔪 has places, b has tame part 1 off 𝔪 and F ≠ 0 on matrices mod 𝔪 has L·y = 1 on its support, then F ⊗ vac is sharp for the principal level at 𝔪, at the places of 𝔪𝔪̄, with constant ∑|F|²/#(matrices mod 𝔪)/#GL(O_E/𝔪).
Definition: realZetaCoeff(w) = −1 if w precedes w̄ in a fixed well-ordering, else 1 (so 1 when w = w̄ and one of each sign on a split pair).
realZetaCoeff_factor_mulunit 26At a split place w: (1 − realZetaCoeff(w̄)x)(1 − realZetaCoeff(w)x) = 1 − x².
tendsto_partialIntegralunit 26For integrable Φ, the partial integrals partialIntegral(R \ B, Φ) converge, as the finite set R grows, to partialIntegral(Bᶜ, Φ).
IsEdgeFamily.unit 26exists_lift_eq_realConv For an edge family and a polynomial Q, there is a compactly supported α such that the lift by the modular datum with the polynomial vector of Q is the real convolution by α of the lift by modLift.
pairWeil_modDatum_singleunit 26For integral finite points k, k′ of the two unitary groups and matrices x, y with x = r(k′)⁻¹·y·r(k) modulo 𝔪 (h; r = reductionK₀ for 𝔪), writing g = ((1, k), 1, k′): pairWeil(S, T, a, b, g)(modDatum(S, T, 𝔪, 1_x, v)) = pairChar(a, b, g)·modDatum(S, T, 𝔪, 1_y, v), 1_x the indicator of x.
IsEdgeFamily.unit 26isArrow_modDatum For an edge family h : IsEdgeFamily(a, k, k′, d, P) and an index i, write K = pairThetaKer(S, T, a(i, n), a(i, n′)) and φ = modDatum(S, T, 𝔪, Ψ, polyVector(P)) (real part the polynomial vector of P, finite part any Ψ modulo 𝔪). Then φ is an arrow of K from k(d) to k′(d) (IsArrow(K, k(d), k′(d), φ): it lifts forms of type k(d) on S to forms of type k′(d) on T) and an arrow of the swapped kernel from k′(¬d) to k(¬d) (it descends the conjugate types).
exists_modKernel_flip_lineunit 26Flip of the theta kernel of a line: there are an additive character ψ and c with |c|²·#(vectors mod 𝔪) = 1 such that the modular kernel for the opposite sign equals c times the kernel with the Fourier transformed datum and the flipped polynomial, at the point moved by flipScalar.
Unit 114 · Iwasawa integration and means on compact quotients · 2 declarations
exists_integral_stages_eq_mulunit 114Unfolding in stages: for a closed embedding i : L × H → G of unimodular groups, κ a Haar measure on L, Λ ⊂ H discrete with image Γ = i(1 × Λ), and ρ with Re ρ ≥ 0 everywhere and Re ρ ≠ 0 near a point g₀, there is R ≠ 0 such that ∫_{Γ\G} F = R·c for every continuous, left Γ-invariant F integrable on Γ\G and every c for which each g has k ∈ L × H with ∫_L ∫_{Λ\H} F(i(l, a)·i(k)·g) = ρ(g)·c.
integral_quotMeasure_eq_zero_of_meanunit 114Averaging criterion: if F is continuous and Γ-invariant, Γ ≤ H closed, κ a probability measure, right multiplication by j(x, b) ∈ H multiplies the Haar measure by d, and the κ-average of F(·j(x, b)·) is a·F with a ≠ d, then the integral of F over Γ\G is 0.
Unit 116 · Casimir eigenvalues and decay of Flensted–Jensen coefficients · 4 declarations
Definition: the exponential of an element X of the Lie algebra of U(J) (J-skew matrices), as an element of U(J).
exists_equiv_of_card_negunit 116Two sign vectors on index sets of the same size with the same number of negative signs differ by an equivalence of the index sets.
Tail bound: let l be a Harish-Chandra parameter with large gap B (instance) and |l_a| ≤ L for every a (hL). For a natural number c > 8|n|² (hc), the function f(g) = formalDegree(l)·(2/‖g‖)^c on U(ε) (the formal degree of l) is integrable and ∫ f ≤ 8·(2000·(|n| + L + 1)⁶)^{2|n|²}·2^c.
The discrete-series coefficient is bounded by (2/‖g‖)^c.
Unit 20 · Bases of minors and the Weyl character formula for Schur modules · 3 declarations
fockPairing_toPoly_toPolyunit 20The Fock pairing of the polynomials of ξ and η is hookNumber(κ, rankAt(n))·ξ ⬝ weylGramOver·η.
gramForm_highestVector_selfunit 20If each l(w) is injective, the Gram form of the highest vector with itself is 1.
The highest vector highestVector(κ, l) equals its complex conjugate.
Unit 44 · Spherical Hecke operators and transfer through theta lifts · 5 declarations
hecke_transfer_of_equivariantunit 44For a linear map Λ with Λ(ω((1, g), 1, h)f) = π(g)ρ(h)Λ(f): Λ(f) is spherical at w for π and for ρ, and the Hecke polynomial of ρ at X acts on Λ(f) as trivialHecke(q_w, k, a(w)X) times that of π at q_w^k a(w)X/b(w).
A subgroup of GL_n(F), F finite, consisting of the g with g_{ji} = 0 for j ≠ i (stabilizer of the line of e_i) has index ∑_{j<n} |F|^j.
isSphericalWith_formLiftunit 44Hecke transfer for theta lifts: if y is spherical at w with Hecke polynomial p and f is an arrow, its lift is spherical at w with Hecke polynomial X ↦ trivialHecke(q_w, k, a(w)X)·p(q_w^k a(w)X/b(w)).
isSphericalWith_trivialHeckeunit 44A vector fixed by the whole group is spherical with Hecke polynomial trivialHecke(q_w, |n|).
reduceFamily_liftResidueunit 44The reduction at the places w of the chosen lift liftResidue(s) is s.
Unit 105 · Schwartz–Bruhat functions and tame characters on local fields · 3 declarations
integral_mem_of_isLocallyConstantunit 105For a locally constant family f of functions over a compact space with finite measure μ, all members in a subspace P, the integral ∫ f(g) dμ(g) lies in P.
Composing a Schwartz–Bruhat function supported in s with a continuous map f that has a continuous left inverse g carrying s into t gives a Schwartz–Bruhat function supported in t.
schwartzBruhat.unit 105isLocallyConstant_curry For a Schwartz–Bruhat φ and continuous maps f, g with g(γ, f(γ, y)) = y, the function (γ, y) ↦ φ(f(γ, y)) is locally constant.
Unit 117 · Schur orthogonality and convolution bounds for discrete-series kernels · 2 declarations
Mean value property: for f complex differentiable on the closed unit disc, the integral of f over the unit circle (Haar probability measure) is f(0).
If f ≤ B everywhere and every bound M of f gives f ≤ M/2 or f ≤ c at each point, then f ≤ c everywhere.
Unit 122 · Adelic Hermitian spaces and principal congruence subgroups · 2 declarations
If the subring O is compact, so is GL_n(O).
g lies in levelOf(w, H) if and only if g is integral and its reductions at the places w form an element of H.
Unit 57 · Fitting ideal bounds and multivariate Hensel lifting · 2 declarations
Renaming the variables by an injective map leaves the jet (Fock pairing) of two polynomials unchanged.
The Fock pairing of a monomial with exponent α and coefficient a against g is (∏ α_i!)·a·(coefficient of α in g).
Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x · 5 declarations
Data.unit 152card_classAut_dvd_chosenGroupOrder For a level K ≤ K_f on a definite space of rank at most 2n_m, the number of automorphisms of each class divides the chosen group order of D.
Data.unit 152classAut_eq_bot_of_le_chosenLevel For a level contained in the chosen level (rank at most 2n_m), every class has trivial automorphism group.
Data.unit 152le_of_hasLogBound Size comparison on the scales of the data: F ≤ G when the upper log exponent of F is below the lower log exponent of G (
HasLogBound).Data.unit 152nat_le_of_hasLogBound The size comparison for natural numbers: A ≤ B.
Data.unit 152nat_lt_of_hasLogBound The strict size comparison for natural numbers: A < B.
Unit 150 · Theta functions of the CM curve: periods and scales, tight frames, the integral vacuum, Galois conjugates of jets, and divisibility of jets at non-split primes · 3 declarations
Parameters.unit 150exists_semilinear_isJetConjugate For σ ∈ Aut(ℂ/K) there are t (|t|² = Ω⁻¹), c ≠ 0, z and a σ-semilinear map L of data, conjugating jets with the place permutation of σ, compatible with the Weil action up to multiplierRatio(σ, ·), and sending named data to c times the moved named data of σ∘Ψ.
Parameters.unit 150mem_raises_of_dvd If d times a datum f lies in the standard data at N, |ι_p(c)| ≤ 1 and d·(N·d_P)^{boxes} divides M, then M·f raises the jets of the theta kernel of scale c·jetScale to integral values.
isAdmissibleComb_nameunit 150For g·q ∈ 𝔪, Ψ integral away from q and Σ_x |σ(Ψ(x))| ≤ B under every automorphism σ: the datum named by the lift of Ψ at the places of 𝔪 on a vector u is an admissible combination of finite Heisenberg translates of v = the projection of u, with the stated bounds.
Unit 19 · Integral branching maps for general linear groups · 1 declaration
PolyRep.unit 19ext_schur_weylEval Two linear maps on a Schur module agree if they agree on the vectors schur(g)·weylEval for all g.
Unit 111 · Hecke operators on fixed vectors and estimates for class sums · 2 declarations
classSum_eq_relIndex_smulunit 111Comparison of class sums for two levels related by conjugation with a: the sum for K′ of F equals the relative index of L in K times the sum for K of f, when F(g) = f(class of g·a).
classIntegral_mem_nsmulunit 111If every value of f lies in A, the class integral of f lies in the #(double cosets)-fold sums of A.
Unit 128 · Semilinear intertwining of Heisenberg and Weil actions · 1 declaration
map_finMultiplier_mul_conjunit 128For a ring homomorphism σ : ℂ → ℂ and a finite adelic unitary point g: σ(Δ(g))·σ(conj Δ(g)) = Δ(g)·conj Δ(g), Δ = finMultiplier (the Weil multiplier Δ_f(g)); the product |Δ(g)|² is a relative lattice index, a natural number (norm_finMultiplier_sq), hence fixed by σ.
Unit 115 · Haar measure on unitary groups in Cayley coordinates · 1 declaration
measurePreserving_haarUunit 115The isomorphism of unitary groups induced by an equivalence of the sign vectors preserves their Haar measures.
Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume · 5 declarations
AuxPair.unit 143heckePolyOnForms_eq_smul If y is spherical at w with Hecke polynomial p, the operator heckePolyOnForms(O, hw, hS) at X acts on y by p(X).
Data.unit 143norm_mul_gProd_pow_mem_modulus For a tame character ϑ and a natural number c: N(Q_ϑ)·g^c lies in the ideal of the modulus D.𝔪 ϑ c = (π̄₀π̄₁)^c·Q_ϑ, where N(Q_ϑ) = ϑ.levelNorm and g = D.gProd.
Parameters.unit 143norm_jet_le_of_isAdmissibleComb Let P be parameters, μ an exponent (Lean's s), characters a, b of weights ea, eb, f an admissible combination of translated vacua of size B (H), σ a field automorphism of ℂ, c ∈ ℂ and g, h finite points. Write u = log(|σ(c)|²/Ω(P, μ)) (Ω = bigOmega), M(L, w) = B·exp(C(P)·(N₁(P, μ)·|n′ × n| + 1)² + |Pl(P, μ) × n′ × n|·log(2L + 2) + w) and F = jetSeries(V, c·jetScale(P, μ))(pairWeil(stdSpace(E(P, μ), n), stdSpace(E(P, μ), n′), a, b, ((1, g), 1, h), f)), V the space on which pairWeil acts (Lean infers it). Then (1) for every polynomial Q, natural L, real w and A ≥ 0 with ‖σ(Q(z))‖ ≤ A·exp(w + L·R) whenever ∑_i ‖σ(z_i)‖² ≤ e^u·(2L + 2)·R: ‖σ(jet(ℂ, Q, F))‖ ≤ M(L, w)·A; and (2) for every positive integer L, κ, e with IsLiftWeight(n, n′, κ, eb, e) and every ξ: √weylNormSq(σ∘(schurJet(κ, F)·ξ)) ≤ M(L, (∑_τ ∑_{i<|n|} (δ(τ, i)/L + log δ(τ, i)! + δ(τ, i)·u))/2)·√weylNormSq(σ∘ξ), δ(τ, i) = diagramWeight(rankAt(n′), κ, (τ, i)).
boxes_le_of_isHCParamunit 143For a Harish-Chandra parameter (κ, e, l) with |l| ≤ β: boxes(κ, |L|) ≤ |N|·|L|·β and |e(w)| ≤ β.
The reduction of the block point U.block(ε)(k, l) is reindexGL(ε)(blockGL(reduction of k, reduction of l)).
Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds · 2 declarations
Data.unit 145card_stdClasses_le_exp_mul_log For a level K containing the principal level of G (and rank at most 2n_m), the number of class representatives of K is at most exp(x²⁹·(1 + log G)).
With free class actions and the box bound, the short algebraic forms span the forms of level K.
Unit 133 · Discrete series coefficients near 1, Laplace's method, and explicitly large Bessel functions · 3 declarations
IsSteep.unit 133exists_isTwoFactor_restriction Let l, l′ be steep for B (IsSteep(l, B, e) and IsSteep(l′, B, e′), e : X ⊔ Fin M ≃ n, e′ : X ⊔ Fin(M + 1) ≃ n ⊔ {∗}), M even (hM), l′ with gap h (hg) and B ≥ 1 (hB). Then there is ω ∈ U(ε ⊕ 1) such that, writing j(r) = (r, ω⁻¹(r ⊕ 1)ω): ‖ω‖ ≤ |n ⊔ {∗}|²·(6B)^{2M+1}; IsTwoFactor(l, −l′, j, e′ ∘ inl, B, e, 0) (the two-factor situation of the Laplace method, with phase 0); and for every s the second component of subOnePair(j, s) is ω⁻¹·((first component) ⊕ 0)·ω.
IsTwoFactor.unit 133laplace_method Laplace method: in a two-factor situation with large gaps and size bounds, the volume of the unit ball is at most β^{20(|n|+|m|)²} times the absolute value of the Laplace integral of the coefficients.
norm_poincare_period_sub_leunit 133Let V be a space of rank n over E (stably unramified), F automorphic on V (hF) with |F| ≤ S (hS) and of level principalLevel(n, a), a ≠ 0 (ha, hl); l a Harish-Chandra parameter of rank n ⊔ 1 at each infinite place w with large gap 2A (hg); R ≥ 0 (R0) with R ≤ |Φ(w)(a)| at every infinite place w (hR; Φ(w) the embedding of the CM type at w); 2·numInfPlaces(E)·(|n| + 1) + 2 ≤ A (hA) and 8(|n| + 1)² < A (hB); x with d² ≤ R·firstMinimum(move(V, x)) (hx), numInfPlaces(E) ≤ d (hd), 10 ≤ d (hD); ω, α archimedean points. Put φ(g) = ∏_w conj(dsCoeff(l(w))(α_w⁻¹·g_w·ω_w)), ψ(g, r) = φ(g·inl(r)), L = ∏_w (2(‖α_w‖·‖ω_w‖)²)^A·(16^A·vol{r ∈ U(s) : ‖r − 1‖ ≤ 1}), Z = sum(V, signedSpace(E, 1)) = V ⊕ ⟨1⟩ with the inclusion i of the group of V, v = vol(principalLevel(n, a)), X(γ, h) = i(x)⁻¹·γ·i(h) and K(γ, h) = φ(X(γ, h)_∞)·1_{principalLevel(n ⊔ 1, a)}(X(γ, h)_f) for γ ∈ Γ_Z. Then ψ(1) is integrable and ‖∫_{[V]} ∑_γ K(γ, h)·F(h) dh − v·realConv(ψ(1), F)(x)‖ ≤ v·L·S·(10/d).
Unit 101 · Dual Weyl modules and integral Cartan components · 1 declaration
exists_dual_pairing_of_isHCParamunit 101For Harish-Chandra parameters (κ, e, l) and (κ′, e′, −l) there is an integer matrix A pairing the two Weyl representations invariantly, expressing ofAlgForm through A and the highest vector, with a left inverse up to hookNumber, and representing weylNormSq through Gram forms.
Unit 22 · Finite-group averages and character inner products · 1 declaration
finMean_comp_surjectiveunit 22The mean of f∘p over a finite group equals the mean of f, for a surjective homomorphism p.
Unit 29 · Group-algebra projectors and averaging in unitary representations · 1 declaration
map_compactMean_of_constunit 29If φ(ρ(h)x) = c for all h ∈ H, then φ of the compact mean of x over H is c.
Unit 92 · Local Frobenius, tame inertia and decomposition groups · 1 declaration
norm_adeleExtension_le_oneunit 92For x integral at every finite place, |σ(x)| ≤ 1 for the extension of an embedding σ to the adeles.
Unit 18 · Casimir bounds and lowest compact types in the discrete series · 1 declaration
Twice the lowest K-type entry is l(i) + 2ρ(non-compact) − 2ρ(compact) at i.
From Lean's own library · 50 facts
Continuous.integral_pos_of_hasCompactSupport_nonneg_nonzero A continuous non-negative compactly supported function that is non-zero at some point has positive integral for a measure that is positive on open sets.
ContinuousLinearMap.integral_comp_comm A continuous linear map commutes with the Bochner integral of an integrable function.
Equiv.ofBijective A bijective map gives an equivalence.
Equiv.sum_comp A sum over a finite type is unchanged when the summand is composed with an equivalence.
Fin.induction Induction over Fin (n + 1): a property of 0 that passes from i to i + 1 for i < n holds for every element.
Fin.val_last The last element of Fin (n + 1) has value n.
Finset.induction Induction on finite sets: a property of ∅ that passes from s to insert a s (a ∉ s) holds for every finite set.
Finset.sum_eq_single A finite sum whose terms vanish except at one index equals the term at that index.
Finsupp.onFinset A function vanishing off a finite set defines a finitely supported function.
Fintype.card_piFinset The product of finite sets indexed by a finite type has as many elements as the product of their sizes.
Fintype.prod_eq_single A finite product whose factors are 1 except at one index equals the factor at that index.
Function.Injective. bijective_of_nat_card_le An injective map from a finite type to a type with at most as many elements is bijective.
HasFDerivAt.comp Chain rule for Fréchet derivatives.
HasStrictFDerivAt.to_localInverse Inverse function theorem: a map with invertible strict derivative at a point has a local inverse near the image point, with the inverse derivative.
IsCompact.elim_finite_subcover A cover of a compact set by open sets has a finite subcover.
LinearMap.dualMap_surjective_of_injective For an injective linear map f, the dual map (restriction of linear functionals along f) is surjective: every functional on the source extends.
LinearMap.linearEquivOfInjective An injective linear map between spaces of equal finite dimension is a linear equivalence.
Matrix.det_fromBlocks_zero₂₁ The determinant of a block upper triangular matrix (A B; 0 D) is det A·det D.
Matrix.det_one_add_mul_comm det(1 + AB) = det(1 + BA) (Sylvester's determinant identity).
Matrix.det_one_sub_mul_comm det(1 − AB) = det(1 − BA).
Matrix.isHermitian_conjTranspose_mul_mul For a hermitian matrix B, the matrix A*BA is hermitian.
Matrix.mul_eq_one_comm_of_card_eq For matrices A (m × n), B (n × m) with |m| = |n|, A·B = 1 if and only if B·A = 1.
Matrix.nonsing_inv_mul_cancel_left For an invertible matrix A, A⁻¹(A B) = B.
MeasureTheory.Measure. haarMeasure_unique A Haar measure is the multiple of the reference Haar measure by its mass on the reference compact set.
MeasureTheory.integral_domSMul Integrating against the measure transported by a scalar action equals integrating the composed function.
MeasureTheory.integral_exp_pos The integral of exp∘f is positive when exp∘f is integrable (for a non-zero measure).
MeasureTheory.integral_mul_right_eq_self For a right-invariant measure, ∫ f(x·g) dμ(x) = ∫ f dμ.
MeasureTheory.integral_prod_smul The integral over a product measure of f(x)·g(y) is the product of the integrals.
MeasureTheory.measureReal_univ_ne_zero A non-zero finite measure gives the whole space non-zero real measure.
Nat.lt. dest If n < m then m = n + k + 1 for some natural number k.
exists_compact_supersetIn a locally compact space every compact set lies in the interior of a compact set.
exists_contDiff_tsupport_subsetFor every neighbourhood of a point there is a smooth non-negative function with compact support inside it, positive at the point.
ext_inner_rightIn an inner product space, two vectors x, y are equal if ⟨x, v⟩ = ⟨y, v⟩ for every vector v.
hasFDerivAt_exp_zeroThe exponential map of a Banach algebra has derivative the identity at 0.
tendsto_nhds_unique_of_frequently_eqIf f → a and g → b along a non-trivial filter and f = g frequently, then a = b (Hausdorff target).
Finset.expect_const The average of a constant over a non-empty finite set is that constant.
Finset.sum_of_injective A sum over the image of an injective map, with the summand vanishing off the image, equals the sum over the source.
MeasureTheory.integral_finsetSum The integral of a finite sum of integrable functions is the sum of the integrals.
MeasureTheory.integral_integral Fubini: for an integrable function on a product, the iterated integral equals the integral over the product measure.
MvPolynomial.C_injective The constant-polynomial map C is injective.
Nat.not_dvd_of_lt_of_lt_mul_succ If k·n < m < (k + 1)·n then n does not divide m.
Nat.strongRec Strong induction on the natural numbers.
em'Excluded middle, in the form ¬P ∨ P.
ext_inner_leftIn an inner product space, two vectors x, y are equal if ⟨v, x⟩ = ⟨v, y⟩ for every vector v.
finprod_mem_unionA finite product over a union of two disjoint sets is the product of the two products.
ContinuousMultilinearMap.norm_image_sub_le For a continuous multilinear map f, ‖f(m₁) − f(m₂)‖ ≤ ‖f‖·∑_i ∏_{j≠i} max(‖m₁ j‖, ‖m₂ j‖)·‖m₁ i − m₂ i‖.
Nat.decreasingInduction Decreasing induction: a property of m that passes from b + 1 to b for b < m holds for every b ≤ m.
Nat.rec Induction on the natural numbers.
Submodule.sup_orthogonal_inf_of_hasOrthogonalProjection For K₁ ≤ K₂ with K₁ admitting an orthogonal projection, K₁ ⊔ (K₁ᗮ ⊓ K₂) = K₂.
finprod_mul_distribFor finitely supported f, g: ∏ᶠ (f·g) = (∏ᶠ f)·(∏ᶠ g).
Where it is used
Unit 138 · The choice of the twists: Galois representations of lifts, Selmer groups made short by one anticyclotomic twist, and congruence bounds by Ribet's method, Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume, Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup, Unit 151 · The endgame: the weighted prime sum and its remainder, the one-sided criterion (Landau), the choice of the second scale, and the statements and assembly of Theorems A, B and C, Unit 154 · The inequality (⋆), the one-sided bound for the remainder of the weighted prime sum, the generalised Riemann hypothesis, and the passage to the critical line
Its files
31 modules
New.Exchange. AlgebraicPartConjugates New.Exchange. AlgebraicPartDefs New.Exchange. BlockPartners New.Exchange. ChainNorms New.Exchange. CharacterLiftNorm New.Exchange. CostOfSquares New.Exchange. CrudeModularData New.Exchange. CrudeRows New.Exchange. DeterminantVectors New.Exchange. EqualRankValue New.Exchange. ExchangeDifference New.Exchange. ExchangeTheorem New.Exchange. GridFirstColumns New.Exchange. GridModuli New.Exchange. GridMove New.Exchange. GridParameters New.Exchange. LValueRatio New.Exchange. LowRankIdentity New.Exchange. NonnegativeVanishing New.Exchange. OneSquare New.Exchange. PartnersMatch New.Exchange. RealPair New.Exchange. RowLadder New.Exchange. RowsReached New.Exchange. SquareLawFourier New.Exchange. StableSpaces New.Exchange. StandardCoefficients New.Exchange. SteepParameters New.Exchange. TriangleArrows New.Exchange. TriangleLevelExponent New.Exchange. TriangleNorms
The program check
305 of 305 statements stand at the lines the dossier gives; 122 structured proofs with 933 steps, 879 of them leaves, the longest of 9 lines; 933 steps quote exactly their lines. Checked 2026-11-26T19:36Z.
The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.