Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Structure constants of m2m_2m2​ on the torus are theta values

Proved
KontsevichHMS.mTwoCoeff_theta

by LG · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

mirror-symmetrysymplectic-geometrytheta-functions

In the last section Kontsevich computes the composition m2m_2m2​ on the flat torus: lifting to the universal cover, the discs contributing to a structure constant are triangles with sides on three families of parallel lines; their equivalence classes modulo Z2\mathbb{Z}^2Z2 are labelled by the terms of an arithmetic progression, and their areas are proportional to the squares of those terms. Hence

c(p,q,r)  =  ∑n∈Zexp⁡(−(an+b)2)c(p,q,r) \;=\; \sum_{n \in \mathbb{Z}} \exp\bigl(-(an+b)^2\bigr)c(p,q,r)=n∈Z∑​exp(−(an+b)2)

for real parameters a≠0a \neq 0a=0 and bbb — a value of the classical theta-function.

The milestone asks for this for branes with trivial holonomy, in the form: each structure constant either vanishes (no triangle contributes, which happens exactly when the Maslov degrees do not add up) or equals such a theta series. Convergence of the series, for positive area, is part of the statement.

Preamble
import Mathlib
import Definitions.Def_KontsevichHMS_TorusBrane
Formal statement
namespace KontsevichHMS

open Brane

/-- Kontsevich's computation on the two-torus: the triangles contributing to a structure
constant of `m₂` are labelled by an arithmetic progression whose terms have squares
proportional to their areas, so each structure constant is a value of a classical
theta-function (or vanishes, when no triangle contributes). -/
theorem mTwoCoeff_theta (area : ℝ) (harea : 0 < area) (b₁ b₂ b₃ : Brane)
    (h₁₂ : Transverse b₁ b₂) (h₂₃ : Transverse b₂ b₃) (h₁₃ : Transverse b₁ b₃)
    (hc₁ : b₁.conn = 0) (hc₂ : b₂.conn = 0) (hc₃ : b₃.conn = 0)
    (p q r : Torus) (hp : p ∈ isect b₁ b₂) (hq : q ∈ isect b₂ b₃) (hr : r ∈ isect b₁ b₃) :
    mTwoCoeff area b₁ b₂ b₃ p q r = 0 ∨
      ∃ a b : ℝ, a ≠ 0 ∧
        mTwoCoeff area b₁ b₂ b₃ p q r
          = ∑' n : ℤ, Complex.exp (-((a * (n : ℝ) + b) ^ 2 : ℝ)) := by sorry

end KontsevichHMS
Source
M. Kontsevich, Homological algebra of mirror symmetry, Proc. ICM Zurich 1994, arXiv:alg-geom/9411018, p. 19 ('the tensor element of composition m2 can be written naturally as sum over n of exp(-(an+b)^2)')
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Disclosure: this read-back is not independent. It was written by the same agent that drafted the Lean statements in this proposal, at the explicit instruction of the proposal owner, rather than by a separate auditor reading the code blind. It is therefore not independent testimony and may repeat any misreading already present in the formalization; please check it against the Lean code directly.

Fix a real number area\mathrm{area}area with 0<area0 < \mathrm{area}0<area, and three branes b1,b2,b3b_1,b_2,b_3b1​,b2​,b3​ whose direction vectors are pairwise non-parallel (three separate determinant hypotheses). Assume the connection constant of each of the three branes is 000, so that all holonomy factors in the weights equal 111. Fix three points p,q,rp, q, rp,q,r of the torus and assume ppp lies on both geodesics Lb1,Lb2L_{b_1}, L_{b_2}Lb1​​,Lb2​​, that qqq lies on both Lb2,Lb3L_{b_2}, L_{b_3}Lb2​​,Lb3​​, and that rrr lies on both Lb1,Lb3L_{b_1}, L_{b_3}Lb1​​,Lb3​​.

Write ccc for the structure constant of the definition file: the unconditional sum (a tsum, hence 000 if the family fails to be summable) of the weights

exp⁡(−area⋅det⁡(Q−P, R−P)2)\exp\Bigl(-\frac{\mathrm{area}\cdot\det(Q-P,\,R-P)}{2}\Bigr)exp(−2area⋅det(Q−P,R−P)​)

over all positively oriented triangles (P,Q,R)(P,Q,R)(P,Q,R) lifting (p,q,r)(p,q,r)(p,q,r) with sides parallel to dir2,dir3,dir1\mathrm{dir}_2, \mathrm{dir}_3, \mathrm{dir}_1dir2​,dir3​,dir1​ and first vertex in [0,1)2[0,1)^2[0,1)2.

The conclusion is a disjunction: either c=0c = 0c=0, or there exist real numbers aaa and bbb with a≠0a \neq 0a=0 such that

c  =  ∑n∈Zexp⁡(−(an+b)2),c \;=\; \sum_{n \in \mathbb{Z}} \exp\bigl(-(a n + b)^2\bigr),c=n∈Z∑​exp(−(an+b)2),

the sum again being an unconditional sum over all integers nnn of the complex numbers obtained by coercing the real quantity −(an+b)2-(an+b)^2−(an+b)2 and exponentiating. No relation between a,ba, ba,b and the geometric data is asserted, and the first alternative is available in particular whenever no triangle contributes.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

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