AFTD Auto-Formalizing Theoretical Domains

ghz_network_lambda_standard_frame

theoremverifiedformalization

For the generalized GHZ state with parameter alpha, the identity frames e = I and f = I at indices (3, 0) and (1, 1) satisfy Lambda(tau_{30}, tau_{11}) = 1 + sin^2(2*alpha).

Statement

theorem ghz_network_lambda_standard_frame (α : ℝ) : bell_network_lambda (ghz_correlation_vector α 1 1 3 0) (ghz_correlation_vector α 1 1 1 1) = 1 + Real.sin (2 * α) ^ 2
Formalizes
arXiv:2610.35838 Sec. III.4
Verified
01 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • bell_network_lambdaFor vectors u, v in R^3, Lambda(u, v) is defined as (1/2) * (s + sqrt(s^2 - 4 * (u . v)^2)) where s = |u|^2 + |v|^2.
  • ghz_correlation_vectorFor 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…
  • 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 1
  • 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…

Read back from the Lean

For every real number α, the value of bell_network_lambda evaluated on the two 3-dimensional vectors ghz_correlation_vector α 1 1 3 0 and ghz_correlation_vector α 1 1 1 1 (where both matrix arguments are the 3 × 3 identity matrix) is equal to 1 + sin²(2α).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

To evaluate the Bell network parameter $\Lambda(u, v) = \frac{1}{2}((u \cdot u + v \cdot v) + \sqrt{(u \cdot u + v \cdot v)^2 - 4(u \cdot v)^2})$ for the GHZ correlation vectors $u$ at setting $(3,0)$ and $v$ at $(1,1)$ under identity measurement frames, we first compute their inner products. Expanding the definitions shows that $u \cdot u = 1$, $v \cdot v = \sin^2(2\alpha)$, and the vectors are orthogonal ($u \cdot v = 0$). Substituting these values into the definition reduces the quantity under the radical to $(1 + \sin^2(2\alpha))^2$; because $1 + \sin^2(2\alpha) \ge 0$, the square root simplifies to $1 + \sin^2(2\alpha)$, and elementary algebra yields $1 + \sin^2(2\alpha)$.

  1. $u \cdot u = 1$, where $u$ is the correlation vector at setting $(3, 0)$ with identity measurement frames.

    We expand the 3-dimensional dot product into the sum of its three component products using `dotProduct` and `Fin.sum_univ_three`. We then unfold the definitions of the GHZ correlation vector and Pauli coefficients (`ghz_correlation_vector`, `ghz_pauli_coeff`). Since the measurement frames are the identity matrix, the third Pauli component gives 1 while the first two vanish, simplifying the sum of squares to $0^2 + 0^2 + 1^2 = 1$.

    lines 3–5

    uses dotProduct, Fin.sum_univ_three

      simp only [dotProduct, Fin.sum_univ_three]
      dsimp [ghz_correlation_vector, ghz_pauli_coeff]
      simp
  2. $v \cdot v = \sin^2(2\alpha)$, where $v$ is the correlation vector at setting $(1, 1)$ with identity measurement frames.

    Expanding the dot product into three components and unfolding the definitions of the correlation vector and Pauli coefficients, the first spatial component evaluates to $\sin(2\alpha)$ while the remaining two components vanish. Squaring and summing these terms simplifies to $\sin^2(2\alpha)$.

    lines 9–11

    uses dotProduct, Fin.sum_univ_three, sq

      simp only [dotProduct, Fin.sum_univ_three]
      dsimp [ghz_correlation_vector, ghz_pauli_coeff]
      simp [sq]
  3. $u \cdot v = 0$, meaning the vectors $u$ and $v$ are orthogonal.

    Expanding the dot product as a sum of three terms and evaluating the Pauli coefficients shows that in each component, at least one of the two vectors has a zero entry (since $u = (0, 0, 1)$ and $v = (\sin(2\alpha), 0, 0)$). Thus each term vanishes and the dot product is 0.

    lines 15–17

    uses dotProduct, Fin.sum_univ_three

      simp only [dotProduct, Fin.sum_univ_three]
      dsimp [ghz_correlation_vector, ghz_pauli_coeff]
      simp
  4. It suffices to evaluate the definition of $\Lambda(u, v)$ for the correlation vectors $u$ and $v$.

    We introduce abbreviations $u$ and $v$ for the correlation vectors at indices $(3,0)$ and $(1,1)$, respectively, and unfold the definition of the Bell network parameter `bell_network_lambda`, changing the goal to $\frac{1}{2}((u \cdot u + v \cdot v) + \sqrt{(u \cdot u + v \cdot v)^2 - 4(u \cdot v)^2}) = 1 + \sin^2(2\alpha)$.

    lines 21–24

      set u := ghz_correlation_vector α 1 1 3 0
      set v := ghz_correlation_vector α 1 1 1 1
      change (1 / 2 : ℝ) * ((u ⬝ᵥ u + v ⬝ᵥ v) + Real.sqrt ((u ⬝ᵥ u + v ⬝ᵥ v) ^ 2 - 4 * (u ⬝ᵥ v) ^ 2)) =
        1 + Real.sin (2 * α) ^ 2
  5. Substituting the inner products reduces the goal to $\frac{1}{2}((1 + \sin^2(2\alpha)) + \sqrt{(1 + \sin^2(2\alpha))^2 - 4 \cdot 0^2}) = 1 + \sin^2(2\alpha)$.

    We invoke the three helper lemmas establishing $u \cdot u = 1$, $v \cdot v = \sin^2(2\alpha)$, and $u \cdot v = 0$, and rewrite the inner products in the expression with these known values.

    lines 25–28

    uses ghz_network_lambda_standard_frame_u_dot_u, ghz_network_lambda_standard_frame_v_dot_v, ghz_network_lambda_standard_frame_u_dot_v

      have hu : u ⬝ᵥ u = 1 := ghz_network_lambda_standard_frame_u_dot_u α
      have hv : v ⬝ᵥ v = Real.sin (2 * α) ^ 2 := ghz_network_lambda_standard_frame_v_dot_v α
      have huv : u ⬝ᵥ v = 0 := ghz_network_lambda_standard_frame_u_dot_v α
      rw [hu, hv, huv]
  6. $\sqrt{(1 + \sin^2(2\alpha))^2 - 4 \cdot 0^2} = 1 + \sin^2(2\alpha)$.

    Because squares of real numbers are non-negative, $1 + \sin^2(2\alpha) \ge 0$ (verified by `positivity`). Since $4 \cdot 0^2 = 0$, the expression inside the square root simplifies to $(1 + \sin^2(2\alpha))^2 - 0 = (1 + \sin^2(2\alpha))^2$. Applying `Real.sqrt_sq` with the non-negativity hypothesis simplifies the radical to $1 + \sin^2(2\alpha)$.

    lines 29–32

    uses sub_zero, Real.sqrt_sq

      have hpos : 0 ≤ 1 + Real.sin (2 * α) ^ 2 := by positivity
      have hsq : Real.sqrt ((1 + Real.sin (2 * α) ^ 2) ^ 2 - 4 * (0 : ℝ) ^ 2) = 1 + Real.sin (2 * α) ^ 2 := by
        have : 4 * (0 : ℝ) ^ 2 = 0 := by ring
        rw [this, sub_zero, Real.sqrt_sq hpos]
  7. The Bell network parameter evaluation $\Lambda(u, v) = 1 + \sin^2(2\alpha)$ holds.

    Rewriting the radical term with its simplified value $1 + \sin^2(2\alpha)$, the left-hand side becomes $\frac{1}{2}((1 + \sin^2(2\alpha)) + (1 + \sin^2(2\alpha)))$, which reduces to $1 + \sin^2(2\alpha)$ by ring arithmetic.

    lines 33–34

      rw [hsq]
      ring
dotProduct
The standard dot product of two vectors, defined as the sum of their componentwise products $\sum_i u_i v_i$.
Fin.sum_univ_three
The sum of a vector over the three-element index type Fin 3 equals the sum of its values at indices 0, 1, and 2.
sq
The square of an element $a$ equals $a \cdot a$ ($a^2 = a \cdot a$).
ghz_network_lambda_standard_frame_u_dot_u
For any parameter $\alpha$, the GHZ correlation vector $u$ at setting $(3, 0)$ with identity measurement frames satisfies $u \cdot u = 1$.
ghz_network_lambda_standard_frame_v_dot_v
For any parameter $\alpha$, the GHZ correlation vector $v$ at setting $(1, 1)$ with identity measurement frames satisfies $v \cdot v = \sin^2(2\alpha)$.
ghz_network_lambda_standard_frame_u_dot_v
For any parameter $\alpha$, the GHZ correlation vectors $u$ at $(3, 0)$ and $v$ at $(1, 1)$ are orthogonal, that is, $u \cdot v = 0$.
sub_zero
Subtracting zero from any element leaves it unchanged ($a - 0 = a$).
Real.sqrt_sq
The square root of the square of any non-negative real number $x \ge 0$ is $x$ ($\sqrt{x^2} = x$).

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

lemma ghz_network_lambda_standard_frame_u_dot_u (α : ℝ) :    (ghz_correlation_vector α 1 1 3 0 ⬝ᵥ ghz_correlation_vector α 1 1 3 0) = 1 := by  simp only [dotProduct, Fin.sum_univ_three]  dsimp [ghz_correlation_vector, ghz_pauli_coeff]  simplemma ghz_network_lambda_standard_frame_v_dot_v (α : ℝ) :    (ghz_correlation_vector α 1 1 1 1 ⬝ᵥ ghz_correlation_vector α 1 1 1 1) = Real.sin (2 * α) ^ 2 := by  simp only [dotProduct, Fin.sum_univ_three]  dsimp [ghz_correlation_vector, ghz_pauli_coeff]  simp [sq]lemma ghz_network_lambda_standard_frame_u_dot_v (α : ℝ) :    (ghz_correlation_vector α 1 1 3 0 ⬝ᵥ ghz_correlation_vector α 1 1 1 1) = 0 := by  simp only [dotProduct, Fin.sum_univ_three]  dsimp [ghz_correlation_vector, ghz_pauli_coeff]  simp/-- The standard frame evaluation of Lambda(tau_{30}, tau_{11}) equals 1 + sin^2(2*alpha). -/theorem ghz_network_lambda_standard_frame (α : ℝ) : bell_network_lambda (ghz_correlation_vector α 1 1 3 0) (ghz_correlation_vector α 1 1 1 1) = 1 + Real.sin (2 * α) ^ 2 := by  set u := ghz_correlation_vector α 1 1 3 0  set v := ghz_correlation_vector α 1 1 1 1  change (1 / 2 : ℝ) * ((u ⬝ᵥ u + v ⬝ᵥ v) + Real.sqrt ((u ⬝ᵥ u + v ⬝ᵥ v) ^ 2 - 4 * (u ⬝ᵥ v) ^ 2)) =    1 + Real.sin (2 * α) ^ 2  have hu : u ⬝ᵥ u = 1 := ghz_network_lambda_standard_frame_u_dot_u α  have hv : v ⬝ᵥ v = Real.sin (2 * α) ^ 2 := ghz_network_lambda_standard_frame_v_dot_v α  have huv : u ⬝ᵥ v = 0 := ghz_network_lambda_standard_frame_u_dot_v α  rw [hu, hv, huv]  have hpos : 0 ≤ 1 + Real.sin (2 * α) ^ 2 := by positivity  have hsq : Real.sqrt ((1 + Real.sin (2 * α) ^ 2) ^ 2 - 4 * (0 : ℝ) ^ 2) = 1 + Real.sin (2 * α) ^ 2 := by    have : 4 * (0 : ℝ) ^ 2 = 0 := by ring    rw [this, sub_zero, Real.sqrt_sq hpos]  rw [hsq]  ring
See it in the graphDiscuss this resultChallenge it