Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, spectral-pair identities

Open
QAlgorithms.Papers.Independent.Intakenext100.P45.spectralPairIdentities

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

prove2quantum

Choose complete orthonormal eigenbases xi,yjx_i,y_jxi​,yj​ of density operators ρ,σ\rho,\sigmaρ,σ, with eigenvalues λi,μj\lambda_i,\mu_jλi​,μj​. Set pij=λi∣⟨xi,yj⟩∣2p_{ij}=\lambda_i|\langle x_i,y_j\rangle|^2pij​=λi​∣⟨xi​,yj​⟩∣2 and qij=μj∣⟨xi,yj⟩∣2q_{ij}=\mu_j|\langle x_i,y_j\rangle|^2qij​=μj​∣⟨xi​,yj​⟩∣2. For every real sss,

Tr⁡(ρ1−sσs)=∑i,jpij1−sqijs,S(ρ∥σ)=H(p∥q).\operatorname{Tr}(\rho^{1-s}\sigma^s)=\sum_{i,j}p_{ij}^{1-s}q_{ij}^s,\qquad S(\rho\|\sigma)=H(p\|q).Tr(ρ1−sσs)=i,j∑​pij1−s​qijs​,S(ρ∥σ)=H(p∥q).

Zero powers are unital; negative powers vanish on the kernel. Relative entropy is infinite on support failure. The construction retains choices within degenerate eigenspaces.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P45
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P45

open QAlgorithms Filter

open scoped Matrix ComplexConjugate ComplexOrder ENNReal BigOperators Topology

open QAlgorithms.Papers.Independent.Information100.P07
  (support positivePart positiveProjection IsProjection)

open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)

open QAlgorithms.Papers.Independent.Information100.P60 (Mat copies)

open QAlgorithms.Papers.Independent.Dependency50.P28 (logNonnegativeExtended relativeEntropy)

open QAlgorithms.Papers.Independent.Claimed50.P15 (positiveMatrixRpow)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {I J : Type} [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J]

/-- arXiv:0708.4282v1, PDF pp.9,10: Proposition 1, spectral-pair identities. -/
theorem spectralPairIdentities (rho sigma : Mat I)
    (hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
    (D : SpectralPair rho sigma) :
    (∀ s : ℝ, chernoffOverlap rho sigma s = classicalOverlap (spectralP D) (spectralQ D) s) ∧
    relativeEntropy rho sigma = kl (spectralP D) (spectralQ D) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P45

end
Source
Asymptotic Error Rates in Quantum Hypothesis Testing, arXiv:0708.4282v1, PDF p. 10, Proposition 1, spectral-pair identities
Read-back

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

For every finite index type III with decidable equality, every positive semidefinite complex matrices ρ,σ\rho,\sigmaρ,σ indexed by III with trace one, and every choice of unitary matrices U,VU,VU,V and nonnegative real families (λi)i∈I,(μi)i∈I(\lambda_i)_{i\in I},(\mu_i)_{i\in I}(λi​)i∈I​,(μi​)i∈I​ satisfying

ρ=Udiag⁡(λi)U†,σ=Vdiag⁡(μi)V†,\rho=U\operatorname{diag}(\lambda_i)U^\dagger, \qquad \sigma=V\operatorname{diag}(\mu_i)V^\dagger,ρ=Udiag(λi​)U†,σ=Vdiag(μi​)V†,

define wij=∣(U†V)ij∣2w_{ij}=|(U^\dagger V)_{ij}|^2wij​=∣(U†V)ij​∣2, pij=λiwijp_{ij}=\lambda_iw_{ij}pij​=λi​wij​, and qij=μjwijq_{ij}=\mu_jw_{ij}qij​=μj​wij​. For a positive semidefinite matrix AAA, write AsA^sAs for continuous functional calculus applied to the real function x↦xsx\mapsto x^sx↦xs. Then, for every real sss, without restricting sss to [0,1][0,1][0,1],

Re⁡tr⁡(ρ 1−sσs)=∑i,j∈Ipij 1−sqij s.\operatorname{Re}\operatorname{tr}(\rho^{\,1-s}\sigma^s) =\sum_{i,j\in I}p_{ij}^{\,1-s}q_{ij}^{\,s}.Retr(ρ1−sσs)=i,j∈I∑​pij1−s​qijs​.

Also, the extended-real quantity

{Re⁡tr⁡(ρ(log⁡ρ−log⁡σ))Re⁡tr⁡ρ,ker⁡σ⊆ker⁡ρ,+∞,otherwise,\begin{cases} \dfrac{\operatorname{Re}\operatorname{tr}\bigl(\rho(\log\rho-\log\sigma)\bigr)} {\operatorname{Re}\operatorname{tr}\rho}, &\ker\sigma\subseteq\ker\rho,\\ +\infty,&\text{otherwise}, \end{cases}⎩⎨⎧​RetrρRetr(ρ(logρ−logσ))​,+∞,​kerσ⊆kerρ,otherwise,​

equals

{∑i,j∈Ipij>0pijlog⁡ ⁣(pijqij),pij>0⟹qij>0 for every i,j,+∞,otherwise.\begin{cases} \displaystyle\sum_{\substack{i,j\in I\\p_{ij}>0}} p_{ij}\log\!\left(\dfrac{p_{ij}}{q_{ij}}\right), & p_{ij}>0\Longrightarrow q_{ij}>0\text{ for every }i,j,\\ +\infty,&\text{otherwise}. \end{cases}⎩⎨⎧​i,j∈Ipij​>0​∑​pij​log(qij​pij​​),+∞,​pij​>0⟹qij​>0 for every i,j,otherwise.​

The logarithms are natural logarithms, matrix logarithms use continuous functional calculus with the total real logarithm, and the real-power convention includes 00=10^0=100=1 and 0t=00^t=00t=0 for t≠0t\ne0t=0. The density hypotheses exclude an empty 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