by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)
prove2quantum
All registers are nonzero finite-dimensional complex Hilbert spaces with fixed computational bases. States are positive semidefinite with trace one, and every resource or target channel is completely positive and trace preserving (CPTP). Write Γ(N) for the unnormalized, input-first Choi operator, so TroutΓ(N)=Iin. Every operator inequality is in Loewner order, and all transposes use the fixed product bases.
For channels O,S:A→B, let D(O,S)=21∥O−S∥⋄ and let Fwc(O,S) be the infimum of squared Uhlmann fidelity over normalized reference-assisted inputs. Thus the two errors are D and 1−Fwc. For an assistance class C, eCD and eCF denote the respective infima over protocols in that class; the protocol is fixed independently of the unknown input. One-way LOCC (1WL) means Alice instruments followed by Bob's conditional CPTP maps. LOCR means a probability mixture of product CPTP maps.
Let N:A→B be the fixed resource channel. A correction superchannel has a bipartite CPTP representative P:AB→AB, non-signaling from Bob to Alice, and induces Γ(S)=TrAB[Γ(N)TΓ(P)], with canonical identity embeddings. Product assistance is one CPTP encoder and one CPTP decoder; LOCR allows shared randomness, and 1WL allows an encoder instrument with a conditional decoder. The class 2PENS has a symmetric two-Bob CPTP extension with exact marginal, PPT on Alice and on the second Bob, and additional non-signaling from Alice to both Bobs at the level of the extension. The class 2E omits PPT and that additional NS condition.
Identify A and B by their computational bases and put d=dimA≥2, a=dimA, b=dimB, and r=d2−1. Each of the six variables M+,M−,M0,M1,M2,M3 acts on AB1B2. Write F for conjugation by the swap of B1,B2, Ta for partial transpose on A, and Tab for partial transpose on AB1. Define
Let D(X) mean X=(TrB2X)⊗IB2/b. The common positivity and symmetry conditions are M+,M−,M0≥0, B(M0,M1,M2,M3)≥0, F(Mi)=Mi for i∈{+,−,0,1}, and F(Mi)=−Mi for i∈{2,3}. The block condition also forces M1,M2,M3 to be Hermitian. For d=2 set M−=0.
For an operator X on AB1 define the objective
J(X,M)=b1ReTr[(XT⊗IB2)P].
All matrices have orders ab2 or 2ab2, independent of the target dimension d; scalar coefficients may depend on d.
The PPT tests Pd(M) below are concrete constraints, not hypotheses assumed of a physical coefficient map. Define
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.decEq Classical.propDecidable
namespace QAlgorithms.Papers.Independent.Extend50.P02
open QAlgorithms.Papers.Independent.Information100.P32 (Op)
open QAlgorithms.Papers.Independent.Information100.P34 (choi fromChoi)
variable {A B C D H J : Type*}
variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype H] [Fintype J]
/-- PDF pp.14–15, Proposition 9, (186)–(217): full reduced 2PENS program,
with both P and Q marginal constraints, all extra NS equalities, and the d=2 case. -/
theorem proposition9 [Nonempty A] [Nonempty H] [Nonempty J]
(hd : 2 ≤ Fintype.card A) (N : Superop H J) (hN : IsChannel N) :
correctionError .diamond (.extendible true true) (id : Superop A A) N =
correctionError .infidelity (.extendible true true) (id : Superop A A) N ∧
correctionError .diamond (.extendible true true) (id : Superop A A) N =
reducedCorrectionBound true true (Fintype.card A) N := by sorry
end QAlgorithms.Papers.Independent.Extend50.P02
end
Source
Quantifying the performance of approximate teleportation and quantum error correction via symmetric two-PPT-extendibility, arXiv:2207.06931v4, PDF p. 14, proposition-9
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let A,H,J be finite nonempty types with decidable equality, put d=∣A∣≥2, and let N:H→J be a channel, that is, a finite Kraus sum X↦∑yKyXKy† with ∑yKy†Ky=IH. Write JF((u,v),(u′,v′))=F(∣u⟩⟨u′∣)(v,v′). Call a channel P:A×J→H×A admissible if JP has a positive semidefinite extension T on input A×J1×J2 and output H×A1×A2, whose output partial trace is the input identity, which is invariant under simultaneous swaps J1,J2 and A1,A2, and for which TrA2T=JP⊗IJ2, with factors reordered. Require positive semidefinite partial transposes on AH and J2A2, and
Confirmed by the moderator at approval.