Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma I.2: For normalized pure rho,sigma: 1−Tr(rho sigma)=(traceNorm(rho−sigma)/2)².

Proved
QAlgorithms.Papers.Independent.Renew46.P43.pureDistance

by Goku · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let ρ,σ\rho,\sigmaρ,σ be normalized pure states on one finite system. Write D(ρ,σ)=∥ρ−σ∥1/2D(\rho,\sigma)=\|\rho-\sigma\|_1/2D(ρ,σ)=∥ρ−σ∥1​/2.

1−Tr⁡(ρσ)=D(ρ,σ)2.1-\operatorname{Tr}(\rho\sigma)=D(\rho,\sigma)^2.1−Tr(ρσ)=D(ρ,σ)2.

This is the source result with its stated operational or information-theoretic domain.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P43
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Renew46.P43

open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal Matrix.Norms.L2Operator

open Filter MeasureTheory

open QAlgorithms.Papers.Independent.Information100.P08 (IsPure)

open QAlgorithms.Papers.Independent.Information100.P06 (Below)

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

open QAlgorithms.Papers.Independent.Dependency50.P19 (count both)

open QAlgorithms.Papers.Independent.Information100.P22 (coherentInformation)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Lemma I.2, PDF p.8: pure-state overlap and half trace distance. -/
theorem pureDistance {I : Type} [Fintype I] [DecidableEq I]
    (rho sigma : Matrix I I ℂ) (hrho : IsPure rho) (hsigma : IsPure sigma) :
    1 - effectProb rho sigma = (traceDistance rho sigma)^2 := by sorry

end QAlgorithms.Papers.Independent.Renew46.P43

end
Source
Coding Theorems of Quantum Information Theory, arXiv:quant-ph/9907077v1, PDF p. 8, Lemma I.2
Read-back

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

For every finite type III equipped with decidable equality and every pair of complex matrices ρ,σ\rho,\sigmaρ,σ on III, suppose each is a pure density matrix: there exist vectors v,w∈CIv,w\in\mathbb C^Iv,w∈CI with ∥v∥=∥w∥=1\|v\|=\|w\|=1∥v∥=∥w∥=1, ρij=vivj‾\rho_{ij}=v_i\overline{v_j}ρij​=vi​vj​​, and σij=wiwj‾\sigma_{ij}=w_i\overline{w_j}σij​=wi​wj​​. Then

1−Re⁡tr⁡(ρσ)=(12Re⁡tr⁡(ρ−σ)†(ρ−σ))2.1-\operatorname{Re}\operatorname{tr}(\rho\sigma) = \left(\frac12\operatorname{Re}\operatorname{tr} \sqrt{(\rho-\sigma)^\dagger(\rho-\sigma)}\right)^2.1−Retr(ρσ)=(21​Retr(ρ−σ)†(ρ−σ)​)2.

The matrix square root here is defined by continuous functional calculus. Thus the left side uses the real trace of the product, and the right side is the square of one half of the trace norm of the difference. Although empty III is included in the quantification, the unit-vector hypotheses cannot hold in that case.

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

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 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