Example 18 / Eq.(67): a tripartite witness inequality
OpenQAlgorithms.Papers.Independent.Extend50.P13.tripartite_witness_exampleAll matrices are complex, , with . Write for the identity and for the ordinary, unnormalized trace. Matrix inequalities use the Löwner order, so includes Hermiticity. Let be the normalized three-factor antisymmetric projector and put . For all complex ,
where is the ordinary two-input contraction of . It is PSD for every PSD pair in any positive dimension, and for every fully separable density matrix . If , is invariant and block positive, has negative expectation on an entangled density matrix, and vanishes on a separable density matrix. Its positive map saturates at a nonzero PSD pair; more specifically, for any nonzero orthogonal vectors , has a nonzero kernel vector. This uses the paper's saturation meaning of optimality.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P13
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P13
attribute [local instance] Classical.propDecidable
/-- Example 18, Eqs.66–67 (PDF p.16). SOURCE CORRECTION: the printed polynomial
in Eq.67 is 6 f_W for W=I/6-P_(1,1,1), rather than f_W itself. Positivity holds in
all positive dimensions. Witness detection and saturation require d≥3. -/
theorem tripartite_witness_example
(lambda : QAlgorithms.Schur.Partition 3 3) (hshape : lambda.val.rowLens = [1,1,1]) :
(∀ (d : ℕ), 0 < d →
let W : (Matrix (Fin 3 → Fin d) (Fin 3 → Fin d) ℂ) := (1/6 : ℂ) • 1-centralProjector d lambda
(∀ X Y : (Matrix (Fin d) (Fin d) ℂ), contractInputs W ![X,Y] = (1/6 : ℂ) • witnessThree X Y) ∧
(∀ X Y : (Matrix (Fin d) (Fin d) ℂ), X.PosSemidef → Y.PosSemidef →
(contractInputs W ![X,Y]).PosSemidef) ∧
(∀ rho, QAlgorithms.IsDensityMatrix rho → FullySeparableDensity rho →
(Matrix.trace (centralProjector d lambda * rho)).re ≤ 1/6)) ∧
(∀ (d : ℕ), 3 ≤ d →
let W : (Matrix (Fin 3 → Fin d) (Fin 3 → Fin d) ℂ) := (1/6 : ℂ) • 1-centralProjector d lambda
OptimalWernerWitness W ∧ Saturates (contractInputs W) ∧
∀ v w : Fin d → ℂ, v ≠ 0 → w ≠ 0 → (∑ i, conj (v i)*w i) = 0 →
∃ z : Fin d → ℂ, z ≠ 0 ∧
(contractInputs W ![rankOneOperator v v,rankOneOperator w w]).mulVec z = 0) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P13
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every Young diagram with three cells, at most three rows, and row-length list exactly , define , where on -valued triples; to define the character appearing here, use the fixed numbering of 's cells, let be the permutations preserving rows and columns, let be the orthogonal projection onto the range of , and set , with . For each natural number , put and define
Then for all complex matrices ,
and this contraction is positive semidefinite whenever are positive semidefinite. For every positive semidefinite trace-one matrix on the triple register that can be written as a finite convex combination , with , , and each positive semidefinite of trace one, one has . For every natural number , the same is invariant under conjugation by every , is Hermitian, and has real nonnegative for all vectors ; there exists a positive semidefinite trace-one having no finite convex product decomposition of the stated kind with , and there exists one having such a decomposition with the full complex trace . Also, is positive on positive semidefinite inputs and there exist nonzero positive semidefinite and a nonzero with ; more specifically, for every pair of nonzero vectors with , there exists a nonzero such that .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.