AFTD Auto-Formalizing Theoretical Domains

bell_flat_product_coordinate_obstruction

theoremverified

Let a, x and y be real four-vectors, with x and y orthogonal and each of squared norm one half. Let p and q be real, where q is nonnegative and less than one half. It is impossible that every coordinate satisfies p a_i² + q (x_i² + y_i²) = 1/4 and a_i x_i = 0.

Statement

theorem bell_flat_product_coordinate_obstruction
    (a x y : Fin 4 → ℝ) (p q : ℝ) (hq0 : 0 ≤ q) (hq1 : q < 1 / 2)
    (hx : (∑ i, x i ^ 2) = 1 / 2)
    (hy : (∑ i, y i ^ 2) = 1 / 2)
    (hxy : (∑ i, x i * y i) = 0)
    (hflat : ∀ i, p * a i ^ 2 + q * (x i ^ 2 + y i ^ 2) = 1 / 4)
    (hperp : ∀ i, a i * x i = 0) : False
Source
Arithmetic step for the Bell-pair product-basis obstruction related to OP-1653 and experiment 29881; the connection to quantum states is not asserted here.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The proof proceeds by contradiction. Using the normalization and orthogonality of x and y, the sum ∑_j (x_i x_j + y_i y_j)² is shown to equal (x_i² + y_i²)/2, while its j = i term bounds it from below by (x_i² + y_i²)², forcing x_i² + y_i² ≤ 1/2 for every coordinate i. Because 0 ≤ q < 1/2, this bound precludes a_i = 0 in the flat condition p a_i² + q (x_i² + y_i²) = 1/4, which would require q (x_i² + y_i²) = 1/4. Since each a_i ≠ 0 and a_i x_i = 0, every component x_i must be zero, contradicting the norm hypothesis ∑_i x_i² = 1/2.

  1. For each coordinate index i, (x_i² + y_i²)² ≤ ∑_j (x_i x_j + y_i y_j)².

    Fix an index i. In the sum ∑_j (x_i x_j + y_i y_j)², every term is a square and thus nonnegative by sq_nonneg. By Finset.single_le_sum and Finset.mem_univ, the full sum is at least the single summand where j = i. At j = i, the term is (x_i² + y_i²)², so non-linear arithmetic establishes the inequality.

    lines 8–12

    uses Finset.single_le_sum, sq_nonneg, Finset.mem_univ

      have hbound (i : Fin 4) : x i ^ 2 + y i ^ 2 ≤ 1 / 2 := by
        have hsum : (x i ^ 2 + y i ^ 2)^2 ≤ ∑ j, (x i * x j + y i * y j) ^ 2 := by
          have h := Finset.single_le_sum (f := fun j : Fin 4 => (x i * x j + y i * y j) ^ 2)
            (fun j _ => sq_nonneg _) (Finset.mem_univ i)
          nlinarith [h]
  2. For each coordinate index i, ∑_j (x_i x_j + y_i y_j)² = (x_i² + y_i²) / 2.

    Using congrArg, we multiply the normalization hypotheses ∑_j x_j² = 1/2 and ∑_j y_j² = 1/2 by x_i² and y_i² respectively, and multiply the orthogonality hypothesis ∑_j x_j y_j = 0 by 2 x_i y_i. Unfolding the four-term sums with Fin.sum_univ_four and expanding (x_i x_j + y_i y_j)² = x_i² x_j² + y_i² y_j² + 2 x_i y_i x_j y_j, nlinarith verifies that the total sum equals x_i²(1/2) + y_i²(1/2) + 0 = (x_i² + y_i²)/2.

    lines 13–18

    uses congrArg, Fin.sum_univ_four

        have hid : ∑ j, (x i * x j + y i * y j) ^ 2 = (x i ^ 2 + y i ^ 2) / 2 := by
          have hx' := congrArg (fun r : ℝ => r * x i ^ 2) hx
          have hy' := congrArg (fun r : ℝ => r * y i ^ 2) hy
          have hxy' := congrArg (fun r : ℝ => r * (2 * x i * y i)) hxy
          simp only [Fin.sum_univ_four] at hx' hy' hxy' ⊢
          nlinarith [hx', hy', hxy']
  3. For each coordinate index i, x_i² + y_i² ≤ 1/2.

    Combining the lower bound and the identity yields (x_i² + y_i²)² ≤ (x_i² + y_i²)/2. Assuming for contradiction that x_i² + y_i² > 1/2, both x_i² + y_i² and (x_i² + y_i²) - 1/2 are strictly positive. By mul_pos, their product is strictly positive, meaning (x_i² + y_i²)² - (x_i² + y_i²)/2 > 0, which contradicts (x_i² + y_i²)² ≤ (x_i² + y_i²)/2.

    lines 19–23

    uses mul_pos

        by_contra hh
        have ht : 0 < x i ^ 2 + y i ^ 2 := by linarith
        have hn : 0 < (x i ^ 2 + y i ^ 2) - 1 / 2 := by linarith
        have hn' := mul_pos ht hn
        nlinarith [hn']
  4. Every coordinate of x is zero: x_i = 0 for all i.

    For any index i, we first show a_i ≠ 0. If a_i = 0, the flat condition p a_i² + q (x_i² + y_i²) = 1/4 reduces to q (x_i² + y_i²) = 1/4. But since 0 ≤ q < 1/2 and x_i² + y_i² ≤ 1/2, sub_nonneg.mpr and mul_nonneg give q (x_i² + y_i²) ≤ q / 2 < 1/4, a contradiction. Because a_i ≠ 0 and the orthogonality condition a_i x_i = 0 implies a_i = 0 or x_i = 0 by mul_eq_zero.mp, it follows that x_i = 0.

    lines 24–33

    uses mul_nonneg, sub_nonneg.mpr, mul_eq_zero.mp

      have hz : ∀ i, x i = 0 := by
        intro i
        have hai : a i ≠ 0 := by
          intro ha
          have hf := hflat i
          have hb := hbound i
          rw [ha] at hf
          norm_num at hf
          nlinarith [mul_nonneg hq0 (sub_nonneg.mpr hb)]
        exact (mul_eq_zero.mp (hperp i)).resolve_left hai
  5. A contradiction is reached, proving False.

    Since x_i = 0 for every coordinate i, the sum ∑_i x_i² simplifies to 0, directly contradicting the hypothesis ∑_i x_i² = 1/2 ≠ 0.

    line 34

      simp [hz] at hx
Finset.single_le_sum
A single term in a finite sum of nonnegative elements is less than or equal to the total sum.
sq_nonneg
The square of any real number is nonnegative.
Finset.mem_univ
Every element of a finite type belongs to the universal finite set Finset.univ.
congrArg
If two values are equal, applying any function to both preserves equality.
Fin.sum_univ_four
A sum of a function over Fin 4 equals the sum of its values at indices 0, 1, 2, and 3.
mul_pos
The product of two strictly positive real numbers is strictly positive.
mul_nonneg
The product of two nonnegative real numbers is nonnegative.
sub_nonneg.mpr
If b ≤ a, then a - b ≥ 0.
mul_eq_zero.mp
If the product of two real numbers is zero, at least one of them must be zero.

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 bell_flat_product_coordinate_obstruction    (a x y : Fin 4 → ℝ) (p q : ℝ) (hq0 : 0 ≤ q) (hq1 : q < 1 / 2)    (hx : (∑ i, x i ^ 2) = 1 / 2)    (hy : (∑ i, y i ^ 2) = 1 / 2)    (hxy : (∑ i, x i * y i) = 0)    (hflat : ∀ i, p * a i ^ 2 + q * (x i ^ 2 + y i ^ 2) = 1 / 4)    (hperp : ∀ i, a i * x i = 0) : False := by  have hbound (i : Fin 4) : x i ^ 2 + y i ^ 2 ≤ 1 / 2 := by    have hsum : (x i ^ 2 + y i ^ 2)^2 ≤ ∑ j, (x i * x j + y i * y j) ^ 2 := by      have h := Finset.single_le_sum (f := fun j : Fin 4 => (x i * x j + y i * y j) ^ 2)        (fun j _ => sq_nonneg _) (Finset.mem_univ i)      nlinarith [h]    have hid : ∑ j, (x i * x j + y i * y j) ^ 2 = (x i ^ 2 + y i ^ 2) / 2 := by      have hx' := congrArg (fun r : ℝ => r * x i ^ 2) hx      have hy' := congrArg (fun r : ℝ => r * y i ^ 2) hy      have hxy' := congrArg (fun r : ℝ => r * (2 * x i * y i)) hxy      simp only [Fin.sum_univ_four] at hx' hy' hxy' ⊢      nlinarith [hx', hy', hxy']    by_contra hh    have ht : 0 < x i ^ 2 + y i ^ 2 := by linarith    have hn : 0 < (x i ^ 2 + y i ^ 2) - 1 / 2 := by linarith    have hn' := mul_pos ht hn    nlinarith [hn']  have hz : ∀ i, x i = 0 := by    intro i    have hai : a i ≠ 0 := by      intro ha      have hf := hflat i      have hb := hbound i      rw [ha] at hf      norm_num at hf      nlinarith [mul_nonneg hq0 (sub_nonneg.mpr hb)]    exact (mul_eq_zero.mp (hperp i)).resolve_left hai  simp [hz] at hx
See it in the graphDiscuss this resultChallenge it