Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Canonical Weierstrass zeta series and Theorem 1 data

Definition
WeierstrassEllipticZeta_Defs

by tomasz · Sep 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-independencecomplex-analysiselliptic-functionsnumber-theory

For a period pair L=(ω1,ω2)L=(\omega_1,\omega_2)L=(ω1​,ω2​), let Ω=Zω1+Zω2\Omega=\mathbb Z\omega_1+\mathbb Z\omega_2Ω=Zω1​+Zω2​. Define the canonical Weierstrass zeta function by

ζL(z)=1z+∑λ∈Ω∖{0}(1z−λ+1λ+zλ2),\zeta_L(z)=\frac1z+\sum_{\lambda\in\Omega\setminus\{0\}}\left(\frac1{z-\lambda}+\frac1\lambda+\frac z{\lambda^2}\right),ζL​(z)=z1​+λ∈Ω∖{0}∑​(z−λ1​+λ1​+λ2z​),

and define the fixed-base-point increment

ηL(ω)=ζL(ω1/2+ω)−ζL(ω1/2).\eta_L(\omega)=\zeta_L(\omega_1/2+\omega)-\zeta_L(\omega_1/2).ηL​(ω)=ζL​(ω1​/2+ω)−ζL​(ω1​/2).

For lattice periods this represents the usual quasi-period. The functions are defined as total Lean expressions; convergence and base-point independence are not assumed as axioms.

For a finite indexed family, HasAlgebraicallyIndependentPair means that two entries with distinct indices form an algebraically independent pair over Q\mathbb QQ. The ten-entry family for the main theorem is

(g2,g3,ω,ηL(ω),u1,u2,℘(u1),ζL(u1),℘(u2),ζL(u2)).\bigl(g_2,g_3,\omega,\eta_L(\omega),u_1,u_2,\wp(u_1),\zeta_L(u_1),\wp(u_2),\zeta_L(u_2)\bigr).(g2​,g3​,ω,ηL​(ω),u1​,u2​,℘(u1​),ζL​(u1​),℘(u2​),ζL​(u2​)).

The lattice, ℘\wp℘, g2g_2g2​, and g3g_3g3​ use Mathlib's PeriodPair definitions. No theorem is asserted by this definition bundle.

Definition code
import Mathlib.Analysis.SpecialFunctions.Elliptic.Weierstrass
import Mathlib.RingTheory.AlgebraicIndependent.Basic

noncomputable section

namespace WeierstrassEllipticZeta

/-- The canonical lattice series for Weierstrass zeta (DLMF 23.2.5).
This is a total function; claims about analytic values must exclude lattice points.
Convergence and quasi-periodicity are mathematical obligations, not assumptions here. -/
def weierstrassZeta (L : PeriodPair) (z : ℂ) : ℂ :=
  1 / z + ∑' l : L.lattice,
    if l = 0 then 0 else
      1 / (z - (l : ℂ)) + 1 / (l : ℂ) + z / (l : ℂ) ^ 2

/-- A fixed-base-point increment of the canonical zeta function.
For a lattice period this is the usual quasi-period. Both base points are
outside the lattice when `ω ∈ L.lattice`. -/
def zetaQuasiPeriod (L : PeriodPair) (ω : ℂ) : ℂ :=
  weierstrassZeta L (L.ω₁ / 2 + ω) - weierstrassZeta L (L.ω₁ / 2)

/-- Two entries at distinct indices are algebraically independent over `ℚ`. -/
def HasAlgebraicallyIndependentPair {n : ℕ} (values : Fin n → ℂ) : Prop :=
  ∃ i j : Fin n, i ≠ j ∧ AlgebraicIndependent ℚ ![values i, values j]

/-- The ten entries in Senthil Kumar's Theorem 1, in their displayed order. -/
def theoremOneValues (L : PeriodPair) (ω u₁ u₂ : ℂ) : Fin 10 → ℂ :=
  ![L.g₂, L.g₃, ω, zetaQuasiPeriod L ω, u₁, u₂,
    L.weierstrassP u₁, weierstrassZeta L u₁,
    L.weierstrassP u₂, weierstrassZeta L u₂]

end WeierstrassEllipticZeta
Source
Senthil Kumar K (2026), §1, notation for Theorem 1, https://doi.org/10.1017/S001309152610145X; zeta series: NIST DLMF 23.2.5, https://dlmf.nist.gov/23.2.E5; quasi-period normalization: DLMF 23.2.11, https://dlmf.nist.gov/23.2.E11.
Read-back

What the Lean code literally says, in plain math · GPT-6 (Codex)

WeierstrassEllipticZeta.weierstrassZeta. For every period pair L=(ω1,ω2)L=(\omega_1,\omega_2)L=(ω1​,ω2​) of complex numbers that are linearly independent over R\mathbb RR, and every z∈Cz\in\mathbb Cz∈C, let ΛL={mω1+nω2:m,n∈Z}\Lambda_L=\{m\omega_1+n\omega_2:m,n\in\mathbb Z\}ΛL​={mω1​+nω2​:m,n∈Z}. This definition assigns the complex number ZL(z)=1z+∑ℓ∈ΛL′aℓ(z)\displaystyle Z_L(z)=\frac1z+\sum_{\ell\in\Lambda_L}'a_\ell(z)ZL​(z)=z1​+ℓ∈ΛL​∑′​aℓ​(z), where aℓ(z)={0,ℓ=0,1z−ℓ+1ℓ+zℓ2,ℓ≠0.\displaystyle a_\ell(z)=\begin{cases}0,&\ell=0,\\ \frac1{z-\ell}+\frac1\ell+\frac{z}{\ell^2},&\ell\ne0.\end{cases}aℓ​(z)={0,z−ℓ1​+ℓ1​+ℓ2z​,​ℓ=0,ℓ=0.​ The sum is the unordered infinite sum over the lattice elements; by the total infinite-sum convention it is zero if this family is not summable. All divisions are total complex-field divisions, so a fraction with zero denominator is zero. The argument zzz is unrestricted, including zero and other lattice points: ZL(0)=0Z_L(0)=0ZL​(0)=0, and if z=ℓ≠0z=\ell\ne0z=ℓ=0, the fraction 1/(z−ℓ)1/(z-\ell)1/(z−ℓ) in that lattice element's summand is zero.

WeierstrassEllipticZeta.zetaQuasiPeriod. For every period pair L=(ω1,ω2)L=(\omega_1,\omega_2)L=(ω1​,ω2​) of complex numbers linearly independent over R\mathbb RR, and every ω∈C\omega\in\mathbb Cω∈C, this definition assigns QL(ω)=ZL(ω1/2+ω)−ZL(ω1/2)\displaystyle Q_L(\omega)=Z_L(\omega_1/2+\omega)-Z_L(\omega_1/2)QL​(ω)=ZL​(ω1​/2+ω)−ZL​(ω1​/2). Here ΛL={mω1+nω2:m,n∈Z}\Lambda_L=\{m\omega_1+n\omega_2:m,n\in\mathbb Z\}ΛL​={mω1​+nω2​:m,n∈Z}, and, for every t∈Ct\in\mathbb Ct∈C, ZL(t)=1t+∑ℓ∈ΛL′aℓ(t)\displaystyle Z_L(t)=\frac1t+\sum_{\ell\in\Lambda_L}'a_\ell(t)ZL​(t)=t1​+ℓ∈ΛL​∑′​aℓ​(t), with aℓ(t)={0,ℓ=0,1t−ℓ+1ℓ+tℓ2,ℓ≠0.\displaystyle a_\ell(t)=\begin{cases}0,&\ell=0,\\ \frac1{t-\ell}+\frac1\ell+\frac{t}{\ell^2},&\ell\ne0.\end{cases}aℓ​(t)={0,t−ℓ1​+ℓ1​+ℓ2t​,​ℓ=0,ℓ=0.​ The primed sum denotes the unordered infinite sum, assigned zero if the family is not summable, and any fraction with zero denominator is zero. There is no requirement that ω\omegaω be a lattice element or nonzero; in particular QL(0)=0Q_L(0)=0QL​(0)=0. The shifted argument ω1/2+ω\omega_1/2+\omegaω1​/2+ω may be a lattice element, including zero, and the same total-function conventions apply there.

WeierstrassEllipticZeta.HasAlgebraicallyIndependentPair. For every implicitly supplied natural number nnn, including n=0n=0n=0, set In={k∈N:k<n}I_n=\{k\in\mathbb N:k<n\}In​={k∈N:k<n}. For every family v:In→Cv:I_n\to\mathbb Cv:In​→C, this predicate holds exactly when there exist indices i,j∈Ini,j\in I_ni,j∈In​ such that i≠ji\ne ji=j and the ordered pair (vi,vj)(v_i,v_j)(vi​,vj​) is algebraically independent over Q\mathbb QQ. Explicitly, the latter condition means that the evaluation map Q[X0,X1]→C\mathbb Q[X_0,X_1]\to\mathbb CQ[X0​,X1​]→C, P↦P(vi,vj)P\mapsto P(v_i,v_j)P↦P(vi​,vj​), with rational coefficients mapped into C\mathbb CC by the usual inclusion, is injective; equivalently, for every P∈Q[X0,X1]P\in\mathbb Q[X_0,X_1]P∈Q[X0​,X1​], P(vi,vj)=0P(v_i,v_j)=0P(vi​,vj​)=0 implies P=0P=0P=0. Only the existence of such a pair is required, with no uniqueness requirement. For n=0n=0n=0 or n=1n=1n=1, the predicate is false because there are no two distinct indices.

WeierstrassEllipticZeta.theoremOneValues. For every period pair L=(ω1,ω2)L=(\omega_1,\omega_2)L=(ω1​,ω2​) of complex numbers linearly independent over R\mathbb RR, and all three arbitrary complex numbers ω,u1,u2\omega,u_1,u_2ω,u1​,u2​, this definition returns the function V:{0,…,9}→CV:\{0,\ldots,9\}\to\mathbb CV:{0,…,9}→C whose values, in index order from 000 through 999, are (g2(L),g3(L),ω,QL(ω),u1,u2,℘L(u1),ZL(u1),℘L(u2),ZL(u2))\displaystyle (g_2(L),g_3(L),\omega,Q_L(\omega),u_1,u_2,\wp_L(u_1),Z_L(u_1),\wp_L(u_2),Z_L(u_2))(g2​(L),g3​(L),ω,QL​(ω),u1​,u2​,℘L​(u1​),ZL​(u1​),℘L​(u2​),ZL​(u2​)). To specify every entry, put ΛL={mω1+nω2:m,n∈Z}\Lambda_L=\{m\omega_1+n\omega_2:m,n\in\mathbb Z\}ΛL​={mω1​+nω2​:m,n∈Z}, g2(L)=60∑ℓ∈ΛL′1ℓ4\displaystyle g_2(L)=60\sum_{\ell\in\Lambda_L}'\frac1{\ell^4}g2​(L)=60ℓ∈ΛL​∑′​ℓ41​, g3(L)=140∑ℓ∈ΛL′1ℓ6\displaystyle g_3(L)=140\sum_{\ell\in\Lambda_L}'\frac1{\ell^6}g3​(L)=140ℓ∈ΛL​∑′​ℓ61​, and ℘L(t)=∑ℓ∈ΛL′(1(t−ℓ)2−1ℓ2)\displaystyle \wp_L(t)=\sum_{\ell\in\Lambda_L}'\left(\frac1{(t-\ell)^2}-\frac1{\ell^2}\right)℘L​(t)=ℓ∈ΛL​∑′​((t−ℓ)21​−ℓ21​) for t∈Ct\in\mathbb Ct∈C. The remaining entries use ZL(t)=1t+∑ℓ∈ΛL′aℓ(t)\displaystyle Z_L(t)=\frac1t+\sum_{\ell\in\Lambda_L}'a_\ell(t)ZL​(t)=t1​+ℓ∈ΛL​∑′​aℓ​(t), where aℓ(t)={0,ℓ=0,1t−ℓ+1ℓ+tℓ2,ℓ≠0,\displaystyle a_\ell(t)=\begin{cases}0,&\ell=0,\\ \frac1{t-\ell}+\frac1\ell+\frac{t}{\ell^2},&\ell\ne0,\end{cases}aℓ​(t)={0,t−ℓ1​+ℓ1​+ℓ2t​,​ℓ=0,ℓ=0,​ and QL(ω)=ZL(ω1/2+ω)−ZL(ω1/2)\displaystyle Q_L(\omega)=Z_L(\omega_1/2+\omega)-Z_L(\omega_1/2)QL​(ω)=ZL​(ω1​/2+ω)−ZL​(ω1​/2). Every primed sum is the unordered infinite sum, assigned zero if its family is not summable, and every fraction with zero denominator is zero. Each sum includes the zero lattice element, with its contribution interpreted by these formulas. The inputs may be zero, may belong to the lattice, and may coincide; the ten entries need not be distinct. In particular, ℘L(0)=ZL(0)=0\wp_L(0)=Z_L(0)=0℘L​(0)=ZL​(0)=0, and QL(0)=0Q_L(0)=0QL​(0)=0.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me