Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix B, unnumbered: Hamiltonian identity in collective Casimirs

Open
QAlgorithms.Papers.Independent.Extend50.P36.hamiltonian_casimir_identity

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

prove2quantum

Let d≥2d\ge2d≥2 and m,n≥1m,n\ge1m,n≥1 be integers. Choose d2−1d^2-1d2−1 Hermitian traceless d×dd\times dd×d matrices λα\lambda_\alphaλα​ with Tr⁡(λαλβ)=δαβ\operatorname{Tr}(\lambda_\alpha\lambda_\beta)=\delta_{\alpha\beta}Tr(λα​λβ​)=δαβ​. For each group S=L,R,L∪RS=L,R,L\cup RS=L,R,L∪R, define the embedded collective quadratic Casimir CS=∑α(∑i∈Sλα(i))2C_S=\sum_\alpha(\sum_{i\in S}\lambda_\alpha^{(i)})^2CS​=∑α​(∑i∈S​λα(i)​)2 on the common full tensor register. Then

−1mn∑i∈L,j∈RVij=CL+CR−CL∪R2mn−Id.-\frac1{mn}\sum_{i\in L,j\in R}V_{ij}=\frac{C_L+C_R-C_{L\cup R}}{2mn}-\frac Id.−mn1​i∈L,j∈R∑​Vij​=2mnCL​+CR​−CL∪R​​−dI​.

Here VijV_{ij}Vij​ are actual cross-group swaps. This fixes both the generator normalization and the sign of the interaction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P36
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate Matrix.Norms.Elementwise

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P36

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact accepted matrix alias; tensor reductions below compose frozen superoperators.

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

/-- Eq.(B1), PDF p.17: identity in embedded collective Casimirs with the source's
Tr(lambda_alpha lambda_beta)=delta normalization. -/
theorem hamiltonian_casimir_identity (d m n : ℕ) (hd : 2 ≤ d) (hm : 0 < m) (hn : 0 < n)
    (L : Fin (d*d-1) → Op (Fin d)) (hL : NormalizedGenerators d L) :
    sharingHamiltonian d m n =
      (1/(2*(m : ℂ)*(n : ℂ))) •
        (collectiveCasimir true false L+collectiveCasimir false true L-collectiveCasimir true true L) -
      (1/(d : ℂ)) • 1 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P36

end
Source
Compatible quantum correlations: on extension problems for Werner and isotropic states, arXiv:1305.1342v3, PDF p. 17, Appendix B, unnumbered: Hamiltonian identity in collective Casimirs
Read-back

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

For all natural numbers d,m,nd,m,nd,m,n with d≥2d\ge2d≥2, m>0m>0m>0, and n>0n>0n>0, and every family LαL_\alphaLα​ of complex d×dd\times dd×d matrices indexed by 0≤α<d2−10\le\alpha<d^2-10≤α<d2−1, suppose that each LαL_\alphaLα​ is Hermitian and has complex trace 000, and that

tr⁡(LαLβ)={1,α=β,0,α≠β.\operatorname{tr}(L_\alpha L_\beta)= \begin{cases} 1,&\alpha=\beta,\\ 0,&\alpha\ne\beta. \end{cases}tr(Lα​Lβ​)={1,0,​α=β,α=β.​

Write D={0,…,d−1}D=\{0,\ldots,d-1\}D={0,…,d−1}. For a matrix AAA on DDD and a coordinate i<Ni<Ni<N, define its embedded matrix on DND^NDN by

A[i](a,b)=A(ai,bi)∏k<Nk≠i1{ak=bk},A^{[i]}(a,b)=A(a_i,b_i)\prod_{\substack{k<N\\k\ne i}}\mathbf1_{\{a_k=b_k\}},A[i](a,b)=A(ai​,bi​)k<Nk=i​∏​1{ak​=bk​}​,

where an empty product equals 111. Define

JαL=(∑i<mLα[i])⊗IDn,JαR=IDm⊗(∑j<nLα[j]).J_\alpha^{\mathrm L} =\left(\sum_{i<m}L_\alpha^{[i]}\right)\otimes I_{D^n}, \qquad J_\alpha^{\mathrm R} =I_{D^m}\otimes\left(\sum_{j<n}L_\alpha^{[j]}\right).JαL​=(i<m∑​Lα[i]​)⊗IDn​,JαR​=IDm​⊗(j<n∑​Lα[j]​).

For each i<m,j<ni<m,j<ni<m,j<n, let FijF_{ij}Fij​ be the permutation matrix on Dm×DnD^m\times D^nDm×Dn that exchanges left coordinate iii with right coordinate jjj. Then the following matrix identity holds, with squares denoting matrix multiplication:

−1mn∑i<m∑j<nFij=12mn(∑α<d2−1(JαL)2+∑α<d2−1(JαR)2−∑α<d2−1(JαL+JαR)2)−1dIDm×Dn.-\frac1{mn}\sum_{i<m}\sum_{j<n}F_{ij} = \frac1{2mn} \left( \sum_{\alpha<d^2-1}(J_\alpha^{\mathrm L})^2 +\sum_{\alpha<d^2-1}(J_\alpha^{\mathrm R})^2 -\sum_{\alpha<d^2-1}(J_\alpha^{\mathrm L}+J_\alpha^{\mathrm R})^2 \right) -\frac1d I_{D^m\times D^n}.−mn1​i<m∑​j<n∑​Fij​=2mn1​(α<d2−1∑​(JαL​)2+α<d2−1∑​(JαR​)2−α<d2−1∑​(JαL​+JαR​)2)−d1​IDm×Dn​.
Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

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