Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fourier diagonalization, constant kernel, and positive deleted minors

Open
QAlgorithms.Papers.Independent.Intakenext100.P23.periods_fourier_diagonalization

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 G~\widetilde GG be obtained by replacing β\betaβ with β−1\beta^{-1}β−1, and let Ω,Ω~\Omega,\widetilde\OmegaΩ,Ω be the full nnn by nnn matrices with the same entries as iηG,iηG~i\eta G,i\eta\widetilde GiηG,iηG. The matrix Uqr=n−1/2e2πiqr/nU_{qr}=n^{-1/2}e^{2\pi iqr/n}Uqr​=n−1/2e2πiqr/n, with 1≤q,r≤n1\le q,r\le n1≤q,r≤n, is unitary and simultaneously diagonalizes both matrices. Its eigenvalues are

ωq=2iηsin⁡(πq/n)βq/n,ω~q=2iηsin⁡(πq/n)/βq/n(1≤q<n),ωn=ω~n=0.\omega_q=2i\eta\sin(\pi q/n)\beta_{q/n},\quad \widetilde\omega_q=2i\eta\sin(\pi q/n)/\beta_{q/n}\quad(1\le q<n),\qquad \omega_n=\widetilde\omega_n=0.ωq​=2iηsin(πq/n)βq/n​,ωq​=2iηsin(πq/n)/βq/n​(1≤q<n),ωn​=ωn​=0.

Each full imaginary part is positive semidefinite and its kernel consists exactly of constant vectors. The deleted imaginary parts G,G~G,\widetilde GG,G are positive definite. The defining Gauss series converge, Fk/nF_{k/n}Fk/n​ and βk/n\beta_{k/n}βk/n​ are positive, and all positive multiples of the deleted matrices have convergent positive theta sums. These conclusions justify using the period matrices in the remaining identities.

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.11--12, (50)--(54),(56): simultaneous unitary Fourier
diagonalization, a unique constant zero mode, and definite deleted minors.
Semidefiniteness and summability are conclusions, never extra hypotheses. -/
theorem periods_fourier_diagonalization (n : ℕ) (hn : 2 ≤ n) (eta x : ℝ)
    (heta : 0 < eta) (hx : 0 < x ∧ x < 1) :
    fourierMatrix n * (fourierMatrix n).conjTranspose = 1 ∧
    (fourierMatrix n).conjTranspose * fourierMatrix n = 1 ∧
    (∀ dual : Bool,
      fourierMatrix n * imaginaryMatrix (fullPeriod n eta x dual) *
        (fourierMatrix n).conjTranspose = Matrix.diagonal (periodEigenvalue n eta x dual)) ∧
    (∀ dual : Bool, (fullPeriod n eta x dual).PosSemidef ∧
      ∀ v : Fin n → ℝ, Matrix.mulVec (fullPeriod n eta x dual) v = 0 ↔
        ∃ a : ℝ, v = fun _ => a) ∧
    (gammaMatrix n x).PosDef ∧ (dualGammaMatrix n x).PosDef ∧
    (∀ k : Fin (n - 1),
      Summable (hypergeometricTerm (((k.val + 1 : ℕ) : ℝ) / (n : ℝ)) x) ∧
      0 < hypergeometricF (((k.val + 1 : ℕ) : ℝ) / (n : ℝ)) x ∧
      0 < hypergeometricRatio (((k.val + 1 : ℕ) : ℝ) / (n : ℝ)) x) ∧
    (∀ t : ℝ, 0 < t →
      Summable (thetaTerm (t • gammaMatrix n x)) ∧
      Summable (thetaTerm (t • dualGammaMatrix n x)) ∧
      0 < theta0 (t • gammaMatrix n x) ∧ 0 < theta0 (t • dualGammaMatrix 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. 11, Eqs. (50)–(54),(56)
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. For real y,zy,zy,z, define

aj(y,z)=∏a=0j−1(y+a)(1−y+a)(j!)2zj,H(y,z)=∑j=0∞aj(y,z),B(y,z)=H(y,1−z)H(y,z).a_j(y,z)=\frac{\prod_{a=0}^{j-1}(y+a)(1-y+a)}{(j!)^2}z^j,\qquad H(y,z)=\sum_{j=0}^{\infty}a_j(y,z),\qquad B(y,z)=\frac{H(y,1-z)}{H(y,z)}.aj​(y,z)=(j!)2∏a=0j−1​(y+a)(1−y+a)​zj,H(y,z)=j=0∑∞​aj​(y,z),B(y,z)=H(y,z)H(y,1−z)​.

Write bk=B(k/n,x)b_k=B(k/n,x)bk​=B(k/n,x) for 1≤k≤n−11\leq k\leq n-11≤k≤n−1, and, for a Boolean choice δ\deltaδ, put wkfalse=bkw_k^{\mathrm{false}}=b_kwkfalse​=bk​ and wktrue=bk−1w_k^{\mathrm{true}}=b_k^{-1}wktrue​=bk−1​. Define real n×nn\times nn×n matrices

(Mδ)rs=2ηn∑k=1n−1sin⁡ ⁣(πkn)wkδcos⁡ ⁣(2πk(r−s)n)(0≤r,s<n),(M_\delta)_{rs}=\frac{2\eta}{n}\sum_{k=1}^{n-1} \sin\!\left(\frac{\pi k}{n}\right)w_k^\delta \cos\!\left(\frac{2\pi k(r-s)}n\right) \quad(0\leq r,s<n),(Mδ​)rs​=n2η​k=1∑n−1​sin(nπk​)wkδ​cos(n2πk(r−s)​)(0≤r,s<n),

and real (n−1)×(n−1)(n-1)\times(n-1)(n−1)×(n−1) matrices

Grs=2n∑k=1n−1sin⁡ ⁣(πkn)bkcos⁡ ⁣(2πk(r−s)n),G~rs=2n∑k=1n−1sin⁡ ⁣(πkn)bk−1cos⁡ ⁣(2πk(r−s)n)(0≤r,s<n−1).G_{rs}=\frac2n\sum_{k=1}^{n-1}\sin\!\left(\frac{\pi k}{n}\right)b_k \cos\!\left(\frac{2\pi k(r-s)}n\right),\qquad \widetilde G_{rs}=\frac2n\sum_{k=1}^{n-1}\sin\!\left(\frac{\pi k}{n}\right)b_k^{-1} \cos\!\left(\frac{2\pi k(r-s)}n\right) \quad(0\leq r,s<n-1).Grs​=n2​k=1∑n−1​sin(nπk​)bk​cos(n2πk(r−s)​),Grs​=n2​k=1∑n−1​sin(nπk​)bk−1​cos(n2πk(r−s)​)(0≤r,s<n−1).

Define the complex matrix FFF and complex numbers λqδ\lambda_q^\deltaλqδ​ by

Fqr=exp⁡(2πi(q+1)(r+1)/n)n,λqδ={0,q+1=n,2ηsin⁡(π(q+1)/n) wq+1δ i,q+1≠n.F_{qr}=\frac{\exp(2\pi i(q+1)(r+1)/n)}{\sqrt n}, \qquad \lambda_q^\delta= \begin{cases} 0,&q+1=n,\\ 2\eta\sin(\pi(q+1)/n)\,w_{q+1}^\delta\,i,&q+1\ne n. \end{cases}Fqr​=n​exp(2πi(q+1)(r+1)/n)​,λqδ​={0,2ηsin(π(q+1)/n)wq+1δ​i,​q+1=n,q+1=n.​

For any real d×dd\times dd×d matrix AAA, write QA(m)=∑r,smrArsmsQ_A(m)=\sum_{r,s}m_rA_{rs}m_sQA​(m)=∑r,s​mr​Ars​ms​, τA(m)=e−πQA(m)\tau_A(m)=e^{-\pi Q_A(m)}τA​(m)=e−πQA​(m) for m∈Zdm\in\mathbb Z^dm∈Zd, and Θ(A)=∑m∈ZdτA(m)\Theta(A)=\sum_{m\in\mathbb Z^d}\tau_A(m)Θ(A)=∑m∈Zd​τA​(m). Empty products equal one; quotients and series are total, with division by zero and nonsummable real series assigned zero. The assertion is that FF∗=F∗F=InFF^*=F^*F=I_nFF∗=F∗F=In​; for each δ∈{false,true}\delta\in\{\mathrm{false},\mathrm{true}\}δ∈{false,true},

F(iMδ)F∗=diag⁡(λδ),Mδ⪰0,∀v∈Rn,Mδv=0 ⟺ ∃c∈R, ∀r, vr=c;F(iM_\delta)F^*=\operatorname{diag}(\lambda^\delta), \qquad M_\delta\succeq0, \qquad \forall v\in\mathbb R^n,\quad M_\delta v=0 \ \Longleftrightarrow\ \exists c\in\mathbb R,\ \forall r,\ v_r=c;F(iMδ​)F∗=diag(λδ),Mδ​⪰0,∀v∈Rn,Mδ​v=0 ⟺ ∃c∈R, ∀r, vr​=c;

both GGG and G~\widetilde GG are positive definite; for every k=1,…,n−1k=1,\ldots,n-1k=1,…,n−1, the series ∑j=0∞aj(k/n,x)\sum_{j=0}^{\infty}a_j(k/n,x)∑j=0∞​aj​(k/n,x) is summable and H(k/n,x)>0H(k/n,x)>0H(k/n,x)>0 and bk>0b_k>0bk​>0; and for every real t>0t>0t>0, both integer-indexed series defining Θ(tG)\Theta(tG)Θ(tG) and Θ(tG~)\Theta(t\widetilde G)Θ(tG) are summable and both theta sums are strictly positive. Here F∗F^*F∗ denotes conjugate transpose and iMδiM_\deltaiMδ​ means multiplication of every matrix entry by iii.

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