AFTD Auto-Formalizing Theoretical Domains

prime_convolution_separable_imp_threshold

theoremverified

Let 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_choi d r (two_level_environment d p t) is separable then t ≤ 1/(1 + d·√(p(1 − p))).

Statement

theorem prime_convolution_separable_imp_threshold :
    ∀ d : ℕ, d.Prime → 5 ≤ d → ∀ r : ZMod d, r ≠ 0 → r ≠ 1 → 2 * r ≠ 1 →
      ∀ p t : ℝ, 0 ≤ p → p ≤ 1 → 0 ≤ t → t ≤ 1 →
        matrix_is_separable d d (prime_convolution_choi d r (two_level_environment d p t)) →
          t ≤ 1 / (1 + d * Real.sqrt (p * (1 - p)))
Source
OP-2466: the necessity half of the entry (entanglement breaking implies the threshold), from separable ⇒ PPT and the PPT boundary.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
  • prime_convolution_choiWith d : ℕ, r : ZMod d and σ : Matrix (Fin d) (Fin d) ℂ (no hypotheses), returns the complex matrix indexed by Fin d × Fin d whose entry…
  • two_level_environmentWith d : ℕ and real numbers p, t, returns the complex d×d matrix (1 − t)·I/d + t·|ψ⟩⟨ψ|, where ψ : Fin d → ℝ has ψ j = √p when the…
  • matrix_is_separableWith dA dB : ℕ explicit arguments, in this order, and ρ : Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ, the proposition that ρ is…
  • matrix_is_separable_pos_semidefEvery separable bipartite matrix (matrix_is_separable dA dB ρ) is positive semidefinite.
  • prime_convolution_choi_ppt_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]. Let J =…
  • matrix_is_separable_partial_transpose_iffPartial transpose on the second tensor factor preserves separability.
Used by 2

The proof, explained

The proof applies the positive partial transpose (PPT) criterion for separability. If the prime convolution Choi matrix ρ is separable, then its partial transpose is also separable and therefore positive semidefinite. A previously established characterization (prime_convolution_choi_ppt_iff_threshold) equates positive semidefiniteness of this partial transpose with the inequality t ≤ 1 / (1 + d · √(p(1 - p))), yielding the conclusion directly.

  1. Fix d, r, p, and t under the given assumptions, and assume the Choi state is separable.

    We introduce the dimension d (a prime with d ≥ 5), the parameter r ∈ ℤ/dℤ satisfying r ≠ 0, 1 and 2r ≠ 1, the parameters p, t ∈ [0, 1], and the hypothesis that the bipartite matrix ρ = prime_convolution_choi d r (two_level_environment d p t) is separable.

    line 6

      intro d hd h5 r hr0 hr1 hr2 p t hp0 hp1 ht0 ht1 hsep
  2. The partial transpose of ρ is separable.

    Separability is invariant under partial transposition (matrix_is_separable_partial_transpose_iff). Applying this to the assumed separable matrix ρ shows that its partial transpose ρ^Γ is also separable.

    line 7

    uses matrix_is_separable_partial_transpose_iff

      have h := (matrix_is_separable_partial_transpose_iff d d _).mp hsep
  3. t ≤ 1 / (1 + d · √(p(1 - p)))

    Since any separable matrix is positive semidefinite (matrix_is_separable_pos_semidef), the partial transpose ρ^Γ is positive semidefinite. By the characterization of positive partial transposition for this class of prime convolution Choi states (prime_convolution_choi_ppt_iff_threshold), positive semidefiniteness of ρ^Γ is equivalent to the threshold inequality t ≤ 1 / (1 + d · √(p(1 - p))).

    lines 8–9

    uses prime_convolution_choi_ppt_iff_threshold, matrix_is_separable_pos_semidef

      exact (prime_convolution_choi_ppt_iff_threshold d hd h5 r hr0 hr1 hr2 p t hp0 hp1 ht0 ht1).mp
        (matrix_is_separable_pos_semidef d d _ h)
matrix_is_separable_partial_transpose_iff
A bipartite matrix is separable if and only if its partial transpose (transposing the second tensor factor) is separable.
matrix_is_separable_pos_semidef
Every separable bipartite matrix is positive semidefinite.
prime_convolution_choi_ppt_iff_threshold
For a prime d ≥ 5, r ∈ ℤ/dℤ with r ≠ 0, 1 and 2r ≠ 1, and p, t ∈ [0, 1], the partial transpose of the prime convolution Choi matrix is positive semidefinite if and only if t ≤ 1 / (1 + d · √(p(1 - p))).

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem prime_convolution_separable_imp_threshold :    ∀ d : ℕ, d.Prime → 5 ≤ d → ∀ r : ZMod d, r ≠ 0 → r ≠ 1 → 2 * r ≠ 1 →      ∀ p t : ℝ, 0 ≤ p → p ≤ 1 → 0 ≤ t → t ≤ 1 →        matrix_is_separable d d (prime_convolution_choi d r (two_level_environment d p t)) →          t ≤ 1 / (1 + d * Real.sqrt (p * (1 - p))) := by  intro d hd h5 r hr0 hr1 hr2 p t hp0 hp1 ht0 ht1 hsep  have h := (matrix_is_separable_partial_transpose_iff d d _).mp hsep  exact (prime_convolution_choi_ppt_iff_threshold d hd h5 r hr0 hr1 hr2 p t hp0 hp1 ht0 ht1).mp    (matrix_is_separable_pos_semidef d d _ h)
See it in the graphDiscuss this resultChallenge it