Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Order-three theta compression and complex-boson expression

Open
QAlgorithms.Papers.Independent.Intakenext100.P23.order_three_compression

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

For a positive integer nnn and 0<x<10<x<10<x<1, let Fy(x)=2F1(y,1−y;1;x)F_y(x)={}_2F_1(y,1-y;1;x)Fy​(x)=2​F1​(y,1−y;1;x) and βy(x)=Fy(1−x)/Fy(x)\beta_y(x)=F_y(1-x)/F_y(x)βy​(x)=Fy​(1−x)/Fy​(x). Write G=−iΓG=-i\GammaG=−iΓ, where

Grs=2n∑k=1n−1sin⁡(πk/n)βk/n(x)cos⁡(2πk(r−s)/n),1≤r,s<n.G_{rs}=\frac{2}{n}\sum_{k=1}^{n-1}\sin(\pi k/n)\beta_{k/n}(x)\cos(2\pi k(r-s)/n),\qquad 1\le r,s<n.Grs​=n2​k=1∑n−1​sin(πk/n)βk/n​(x)cos(2πk(r−s)/n),1≤r,s<n.

For a real positive definite matrix HHH, write T(H)=∑m∈Zn−1e−πmTHm=Θ(0∣iH)T(H)=\sum_{m\in\mathbb Z^{n-1}}e^{-\pi m^{\mathsf T}Hm}=\Theta(0\mid iH)T(H)=∑m∈Zn−1​e−πmTHm=Θ(0∣iH), and put Qn(η,x)=T(ηG)T(G/η)/T(G)2Q_n(\eta,x)=T(\eta G)T(G/\eta)/T(G)^2Qn​(η,x)=T(ηG)T(G/η)/T(G)2. Empty matrices and products at n=1n=1n=1 have theta value and product equal to one.

Set n=3n=3n=3, let t=3 β1/3(x)t=\sqrt3\,\beta_{1/3}(x)t=3​β1/3​(x), and write ϑj(t)=θj(it)\vartheta_j(t)=\theta_j(it)ϑj​(t)=θj​(it) for the standard Jacobi theta constants. Define

B(t)=∑j=24ϑj(t)2ϑj(t/3)2.B(t)=\sum_{j=2}^4\vartheta_j(t)^2\vartheta_j(t/3)^2.B(t)=j=2∑4​ϑj​(t)2ϑj​(t/3)2.

For η>0\eta>0η>0,

T(ηG)2=12B(ηt),Q3(η,x)2=B(ηt)B(t/η)4F1/3(x)4.T(\eta G)^2=\tfrac12 B(\eta t),\qquad Q_3(\eta,x)^2=\frac{B(\eta t)B(t/\eta)}{4F_{1/3}(x)^4}.T(ηG)2=21​B(ηt),Q3​(η,x)2=4F1/3​(x)4B(ηt)B(t/η)​.

The square of the real-field quotient is the complex-field expression in the source. All Jacobi constants are defined by their lattice sums.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P23
Formal statement
noncomputable section

open scoped BigOperators Topology

open Filter Set MeasureTheory

namespace QAlgorithms.Papers.Independent.Intakenext100.P23

/-- Source pp.13--14, (63)--(64) and the following complex-field F_3 formula.
The real quotient is squared in the second clause, as required for c=2. -/
theorem order_three_compression (eta x : ℝ) (heta : 0 < eta)
    (hx : 0 < x ∧ x < 1) :
    let t := Real.sqrt 3 * hypergeometricRatio (1 / 3) x
    theta0 (eta • gammaMatrix 3 x) ^ 2 = thetaTriple (eta * t) / 2 ∧
    replicaFactor 3 eta x ^ 2 =
      thetaTriple (eta * t) * thetaTriple (t / eta) /
        (4 * hypergeometricF (1 / 3) x ^ 4) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P23

end
Source
Entanglement entropy of two disjoint intervals in conformal field theory, arXiv:0905.2069v2, PDF p. 13, Section 4.3.2, Eqs. (63)–(64)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let η,x∈R\eta,x\in\mathbb Rη,x∈R satisfy η>0\eta>0η>0 and 0<x<10<x<10<x<1. Define

H(y,z)=∑j=0∞∏a=0j−1(y+a)(1−y+a)(j!)2zj,B(y,z)=H(y,1−z)H(y,z),t=3 B(1/3,x),H(y,z)=\sum_{j=0}^{\infty} \frac{\prod_{a=0}^{j-1}(y+a)(1-y+a)}{(j!)^2}z^j,\qquad B(y,z)=\frac{H(y,1-z)}{H(y,z)},\qquad t=\sqrt3\,B(1/3,x),H(y,z)=j=0∑∞​(j!)2∏a=0j−1​(y+a)(1−y+a)​zj,B(y,z)=H(y,z)H(y,1−z)​,t=3​B(1/3,x),

and define the real 2×22\times22×2 matrix

Grs=23∑k=12sin⁡ ⁣(πk3)B(k/3,x)cos⁡ ⁣(2πk(r−s)3)(r,s∈{0,1}).G_{rs}=\frac23\sum_{k=1}^{2}\sin\!\left(\frac{\pi k}{3}\right)B(k/3,x) \cos\!\left(\frac{2\pi k(r-s)}3\right) \quad(r,s\in\{0,1\}).Grs​=32​k=1∑2​sin(3πk​)B(k/3,x)cos(32πk(r−s)​)(r,s∈{0,1}).

For a real 2×22\times22×2 matrix CCC, put Θ(C)=∑m∈Z2exp⁡(−π∑r,smrCrsms)\Theta(C)=\sum_{m\in\mathbb Z^2}\exp(-\pi\sum_{r,s}m_rC_{rs}m_s)Θ(C)=∑m∈Z2​exp(−π∑r,s​mr​Crs​ms​) and put R=Θ(ηG)Θ(η−1G)/Θ(G)2R=\Theta(\eta G)\Theta(\eta^{-1}G)/\Theta(G)^2R=Θ(ηG)Θ(η−1G)/Θ(G)2. Define, for every real uuu,

ϑ2(u)=∑m∈Ze−πu(m+1/2)2,ϑ3(u)=∑m∈Ze−πum2,ϑ4(u)=∑m∈Z(−1)me−πum2,\vartheta_2(u)=\sum_{m\in\mathbb Z}e^{-\pi u(m+1/2)^2},\qquad \vartheta_3(u)=\sum_{m\in\mathbb Z}e^{-\pi um^2},\qquad \vartheta_4(u)=\sum_{m\in\mathbb Z}(-1)^m e^{-\pi um^2},ϑ2​(u)=m∈Z∑​e−πu(m+1/2)2,ϑ3​(u)=m∈Z∑​e−πum2,ϑ4​(u)=m∈Z∑​(−1)me−πum2,

and T(u)=ϑ2(u)2ϑ2(u/3)2+ϑ3(u)2ϑ3(u/3)2+ϑ4(u)2ϑ4(u/3)2T(u)=\vartheta_2(u)^2\vartheta_2(u/3)^2+\vartheta_3(u)^2\vartheta_3(u/3)^2+\vartheta_4(u)^2\vartheta_4(u/3)^2T(u)=ϑ2​(u)2ϑ2​(u/3)2+ϑ3​(u)2ϑ3​(u/3)2+ϑ4​(u)2ϑ4​(u/3)2. Empty products equal one, division by zero is zero, and nonsummable real series have total-sum value zero. The assertion is

Θ(ηG)2=T(ηt)2andR2=T(ηt)T(t/η)4H(1/3,x)4.\Theta(\eta G)^2=\frac{T(\eta t)}2 \qquad\text{and}\qquad R^2=\frac{T(\eta t)T(t/\eta)}{4H(1/3,x)^4}.Θ(ηG)2=2T(ηt)​andR2=4H(1/3,x)4T(ηt)T(t/η)​.
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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