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.
For a fixed state ρAB, a teleportation protocol L:AAB→B induces S(X)=L(X⊗ρ). The superscript-free eC means eCD. The class 2PE consists of channels with a symmetric two-Bob CPTP extension, an exact non-signaling marginal, and positive partial transposes on Alice's registers and on the second Bob's registers. The class 2E retains the extension conditions and omits PPT.
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.9–10, Proposition 3, (89)–(113): equality of errors and the
complete reduced program for d>=3, together with its stated d=2 specialization.
The d=2 branch removes (98),(105) and sets M-minus=0; see source correction above. -/
theorem proposition3 [Nonempty A] [Nonempty H] [Nonempty J]
(hd : 2 ≤ Fintype.card A) (rho : Op (H × J)) (hrho : IsDensityMatrix rho) :
teleportError .diamond (some true) (id : Superop A A) rho =
teleportError .infidelity (some true) (id : Superop A A) rho ∧
teleportError .diamond (some true) (id : Superop A A) rho =
reducedTeleportBound true (Fintype.card A) rho := 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. 9, Proposition 3
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∣, assume d≥2, and let ρ⪰0 on H×J satisfy Trρ=1. A channel means a map X↦∑yKyXKy† with finitely many Ky satisfying ∑yKy†Ky=I. For a map F, write JF((u,v),(u′,v′))=F(∣u⟩⟨u′∣)(v,v′). Let Tρ consist of maps S(X)=L(X⊗ρ), where L is a channel from (A×H)×J to A, and JL, with its output regarded as Unit×A, has a positive semidefinite extension T on input (A×H)×J1×J2 and output Unit×A1×A2. Require its output partial trace to be the input identity, invariance under simultaneous interchange of J1,J2 and A1,A2, the marginal identity TrA2T=JL⊗IJ2, and positivity of its partial transposes on A×H and on J2×A2, with factors reordered as necessary. For density matrices ω on A×A, define
Confirmed by the moderator at approval.