13.4 The 45° Cosine and the Fixed CHSH Maximum
To reach the positive peak on this chapter’s Bell state using measurements in the real plane, how should Bob orient his orthogonal cross when Alice’s axes are fixed at ?
Turn Bob’s cross: it touches the top only at 45°. Both sides are at right angles, both magenta areas are full squares, and the magenta mark stands at . At the start, , Bob’s cross is aligned with Alice’s ( on , opposite ), so the four cyan steps are just : the ceiling is at the top, the CHSH value still at . The rail turns Bob’s cross from to , and the amber bar rises and falls as : at either end, touching the magenta mark only at . The figure stops at , reading .
The answer is (). In the source module CHSHWitness, Alice fixes her two observables along the orthogonal axes and , while Bob rotates his orthogonal cross by in the plane to the diagonal bisectors
defining the fixed two-qubit CHSH witness operator
The next corollary proves that across the subtype of all valid two-qubit density matrices (positive semidefinite of trace ), the set of real expectation values of this fixed operator has greatest element .
Let be the subtype of two-qubit density matrices. Then is the greatest element (IsGreatest) of the range of the real expectation map
over : that is, there exists with , and every satisfies
In Mathlib, IsGreatest s a means . The source module verifies both clauses:
- Achievability (): Take the valid density state from Theorem 13.1 and Lemma 13.2. Grouping terms simplifies to . Since and , direct trace evaluation gives .
- Upper bound over all states (): For every , because and are Hermitian involutions, the upper-bound difference matrix decomposes as a sum of positive semidefinite operators (meanwhile, by Proposition 13.4 with and , the exact operator square is with spectrum , taking eigenvalue on and on ). Pairing any positive semidefinite state of trace with this positive semidefinite difference yields . The full proof is checked by the Lean kernel.
Bob turned by 45°: the four cosines stack to 2√2. sits halfway between and , at ; three pairs meet at , the fourth pair , at . Each cyan step is ; the last cosine is negative and carries a minus sign, so it stacks upward too, for in all, right at the magenta mark and the line at the top of the gauge (Corollary 13.9; for the bound in any finite dimension see Theorem 13.8).
Observe the exact quantifier scope of Corollary 13.9: the frozen theorem optimizes over all positive semidefinite trace-one density matrices for the fixed operator CHSHWitness.chshOperator (with Alice’s observables fixed at and Bob’s at ). It does not quantify over arbitrary measurement directions or arbitrary Hilbert spaces; the upper bound for arbitrary observables in every finite dimension is Theorem 13.8 at , and the general Tsirelson theorem for infinite-dimensional, commuting-operator settings is placed in Remark 13.14.
Corollary 13.9 pins the quantum summit at . To call this a defeat of the classical side, the classical ceiling has to be pinned just as firmly. The rules for the classical opponent are these: Alice and Bob share a hidden variable in advance (called a fiber address, Fiber, in Lean), drawn from the same setting-independent distribution for all four setting pairs. Each of them then looks only at their own setting and at and answers , and neither sees which setting the other chose.
In the module ClassicalFiberBound:
-
boolValuereadsfalseas andtrueas ; -
A deterministic fiber model
DeterministicFiberModelis a structure consisting of two answer tables : one Boolean answer for each of the two measurement settings and each fiber address; -
observableturns an answer table into the real-valued function ; -
The CHSH value at a single fiber address,
chshAt, is defined aswhere and ;
-
For a finite type and weights , the classical CHSH value
classicalCHSHis defined as
Let be a finite type ([Fintype Fiber]) and let the weights be nonnegative (hmu_nonneg: for every ) and normalized (hmu_sum: ). Then:
-
For every deterministic fiber model (Definition 13.10),
-
The set has greatest element (
IsGreatest): belongs to the set, and every element of the set is at most .
Start with a single fiber address. Four real numbers with values commute pairwise and square to , so they satisfy Mathlib’s commutative CHSH inequality CHSH_inequality_of_comm, which gives . Negating both of Alice’s answers flips the sign of ; applying the same inequality to the flipped model gives . Now multiply termwise by the nonnegative weights , sum, and insert to get , which is claim 1 (classical_chsh_abs_le_two). For attainment, take the constant model in which Alice and Bob answer true for every setting and every fiber address: at each address , and the weighted sum equals (classical_chsh_eq_two_exists). Together these give claim 2. The full proof is checked by the Lean kernel.
The step at a single address can be counted out by hand.
At one fixed fiber address, Alice’s two answers and Bob’s two answers each take the values , for combinations. Rewrite the CHSH value as
Bob’s two answers stand in one of only two relations:
| Bob’s answers | CHSH value | combinations | ||
|---|---|---|---|---|
In each row the product that decides the sign takes the values and in half of the combinations each, so exactly eight of the sixteen combinations give and eight give ; none lies outside and none lies strictly inside. Any probabilistic mixture merely takes a weighted average between and , hence , in agreement with Theorem 13.11.
Each hidden direction gives only ±2, so the mean cannot leave 2. The same two crosses now face a classical model of 360 equally spaced hidden directions of weight each (the uniform hidden-direction toy model of step 3 of Example 13.13, with finitely many directions), a finite deterministic fiber model. Each tick on the ring is one hidden direction: cyan gives , magenta . As Bob’s cross turns from to , up to all 360 ticks stay cyan and the amber bar stays pinned at ; after that more and more ticks turn magenta and the bar sinks with them, to at , never leaving (Theorem 13.11). The figure stops at : cyan ticks and magenta, and the bar at . The dotted line is on the Bell state: at , at .
Both ends are now pinned: the CHSH value of a finite deterministic local model cannot leave the segment (Theorem 13.11), while the expectation of the fixed CHSH operator on quantum states reaches (Corollary 13.9). Their ratio is , the factor by which the arc exceeds the polyline. Mind the quantifier scope of each theorem: the classical side concerns deterministic answer tables over a finite set of fibers, and on the quantum side attainment concerns one fixed two-qubit operator, while the upper bound holds for every finite-dimensional unitary strategy (Theorem 13.8 at ); for the general forms see Remark 13.14 at the end of the chapter.
45°: the cosine arc above the toy classical line (2 min 23 s). Within the – plane, as the angle sweeps from to , the cyan cosine arc and the toy model’s line meet at , and , and at the arc stands higher; with Bob’s pair turned by the four cosines stack step by step to while the line stacks only to ; turning Bob’s pair from to , the value rises and falls as . Each of the sixteen deterministic answer tables gives only , and no weighted average leaves (Theorem 13.11); the extra term in comes from the two sides’ commutators (Proposition 13.4), and with both sides at right angles and Bob turned by the Bell state reaches , which no state exceeds (Corollary 13.9).
Why is the symmetric CHSH working angle? In a symmetric four-setting configuration (three adjacent pairs separated by and one pair separated by ), the four-correlator combination is , whose derivative attains its global maximum at ()! (Keep this four-setting optimization distinct from maximizing the single-chord pointwise difference against the linear toy model: the pointwise derivative peaks at with a single-chord gap of , whereas at the symmetric CHSH working angle each single-chord gap is , four of which sum to .) Let us now work through the complete numerical checklist connecting , , the four CHSH correlators, and the comparison between the cosine arc and a specific linear toy model.
The symmetric four-direction combination reaches only at . The horizontal axis is the angle between neighbouring directions; the cyan curve is on the Bell state. It starts at at , rises to at , falls back to near and reaches at . The green dashed line is the bound for finite deterministic local models (Theorem 13.11); the part of the curve above it is shaded magenta. The curve is computed from the formula.
This example provides a three-part verification checklist for the two-qubit Bell states and the CHSH configuration:
Step 1: Explicit matrix, partial traces, correlation tensor , and purity check for and . In the standard basis , the Bell density matrix is
Both partial traces equal the maximally mixed state , so the local Bloch vectors vanish: . Evaluating the correlation matrix () gives:
- For the triplet : , with Frobenius squared norm ;
- For the singlet (): all three diagonal correlations are negative, , also with (one must never copy the signs of onto !).
Substituting into the two-qubit purity identity gives
confirming that above the maximally mixed identity baseline (and with from the vanishing local Bloch vectors), of the non-identity purity excess is carried by the correlation term (). (Note: depicting as a “shared correlation area” is a visualization of the correlation entries, not a general entanglement monotone across arbitrary mixed states.)
Step 2: The four correlators and . On , set Alice’s observables to , and Bob’s observables to , . Using , , and , the four individual correlators are:
Combining them with the minus sign on yields
which exceeds the classical local hidden-variable bound by .
Step 3: Comparing the cosine curve with the specific toy-model polygonal line . In Figure 13, Panel III, we plot the positive-correlation convention (): for , when Alice and Bob choose directions in the plane separated by angle , their correlator is directly ; for the singlet , the raw correlator is , so plotting requires explicitly flipping Bob’s outcome sign ().
We compare against a specific uniform-direction hidden-variable toy model in which each pair carries a shared unit vector distributed uniformly on the circle (or sphere) and outputs and . Because the two hemicircles disagree on two wedges of angle out of , this specific toy model produces the piecewise-linear curve
(We emphasize that is the correlation function of this particular isotropic toy model, not the only curve attainable by general classical local models.) At the benchmark angles:
| Relative Angle | Quantum Cosine | Toy-Model Line | Gap | Geometric Interpretation |
|---|---|---|---|---|
| () | Collinear alignment; exact agreement | |||
| () | Cosine arc bulges above the chord (CHSH point) | |||
| () | Orthogonal equator; zero correlation | |||
| () | Symmetric negative bulge (gives ) | |||
| () | Antipodal opposition; exact agreement |
At the cardinal angles , both curves coincide at ; at , the cosine arc rises above the linear chord, and summing four such contributions lifts to !
Four bulges add up to 2√2 − 2. The horizontal axis is the angle between two directions. Three pairs land at , where the cyan cosine arc stands above the dark polyline; the fourth lands at , where the arc is below it, and with its minus sign that also counts . The four magenta segments add up to : the points on the arc stack to , those on the line to . Arc and line meet at , and ; the polyline belongs to this toy model only.
Literature result, not formalized in this book. To situate the frozen theorems of this chapter within the broader foundations literature, three classical results and physical boundaries should be kept distinct:
- The classical CHSH bound as the convex hull of deterministic models (J. F. Clauser, M. A. Horne, A. Shimony, and R. A. Holt, Proposed experiment to test local hidden-variable theories, Phys. Rev. Lett. 23, 880–884, 1969, 10.1103/PhysRevLett.23.880): The linear sawtooth in Example 13.13 is a specific illustrative toy model, not Bell’s theorem itself. The general CHSH inequality holds for every local stochastic hidden-variable model with , using the same setting-independent probability measure for all four setting pairs and a product of local responses at fixed : because a multilinear expression on attains its extrema at the vertices where one of is and the other is , every deterministic assignment satisfies , and convex averaging over any probability distribution enforces . The case of a finite set of hidden variables with deterministic responses is verified by Theorem 13.11; the general form, with an arbitrary probability measure and stochastic response functions valued in , remains a literature result: passing from the former to the latter requires writing stochastic responses as convex combinations of deterministic ones and replacing finite sums by integrals, and neither step is formalized in this book.
- The general Tsirelson bound for arbitrary Hilbert spaces and commuting observables (B. S. Cirel’son, Quantum generalizations of Bell’s inequality, Lett. Math. Phys. 4, 93–100, 1980, 10.1007/BF00417500): The finite-dimensional tensor-product case is formalized. Theorem 13.8 bounds the Bell value for any finite dimensions , any local unitary matrices (Hermitian involutions used for sharp binary measurements are a special case), and any density state; setting and negating both and gives (these two steps are manual derivations), and Corollary 13.9 shows that the fixed two-qubit operator
CHSHWitness.chshOperatorreaches on the Bell state. What remains a literature result is the general form of Cirel’son’s theorem: the Hilbert space may be infinite-dimensional, and Alice’s and Bob’s observables act on the same , subject only to , , , , and , with no tensor-product structure. A short argument: bounding the commutator norms by and in Landau’s identity gives , hence . Neither this general form nor this argument is formalized in this book (Proposition 13.4 holds only for finite-dimensional Kronecker products). - No controllable superluminal signaling: Violation of the CHSH inequality (verified across loophole-free Bell experiments) manifests in joint correlation statistics when Alice’s and Bob’s records are brought together afterward. Theorem 13.1 and Lemma 13.2 identify the static Bell-state marginal here as . Invariance after a measurement choice also needs the literature result for local operations (J. Watrous, The Theory of Quantum Information, 2018, Theorem 2.26 and §2.3.2): Alice applies a trace-preserving quantum channel locally; for a measurement, this means averaging over all outcomes without selecting a subset. The channel’s dual preserves the identity, so every local readout of Bob’s, and hence his unconditional marginal, stays unchanged — still in this Bell example. Subensembles conditioned on Alice’s outcome may have different marginals (conditional steering), but Bob needs her classical outcome records to identify those subensembles. Quantum entanglement therefore never permits controllable faster-than-light communication.
The full lab: drag the four arrows on the dial, change the two openings, and turn Bob’s pair with the rail; the three scenes are the dial, the hidden directions, and the arc against the line. The dashed on the gauge and the at its top are guaranteed by Theorem 13.11 and Theorem 13.8 (taking is a manual step); the other numbers on the page are a numerical illustration.
The Bell pure state has now shown us the first great lesson of higher-dimensional quantum geometry: local single-qubit lines can be completely drained () while of the state’s non-identity purity excess ( on top of the baseline) is stored in the non-local correlation tensor . That geometric fact suggests a decisive engineering strategy for fault-tolerant quantum computing: if, in a local noise model, environmental noise attacks local lines one qubit at a time, can we intentionally evacuate fragile logical information from local lines and hide it inside higher-dimensional stabilizer correlation areas and topological braids? Let us step into Chapter 14.