AFTD Auto-Formalizing Theoretical Domains

ghz_correlation_vector

def

For parameter alpha in R, orthonormal frames e, f of R^3, and indices mu, nu in {0, 1, 2, 3}, the correlation vector tau_{mu nu} has components (tau_{mu nu})_1 = sin(2*alpha) * (a_1 c_1 - a_2 c_2), (tau_{mu nu})_2 = -sin(2*alpha) * (a_1 c_2 + a_2 c_1), and (tau_{mu nu})_3 = cos(2*alpha) * a_0 c_0 + a_0 c_3 + a_3 c_0 + cos(2*alpha) * a_3 c_3.

Statement

noncomputable def ghz_correlation_vector (α : ℝ) (e f : Matrix (Fin 3) (Fin 3) ℝ) (μ ν : Fin 4) : Fin 3 → ℝ
Defined in
arXiv:2610.35838 Eq. 10
Verified
31 Oct 2026
Axioms
none listed
Built on 1
  • ghz_pauli_coeffFor an orthonormal frame e of R^3 and index mu in {0, 1, 2, 3}, the Pauli coefficients of A_mu are given by A_0 = I (coefficient 1 at…
Used by 5
  • ghz_closed_network_lambda_le_twoFor every parameter alpha in R, all orthonormal frames e, f in O(3), and all setting indices mu, nu, mu', nu' in {0, 1, 2, 3}, the…
  • ghz_network_lambda_standard_frameFor the generalized GHZ state with parameter alpha, the identity frames e = I and f = I at indices (3, 0) and (1, 1) satisfy…
  • ghz_network_lambda_at_pi_div_four_leFor the maximally entangled state parameter alpha = pi/4, all orthonormal frames e, f in O(3), and all setting indices mu, nu, mu', nu' in…
  • ghz_two_copy_closed_lower_boundFor every parameter alpha, there exist orthonormal frames e and f in O(3) and setting indices mu, nu, mu', nu' in {0, 1, 2, 3} such that…
  • ghz_standard_frame_lambda_leFor the generalized GHZ state with parameter alpha and standard identity frames e = 1 and f = 1, the two-copy closed-network quantity…

Read back from the Lean

ghz_correlation_vector is a function that takes a real number α, two 3×3 real matrices e and f, and two indices μ, ν : Fin 4, and returns a vector Fin 3 → ℝ. Letting a = ghz_pauli_coeff e μ and c = ghz_pauli_coeff f ν (both being functions Fin 4 → ℝ), the vector assigns to each k : Fin 3: - if k = 0: Real.sin (2 * α) * (a 1 * c 1 - a 2 * c 2) - if k = 1: - Real.sin (2 * α) * (a 1 * c 2 + a 2 * c 1) - otherwise (i.e., k = 2): Real.cos (2 * α) * a 0 * c 0 + a 0 * c 3 + a 3 * c 0 + Real.cos (2 * α) * a 3 * c 3

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

/-- The correlation vector tau_{mu nu} for the generalized GHZ state |GHZ_alpha> in frames e and f. -/
noncomputable def ghz_correlation_vector (α : ℝ) (e f : Matrix (Fin 3) (Fin 3) ℝ) (μ ν : Fin 4) : Fin 3 → ℝ :=
  let a := ghz_pauli_coeff e μ
  let c := ghz_pauli_coeff f ν
  fun k =>
    if k = 0 then
      Real.sin (2 * α) * (a 1 * c 1 - a 2 * c 2)
    else if k = 1 then
      - Real.sin (2 * α) * (a 1 * c 2 + a 2 * c 1)
    else
      Real.cos (2 * α) * a 0 * c 0 + a 0 * c 3 + a 3 * c 0 + Real.cos (2 * α) * a 3 * c 3
See it in the graphDiscuss this resultChallenge it