Lemma 4: entropy SDP duality, including the classical restriction
OpenQAlgorithms.Papers.Independent.Advance50.P12.entropy_SDP_dualityLet be positive-dimensional finite-dimensional complex Hilbert spaces in chosen orthonormal bases. For every positive semidefinite operator , including the zero operator,
Both extrema are attained; the minimizing is not required to have trace one. If is classical on in the chosen basis, a maximizing can be chosen classical in that same basis. Classicality means Hermitian with all off-diagonal blocks zero. The Lean statement gives feasible optimizers, their equal values, both optimality comparisons, and a classical optimizer when appropriate. This is the entropy semidefinite-programming duality used by the operational identities.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P12
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P12
open QAlgorithms
open scoped Matrix ComplexConjugate ComplexOrder ENNReal
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Dependency50.P07 (CQData cqDensity)
open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative elog marginalAB)
open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)
open QAlgorithms.Papers.Independent.Renew46.P35 (traceAdjoint)
open QAlgorithms.Papers.Independent.Support50.P23 (exp2Extended independentProduct)
variable {A B C D X : Type}
variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype X]
variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D] [DecidableEq X]
/-- PDF p.8, Lemma 4 / (29): equal attained primal and dual optima,
including an attained classical dual optimum in the same basis whenever rho is
classical. The PSD input may be zero and need not be normalized. -/
theorem entropy_SDP_duality [Nonempty A] [Nonempty B]
(rho : Matrix (A × B) (A × B) ℂ) (hrho : rho.PosSemidef) :
∃ sigma : Matrix B B ℂ, ∃ e : Matrix (A × B) (A × B) ℂ,
EntropyPrimalFeasible rho sigma ∧ EntropyDualFeasible e ∧
sigma.trace.re = (rho * e).trace.re ∧
(∀ sigma2, EntropyPrimalFeasible rho sigma2 → sigma.trace.re ≤ sigma2.trace.re) ∧
(∀ e2, EntropyDualFeasible e2 → (rho * e2).trace.re ≤ (rho * e).trace.re) ∧
(ClassicalOnFirst rho → ∃ ec : Matrix (A × B) (A × B) ℂ,
EntropyDualFeasible ec ∧ ClassicalOnFirst ec ∧ (rho * ec).trace.re = sigma.trace.re) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be nonempty finite types with decidable equality, and let be any positive semidefinite complex matrix on , including , with no trace normalization required. There exist a matrix on and a matrix on such that
where . For every matrix satisfying and , one has ; for every matrix with , one has . Furthermore, if is Hermitian and whenever , there exists a Hermitian matrix with the same vanishing condition, , and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.