Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Tensor-product local recovery duality

Open
QAlgorithms.Papers.Independent.Intakethird100.P44.tensor_local_duality

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All Hilbert spaces are finite dimensional and nonzero, and every channel is completely positive and trace preserving on the full matrix algebra. Here FFF denotes either root entanglement fidelity FρF_\rhoFρ​ for any normalized input density ρ\rhoρ, with an identity reference retained, or worst-case root entanglement fidelity FWF_WFW​ over all normalized logical densities for an arbitrary isometry WWW. Let NA\mathcal N_ANA​ be a channel on HAH_AHA​ and let NA^\widehat{\mathcal N_A}NA​​ be any complementary channel to an environment EEE. The comparison domain is the joint system HA⊗HBH_A\otimes H_BHA​⊗HB​; a code may be entangled across the factors. Put Dσ(X)=σTr⁡X\mathcal D_\sigma(X)=\sigma\operatorname{Tr}XDσ​(X)=σTrX. Both maxima are attained and

max⁡RAF((RANA)⊗idB,idAB)=max⁡σ⪰0, Tr⁡σ=1F(NA^⊗idB,Dσ⊗idB).\max_{\mathcal R_A}F((\mathcal R_A\mathcal N_A)\otimes\mathrm{id}_B,\mathrm{id}_{AB})=\max_{\sigma\succeq0,\,\operatorname{Tr}\sigma=1}F(\widehat{\mathcal N_A}\otimes\mathrm{id}_B,\mathcal D_\sigma\otimes\mathrm{id}_B).RA​max​F((RA​NA​)⊗idB​,idAB​)=σ⪰0,Trσ=1max​F(NA​​⊗idB​,Dσ​⊗idB​).

The recovery acts only on AAA. This independently stated tensor specialization retains arbitrary joint encodings.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P44
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P44

open scoped Matrix ComplexConjugate ComplexOrder

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

open QAlgorithms.Papers.Independent.Information100.P67 (mapFirst)

open QAlgorithms.Papers.Independent.Claimed50.P48 (operatorTraceDual)

open QAlgorithms.Papers.Independent.Renew46.P43 (purification)

variable {H K L J E F B : Type*}

variable [Fintype H] [DecidableEq H] [Fintype K] [DecidableEq K]

variable [Fintype L] [DecidableEq L] [Fintype J] [DecidableEq J]

variable [Fintype E] [DecidableEq E] [Fintype F] [DecidableEq F]

variable [Fintype B] [DecidableEq B]

/-- PDF p.9, Eq.(48), for either fidelity, including joint entangled codes. -/
theorem tensor_local_duality [Nonempty H] [Nonempty B] [Nonempty E]
    (N : Superop H H) (hN : IsChannel N) (CN : Superop H E)
    (hCN : IsGeneralizedComplement N CN) (c : Comparison (H × B)) :
    SameMaximum (fun R : Superop H H => IsChannel R)
      (fun R => comparisonRootFidelity c (mapFirst (R ∘ N)) (id : Superop (H × B) (H × B)))
      (fun sigma : Mat E => IsDensityMatrix sigma)
      (fun sigma => comparisonRootFidelity c (mapFirst CN)
        (mapFirst (constantChannel (H := H) sigma))) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P44

end
Source
Approximate recovery with locality and symmetry constraints, arXiv:1806.10324v2, PDF p. 9, §IV D, Eq.(48): tensor-product local recovery duality
Read-back

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

Let H,B,EH,B,EH,B,E be finite nonempty index types with decidable equality, let NNN be a channel on HHH, and let CNC_NCN​ be a map from matrices on HHH to matrices on EEE satisfying the following generalized complement condition: there exist m≥0m\geq0m≥0, matrices Aj:CH→CHA_j:\mathbb C^H\to\mathbb C^HAj​:CH→CH with ∑jAj†Aj=I\sum_jA_j^\dagger A_j=I∑j​Aj†​Aj​=I and N(X)=∑jAjXAj†N(X)=\sum_jA_jXA_j^\daggerN(X)=∑j​Aj​XAj†​, and channels S:Cm×m→CE×ES:\mathbb C^{m\times m}\to\mathbb C^{E\times E}S:Cm×m→CE×E, T:CE×E→Cm×mT:\mathbb C^{E\times E}\to\mathbb C^{m\times m}T:CE×E→Cm×m, such that CN=S∘CAC_N=S\circ C_ACN​=S∘CA​ and CA=T∘CNC_A=T\circ C_NCA​=T∘CN​, where CA(X)ij=tr⁡(AiXAj†)C_A(X)_{ij}=\operatorname{tr}(A_iXA_j^\dagger)CA​(X)ij​=tr(Ai​XAj†​). Choose a comparison ccc on H⊗BH\otimes BH⊗B: either a specified density matrix ρ\rhoρ, or a positive integer kkk and an isometry W:Ck→CH⊗CBW:\mathbb C^k\to\mathbb C^H\otimes\mathbb C^BW:Ck→CH⊗CB. For maps F,GF,GF,G with the same input and output spaces, define

Fρ(F,G)=Re⁡tr⁡(id⊗F)(Πρ) (id⊗G)(Πρ) (id⊗F)(Πρ),Πρ=∣vρ⟩⟨vρ∣,vρ(i,j)=(ρ)ji.\mathcal F_\rho(F,G)= \operatorname{Re}\operatorname{tr} \sqrt{\sqrt{(\mathrm{id}\otimes F)(\Pi_\rho)} \,(\mathrm{id}\otimes G)(\Pi_\rho)\, \sqrt{(\mathrm{id}\otimes F)(\Pi_\rho)}}, \qquad \Pi_\rho=|v_\rho\rangle\langle v_\rho|, \quad v_\rho(i,j)=(\sqrt\rho)_{ji}.Fρ​(F,G)=Retr(id⊗F)(Πρ​)​(id⊗G)(Πρ​)(id⊗F)(Πρ​)​​,Πρ​=∣vρ​⟩⟨vρ​∣,vρ​(i,j)=(ρ​)ji​.

For the fixed comparison set Fc=Fρ\mathcal F_c=\mathcal F_\rhoFc​=Fρ​; for the code comparison set Fc(F,G)=inf⁡ρFρ(F∘Ad⁡W,G∘Ad⁡W)\mathcal F_c(F,G)=\inf_\rho\mathcal F_\rho(F\circ\operatorname{Ad}_W,G\circ\operatorname{Ad}_W)Fc​(F,G)=infρ​Fρ​(F∘AdW​,G∘AdW​), with the infimum over all k×kk\times kk×k density matrices and Ad⁡W(X)=WXW†\operatorname{Ad}_W(X)=WXW^\daggerAdW​(X)=WXW†. Then there exist a channel R∗R_*R∗​ on HHH and a density matrix σ∗\sigma_*σ∗​ on EEE such that

Fc((R∗∘N)⊗idB,idH⊗B)=Fc(CN⊗idB,Kσ∗⊗idB),\mathcal F_c((R_*\circ N)\otimes\mathrm{id}_B,\mathrm{id}_{H\otimes B}) = \mathcal F_c(C_N\otimes\mathrm{id}_B,K_{\sigma_*}\otimes\mathrm{id}_B),Fc​((R∗​∘N)⊗idB​,idH⊗B​)=Fc​(CN​⊗idB​,Kσ∗​​⊗idB​),

and this common value is at least the left expression for every channel RRR, and at least the right expression for every density matrix σ\sigmaσ, where Kσ(X)=tr⁡(X)σK_\sigma(X)=\operatorname{tr}(X)\sigmaKσ​(X)=tr(X)σ. Density matrices are positive semidefinite matrices of trace 111; channels are maps with finite Kraus representations whose matrices satisfy ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I. Tensoring a map with an identity means applying it to each matrix block indexed by the unchanged factor. Thus both maxima are attained, whereas attainment of the infimum within a code comparison is not asserted.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me