Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma III.4: symmetric fidelity-attaining purifications

Open
QAlgorithms.Papers.Independent.Intake100.P63.symmetric_fidelity_purifications

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

prove2quantum

Let HHH be a nonzero finite-dimensional complex Hilbert space, n≥1n\ge1n≥1, ρ∈D(H)\rho\in\mathcal D(H)ρ∈D(H), and ρn∈D(H⊗n)\rho_n\in\mathcal D(H^{\otimes n})ρn​∈D(H⊗n) invariant under conjugation by every copy permutation. Root fidelity is F(A,B)=Tr⁡ABAF(A,B)=\operatorname{Tr}\sqrt{\sqrt A B\sqrt A}F(A,B)=TrA​BA​​. There are unit vectors θ∈H⊗H\theta\in H\otimes Hθ∈H⊗H and Ψn∈(H⊗H)⊗n\Psi_n\in(H\otimes H)^{\otimes n}Ψn​∈(H⊗H)⊗n such that

Tr⁡E∣θ⟩⟨θ∣=ρ,Tr⁡E⊗n∣Ψn⟩⟨Ψn∣=ρn,∣⟨Ψn∣θ⊗n⟩∣=F(ρn,ρ⊗n),\operatorname{Tr}_E|\theta\rangle\langle\theta|=\rho,\qquad \operatorname{Tr}_{E^{\otimes n}}|\Psi_n\rangle\langle\Psi_n|=\rho_n,\qquad |\langle\Psi_n\mid\theta^{\otimes n}\rangle|=F(\rho_n,\rho^{\otimes n}),TrE​∣θ⟩⟨θ∣=ρ,TrE⊗n​∣Ψn​⟩⟨Ψn​∣=ρn​,∣⟨Ψn​∣θ⊗n⟩∣=F(ρn​,ρ⊗n),

and Ψn\Psi_nΨn​ is symmetric under permutations of the paired system-environment sites.

The original mixed state only needs permutation invariance, while the same purification witnesses meet both marginal and fidelity requirements.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P63
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P63

open QAlgorithms Filter Topology

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

open QAlgorithms.Papers.Independent.Information100.P07 (positivePart)

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

open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)

open QAlgorithms.Papers.Independent.Advance50.P30 (joinCopies defectTensor)

open QAlgorithms.Papers.Independent.Information100.P69 (permute)

open scoped Matrix ComplexConjugate ENNReal ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.12 Lemma III.4: one pair of witnesses simultaneously purifies both
states and attains root fidelity; paired copies of the purification are symmetric. -/
theorem symmetric_fidelity_purifications {I : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
    (n : ℕ) (hn : 0 < n) (rho : Mat I) (hrho : IsDensityMatrix rho)
    (rhoN : Mat (Copies I n)) (hN : IsDensityMatrix rhoN)
    (hinvariant : ∀ p, permute p rhoN = rhoN) :
    ∃ theta : Vec (I × I), ∃ psi : Vec (Copies (I × I) n),
      IsState theta ∧ traceRight (pureDensity theta) = rho ∧ IsState psi ∧
      CopySymmetric psi ∧ discardEnvironment (pureDensity psi) = rhoN ∧
      ‖inner ℂ psi (tensorPow n theta)‖ = rootFidelity rhoN (piKron n rho) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P63

end
Source
A Generalization of Quantum Stein's Lemma, arXiv:0904.0281v3, PDF p. 12, Lemma III.4: symmetric fidelity-attaining purifications
Read-back

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

Let III be a finite, nonempty index set with decidable equality, let n>0n>0n>0 be a natural number, and let ρ\rhoρ on CI\mathbb C^ICI and ρn\rho_nρn​ on CIn\mathbb C^{I^n}CIn be positive semidefinite matrices of trace 111. Assume that ρn(x∘p,y∘p)=ρn(x,y)\rho_n(x\circ p,y\circ p)=\rho_n(x,y)ρn​(x∘p,y∘p)=ρn​(x,y) for every permutation ppp of the nnn coordinates and all x,y∈Inx,y\in I^nx,y∈In. Then there exist vectors θ∈CI×I\theta\in\mathbb C^{I\times I}θ∈CI×I and ψ∈C(I×I)n\psi\in\mathbb C^{(I\times I)^n}ψ∈C(I×I)n, both of Euclidean norm 111, such that

∑a∈Iθ(i,a)θ(j,a)‾=ρ(i,j),ψ(x∘p)=ψ(x)\sum_{a\in I}\theta(i,a)\overline{\theta(j,a)}=\rho(i,j), \qquad \psi(x\circ p)=\psi(x)a∈I∑​θ(i,a)θ(j,a)​=ρ(i,j),ψ(x∘p)=ψ(x)

for all i,j∈Ii,j\in Ii,j∈I, all coordinate permutations ppp, and all x∈(I×I)nx\in(I\times I)^nx∈(I×I)n, and such that

∑z∈Inψ((xi,zi)i<n)ψ((yi,zi)i<n)‾=ρn(x,y)\sum_{z\in I^n} \psi\bigl((x_i,z_i)_{i<n}\bigr) \overline{\psi\bigl((y_i,z_i)_{i<n}\bigr)} =\rho_n(x,y)z∈In∑​ψ((xi​,zi​)i<n​)ψ((yi​,zi​)i<n​)​=ρn​(x,y)

for all x,y∈Inx,y\in I^nx,y∈In. These vectors additionally satisfy

∣⟨ψ,θ⊗n⟩∣=Re⁡tr⁡ρn ρ⊗nρn,\left|\left\langle\psi,\theta^{\otimes n}\right\rangle\right| = \operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\rho_n}\,\rho^{\otimes n}\sqrt{\rho_n}},​⟨ψ,θ⊗n⟩​=Retrρn​​ρ⊗nρn​​​,

where θ⊗n(x)=∏i<nθ(xi)\theta^{\otimes n}(x)=\prod_{i<n}\theta(x_i)θ⊗n(x)=∏i<n​θ(xi​), ρ⊗n(x,y)=∏i<nρ(xi,yi)\rho^{\otimes n}(x,y)=\prod_{i<n}\rho(x_i,y_i)ρ⊗n(x,y)=∏i<n​ρ(xi​,yi​), and all square roots are continuous-functional-calculus square roots.

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