Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

III B: attained SDP optimum detects extendability, (11)–(12)

Open
QAlgorithms.Papers.Independent.Intakethird100.P30.sdpCharacterization

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

prove2quantum

Let A,BA,BA,B be finite nonempty systems and let P⪰0P\succeq0P⪰0 be any operator on A⊗BA\otimes BA⊗B, without a trace-one assumption. Identify B′B'B′ with a copy of BBB. Consider

tmin⁡(P)=min⁡{t∈R: ∃R=R†, R+tI⪰0, Tr⁡B′R=P, Tr⁡BR=P}.t_{\min}(P)=\min\{t\in\mathbb R:\ \exists R=R^\dagger, \ R+tI\succeq0,\ \operatorname{Tr}_{B'}R=P, \ \operatorname{Tr}_{B}R=P\}.tmin​(P)=min{t∈R: ∃R=R†, R+tI⪰0, TrB′​R=P, TrB​R=P}.

Both marginal constraints use their actual coefficient partial traces and the stated register identification. The feasible objective set is nonempty and bounded below, and its finite infimum is attained. Moreover,

ExtB(P)⟺tmin⁡(P)≤0,¬ExtB(P)⟺tmin⁡(P)>0.\mathrm{Ext}_B(P)\Longleftrightarrow t_{\min}(P)\le0, \qquad \neg\mathrm{Ext}_B(P)\Longleftrightarrow t_{\min}(P)>0.ExtB​(P)⟺tmin​(P)≤0,¬ExtB​(P)⟺tmin​(P)>0.

Whenever the optimum is nonpositive, every minimizing RRR is a positive symmetric extension. The optimization variable RRR is initially only Hermitian; requiring it positive in the feasible set would change the SDP. The zero operator is included.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P30
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P30

open scoped BigOperators Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

variable {I J K L A B : Type}

variable [Fintype I] [Fintype J] [Fintype K] [Fintype L]

variable [Fintype A] [Fintype B]

/-- PDF p.5, (11)–(12): finite attained SDP optimum detects extendability.
All finite nonempty systems and all PSD P, including zero, are covered. -/
theorem sdpCharacterization [Nonempty A] [Nonempty B]
    (P : Matrix (A × B) (A × B) ℂ) (hP : P.PosSemidef) :
    (slackValues P).Nonempty ∧ BddBelow (slackValues P) ∧
    (∃ R, SDPFeasible P (sdpMinimum P) R) ∧
    (BobExtendible P ↔ sdpMinimum P ≤ 0) ∧
    (¬ BobExtendible P ↔ 0 < sdpMinimum P) ∧
    (∀ R, SDPFeasible P (sdpMinimum P) R → sdpMinimum P ≤ 0 → IsBobCopyExtension P R) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P30

end
Source
Numerical evidence for bound secrecy from two-way post-processing in quantum key distribution, arXiv:1612.07734v2, PDF p. 5, III B: attained SDP optimum detects extendability, (11)–(12)
Read-back

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

For nonempty finite types AAA and BBB with decidable equality and a positive semidefinite complex matrix PPP indexed by A×BA\times BA×B, let SSS consist of those real ttt for which some Hermitian matrix RRR indexed by (A×B)×B(A\times B)\times B(A×B)×B satisfies R+tI⪰0R+tI\succeq0R+tI⪰0 and

∑c∈BR((a,b),c),((a′,b′),c)=∑c∈BR((a,c),b),((a′,c),b′)=P(a,b),(a′,b′)\sum_{c\in B}R_{((a,b),c),((a',b'),c)} = \sum_{c\in B}R_{((a,c),b),((a',c),b')} =P_{(a,b),(a',b')}c∈B∑​R((a,b),c),((a′,b′),c)​=c∈B∑​R((a,c),b),((a′,c),b′)​=P(a,b),(a′,b′)​

for all a,a′,b,b′a,a',b,b'a,a′,b,b′, and put s=inf⁡Ss=\inf Ss=infS. The theorem asserts that SSS is nonempty and bounded below; that some such RRR is feasible at t=st=st=s; that there exists a positive semidefinite RRR with these two marginals exactly when s≤0s\le0s≤0; that no such positive semidefinite extension exists exactly when 0<s0<s0<s; and that every matrix feasible at t=st=st=s is itself a positive semidefinite extension whenever s≤0s\le0s≤0. Neither PPP nor its extensions are required to have trace 111.

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