Flipping a dual pair by adjoints: Weil actions and theta kernels modulo ideals
Lib.Weil.DualPair.Flip.lean
Reading
Upstream documentation written by Claude
For hermitian spaces
V,W, the Weil representation on the data space ofHom(V, W)gives the actionNew.pairWeil V Wof the two unitary groups and the theta kernelNew.pairTheta V W. Taking adjoints identifies this pair with the pair(W, V⁻), whereV⁻ = New.Seesaw.flipSpace Vhas the signs opposite to those ofV. This file gives the effect of the adjoint on Weil actions, on theta kernels and on the polynomial vectors of the Fock model (New.flipPoly). For theta kernelsNew.modKernelbuilt from functions on matrices modulo an ideal𝔪, the flip is expressed by a finite Fourier transform.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.flipCoords: the adjoint, twisted by the ideleNew.flipIdele, as a change of coordinatesNew.CoordChange; it depends on a unitcofÔwithc̄ c = -1.New.Seesaw.flipSpaceis the opposite spaceV⁻.New.flipCoords_map_pairWeil,New.exists_theta_flipCoords_map_eq_mul,New.flipCoords_map_schrodingerOp: it intertwines the actions of the pairs once the characters are changed, keeps the theta functional up to a number of modulus one, and moves a datum to the conjugate places.New.exists_pairTheta_flip: the resulting identity of theta kernels, after a change of point.New.Modulus.exists_modKernel_flip: a kernelNew.modKernelof (V, S) as a constant times a kernel of (S, T), where V has the signs opposite to T.New.Exchange.exists_conj_modKernel_eq_swap: the complex conjugate of a kernel of (S, T) as a kernel of (T, S).
Notions from other files:
New.WeilData: Weil data on a stably unramified E. They consist of ȷ in E with ȷ = −ȷ̄, Im τȷ > 0 for every τ in the CM type and (1 − ȷ⁻¹)/2 integral; a finite idele α for which the completed integers Ô are self-dual under (z, u) ↦ ψ_f(ȷαᾱzu); and a splitting character υ equal to −1 at uniformisers of the places w with w = w̄; its restriction to the norm-one ideles isNew.WeilData.upsilonU1.New.Modulus: a nonzero ideal 𝔪 of O_E prime to its complex conjugate;𝔪.ResidueRingis O_E/𝔪,𝔪.generatora finite idele generating 𝔪 in Ô, equal to 1 off 𝔪, and𝔪.primAddCharthe primitive additive character x ↦ ψ_f(ȷαᾱ x / 𝔪.generator) of O_E/𝔪.New.Space: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx equal to the diagonal matrix of its signs at the infinite places and 1 at the finite places.New.𝒮: The Banach space 𝒮(V) of integrable functions c on 𝔸^n with c(x) = ∫ c(y)β(y,x)e(x−y) dy, under the L¹ norm; β is the adelic bicharacter and e the vacuum functionNew.vacuumFn.New.pairWeil: The action ω_{a,b}(g, h) = χ_{a,b}(g, h) ω(x ↦ hxg⁻¹) on 𝒮(Hom(S, T)), where χ_{a,b}(g, h) = a(det h) b(det g)⁻¹ isNew.pairChar. The theta kernelNew.pairThetaS T a b f (g, h) is θ(ω_{a,b}(g, h) f), where θ is the theta functionalNew.Space.θ.
Relation to the literature
Known; see Lib.Weil.DualPair.ThetaLiftConvergence for sources.
Declarations
lemma Exchange.exists_conj_modKernel_eq_swap (a b : AutChar E) : ∃ c : ℂ, ‖c‖ ^ 2 * card 𝔪.ResidueRing ^ (card n * card m) = 1 ∧ ∀ (D : Matrix m n 𝔪.ResidueRing → ℂ) (P : MvPolynomial (InfinitePlace E × m × n) ℂ) (g : G E s) (h : G E t), conj (modKernel S T a b 𝔪 D P g h) = c * modKernel T S b a 𝔪 (matrixFourier 𝔪.primAddChar fun v : Matrix m n 𝔪.ResidueRing ↦ conj (D v)) (flipPoly s t (P.map conj)) h (g * 𝔪.flipScalar n)
Import route to Main
Lib.Weil.DualPair.Flip → New.Determinant.AuxiliaryForms.PathData (pinned import) → New.Determinant.AuxiliaryForms.Turns (pinned import) → New.Determinant.AuxiliaryForms.DiagonalTurns (pinned import) → New.Determinant.AuxiliaryForms.SpanningForms (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)