RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

The logarithm of the theta function of a CM lattice and the integral group law

Lib.CM.Integrality.LogTheta.lean

Open interactive viewer Raw Lean source · Pinned source

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 for g and its rescalings; expSubst f is the exponential series evaluated at a series f without constant term.

The integrality statements about the ring 𝒪[[y]] assume that d is a prime congruent to 7 modulo 8 (PrimeSevenModEight d). The main imported notions are the following.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction
  • C.θ: the translate of the sigma function C.σ of the lattice Λ by the two-torsion point t, twisted and normalised to θ(0) = 1.
  • C.translatedX and C.translatedY: the coordinates x(z) = ℘(z + t) - ℘(t) and y(z) = (℘'(z + t) - a₁ x(z)) / 2 on the cubic y² + a₁ x y = x³ + x of the lattice; y is a parameter at the origin.
  • taylorVia ιₚ f: the Taylor series of f at 0, read in ℂ_p through the place ιₚ.
  • C.integralSeriesRing: the ring 𝒪[[y]] of integral power series in the series of y.
  • normPairClosure d: the closure in ℂ_p² of the set of pairs (α, α ᾱ), for integers α of K = ℚ(√-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 of K, the series y(δ z) and exp (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 series y(μ_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.

Pinned source lines

Declarations

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)

X Reddit Email LinkedIn