Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Difference of spectral traces

Proved
QAlgorithms.Papers.Independent.Intakenext100.P41.spectralTrace

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

prove2quantum

Let P,Q=vφP,Q=v\varphiP,Q=vφ satisfy the §18 simple-spectrum, nonresonance, general-position and normalized-eigenbasis hypotheses in dimension d≥1d\ge1d≥1, with δ=φ(v)≠0\delta=\varphi(v)\ne0δ=φ(v)=0. If λi\lambda_iλi​ are the eigenvalues of PPP and μi\mu_iμi​ those of P−QP-QP−Q, then

∑i=1dλi−∑i=1dμi=δ=Tr⁡Q.\sum_{i=1}^d\lambda_i-\sum_{i=1}^d\mu_i=\delta=\operatorname{Tr}Q.i=1∑d​λi​−i=1∑d​μi​=δ=TrQ.

The complex eigenvalues are unordered. The identity identifies the rank-one parameter with the difference of the spectral sums.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P41
Formal statement
noncomputable section

open scoped BigOperators

open MeasureTheory Set

namespace QAlgorithms.Papers.Independent.Intakenext100.P41

/-- §22 second corollary, PDF p.28: complex eigenvalues are unordered;
δ=φ(v)=Tr(Q), with Q=vφ. -/
theorem spectralTrace {d : ℕ} (A : BasicODEData d) :
    (∑ i, A.lambda i) - (∑ i, A.mu i) = A.phi A.v ∧
      A.phi A.v = Matrix.trace (linearRankOneMatrix A.v A.phi) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P41

end
Source
Operator Algebras and Conformal Field Theory III. Fusion of positive energy representations of LSU(N) using bounded operators, arXiv:math/9806031v1, PDF p. 28, §22: Corollary
Read-back

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

Let ddd be a natural number and let AAA consist of a positive dimension d>0d>0d>0, a matrix P∈Md(C)P\in M_d(\mathbb C)P∈Md​(C), a vector v∈Cdv\in\mathbb C^dv∈Cd, a complex-linear functional ϕ\phiϕ with ϕ(v)≠0\phi(v)\ne0ϕ(v)=0, families (λi)(\lambda_i)(λi​) and (μi)(\mu_i)(μi​), and bases (ξi)(\xi_i)(ξi​) and (ζi)(\zeta_i)(ζi​) of Cd\mathbb C^dCd. Set Qij=viϕ(ej)Q_{ij}=v_i\phi(e_j)Qij​=vi​ϕ(ej​), where eje_jej​ is the standard coordinate vector. Assume that Pξi=λiξiP\xi_i=\lambda_i\xi_iPξi​=λi​ξi​, (P−Q)ζi=μiζi(P-Q)\zeta_i=\mu_i\zeta_i(P−Q)ζi​=μi​ζi​, and ϕ(ξi)=ϕ(ζi)=1\phi(\xi_i)=\phi(\zeta_i)=1ϕ(ξi​)=ϕ(ζi​)=1 for every iii; that every coordinate of vvv in each basis is nonzero; and that, whenever i≠ji\ne ji=j, neither λi−λj\lambda_i-\lambda_jλi​−λj​ nor μi−μj\mu_i-\mu_jμi​−μj​ equals any integer viewed in C\mathbb CC. Then both equalities hold:

∑i=0d−1λi−∑i=0d−1μi=ϕ(v),ϕ(v)=tr⁡(Q)=∑i=0d−1viϕ(ei).\sum_{i=0}^{d-1}\lambda_i-\sum_{i=0}^{d-1}\mu_i=\phi(v), \qquad \phi(v)=\operatorname{tr}(Q)=\sum_{i=0}^{d-1}v_i\phi(e_i).i=0∑d−1​λi​−i=0∑d−1​μi​=ϕ(v),ϕ(v)=tr(Q)=i=0∑d−1​vi​ϕ(ei​).
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