The logarithm of the theta function of a CM lattice and the integral group law
Lib.CM.Integrality.LogTheta.lean
Reading
Upstream documentation written by Claude
For a CM lattice,
g = -log θis the power series of the negative logarithm of its theta function, read inℂ_p. The file proves integrality statements forgand its rescalings;expSubst fis the exponential series evaluated at a seriesfwithout constant term.The integrality statements about the ring
𝒪[[y]]assume thatdis a prime congruent to7modulo8(PrimeSevenModEight d). The main imported notions are the following.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
C.θ: the translate of the sigma functionC.σof the latticeΛby the two-torsion pointt, twisted and normalised toθ(0) = 1.C.translatedXandC.translatedY: the coordinatesx(z) = ℘(z + t) - ℘(t)andy(z) = (℘'(z + t) - a₁ x(z)) / 2on the cubicy² + a₁ x y = x³ + xof the lattice;yis a parameter at the origin.taylorVia ιₚ f: the Taylor series offat0, read inℂ_pthrough the placeιₚ.C.integralSeriesRing: the ring𝒪[[y]]of integral power series in the series ofy.normPairClosure d: the closure inℂ_p²of the set of pairs(α, α ᾱ), for integersαofK = ℚ(√-d).
Main definitions and results
New.CMLattice.derivative_derivative_negLogTheta:g'' = g''(0) + x.New.CMLattice.rescale_translatedY_mem_of_mem_normPairClosure,New.CMLattice.expSubst_sub_rescale_mem: for a limit(δ, s)of pairs(α, α ᾱ)withαan integer ofK, the seriesy(δ z)andexp (s g(z) - g(δ z))lie in𝒪[[y]].New.CMLattice.norm_sqrt_mul_coeff_two_negLogTheta_le_one:√-d g''(0)is integral.New.CMLattice.multiSeriesRing: for linear formsμ_i, the ring𝒪[[y(μ_i z)]]of integral power series in the seriesy(μ_i z).New.CMLattice.translatedY_add_mem_multiSeriesRing: the group law is integral.
Relation to the literature
Known result: the second logarithmic derivative of a theta function is a Weierstrass function up to
a constant. Moreover θ(α z) / θ(z) ^ (α ᾱ) is a unit on the formal group.
Known result: the formal group law of a Weierstrass curve has integral coefficients. Source: Silverman, The Arithmetic of Elliptic Curves, IV.1 and IV.2.
Declarations
lemma translatedY_add_mem_multiSeriesRing [PrimeSevenModEight d] : (taylorVia ιₚ C.translatedY).subst (linearSeries 1) ∈ C.multiSeriesRing !![1, 0; 0, 1]
Import route to Main
Lib.CM.Integrality.LogTheta → New.Derivatives.FormalGroup.Resolution (pinned import) → New.Derivatives.Vacuum.Scale (pinned import) → New.Derivatives.Sharpness.Cases (pinned import) → New.Derivatives.Sharpness.BoundAttained (pinned import) → New.OneLift.HeckeValues.TwistedValueHeights (pinned import) → New.OneLift.LiftVolumeHeight (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)