Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Special theta invariance for the paper-specific Fourier matrix

Open
QAlgorithms.Papers.Independent.Intakenext100.P23.special_theta_invariance

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.

Assume n≥2n\ge2n≥2 and η>0\eta>0η>0. Let U^\widehat UU be the upper left (n−1)(n-1)(n−1) by (n−1)(n-1)(n−1) block of the normalized Fourier matrix and H=diag⁡(sin⁡(πk/n))k=1n−1H=\operatorname{diag}(\sin(\pi k/n))_{k=1}^{n-1}H=diag(sin(πk/n))k=1n−1​. Put A=2U^†HU^A=2\widehat U^\dagger H\widehat UA=2U†HU. Then

det⁡A=1,T(A−1(G/η)A−1)=T(G/η).\det A=1,\qquad T\bigl(A^{-1}(G/\eta)A^{-1}\bigr)=T(G/\eta).detA=1,T(A−1(G/η)A−1)=T(G/η).

This is the particular invariance the authors assert without proof. It is not invariance under arbitrary real matrices with determinant one.

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 p.27, Eq.(B.5): only the specifically constructed A is used.
The authors assert this equality without a proof; this is disclosed rather
than converted into a theorem hypothesis. -/
theorem special_theta_invariance (n : ℕ) (hn : 2 ≤ n) (eta x : ℝ)
    (heta : 0 < eta) (hx : 0 < x ∧ x < 1) :
    (specialA n).det = 1 ∧
    theta0 ((specialA n)⁻¹ * (eta⁻¹ • gammaMatrix n x) * (specialA n)⁻¹) =
      theta0 (eta⁻¹ • gammaMatrix n x) := 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. 27, Appendix B, Eq. (B.5)
Read-back

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

Let n∈Nn\in\mathbb Nn∈N satisfy n≥2n\geq2n≥2, and 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).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)}.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)​.

Define real matrices A,GA,GA,G indexed by r,s=0,…,n−2r,s=0,\ldots,n-2r,s=0,…,n−2 by

Ars=2n∑k=1n−1sin⁡ ⁣(πkn)cos⁡ ⁣(2πk(r−s)n),Grs=2n∑k=1n−1sin⁡ ⁣(πkn)B(k/n,x)cos⁡ ⁣(2πk(r−s)n).A_{rs}=\frac2n\sum_{k=1}^{n-1}\sin\!\left(\frac{\pi k}{n}\right) \cos\!\left(\frac{2\pi k(r-s)}n\right),\qquad G_{rs}=\frac2n\sum_{k=1}^{n-1}\sin\!\left(\frac{\pi k}{n}\right) B(k/n,x)\cos\!\left(\frac{2\pi k(r-s)}n\right).Ars​=n2​k=1∑n−1​sin(nπk​)cos(n2πk(r−s)​),Grs​=n2​k=1∑n−1​sin(nπk​)B(k/n,x)cos(n2πk(r−s)​).

For a real (n−1)×(n−1)(n-1)\times(n-1)(n−1)×(n−1) matrix CCC, define Θ(C)=∑m∈Zn−1exp⁡(−π∑r,smrCrsms)\Theta(C)=\sum_{m\in\mathbb Z^{n-1}}\exp(-\pi\sum_{r,s}m_rC_{rs}m_s)Θ(C)=∑m∈Zn−1​exp(−π∑r,s​mr​Crs​ms​); empty products equal one, division by zero is zero, and nonsummable real series have total-sum value zero. The assertion is

det⁡A=1andΘ ⁣(A−1(η−1G)A−1)=Θ(η−1G).\det A=1 \qquad\text{and}\qquad \Theta\!\left(A^{-1}(\eta^{-1}G)A^{-1}\right)=\Theta(\eta^{-1}G).detA=1andΘ(A−1(η−1G)A−1)=Θ(η−1G).
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