For the spin singlet and ideal analyzers along unit axes a (Alice) and b (Bob), the chance of results A and B (each +1 or −1) is
P(A, B) = (1 − A B a·b) / 4, E(a, b) = −a·b
Along the same axis the answers are always opposite. Summing over Alice's results gives Bob 1/2 for + whatever axis Alice uses, and the same holds the other way round: neither side's choice changes the other side's own odds. With the axes 90° apart all four combinations have probability 1/4. The CHSH combination S = E(a,b) + E(a,b′) + E(a′,b) − E(a′,b′) reaches −2√2 for a = 0°, a′ = 90°, b = 45°, b′ = −45°.
Each simulated pair is drawn at random from P(A, B) with a seeded generator. All axes lie in one plane for clarity.
Read the numerical model · Validation record