Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2.9: Fidelity-affinity comparisons

Open
QAlgorithms.Papers.Independent.Extend50.P32.fidelityAffinityComparisons

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

prove2quantum

Let ρ,σ\rho,\sigmaρ,σ be ddd-dimensional density matrices, d≥1d\ge1d≥1. Let F(ρ,σ)=∥ρσ∥1F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1F(ρ,σ)=∥ρ​σ​∥1​ be root fidelity, A(ρ,σ)=Tr⁡(ρσ)A(\rho,\sigma)=\operatorname{Tr}(\sqrt\rho\sqrt\sigma)A(ρ,σ)=Tr(ρ​σ​) be affinity, and DH2(ρ,σ)=Tr⁡((ρ−σ)2)D_{H^2}(\rho,\sigma)=\operatorname{Tr}((\sqrt\rho-\sqrt\sigma)^2)DH2​(ρ,σ)=Tr((ρ​−σ​)2). The parameter ϵ\epsilonϵ denotes the indicated Hellinger-squared loss.

F(ρ,σ)2≤A(ρ,σ)≤F(ρ,σ),DH2(ρ,σ)=ϵ ⟹ 1−ϵ/2≤F(ρ,σ).F(\rho,\sigma)^2\le A(\rho,\sigma)\le F(\rho,\sigma),\qquad D_{H^2}(\rho,\sigma)=\epsilon\ \Longrightarrow\ 1-\epsilon/2\le F(\rho,\sigma).F(ρ,σ)2≤A(ρ,σ)≤F(ρ,σ),DH2​(ρ,σ)=ϵ ⟹ 1−ϵ/2≤F(ρ,σ).

This isolates the source comparison or construction with all of its domain and occurrence conventions retained.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Matrix ComplexOrder Topology

namespace QAlgorithms.Papers.Independent.Extend50.P32

open QAlgorithms.Papers.Independent.Support50.P38 (wordMass tv)

-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.

open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)

/-- Proposition 2.9, PDF p.13: F is ROOT fidelity. The lower comparison is
credited to ANSV08 Eqs.(28),(32); both comparisons and the consequence are retained. -/
theorem fidelityAffinityComparisons {d : ℕ} (hd : 0 < d)
    (rho sigma : Matrix (Fin d) (Fin d) ℂ)
    (hRho : IsDensityMatrix rho) (hSigma : IsDensityMatrix sigma) :
    rootFidelity rho sigma ^ 2 ≤ affinity rho sigma ∧
    affinity rho sigma ≤ rootFidelity rho sigma ∧
    ∀ epsilon : ℝ, quantumH2 rho sigma = epsilon → 1 - epsilon / 2 ≤ rootFidelity rho sigma := by sorry

end QAlgorithms.Papers.Independent.Extend50.P32

end
Source
Efficient quantum tomography II, arXiv:1612.00034v1, PDF p. 13, Proposition 2.9
Read-back

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

Let d>0d>0d>0, and let ρ,σ\rho,\sigmaρ,σ be complex d×dd\times dd×d positive semidefinite matrices with trace one. Using their positive semidefinite matrix square roots, define

F=Re⁡tr⁡ρ σρ,A=Re⁡tr⁡(ρσ),H=Re⁡tr⁡((ρ−σ)2).F=\operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}}, \qquad A=\operatorname{Re}\operatorname{tr}(\sqrt{\rho}\sqrt{\sigma}), \qquad H=\operatorname{Re}\operatorname{tr}\bigl((\sqrt{\rho}-\sqrt{\sigma})^2\bigr).F=Retrρ​σρ​​,A=Retr(ρ​σ​),H=Retr((ρ​−σ​)2).

The assertion is that F2≤A≤FF^2\le A\le FF2≤A≤F, and that for every real ϵ\epsilonϵ, if H=ϵH=\epsilonH=ϵ, then 1−ϵ/2≤F1-\epsilon/2\le F1−ϵ/2≤F. No strict positivity or invertibility of either density matrix is required, and the quantified ϵ\epsilonϵ has no separate sign or size restriction.

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