The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Star.CHSH
18 declarations. Mathlib docs · Source
The Clauser-Horne-Shimony-Holt inequality and Tsirelson's inequality.
We establish a version of the Clauser-Horne-Shimony-Holt (CHSH) inequality (which is a generalization of Bell's inequality). This is a foundational result which implies that quantum mechanics is not a local hidden variable theory.
As usually stated the CHSH inequality requires substantial language from physics and probability, but it is possible to give a statement that is purely about ordered *-algebras. We do that here, to avoid as many practical and logical dependencies as possible. Since the algebra of observables of any quantum system is an ordered *-algebra (in particular a von Neumann algebra) this is a strict generalization of the usual statement.
Let R be a *-ring.
A CHSH tuple in R consists of
- four elements
A₀ A₁ B₀ B₁ : R, such that - each
AᵢandBⱼis a self-adjoint involution, and - the
Aᵢcommute with theBⱼ.
The physical interpretation is that the four elements are observables (hence self-adjoint)
that take values ±1 (hence involutions), and that the Aᵢ are spacelike separated from the Bⱼ
(and hence commute).
The CHSH inequality says that when R is an ordered *-ring
(that is, a *-ring which is ordered, and for every r : R, 0 ≤ star r * r),
which is moreover commutative, we have
A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ 2
On the other hand, Tsirelson's inequality says that for any ordered *-ring we have
A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ 2√2
(A caveat: in the commutative case we need 2⁻¹ in the ring, and in the noncommutative case we need √2 and √2⁻¹. To keep things simple we just assume our rings are ℝ-algebras.)
The proofs I've seen in the literature either
assume a significant framework for quantum mechanics,
or assume the ring is a C⋆-algebra.
In the C⋆-algebra case,
the order structure is completely determined by the *-algebra structure:
0 ≤ A iff there exists some B so A = star B * B.
There's a nice proof of both bounds in this setting at
https://en.wikipedia.org/wiki/Tsirelson%27s_bound
The proof given here is purely algebraic.
TODO
One can show that Tsirelson's inequality is tight.
In the *-ring of n-by-n complex matrices, if A ≤ λ I for some λ : ℝ,
then every eigenvalue has absolute value at most λ.
There is a CHSH tuple in 4-by-4 matrices such that
A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ has 2√2 as an eigenvalue.
References
- [Clauser, Horne, Shimony, Holt, Proposed experiment to test local hidden-variable theories][zbMATH06785026]
- [Bell, On the Einstein Podolsky Rosen Paradox][MR3790629]
- [Tsirelson, Quantum generalizations of Bell's inequality][MR577178]
We now prove some rather specialized lemmas in preparation for the Tsirelson inequality, which we hide in a namespace as they are unlikely to be useful elsewhere.
Before proving Tsirelson's bound, we prepare some easy lemmas about √2.
structure IsCHSHTuple E1 #
{R : Type u_1} → [inst : Monoid R] → [StarMul R] → R → R → R → R → Prop
A CHSH tuple in a *-monoid consists of 4 self-adjoint involutions A₀ A₁ B₀ B₁ such that
the Aᵢ commute with the Bⱼ.
The physical interpretation is that A₀ and A₁ are a pair of Boolean observables which
are spacelike separated from another pair B₀ and B₁ of Boolean observables.
ctor IsCHSHTuple.mk E0 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R},
A₀ ^ 2 = 1 →
A₁ ^ 2 = 1 →
B₀ ^ 2 = 1 →
B₁ ^ 2 = 1 →
star A₀ = A₀ →
star A₁ = A₁ →
star B₀ = B₀ →
star B₁ = B₁ →
A₀ * B₀ = B₀ * A₀ →
A₀ * B₁ = B₁ * A₀ → A₁ * B₀ = B₀ * A₁ → A₁ * B₁ = B₁ * A₁ → IsCHSHTuple A₀ A₁ B₀ B₁
theorem IsCHSHTuple.A₀_inv E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → A₀ ^ 2 = 1
theorem IsCHSHTuple.A₁_inv E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → A₁ ^ 2 = 1
theorem IsCHSHTuple.B₀_inv E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → B₀ ^ 2 = 1
theorem IsCHSHTuple.B₁_inv E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → B₁ ^ 2 = 1
theorem IsCHSHTuple.A₀_sa E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → star A₀ = A₀
theorem IsCHSHTuple.A₁_sa E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → star A₁ = A₁
theorem IsCHSHTuple.B₀_sa E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → star B₀ = B₀
theorem IsCHSHTuple.B₁_sa E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → star B₁ = B₁
theorem IsCHSHTuple.A₀B₀_commutes E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → A₀ * B₀ = B₀ * A₀
theorem IsCHSHTuple.A₀B₁_commutes E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → A₀ * B₁ = B₁ * A₀
theorem IsCHSHTuple.A₁B₀_commutes E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → A₁ * B₀ = B₀ * A₁
theorem IsCHSHTuple.A₁B₁_commutes E1 #
∀ {R : Type u_1} [inst : Monoid R] [inst_1 : StarMul R] {A₀ A₁ B₀ B₁ : R}, IsCHSHTuple A₀ A₁ B₀ B₁ → A₁ * B₁ = B₁ * A₁
theorem CHSH_id E1 #
∀ {R : Type u} [inst : CommRing R] {A₀ A₁ B₀ B₁ : R},
A₀ ^ 2 = 1 →
A₁ ^ 2 = 1 →
B₀ ^ 2 = 1 →
B₁ ^ 2 = 1 →
(2 - A₀ * B₀ - A₀ * B₁ - A₁ * B₀ + A₁ * B₁) * (2 - A₀ * B₀ - A₀ * B₁ - A₁ * B₀ + A₁ * B₁) =
4 * (2 - A₀ * B₀ - A₀ * B₁ - A₁ * B₀ + A₁ * B₁)
theorem CHSH_inequality_of_comm E1 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : StarRing R] [StarOrderedRing R]
[inst_4 : Algebra ℝ R] [IsOrderedModule ℝ R] (A₀ A₁ B₀ B₁ : R),
IsCHSHTuple A₀ A₁ B₀ B₁ → A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ 2
Given a CHSH tuple (A₀, A₁, B₀, B₁) in a commutative ordered *-algebra over ℝ,
A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ 2.
(We could work over ℤ[⅟2] if we wanted to!)
theorem TsirelsonInequality.sqrt_two_inv_mul_self E1 #
(√2)⁻¹ * (√2)⁻¹ = 2⁻¹
theorem tsirelson_inequality E1 #
∀ {R : Type u} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : StarRing R] [StarOrderedRing R]
[inst_4 : Algebra ℝ R] [IsOrderedModule ℝ R] [StarModule ℝ R] (A₀ A₁ B₀ B₁ : R),
IsCHSHTuple A₀ A₁ B₀ B₁ → A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ √2 ^ 3 • 1
In a noncommutative ordered *-algebra over ℝ,
Tsirelson's bound for a CHSH tuple (A₀, A₁, B₀, B₁) is
A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ 2^(3/2) • 1.
We prove this by providing an explicit sum-of-squares decomposition of the difference.
(We could work over ℤ[2^(1/2), 2^(-1/2)] if we really wanted to!)