grh-compacta Lean artifact read back into mathematics

Lean source

Lib.Weil.Periods.DegreeOfT

Lib/Weil/Periods/DegreeOfT.lean · 43 lines · 4 declarations · read in Unit 28 · Unfolding Bessel periods of theta kernels

Its 4 declarations
Lib/Weil/Periods/DegreeOfT.lean · all 43 lines
import Lib.Weil.Periods.FiniteBesselGroup/-! Part of: Transfer of Bessel and Fourier–Jacobi periods under a theta lift (one unfolding step)(known result; see Lib.Weil.Periods.UnfoldingStep).This file: Minus the additive valuation, −ord_w, of a finite idele. The base point T: degree,invariance modulo degree zero, T*T equals the shift. -//-- For a finite idele x, the integer −ord_w(x): the logarithm of its multiplicative valuationat w, equal to −1 on a uniformiser. -/noncomputable def ideleLogVal {E} [Field E] [NumberField E] (x : (𝔸f E)ˣ) w :=  (Valued.v (x.1 w)).logattribute [-instance] IsAddTorsionFree.of_isDomain_charZero instCharZeroOfIsSemirealattribute [local simp] HasDegreeGe Grading.stringMap Grading.mem_besselGroup_iff entrywisevariable {E ι ι' X X' : Type} [Field E] [CMType E] [Fintype ι] [Fintype ι'] [Fintype X] [Fintype X']  {s ε ε' N} {V : Space E ι ε} {V' : Space E ι' ε'} (Y : Grading V N X s) {Y' :  Grading V' N X' (s - 1)}omit [Fintype X] [Fintype X'] inlemma Grading.hasDegreeGe_neg_one_stringMap : HasDegreeGe Y'.gradeOf Y.gradeOf (-1)  (Y.stringMap Y') := by simp [reindex_equiv Y.indexEquiv, reindex_equiv Y'.indexEquiv]; lia/-- Let s' = s − 1. For g in `Grading.besselGroup` of Y and δ in that of Y', the map δTg − T hasdegree at least 0, where T = `Grading.stringMap` and δ, g are read in rational coordinates. -/lemma Grading.hasDegreeGe_zero_mul_stringMap_mul_sub {g δ} :    g ∈ Y.besselGroup → δ ∈ Y'.besselGroup → HasDegreeGe Y'.gradeOf Y.gradeOf 0  (V'.ratCoordMatrix δ * (Y.stringMap Y' * V.ratCoordMatrix g) - Y.stringMap Y') := by  simp [reindex_equiv Y.indexEquiv, reindex_equiv Y'.indexEquiv]  repeat' first | intro _ | constructor | grind [Finset.sum_eq_zero] | rw    [Fintype.sum_eq_single ‹_›]/-- For s' = s − 1, 𝖳*𝖳 is the shift `Grading.shift` of Y (X ↦ 0, e_i ↦ c·e_{i+1}, times −N at grade0 and −Nc at grade 1); if Y, Y' have the same c, 𝖳𝖳* is the shift of Y'. -/lemma Grading.formAdjoint_stringMap_mul_stringMap : V.formAdjoint V' (Y.stringMap Y') * Y.stringMap  Y' = Y.shift ∧ (Y'.c = Y.c → Y.stringMap Y' * V.formAdjoint V' (Y.stringMap Y') =  Y'.shift) := by  cases s <;> simp [reindex_equiv Y.indexEquiv, reindex_equiv Y'.indexEquiv, Fin.sum_univ_castSucc,    shift, ne_of_lt, apply_ite toAdele, Fin.forall_fin_succ', Fin.val_inj]  simp [Y.formAdjoint_apply Y', apply_ite star, gradedGram, stringReversal]  grind -etaStruct (splits := 20) [Y.3]