Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Global inversion and spectral multiplicities

Open
QAlgorithms.Papers.Independent.Intake100.P95.globalSpectralPairing

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

prove2quantum

Let n≥1n\ge1n≥1 and let HHH be a Hermitian traceless 2n×2n2^n\times2^n2n×2n matrix. Write mH(λ)m_H(\lambda)mH​(λ) for the algebraic multiplicity of the real eigenvalue λ\lambdaλ, with multiplicity zero for a non-eigenvalue. Then

∃U∈SU(2n): UHU†=−H⟺∀λ∈R, mH(λ)=mH(−λ).\exists U\in\mathrm{SU}(2^n):\ UHU^\dagger=-H\quad\Longleftrightarrow\quad\forall\lambda\in\mathbb R,\ m_H(\lambda)=m_H(-\lambda).∃U∈SU(2n): UHU†=−H⟺∀λ∈R, mH​(λ)=mH​(−λ).

The condition at zero is automatic. Thus the nonzero spectrum must occur in opposite-sign pairs, including multiplicities. This criterion concerns unrestricted unitary conjugation and supplies only a necessary condition when operations are restricted to local factors.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P95
Formal statement
namespace QAlgorithms.Papers.Independent.Intake100.P95

open scoped BigOperators

open QAlgorithms.Papers.Independent.Information100.P32 (Op evolution)

open QAlgorithms.Papers.Independent.Advance50.P38 (comm realHSPairing)

open QAlgorithms.Papers.Independent.Information100.P10 (pauli)

open QAlgorithms.Papers.Independent.Claimed50.P03 (wordMatrix wordSupport)

noncomputable section

/-- Algebra I, PDF pp.3–4: global SU conjugation iff positive/negative
real eigenvalues have matching multiplicities. Zeros need no restriction. -/
theorem globalSpectralPairing {n : ℕ} (hn : 0 < n) (H : Op (QAlgorithms.Qubits n))
    (hH : IsHamiltonian H) :
    (∃ U : Matrix.specialUnitaryGroup (QAlgorithms.Qubits n) ℂ,
      adjointConjugation (U : Op (QAlgorithms.Qubits n)) H = -H) ↔
    ∀ lam : ℝ, H.charpoly.roots.count (lam : ℂ) =
      H.charpoly.roots.count ((-lam : ℝ) : ℂ) := by sorry

end

end QAlgorithms.Papers.Independent.Intake100.P95
Source
Which Quantum Evolutions Can Be Reversed by Local Unitary Operations? Algebraic Classification and Gradient-Flow-Based Numerical Checks, arXiv:quant-ph/0610061v1, PDF p. 3, Algebra I: global unitary inversion and eigenvalue pairing
Read-back

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

For every positive natural number nnn and every Hermitian, trace-zero complex matrix HHH indexed by Boolean strings of length nnn, there exists a unitary matrix UUU on that entire 2n2^n2n-dimensional space with determinant one and UHU†=−HUHU^\dagger=-HUHU†=−H if and only if, for every real number λ\lambdaλ, the multiplicity of λ\lambdaλ among the complex roots of the characteristic polynomial of HHH equals the multiplicity of −λ-\lambda−λ. Multiplicities count repeated roots; at λ=0\lambda=0λ=0, the required equality compares the multiplicity with itself. The statement includes H=0H=0H=0.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

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