Theta functions of a CM elliptic curve: Weierstrass equation and spanning monomials
Lib.CM.Sigma.ThetaSections.lean
Reading
Upstream documentation written by Claude
Let
C : New.CMLattice dbe a CM datum with lattice Λ, point t of order two and constant a₁. Let H(l, z) = π l̄ z / area(Λ), and let σ be the sigma function of Λ. Let θ be the twisted translate of σ by t with θ(0) = 1 and multiplier χ =New.CMLattice.multiplier. Write x(z) = ℘(z + t) − ℘(t), y(z) = ½(℘′(z + t) − a₁x(z)) and G =New.CMLattice.translatedYThetaCube;New.CMLattice.sectionsm is the space of theta functions for Λ, the form mH and χ^m. The file proves an addition formula for θ and the Weierstrass equation for x, y and for σ², θ, G, shows that the monomials θ^a σ^{2b} G^c with c ≤ 1 span the sections of each degree, and transfers the identities to the Taylor series of x and y at 0.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.CMLattice.theta_add_mul_theta_sub,New.CMLattice.theta_sq: the addition formula for θ(z + w)θ(z − w) with z off t + Λ, and θ² = (℘ − ℘(t))σ² off Λ.New.CMLattice.deriv_translatedX_sq,New.CMLattice.weierstrass_equation,New.CMLattice.deriv_translatedY_eq: off t + Λ, x′² = x(4x² + a₁²x + 4), y² + a₁xy = x³ + x and y′ = 1 + 3x² − a₁y.New.CMLattice.translatedYThetaCube_sq_add: G² + a₁σ²θG = σ⁶ + σ²θ⁴ everywhere.New.CMLattice.comp_mul_mem_sections,New.CMLattice.twistedTranslate_comp_mem: for d a prime ≡ 7 mod 8, sections pull back along isogenies z ↦ az, and z ↦ (T_uθ)(δ̄z) is a section of degree N when z ↦ δ̄z is a degree-N isogeny of C to itself and δu lies in Λ.New.CMLattice.exists_mul_eq_of_mem_sections: division by a section z ↦ (T_uθ)(az) with a ≠ 0, where T_u =D.twistedTranslate 1 uand θ belong to a CM datum D. The zeros of such a section are simple (New.CMLattice.deriv_twistedTranslate_theta_comp_mul_ne_zero).New.CMLattice.monomialDeg,New.CMLattice.monomialSection: the degree a + 2b + 3c of a triple (a, b, c) and the monomial θ^a σ^{2b} G^c.New.CMLattice.sections_le_span_monomialSection: the monomials with c ≤ 1, a + 2b + 3c = m (the triples inNew.CMLattice.spanningExponentsm) span the sections of degree m.
Notions from other files:
New.CMLattice: A latticeΛstable under the integers ofℚ(√-d), with a pointtof order two moduloΛsuch thatω t,ω̄ t ∉ Λforω = (1 + √-d) / 2, scaled so that℘''(t) = 2, and a square roota₁of12 ℘(t). The conditions onℚ(√-d)andωare void ford = 0.PeriodPair.σ: the sigma function of the lattice, a chosen odd theta function for the form H and the multiplierNew.sigmaSign, with derivative 1 at 0.New.sigmaSign: The multiplier of σ: 1 at w if w/2 lies in Λ, and −1 otherwise.New.IsAppellHumbertB χ, for a form B on a lattice L: Re B is symmetric, and on L one has |χ| = 1 and χ(l + m) = χ(l)χ(m)·exp(πi E(m, l)), E the Riemann form of B.New.CMLattice.translatedYThetaCube: The entire function G = σ·(σ′θ − σ·(θ′ + ½a₁θ)), written as a pointwise product of functions.
Relation to the literature
Known results: sigma and theta functions of a lattice, their addition formulas, the Weierstrass
equation and the elliptic functions with poles at one point are classical. See Lib.CM.Sigma.Basic
for the sigma function used here and for sources.
Declarations
lemma twistedTranslate_comp_mem [PrimeSevenModEight d] {δ u : ℂ} {N : ℕ} (h_isog : C.IsIsogeny C.periodPair (conj δ) N) (hu : δ * u ∈ C.Λ) : (fun z : ℂ ↦ C.twistedTranslate 1 u C.θ (conj δ * z)) ∈ C.sections N
Import route to Main
Lib.CM.Sigma.ThetaSections → Lib.CM.GoodReduction (pinned import) → Lib.CM.FiniteLattices (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)