The finite square law for theta lifts: special data, matched functions and Fourier form
New.Determinant.Chain.SquareLaw.lean
Reading
Upstream documentation written by Claude
This is linear algebra over a finite ring
Rwith a multiplicative characterχ, behind the commuting squares of theta lifts. A square law relates a functionLona × nmatrices to a functionL'onn × bmatrices. The rule for a square is the law written out for the weightspandnextDatum p, and a second identity follows by applying the rule to a Fourier transform.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Exchange.SquareLaw:LandL'transform byχ ∘ det, and∑ Ψ L' = c ∑ Φ Lfor all matched functionsΦ,Ψ.New.Exchange.pointDatum,New.Exchange.nextDatum: the point datum, which is the indicator function of the matrix(1; 0), and the datum built from a functionponn × amatrices, which has the valuep (-η), divided by the number of blockss, at(η s; 0 1).New.Exchange.SquareLaw.sum_eq_nextDatum: the square law forpandnextDatum p.New.Exchange.SquareLaw.exists_sum_matrixFourier_eq_sum_nextDatum: for primitive characters and the shapesn = N,a = N ⊕ T,b = T, an identity of the same kind between the Fourier transforms of the weights, with a constant of known modulus in place of the group orders.
Notions from other files:
New.firstCols e k,New.invLastRows e k: forkinvertible and indices split bye : b ⊕ a ≃ n, the columnsbofkand the rowsaofk⁻¹.New.AreMatched ⊤ e χ Φ Ψ:Φvanishes off the matricesinvLastRows e k,Ψvanishes off the matricesfirstCols e k, andΦ (invLastRows e k) = χ (det k) Ψ (firstCols e k)for allk.New.inclMatrix R u: for a mapu : m → nof index sets, then × mmatrix whosej-th column is the standard basis vector of indexu j.New.Exchange.matrixFourier ψ f: the functionρ ↦ ∑ v, f v * ψ (tr (ρ v)).New.Exchange.IsPrimitiveMulChar χ: for everya ≠ 0someχ (1 + c * a)is neither0nor1.
Relation to the literature
See New.Determinant.Exchange.OneSquare and New.Determinant.Chain.ChainNorms for related work.
Declarations
lemma SquareLaw.exists_sum_matrixFourier_eq_sum_nextDatum {R : Type} [CommRing R] [Fintype R] [DecidableEq R] (N T : Type) [Fintype N] [DecidableEq N] [Fintype T] [DecidableEq T] {χ : MulChar R ℂ} {ψ : AddChar R ℂ} (hψ : ψ.IsPrimitive) (hχ : IsPrimitiveMulChar χ) : ∃ γ : ℂ, -- (a) the modulus of the constant ‖γ‖ ^ 2 * card R ^ (card T * (card T + card N * 2)) = 1 ∧ -- (b) the identity between the two sums ∀ {c : ℂ} {L : Matrix (N ⊕ T) (N ⊕ (N ⊕ T) ⊕ T) R → ℂ} {L' : Matrix (N ⊕ (N ⊕ T) ⊕ T) (N ⊕ T) R → ℂ} (p : Matrix (N ⊕ T) N R → ℂ), SquareLaw χ (swapFirstTwo (a
Import route to Main
New.Determinant.Chain.SquareLaw → New.Determinant.Exchange.OneSquare (pinned import) → New.Determinant.Chain.ChainNorms (pinned import) → New.Determinant.Chain.NormOfChain (pinned import) → New.Congruences.FitTwistsExist (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)