AFTD Auto-Formalizing Theoretical Domains

prime_convolution_critical_env

def

The critical (threshold) environment sigma_crit = |psi_p><psi_p| + sqrt(p(1-p)) * I on Fin d: the two-level pure environment shifted by sqrt(p(1-p)) times the identity. Its normalised Choi matrix is the matrix J(t) at the exact PPT threshold, J(1/(1+d sqrt(p(1-p)))) = (1/(1+d sqrt(p(1-p)))) * choi(sigma_crit).

Statement

noncomputable def prime_convolution_critical_env (d : ℕ) (p : ℝ) : Matrix (Fin d) (Fin d) ℂ
Source
step towards prime_convolution_entanglement_breaking_iff_threshold
Verified
27 Nov 2026
Axioms
none listed
Built on 1
  • two_level_psiThe unit vector psi_p on Fin d with psi_p(j) = sqrt(p) for j = 0, sqrt(1 - p) for j = 1, and 0 for all other j (the pure state entering…
Used by 2

Lean source view module on GitHub

/-- Environment psi psi^T + sqrt (p (1 - p)) • 1 whose normalised Choi matrix is the critical (threshold) Choi matrix. -/
noncomputable def prime_convolution_critical_env (d : ℕ) (p : ℝ) : Matrix (Fin d) (Fin d) ℂ := Matrix.of (fun j l => (↑(two_level_psi d p j * two_level_psi d p l) : ℂ)) + (↑(Real.sqrt (p * (1 - p))) : ℂ) • (1 : Matrix (Fin d) (Fin d) ℂ)
See it in the graphDiscuss this resultChallenge it