The CHSH inequality
ProvedFamousTheorems.chsh_inequality_commutativeThe CHSH inequality. Let be self-adjoint elements of a commutative star-ordered -algebra with and each commuting with each . Then
Clauser, Horne, Shimony and Holt derived this form of Bell's inequality in 1969. In a classical local hidden-variable theory, where all observables commute, the correlation is at most . Quantum mechanics allows values up to (Tsirelson's bound), and violations of the inequality have been confirmed experimentally.
Formalization note. Mathlib's CHSH_inequality_of_comm. IsCHSHTuple A₀ A₁ B₀ B₁ bundles the conditions that each element is a self-adjoint involution and that each commutes with each . The ring is commutative with a partial order compatible with the star structure (StarOrderedRing) and with scalar multiplication by (IsOrderedModule ℝ R).
import Mathlib
namespace FamousTheorems
theorem chsh_inequality_commutative {R : Type*} [CommRing R] [PartialOrder R] [StarRing R] [StarOrderedRing R] [Algebra ℝ R]
[IsOrderedModule ℝ R] (A₀ A₁ B₀ B₁ : R) (T : IsCHSHTuple A₀ A₁ B₀ B₁) :
A₀ * B₀ + A₀ * B₁ + A₁ * B₀ - A₁ * B₁ ≤ 2 := by sorry
end FamousTheorems