Riemann's theta relation and the reduction of theta functions at a valuation
Lib.Shimura.ThetaNormality.RiemannRelation.lean
Reading
Upstream documentation written by Claude
Theta functions
θ_s = x.thetaCoord s(s ∈ D.dualTorsion) of a theta torusx : New.ThetaTori.ThetaTorusand their reduction at a valuationvofℂ.
New.ThetaTori.ThetaTorus.isCutOutAt_reduction: under good reduction, the ideal of the reductions of all theta vectors(θ_s z)_shas the expected ranks and is cut out by the level points.New.ThetaTori.ThetaTorus.riemann_relation: Riemann's theta relation of degreeD.paddedNormin one variable.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.ThetaTori.ThetaTorus.exists_forall_valuation_thetaCoord_zero_le: eachsisu + (s - u)with theta constants of largest valuation.New.ThetaTori.ThetaTorus.IsRiemannTuple,New.paddingTuple: the systems of coefficients used in Riemann's relation.
Conventions: x.torsionLift s is a chosen lift of the torsion class s, x.latticeOver S the
lattice over a group S of classes, x.intAction a multiplication by a ∈ 𝓞 E, x.multiplier the
multiplier χ of the θ_s, and e(t) = exp(2πi t); IsIntegralCoords w p says that p are integral
homogeneous coordinates of a complex vector w, one of them a unit.
Notions from other files:
New.ThetaTori.ThetaTorus: a polarised period map toV, with reflection matrixℓ, such that multiplication bystar ais adjoint to multiplication bya ∈ 𝓞 Efor the formx.automorphyForm. In suitable coordinatesaacts onVdiagonally, through the complex embeddings ofE.New.ThetaTori.PeriodMap.thetaCoord: The theta coordinateθ_t,t ∈ T: the normalised translate (New.ThetaTori.normalizedShift) ofNew.ThetaTori.PeriodMap.exists_generator_thetaSpaceby the chosen lifta_toft.New.RealComplexForm.thetaShiftB a: the twisted translation f ↦ (z ↦ exp(−B(a,z) − B(a,a)/2) f(z + a)).New.ThetaTori.LatticeForm.thetaNorm: the supremum over torsion points x of the sizesNew.ThetaTori.LatticeForm.sizeAtv(exp(−B(x,x)/2) f(x)).New.ThetaTori.HasGoodReductionasks, for an ample type on the lattice L, that this norm be multiplicative, that r > 1 and v(r) = 1, and that some N with v(N) = 1 multiply the dual lattice into L.
Relation to the literature
Known result: Normal generation of sections on abelian varieties, kept under good reduction. Only degrees that are powers of one integer r are treated, over a rank-one valuation ring of the complex numbers, where powers of the sup-norm ball of theta functions are the balls and reduction keeps the ranks. No cohomology or vanishing theorem is used. Source: S. Koizumi, Theta relations and projective normality of abelian varieties, Amer. J. Math. 98 (1976); T. Sekiguchi, J. Math. Soc. Japan 29 (1977) for characteristic p; G. Kempf, Multiplication over abelian varieties, Amer. J. Math. 110 (1988).
Known result: Riemann's theta relations. Here they are stated in one variable for the theta coordinates of a PEL torus, with multipliers in the ring of integers of a CM field in place of the matrix with entries ±1/2. They are proved by Schur orthogonality for the theta group. Source: C.-L. Chai, Riemann's theta formula (2014), Theorem 1.2; A. Nagano, On Riemann type relations for theta functions on bounded symmetric domains of type I, arXiv 2301.09243 (2023), Theorem 1.1; D. Mumford, On the equations defining abelian varieties I, Invent. Math. 1 (1966) §3; G. Kempf, Linear systems on abelian varieties, Amer. J. Math. 111 (1989) 65–94.
Declarations
lemma isCutOutAt_reduction [Field k] {φ : v.valuationSubring →+* k} (hφ : Surjective φ) (h_good : HasGoodReduction x.automorphyForm x.multiplier v D.paddedNorm) {q : V → D.dualTorsion → v.valuationSubring} {p : D.levelTorsion → D.dualTorsion → v.valuationSubring} (hq_coords : ∀ z : V, IsIntegralCoords (fun s : D.dualTorsion ↦ x.thetaCoord s z) (q z)) (hp_coords : ∀ l : D.levelTorsion, IsIntegralCoords (fun s : D.dualTorsion ↦ x.thetaCoord s (x.torsionLift l)) (p l)) {S : AlgebraicGeometry.Scheme} {t : AlgebraicGeometry.Spec (CommRingCat.of k) ⟶ S} {N : D.levelTorsion → LineBundle S D.dualTorsion} (hN_coords : ∀ l : ↥D.levelTorsion, (N l).IsHomogeneousCoords t fun s : D.dualTorsion ↦ φ (p l s)) : IsCutOutAt D.paddedNorm D.exponentBound (thetaRanks D.dualTorsion D.paddedNorm) N t (Set.range fun z : V ↦ φ ∘ q z)
Import route to Main
Lib.Shimura.ThetaNormality.RiemannRelation → Lib.Shimura.ThetaModuli.FamilyFromPoints (pinned import) → Lib.Shimura.ThetaModuli.UniversalFamily (pinned import) → Lib.GaloisRep.Main.SeedRepresentation (pinned import) → Lib.GaloisRep.Main.SplitCase (pinned import) → Lib.GaloisRep.Main.OddRank (pinned import) → Lib.ClassField.Avatar.LocalGlobalCompatibility (pinned import) → Lib.GaloisRep.Main.AllRanks (pinned import) → Lib.GaloisRep.TaylorWiles (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (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)