grh-compacta Lean artifact read back into mathematics

Lean source

Lib.Weil.Construction.AdelicHeisenberg

Lib/Weil/Construction/AdelicHeisenberg.lean · 24 lines · 2 declarations · read in Unit 37 · The adelic Heisenberg action, Weil representation and theta functional

Its 2 declarations
Lib/Weil/Construction/AdelicHeisenberg.lean · all 24 lines
import Lib.General.NumberTheory.UpsilonValuesimport Lib.Adelic.Adeles.AdeleSelfDualimport Lib.General.LinearAlgebra.ElementOfMatrix/-! Part of: Adelic Weil representation of a unitary group and the invariant theta functional (knownresult; see Lib.Weil.DualPair.PairSplitting).This file: Adelic vacuum function and Heisenberg cocycle of the standard hermitian form. -/open Matrix Real WeilData/-- The vacuum on adelic vectors: exp(−π ∑_{i,τ} Im(τȷ)|x_{i,τ}|²) times ψ_f(½c₀ȷ x_f*x_f) ifthe finite part x_f lies in αÔ^n, and 0 otherwise. -/noncomputable def vacuumFn {E} [Field E] [CMType E]  [WeilData E] {n} [Fintype n] (x : n → 𝔸 E) := (-∑ i, ∑ w, π * (Φ w j).im * ‖(x i).1 w‖ ^ 2).exp *  ite (∀ i, α⁻¹.1 * (x i).2 ∈ Ô E) (ψf E ((traceOne * j / 2 : E) * ∑ i, star (x i).2 * (x i).2)).1 0/-- The Heisenberg datum on adelic n-space with bicharacter β(x,y)=ψ(½ȷ h(y,x)), h being thestandard hermitian form of signs s. -/noncomputable def adelicHeis E [Field E] [CMType E]    [WeilData E] {n} [Fintype n] (s : n → ℤˣ) : Heisenberg (n → 𝔸 E) := by refine ⟨fun x y ↦  stdAddChar E (toAdele (j / 2) * star y ⬝ᵥ stdForm E s *ᵥ x), ?_, ?_, fun x ↦  stdAddChar_half (_ : 𝔸 E) ▸ ?_, ?_, .subtype_val (by fun_prop)⟩ <;> simp [mul_add, neg_div,  AddChar.map_add_eq_mul, ← star_dotProduct, star_mulVec_dotProduct, Circle.norm_coe]