Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4, (7): recovery from reference–environment decoupling

Open
QAlgorithms.Papers.Independent.Advance50.P29.decouplingRecovery

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

prove2quantum

Let QQQ and Q′Q^{\prime}Q′ be finite complex Hilbert spaces of positive dimensions MMM and DDD. A density operator is positive semidefinite with trace one. All logarithms and entropies are in bits. Write π=IQ/M\pi=I_Q/Mπ=IQ​/M. For a nonzero code subspace C⊂QC\subset QC⊂Q of dimension KKK, let πC=ΠC/K\pi_C=\Pi_C/KπC​=ΠC​/K. Write Fe(C,N)=max⁡RFe(πC,R∘N)F_e(C,\mathcal N)=\max_{\mathcal R}F_e(\pi_C,\mathcal R\circ\mathcal N)Fe​(C,N)=maxR​Fe​(πC​,R∘N), where R:B(Q′)→B(Q)\mathcal R:B(Q^{\prime})\to B(Q)R:B(Q′)→B(Q) ranges over all CPTP recovery maps and state entanglement fidelity is squared and unconditional. Let V:Q→Q′⊗EV:Q\to Q^{\prime}\otimes EV:Q→Q′⊗E satisfy V†V≤IV^\dagger V\le IV†V≤I and represent N(X)=tr⁡E(VXV†)\mathcal N(X)=\operatorname{tr}_E(VXV^\dagger)N(X)=trE​(VXV†). Let ∣ψ⟩∈R⊗Q|\psi\rangle\in R\otimes Q∣ψ⟩∈R⊗Q have norm one and marginal πC\pi_CπC​. Set p=tr⁡N(πC)>0p=\operatorname{tr}\mathcal N(\pi_C)>0p=trN(πC​)>0, ρR=tr⁡Q∣ψ⟩⟨ψ∣\rho_R=\operatorname{tr}_Q|\psi\rangle\langle\psi|ρR​=trQ​∣ψ⟩⟨ψ∣, and ω=p−1(IR⊗V)∣ψ⟩⟨ψ∣(IR⊗V)†\omega=p^{-1}(I_R\otimes V)|\psi\rangle\langle\psi|(I_R\otimes V)^\daggerω=p−1(IR​⊗V)∣ψ⟩⟨ψ∣(IR​⊗V)†. Put ρRE′=tr⁡Q′ω\rho^{\prime}_{RE}=\operatorname{tr}_{Q^{\prime}}\omegaρRE′​=trQ′​ω and ρE′=tr⁡RQ′ω\rho^{\prime}_E=\operatorname{tr}_{RQ^{\prime}}\omegaρE′​=trRQ′​ω. Then

Fe(C,N)≥p−p∥ρRE′−ρR⊗ρE′∥tr.F_e(C,\mathcal N)\ge p-p\|\rho^{\prime}_{RE}-\rho_R\otimes\rho^{\prime}_E\|_{\rm tr}.Fe​(C,N)≥p−p∥ρRE′​−ρR​⊗ρE′​∥tr​.

Small reference/environment correlation guarantees a good CPTP recovery.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P29
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P29

open QAlgorithms MeasureTheory Filter

open QAlgorithms.Papers.Independent.Information100.P22
  (densityPurification coherentInformation singleUseInformation mixed)

open QAlgorithms.Papers.Independent.Information100.P27 (shannon)

open QAlgorithms.Papers.Independent.Dependency50.P48 (wordProbability)

open QAlgorithms.Papers.Independent.Bridge50.P43 (tensorDensity)

open scoped Matrix ComplexConjugate ComplexOrder Topology

attribute [local instance] Classical.propDecidable

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

variable [Fintype J] [DecidableEq J] [Fintype E] [DecidableEq E]

variable [Fintype L] [DecidableEq L]

/-- PDF pp.8–10, (7)–(8): recovery from reference–environment decoupling.
The multiplier is p, not sqrt(p); only this normalized formulation requires p>0. -/
theorem decouplingRecovery [Nonempty I] [Nonempty J] [Nonempty E]
    {R : Type} [Fintype R] [DecidableEq R] [Nonempty R]
    (N : Superop I J) (V : Matrix (J × E) I ℂ)
    (hV : (1 - Vᴴ * V).PosSemidef)
    (hN : ∀ X, N X = traceRight (V * X * Vᴴ)) (C : CodeProjection I)
    (psi : EuclideanSpace ℂ (R × I)) (hpsi : ‖psi‖ = 1)
    (hpur : traceLeft (pureDensity psi) = codeDensity C)
    (hp : 0 < (N (codeDensity C)).trace.re) :
    let p := (N (codeDensity C)).trace.re
    let final := (p : ℂ)⁻¹ •
      (Matrix.kronecker (1 : Matrix R R ℂ) V * pureDensity psi *
        (Matrix.kronecker (1 : Matrix R R ℂ) V)ᴴ)
    let rhoRE := middlePartialTrace final
    p - p * traceNorm (rhoRE -
      Matrix.kronecker (traceRight (pureDensity psi)) (traceLeft rhoRE)) ≤
        recoveredEntanglementFidelity N (codeDensity C) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P29

end
Source
A random-coding based proof for the quantum coding theorem, arXiv:0712.2558v1, PDF p. 8, §4, (7): recovery from reference–environment decoupling
Read-back

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

Let I,J,E,RI,J,E,RI,J,E,R be nonempty finite index types with decidable equality, let N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, and let V∈C(J×E)×IV\in\mathbb C^{(J\times E)\times I}V∈C(J×E)×I satisfy II−V†V⪰0I_I-V^\dagger V\succeq0II​−V†V⪰0 and N(X)=Tr⁡E(VXV†)N(X)=\operatorname{Tr}_E(VXV^\dagger)N(X)=TrE​(VXV†) for every matrix XXX. Let CCC specify an integer KKK with 1≤K≤∣I∣1\le K\le|I|1≤K≤∣I∣ and a Hermitian idempotent PCP_CPC​ with tr⁡PC=K\operatorname{tr}P_C=KtrPC​=K, and put ρC=PC/K\rho_C=P_C/KρC​=PC​/K. Suppose ψ∈CR×I\psi\in\mathbb C^{R\times I}ψ∈CR×I has Euclidean norm 111, Tr⁡R∣ψ⟩⟨ψ∣=ρC\operatorname{Tr}_R|\psi\rangle\langle\psi|=\rho_CTrR​∣ψ⟩⟨ψ∣=ρC​, and p=Re⁡tr⁡N(ρC)>0p=\operatorname{Re}\operatorname{tr}N(\rho_C)>0p=RetrN(ρC​)>0. Define

F=(IR⊗V)∣ψ⟩⟨ψ∣(IR⊗V)†p,(ρRE)(r,e),(r′,e′)=∑j∈JF(r,(j,e)),(r′,(j,e′)),ρR=Tr⁡I∣ψ⟩⟨ψ∣.F=\frac{(I_R\otimes V)|\psi\rangle\langle\psi|(I_R\otimes V)^\dagger}{p}, \qquad (\rho_{RE})_{(r,e),(r',e')}=\sum_{j\in J}F_{(r,(j,e)),(r',(j,e'))}, \qquad \rho_R=\operatorname{Tr}_I|\psi\rangle\langle\psi|.F=p(IR​⊗V)∣ψ⟩⟨ψ∣(IR​⊗V)†​,(ρRE​)(r,e),(r′,e′)​=j∈J∑​F(r,(j,e)),(r′,(j,e′))​,ρR​=TrI​∣ψ⟩⟨ψ∣.

For any input density matrix ρ\rhoρ, define vρ(a,b)=(ρ)b,av_\rho(a,b)=(\sqrt\rho)_{b,a}vρ​(a,b)=(ρ​)b,a​, Ψρ=∣vρ⟩⟨vρ∣\Psi_\rho=|v_\rho\rangle\langle v_\rho|Ψρ​=∣vρ​⟩⟨vρ​∣, and Frec(N,ρ)=sup⁡DRe⁡tr⁡[Ψρ(id⊗(D∘N))(Ψρ)]F_{\rm rec}(N,\rho)=\sup_D\operatorname{Re}\operatorname{tr}[\Psi_\rho(\mathrm{id}\otimes(D\circ N))(\Psi_\rho)]Frec​(N,ρ)=supD​Retr[Ψρ​(id⊗(D∘N))(Ψρ​)], where D:CJ×J→CI×ID:\mathbb C^{J\times J}\to\mathbb C^{I\times I}D:CJ×J→CI×I ranges over finite Kraus maps with ∑ℓBℓ†Bℓ=IJ\sum_\ell B_\ell^\dagger B_\ell=I_J∑ℓ​Bℓ†​Bℓ​=IJ​. The theorem asserts

p−p∥ρRE−ρR⊗Tr⁡RρRE∥1≤Frec(N,ρC),∥X∥1=Re⁡tr⁡X†X.p-p\left\|\rho_{RE}-\rho_R\otimes\operatorname{Tr}_R\rho_{RE}\right\|_1 \le F_{\rm rec}(N,\rho_C), \qquad \|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}.p−p∥ρRE​−ρR​⊗TrR​ρRE​∥1​≤Frec​(N,ρC​),∥X∥1​=RetrX†X​.

The hypothesis p>0p>0p>0 excludes a zero-probability normalization; NNN itself is only required to have the stated trace-nonincreasing dilation.

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