The dictionary between vectors and theta functions
Lib.Weil.Construction.ThetaDictionary.lean
Reading
Upstream documentation written by Claude
For rational vectors
γinEⁿ, with real images inℂ^(Φ × n), this file defines the Riemann form, the translationsT_γof functions onℂ^(Φ × n)and the theta functions for a lattice.
New.ratShift_ratShift,New.mem_star_smul_idealLattice_iff,New.signedShift_add: the law of composition of the translationsT_γ, the duality ofδ̄ 𝔞₀ⁿandδ⁻¹ 𝔞₀ⁿfor the Riemann form, and the signs that make the translations a homomorphism on𝔞₀ⁿ.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Space.entireTheta_rho: for a standard space, the Heisenberg translationV.ϱ (finVec x), withx = α⁻¹ γthe finite image of a rational vectorγ, acts on theta functions asT_(-γ).New.Space.range_apply_finVec_eq_range_ratShift_entireTheta: for a standard space andφin the finite part, the values ofφat the finite adelic vectors are the valuesT_γ (entireTheta φ) 0.New.Space.isThetaFunction_iff: for a standard space, the theta functions for𝔞₀ⁿare the multiples of the theta function of the vacuum, because the Riemann form on𝔞₀ⁿis unimodular.
Here ℂ^(Φ × n) stands for InfinitePlace E × n → ℂ, and Φ w is the embedding of E in ℂ that
the CM type chooses at the infinite place w.
Notions from other files:
realImage γ: the entry at(w, i)isΦ w (γ i)divided by thew-part of the idelescaleIdele E;finiteImage γisα⁻¹ γin(𝔸f E)ⁿ, withαthe finite part of this idele.stdLattice E n: the latticeÔⁿof integral finite adelic vectors; it is its own dual for the characterselfDualAddChar E.semichar x: the valueselfDualAddChar E (traceOneAdele * half * star x ⬝ᵥ x), wheretraceOneAdeleis the image oftraceOne = c₀ : E, withc₀ + c̄₀ = 1.𝒮 Vis the space of vectors of the Weil representation of a spaceV, with vacuumV.vacElemand Heisenberg actionV.ϱ;entireTheta φis the theta function ofφ.V.IsStd: all signs ofVare+1and its point is the identity matrix.
Relation to the literature
Known result: the passage between the Fock model of the Weil representation and classical theta functions. A principal polarization has one theta function up to a factor. Source: Beauville, Theta functions, old and new, Theorem 3.5.
Declarations
theorem Space.isThetaFunction_iff : IsThetaFunction (idealLattice E n) F ↔ ∃ c : ℂ, c • entireTheta V.vacElem = F
Import route to Main
Lib.Weil.Construction.ThetaDictionary → Lib.Weil.Construction.FourierInversion (pinned import) → New.Derivatives.Vacuum.TightFrames (pinned import) → New.Derivatives.Vacuum.IntegralVacuum (pinned import) → New.Reduction.Data.AdmissibleData (pinned import) → New.Reduction.Data.Existence (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)