Documentation

CslibFrontier.Computability.PCP.TwoProverGame.CHSH

The CHSH game #

The CHSH game Clauser, Horne, Shimony, Holt in the form of Cleve, Høyer, Toner, Watrous, §3.1: the referee sends uniformly random bits x to Alice and y to Bob, and accepts their answer bits a and b when a ⊕ b = x ∧ y (Cslib.PCP.TwoProverGame.chsh). Every deterministic strategy loses on at least one of the four questions (Cslib.PCP.TwoProverGame.winProb_chsh_le), and answering 0 always wins on three of them, so the classical value is 3/4 (Cslib.PCP.TwoProverGame.value_chsh). By Cslib.PCP.TwoProverGame.winProb_shared_le_value this also bounds strategies with shared randomness. Its entangled value cos²(π/8) is in CslibFrontier/Computability/PCP/TwoProverGame/Tsirelson.lean.

Main definitions #

Main results #

References #

The CHSH game Cleve, Høyer, Toner, Watrous, §3.1: uniform questions x, y, accepted when a xor b = x && y.

@[instance_reducible]

Bob's question in CHSH is a uniform bit.

theorem Cslib.PCP.TwoProverGame.winProb_chsh_const :
(chsh.winProb (fun (x : Bool) => false) fun (x : Bool) => false) = 3 / 4

Answering 0 to every question wins CHSH with probability 3/4.

Every deterministic strategy for CHSH loses on at least one of the four questions.