matrix_is_separable
With dA dB : ℕ explicit arguments, in this order, and ρ : Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ, the proposition that ρ is separable (not necessarily normalised): there exist a natural number N and families of vectors x : Fin N → Fin dA → ℂ and y : Fin N → Fin dB → ℂ such that for all index pairs p, q : Fin dA × Fin dB the entry ρ p q equals the sum over i : Fin N of x i p.1 * star (x i q.1) * (y i p.2 * star (y i q.2)); that is, ρ = Σ_i |x_i⟩⟨x_i| ⊗ |y_i⟩⟨y_i| with unnormalised vectors (the weights are absorbed in the vectors).
Statement
def matrix_is_separable (dA dB : ℕ) (ρ : Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ) : Prop
- Defined in
- Standard definition of a separable (unentangled) bipartite positive operator, not normalised, as used in arXiv:quant-ph/0308032 (complete family of separability criteria), Section II; stated for OP-2299.
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Used by 9
- prime_convolution_rectangle_separableA two-corner rank-one operator plus the geometric-mean diagonal terms on the crossed corners is separable; four phase-averaged product…
- prime_convolution_separable_imp_thresholdLet d be a prime with d ≥ 5, r ∈ ZMod d with r ≠ 0, r ≠ 1 and 2r ≠ 1 (r is not the inverse of 2), and p, t real numbers in [0, 1]. If…
- prime_convolution_diagonal_environment_separableFor any finite dimension at least two and any coupling, a convolution channel with a nonnegative diagonal environment has a separable Choi…
- product_witness_negative_expectation_implies_entangledA product-positive witness with negative expectation on a matrix proves that the matrix is not separable.
- prime_convolution_entanglement_breaking_iff_thresholdLet d be a prime with d ≥ 5, r ∈ ZMod d with r ≠ 0, r ≠ 1 and 2r ≠ 1 (r is not the inverse of 2), and p, t real numbers in [0, 1]. The…
- matrix_is_separable_has_ppt_bosonic_extensionFor all natural numbers dA, dB, k and every matrix ρ : Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ, if ρ is separable…
- prime_convolution_five_two_fifth_entanglement_breaking_iffFor every real t with 0 ≤ t ≤ 1: the matrix prime_convolution_choi 5 2 (two_level_environment 5 (1/5) t) (d = 5, r = 2, p = 1/5) is…
- matrix_is_separable_partial_transpose_iffPartial transpose on the second tensor factor preserves separability.
- matrix_is_separable_pos_semidefEvery separable bipartite matrix (matrix_is_separable dA dB ρ) is positive semidefinite.
Read back from the Lean
Given natural numbers dA and dB, and a matrix ρ indexed by (Fin dA × Fin dB) × (Fin dA × Fin dB) with entries in ℂ, matrix_is_separable dA dB ρ asserts that there exist a natural number N and families of vectors x : Fin N → Fin dA → ℂ and y : Fin N → Fin dB → ℂ such that for all index pairs p = (p.1, p.2) and q = (q.1, q.2) in Fin dA × Fin dB, the entry ρ p q equals the sum over i : Fin N of x i p.1 * star (x i q.1) * (y i p.2 * star (y i q.2)) (i.e., ρ is a finite sum of tensor products of rank-one positive semidefinite matrices (x_i x_i†) ⊗ (y_i y_i†)).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A bipartite matrix is separable: a finite sum of tensor products of rank-one positive operators. -/ def matrix_is_separable (dA dB : ℕ) (ρ : Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ) : Prop := ∃ (N : ℕ) (x : Fin N → Fin dA → ℂ) (y : Fin N → Fin dB → ℂ), ∀ p q : Fin dA × Fin dB, ρ p q = ∑ i : Fin N, x i p.1 * star (x i q.1) * (y i p.2 * star (y i q.2))