Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§II unnumbered: directed cost complementarity

Open
QAlgorithms.Papers.Independent.Gap48.P35.directed_cost_complementarity

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

prove2quantum

All systems are finite nonzero-dimensional complex quantum systems. Density states are positive semidefinite with trace one, and SSS is von Neumann entropy in bits. Write EfE_fEf​ for formation, I←I^{\leftarrow}I← for maximal Holevo correlation measured on the second party, ECE_CEC​ for asymptotic singlet preparation cost, EDE_DED​ for EPR distillation rate, CDC_DCD​ for net common randomness, and KKK for secret-key rate. A left arrow means communication from the second legitimate party to the first. Key secrecy includes all public transcripts. Asymptotic tasks use independent copies, vanishing error and no extra initially shared resource.

Let σAC\sigma_{AC}σAC​ complement the density state ρAB\rho_{AB}ρAB​. The directed formation costs restrict preparation communication to A→BA\to BA→B and B→AB\to AB→A, respectively, using the actual consumed singlets.

EC→(ρAB)+CD←(σAC)=S(ρA),EC→(ρAB)=EC←(ρAB)=EC(ρAB).E_C^{\rightarrow}(\rho_{AB})+C_D^{\leftarrow}(\sigma_{AC})=S(\rho_A),\qquad E_C^{\rightarrow}(\rho_{AB})=E_C^{\leftarrow}(\rho_{AB})=E_C(\rho_{AB}).EC→​(ρAB​)+CD←​(σAC​)=S(ρA​),EC→​(ρAB​)=EC←​(ρAB​)=EC​(ρAB​).

The direction restrictions are defined operationally; equality with unrestricted cost is a conclusion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P35
Formal statement
namespace QAlgorithms.Papers.Independent.Gap48.P35

open scoped Matrix ComplexConjugate ComplexOrder

open Filter Topology

open Information100.P21 (Op)

open Information100.P08 (IsPure formation measuredCorrelation)

open Dependency50.P19 (marginalRA marginalRB)

noncomputable section

/-- PDF p.3, §II: directed complementarity and equality of the two operationally restricted formation costs with the unrestricted cost. -/
theorem directed_cost_complementarity {A : Type} {B : Type} {C : Type}
    [Fintype A] [DecidableEq A] [Nonempty A] [Fintype B] [DecidableEq B] [Nonempty B] [Fintype C] [DecidableEq C] [Nonempty C]
    (rho : Op (A × B)) (sigma : Op (A × C))
    (hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
    (hcomp : BComplement rho sigma) :
    forwardCost rho + commonLeft sigma = vnEntropy (traceRight rho) ∧
      forwardCost rho = forwardCost (Dependency50.P19.flip rho) ∧
      forwardCost (Dependency50.P19.flip rho) = finiteSystemPreparationCost rho := by sorry

end

end QAlgorithms.Papers.Independent.Gap48.P35
Source
Monogamy of entanglement and other correlations, arXiv:quant-ph/0310037v1, PDF p. 3, §II unnumbered: directed cost complementarity
Read-back

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

Let A,B,CA,B,CA,B,C be finite nonempty types with decidable equality, and let ρ\rhoρ on A×BA\times BA×B and σ\sigmaσ on A×CA\times CA×C be positive semidefinite complex matrices of trace 111. Assume a unit vector on A×(B×C)A\times(B\times C)A×(B×C) has a pure density matrix with marginals ρ\rhoρ on ABABAB and σ\sigmaσ on ACACAC. Write ρA=Tr⁡Bρ\rho_A=\operatorname{Tr}_B\rhoρA​=TrB​ρ, S(X)=−Re⁡tr⁡[(x↦xlog⁡2x)(X)]S(X)=-\operatorname{Re}\operatorname{tr}[(x\mapsto x\log_2x)(X)]S(X)=−Retr[(x↦xlog2​x)(X)] by spectral functional calculus, and ρ(b,a),(b′,a′)sw=ρ(a,b),(a′,b′)\rho^{\mathrm{sw}}_{(b,a),(b',a')}=\rho_{(a,b),(a',b')}ρ(b,a),(b′,a′)sw​=ρ(a,b),(a′,b′)​. Define C→(τXY)C^\to(\tau_{XY})C→(τXY​) as the infimum over real eee for which every ϵ,δ>0\epsilon,\delta>0ϵ,δ>0 admits integers m≥0,n>0m\ge0,n>0m≥0,n>0, a positive number lll of first-party outcomes, a finite family AijA_{ij}Aij​ mapping the first input register of dimension 2m2^m2m to XnX^nXn, and, for each iii, a finite Kraus family BikB_{ik}Bik​ mapping the second input register to YnY^nYn, such that ∑i,jAij†Aij=I\sum_{i,j}A_{ij}^\dagger A_{ij}=I∑i,j​Aij†​Aij​=I, ∑kBik†Bik=I\sum_kB_{ik}^\dagger B_{ik}=I∑k​Bik†​Bik​=I for every iii, ∣e−m/n∣≤δ|e-m/n|\le\delta∣e−m/n∣≤δ, and

12∥∑i,j,k(Aij⊗Bik)s⊗m(Aij⊗Bik)†−τ⊗n∥1≤ϵ,\frac12\left\| \sum_{i,j,k}(A_{ij}\otimes B_{ik})s^{\otimes m}(A_{ij}\otimes B_{ik})^\dagger -\tau^{\otimes n} \right\|_1\le\epsilon,21​​i,j,k∑​(Aij​⊗Bik​)s⊗m(Aij​⊗Bik​)†−τ⊗n​1​≤ϵ,

where sss is the density matrix of (∣0,1⟩−∣1,0⟩)/2(|0,1\rangle-|1,0\rangle)/\sqrt2(∣0,1⟩−∣1,0⟩)/2​, finite registers use the specified numbered-basis identifications, and ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​. Define C(τ)C(\tau)C(τ) by the same infimum and tolerance requirements, allowing any finite local protocol recursively generated from identity maps by local finite Kraus families with completeness ∑iKi†Ki=I\sum_iK_i^\dagger K_i=I∑i​Ki†​Ki​=I, branch-dependent continuations, and branch summation. Define KY→X(τ)=sup⁡R≥0(CR(τ)−R)K_{Y\to X}(\tau)=\sup_{R\ge0}(C_R(\tau)-R)KY→X​(τ)=supR≥0​(CR​(τ)−R), where CRC_RCR​ is the supremum of real hhh for which some c≥0c\ge0c≥0, for every ϵ,δ>0\epsilon,\delta>0ϵ,δ>0 and every sufficiently large positive nnn, permits a finite POVM EuE_uEu​ on YnY^nYn, a message f(u)f(u)f(u), a key g(u)g(u)g(u), and a finite key-indexed POVM Df(u),jD_{f(u),j}Df(u),j​ on XnX^nXn, with positive finite alphabets, log⁡2∣range⁡f∣≤nR\log_2|\operatorname{range}f|\le nRlog2​∣rangef∣≤nR, at most 2cn2^{cn}2cn keys, disagreement at most ϵ\epsilonϵ, and key entropy at least n(h−δ)n(h-\delta)n(h−δ); the joint law is p(u,j)=Re⁡tr⁡[(Df(u),j⊗Eu)τ⊗n]p(u,j)=\operatorname{Re}\operatorname{tr}[(D_{f(u),j}\otimes E_u)\tau^{\otimes n}]p(u,j)=Retr[(Df(u),j​⊗Eu​)τ⊗n], disagreement is ∑g(u)≠jp(u,j)\sum_{g(u)\ne j}p(u,j)∑g(u)=j​p(u,j), and key entropy is the Shannon entropy of πk=∑u:g(u)=k∑jp(u,j)\pi_k=\sum_{u:g(u)=k}\sum_jp(u,j)πk​=∑u:g(u)=k​∑j​p(u,j). Then

C→(ρ)+KC→A(σ)=S(ρA),C→(ρ)=C→(ρsw),C→(ρsw)=C(ρ).C^\to(\rho)+K_{C\to A}(\sigma)=S(\rho_A), \qquad C^\to(\rho)=C^\to(\rho^{\mathrm{sw}}), \qquad C^\to(\rho^{\mathrm{sw}})=C(\rho).C→(ρ)+KC→A​(σ)=S(ρA​),C→(ρ)=C→(ρsw),C→(ρsw)=C(ρ).

Both preparation definitions allow m=0m=0m=0, quantify over all real candidate rates, and require a suitable finite block for each tolerance pair.

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