Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 10 Pairwise Comparison, Always Consistent, Order-Independent: Dissolving the Non-Commutativity Puzzle and Berry Phase

“I keep feeling that the essence of quantum theory is this: compare things pairwise, always consistently, regardless of order.”

At first sight, the opening epigraph sounds like heresy to anyone trained in standard quantum mechanics: “How could quantum theory possibly be order-independent?! Isn’t noncommutativity the hallmark separating quantum mechanics from classical physics? On the three-dimensional sphere, rotating by about and then about lands at a completely different point from rotating about first and second! And transporting a state around a closed spherical triangle accumulates a path-dependent Berry geometric phase!”

That apparent clash exposes a foundational distinction between two things that textbooks routinely conflate: a time-ordered sequence of active physical operations that transform a state, versus the global Gram ledger of pairwise inner products among a family of states.

Across four sections, this chapter makes the boundary between the two completely rigorous:

  1. Sequential spherical rotations and projective shutters genuinely fail to commute (, ), while the Berry solid-angle holonomy of closed loops and its relation to the three-vertex Bargmann invariant are recorded in Remark 10.1;
  2. Sequential quantum instruments depend strictly on operational order and post-measurement updates, which cannot be inferred from static single-step POVM effects alone (Proposition 10.5 proves a parameter-free qubit counterexample where two instruments share identical static effects yet yield sequential joint probabilities and );
  3. Why local coordinate charts on look path-tangled: the tangent-bundle and Hopf-bundle topological obstructions on versus the global rotor frame on are summarized in the literature notes Remark 10.6 and Remark 10.11;
  4. Where true order-independent pairwise consistency lives: when we retain the labeled full complex Gram matrix (with complex phases intact, not merely squared moduli ), reading its pairwise entries in any order reconstructs the entire family of state vectors uniquely up to a single common ambient unitary (Theorem 10.7 and Lemma 10.8), while the complex phase of the cyclic triple product is already retained inside (compared with Berry phase in Remark 10.1)!

Figure 10. The chapter at a glance. Panel I: two amber arcs leave the North Pole ; turning about and then lands at , turning about and then lands at , and the two ends are apart. Panel II: the small cyan arrows on the sphere at the left shrink to zero at both poles (violet rings; a literature result, not formalized in this book), while the dashed circle at the right stands for the rotor sphere and carries a violet frame at every point. Panel III: the full complex Gram table of the three states of Example 10.9, with the pairwise complex overlaps in the cyan cells (Theorem 10.7).

10.1 Rotation Order and Berry Solid Angle

Begin by honoring genuine noncommutativity where it actually occurs.

Take the Bloch sphere in Panel I of Figure 10 and apply active right-hand rotations to the North Pole :

  • If we rotate first about by and second about by , the first step carries North to the east pole , and the second rotation about the axis leaves fixed:

  • If we reverse the order — rotating first about by and second about by — the first step carries North to , which is then fixed by the -axis rotation:

The same two turns in the other order end somewhere else. From the North Pole, the amber point turned about and then ends at ; the one turned about and then ends at , away. In the second step neither point moves, yet the amber arrow attached to each turns by .

Likewise, the north projector and east projector do not commute:

Swap the two shutters and the arrow ends on a different line. This is the real plane of state vectors, where the cyan lines and are apart ( on the Bloch sphere). Starting from the same grey , the left panel projects onto the line first and then onto the line, so the amber ends on the horizontal line; the right panel reverses the order, and the amber ends on the slanted line, much shorter.

Furthermore, the classical correspondence between closed-loop geometric holonomy on and three-vertex complex overlap invariants is recorded below (Remark 10.1).

Remark 10.1 (Octant Berry Geometric Phase and the Solid-Angle Reading of the Bargmann Argument (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book. If a qubit state traverses the closed octant geodesic triangle enclosing oriented solid angle (one-eighth of the sphere), the real direction returns to , yet under the standard spin-up eigenline convention its transported spinor acquires Berry’s geometric phase (Berry, 1984; Simon, 1983) equal to minus one-half of the oriented solid angle:

Capturing this geometric phase does not require integrating differential equations along a path: if we retain the pairwise complex overlaps among the three vertices , the cyclic three-vertex Bargmann invariant (Bargmann, 1964; Pancharatnam, 1956)

is invariant under independent vertex phase rephasings , and its complex phase encodes the solid angle directly via (see Remark 10.11 at the end of the chapter for full differential-topological details).

itself, however, is no longer a literature result: its Bloch form and its value on the octant loop are Theorem 10.2 below. What remains literature is the link between the argument and the solid angle and Berry phase.

An eighth of the sphere. The cyan loop encloses a magenta area . Carried once round, the amber arrow comes back to turned by from the dashed direction it set out in; the cyan needle at the lower right is the phase of the product of neighbouring inner products, — exactly half the area. The general link between turn, phase and area is the literature result above, not formalized in this book; the value of itself is Theorem 10.2 below.

Where the modulus and the argument come from. By Theorem 3.12 of Chapter 3, the three-point Bargmann product is the trace of the three projectors multiplied in order: , with . On a qubit every projector is , so this trace can be read off entirely from the three Bloch vectors.

Theorem 10.2 (The Qubit Three-Point Bargmann Trace: a Scalar Part plus an Oriented Volume)LEAN ✓

For let

  1. For all ,

  2. In particular, and .

Claim 1 does not require to be unit vectors; is a projector only for a unit vector .

Proof

Lean multiplies the three matrices entry by entry, takes the trace, and collects terms using . The same computation is written compactly with the Pauli multiplication table (a manual derivation):

where the second line uses , and . Multiplying by and using gives Claim 1. Claim 2 is Claim 1 at : all three pairwise dot products vanish and the triple product is . The full proof is checked by the Lean kernel.

The modulus remembers the three sides; the argument remembers the volume. The squared modulus of an overlap is the Born weight (the half-angle formula of Example 2.7 in Chapter 2), so with , and we get . Theorem 10.2 gives the same modulus: for unit vectors the square of the triple product is the Gram determinant , and substituting it gives

(a manual derivation; expand both sides to check). So the modulus of remembers only the compatibility of each side, while the argument

holds something no single side can see: the oriented volume spanned by the three Bloch vectors. Walking the loop backwards swaps and , which flips the sign of the volume and turns into its conjugate; this is why, in the card “Walked the other way, the handedness flips” below, the three squared moduli stay the same while the pointer turns the other way. Reading this argument as the solid angle of the geodesic triangle, , takes in addition the solid-angle formula of Van Oosterom and Strackee, (literature result, not formalized in this book; see Remark 10.1).

Example 10.3 (Ever Larger Geodesic Triangles: the Modulus of Δ Shrinks While Its Argument Follows the Area)

Take , and : one corner of the triangle sits at the north pole, the other two on two perpendicular meridians, both at distance from the pole. Then , and , and by Theorem 10.2

The last column of the table computes the spherical excess independently, from the three side lengths by L’Huilier’s formula, without using ; values are rounded to the digits shown.

(L’Huilier)

The row is the octant loop: , which is Claim 2. As the triangle grows, its two sides from the north pole become less and less compatible and keeps shrinking, while the argument keeps growing and is always half the area. The fifth column equals the fourth row by row, which is the manual derivation above; the last two columns agree row by row, which is a numerical check of the Van Oosterom–Strackee formula on these five triangles, not a proof.

Film · One orthogonal step, then another: two-angle addressing and the Berry phase · 1:58

One orthogonal step, then another: two-angle addressing and the Berry phase (1 min 58 s). Turning about a single axis, the amber point only draws a circle; a tilt of about followed by a twist of about lands it on , and two axes only apart still reach a target in four alternating turns (Theorem 9.2). Then two turns taken in either order stop at and at ; carried around the octant loop, the arrow comes back turned by the enclosed area ; finally the overlap of Corollary 10.4 multiplies out to , whose phase stays put when every state is re-phased (for the Berry phase and the area, see Remark 10.1).

To compute complex overlaps along any latitude circle cleanly, the Lean module BargmannImaginaryMaximizers defines, for and , the two-component complex vector

Corollary 10.4 (Complex Conjugate Dot Pairing on a Latitude Circle)LEAN ✓

Let satisfy , and let be arbitrary complex numbers. Then the complex conjugate dot product satisfies

Proof

Expanding the dot product over Fin 2, the first component contributes since , and the second component contributes since . Adding the two terms gives . The full proof is checked by the Lean kernel.

Note the exact contract of Corollary 10.4: it holds for all complex without assuming (unit normalization of latitude t z requires unless ), and it computes inner-product overlaps rather than Berry holonomy itself. On the equator with () and (), Corollary 10.4 immediately evaluates the overlap , exhibiting the angle directly inside the pairwise Gram entry.

Once round the equator. The four corners all lie on the latitude , so by Corollary 10.4 each neighbouring inner product is ; their product is and the cyan needle at the lower right stops at . The magenta area is the whole northern hemisphere, . The amber arrow returns to on top of the dashed one, as if it had not turned; the full magenta disc beside it shows that it has in fact turned a whole circle.

10.2 Keeping Instruments and Time Order

Before turning to global Gram reconstruction, let us enforce a crucial operational boundary: pairwise consistency of state overlaps never makes sequential physical operations commute, nor does it allow sequential measurement statistics to be deduced from static single-step effects alone.

In quantum measurement theory, a binary qubit instrument is specified by Kraus operators (). Its static POVM effects are (summing to ), whereas its post-measurement branch update on state is . If we left-multiply each Kraus operator by a unitary such as Pauli , the static effects remain completely unchanged — yet the post-measurement state is flipped! The following frozen proposition gives a hypothesis-free counterexample where two instruments have identical static effects for every outcome, but produce two-step joint Born weights and .

Proposition 10.5 (Separation of Two-Step Sequential Joint Laws Under Identical Static Effects)LEAN ✓

In , let and . Define two -indexed instruments

along with , , and . Then all five statements hold:

  1. For every , ;
  2. ;
  3. ;
  4. ;
  5. .
Proof

Since and , every outcome satisfies

establishing conjuncts 1–3. For the initial state and first outcome , the projective instrument leaves the branch state , whose product with has trace ; the flipped instrument sends to , whose product with equals and has trace . The full proof is checked by the Lean kernel.

Same effect, different exits start effect of “false” exit state I − P₀ N E = P₀ projective K = P₀ N stays at the north pole 0 N E = P₀ flipped L = X P₀ N turned to the south pole 1 identical LEAN ✓

Same effect, different exits. Both rows start at the north pole and record the outcome , and the cyan box in the middle is the same effect . In the top row the projective instrument leaves the amber point at the north pole; in the bottom row the flipped instrument turns it over to the south pole. Far right are the readings of the second shutter : and (Proposition 10.5).

10.3 Hairy Ball, Hopf Fibers, and the Rotor Sphere

Why does local coordinate descriptions on the Bloch sphere inevitably run into gauge patches, phase twists, and singular poles? Why can we not simply assign a smooth tangent ruler and a smooth unit spinor to every direction once and for all?

Panel II of Figure 10 contrasts the two distinct topological obstructions on the base sphere with the global parallelizability of the rotor sphere (recorded below in Remark 10.6):

Remark 10.6 (Hairy Ball Obstruction on S², Hopf Principal Bundle, and Global Rotor Frame on S³ (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book. The two global topological obstructions on the base sphere and the global parallelizability of the total space contrast as follows (for full citations see Remark 10.11):

  1. The Hairy Ball obstruction on the tangent bundle (): By the Poincaré–Hopf theorem, for any smooth tangent vector field with isolated zeros on a compact oriented manifold , the sum of its zero indices equals the Euler characteristic . Because , every continuous tangent vector field on must vanish somewhere. Explicitly, the meridian tangent field

    equals at and vanishes at the two isolated poles ; each zero has index , summing to .

  2. The Hopf bundle obstruction to a global phase section (): Distinct from the tangent bundle (Euler number ) is the Hopf principal circle bundle

    projecting unit spinors in onto pure-state rays in . Choosing a continuous phase convention across all would define a global continuous section of this principal -bundle. Because a principal bundle admits a global continuous section if and only if it is trivial, and the Hopf bundle has first Chern number of magnitude (), no continuous global section exists. In the Dirac monopole connection convention, the northern gauge potential and southern gauge potential differ on the equatorial overlap by , with curvature integrating to .

  3. Global parallelizability of the rotor sphere (): Step up from the base sphere to the total space — realized geometrically as the norm-one rotor group inside the even Clifford algebra (or unit quaternions). Here , and multiplying any unit rotor by the three bivectors of Chapter 9 produces an explicit, smooth, nowhere-vanishing global orthonormal tangent frame:

    Remember two essential distinctions: the homomorphism is a double cover rather than an isomorphism, and global parallelizability of the total space trivializes without providing a global section over the base sphere .

The point that cannot be combed. The small cyan arrows are , the shadow of the vertical on each tangent plane. The amber point walks north from along a meridian; its arrow, of length , shrinks and vanishes at the North Pole. The two poles circled in violet are the only zeros of this field, each of index (a literature result, not formalized in this book).

Singularities arise when we try to flatten the phase fiber onto ; on the rotor sphere , the global frame never vanishes.

south pole: no phase fits φ increases hand: the phase of ⟨1|ψN⟩

In the north gauge the phase turns once around the south pole, so it has no value there. The southern hemisphere seen from above, with the south pole at the centre. On two latitude circles, the cyan hand in each dial is the phase of for the north-gauge representative : once round a circle, the hands turn once round too; the inner circle, closer to the pole, still gives one full turn, so no value fits at the pole inside the dashed violet ring. That the Hopf bundle has no global section is a literature result, not formalized in this book (Remark 10.6).

10.4 Reconstruction from the Full Complex Gram Matrix

We are now ready to state the exact mathematical theorem behind “compare things pairwise, always consistently, regardless of order” (Panel III of Figure 10).

Suppose we have a finite family of complex state vectors arranged as the columns of an matrix . Instead of referencing an external basis or cutting a singular phase chart on , record the full complex Gram matrix of pairwise inner products:

Whenever a second matrix has the exact same complex Gram matrix , the following frozen theorem guarantees a single common ambient unitary matrix such that .

U N +X +Y −X A: ψ0, ψ1, ψ2​ B = UA: the same table

Same table of pairwise overlaps, one common turn. The grey triangle joins (the three states of Example 10.9); the ink triangle , with , joins . The two violet curved arrows are one and the same turn about the vertical axis, carrying the whole triangle rigidly, and the two complex Gram matrices agree entry by entry (Theorem 10.7).

Theorem 10.7 (Ambient Unitary Reconstruction from Equal Complex Gram Matrices)LEAN ✓

Let be a finite index type with decidable equality (Fintype m, DecidableEq m) and let be any finite index type (Finite n). For any two complex matrices , if their complex Gram matrices are equal,

then there exists an ambient unitary matrix such that

Proof

The equality implies for every column coefficient vector . Hence the linear assignment is a well-defined linear isometry from the column space onto . Because is finite-dimensional, the orthogonal complements and have equal dimension and admit a linear isometry between them; combining the two orthogonal summands yields a unitary matrix satisfying . The full proof is checked by the Lean kernel.

Note the precise mathematical contract of Theorem 10.7:

  1. No extra hypotheses: Neither normalization, invertibility, full column rank, a spanning assumption, nor nonemptiness of the index types is required;
  2. Uniqueness up to a common ambient unitary: Neither nor coordinates are unique in general; this is an existence theorem, not a numerical reconstruction algorithm;
  3. Full complex overlaps and labels retained: Reconstruction requires the full complex Gram equality with index labels preserved, not merely transition probabilities .

Let us pause to appreciate why Theorem 10.7 resolves the apparent tension between path-dependent rotations and order-independent pairwise consistency:

  • Why solo local coordinate charts look path-dependent: When an observer insists on describing each state separately by picking a single reference axis and a local phase chart on , the global bundle obstructions recorded in Remark 10.6 force singular poles and path-dependent gauge jumps.
  • Why the full complex Gram matrix is globally consistent and order-independent: Instead of projecting states onto an arbitrary external basis , records the direct relation between state and state for every pair . Reading or verifying the entries of this Hermitian table in any order — whether row by row, column by column, or along a triangle — always refers to the same globally consistent inner-product geometry, which Theorem 10.7 guarantees can be realized in uniquely up to a single common ambient unitary .
  • Why full complex phases matter: If one discards complex phases and keeps only the real transition probabilities , then the octant triangle and its mirror-reflected conjugate triangle share the exact same squared moduli , losing the sign of the solid angle . Retaining the full complex Gram entries preserves the cyclic Bargmann product and hence the exact geometric phase!

Moreover, for any family of normalized vectors in an inner-product space over , unit overlap characterizes literal equality of records and defines an equivalence relation.

Lemma 10.8 (Unit-Overlap Characterization of Equality for Normalized Records)LEAN ✓

Let be a real or complex scalar field (RCLike 𝕜), let be a normed inner-product space over , let be any index type, and let satisfy for all . Then:

  1. For all , ;
  2. The relation is an equivalence relation on .
Proof

For unit vectors , expanding shows that implies , hence ; the converse is immediate from . Since the relation coincides with equality of records, reflexivity, symmetry, and transitivity follow immediately. The full proof is checked by the Lean kernel.

Notice that Lemma 10.8 requires overlap equal to , not modulus (which identifies rays rather than vectors in the complex case), and requires neither completeness nor finite dimensionality.

Example 10.9 (An Octant Triangle, a Complex Gram Matrix, and an Order Counterexample)

(In this example, the spin-up Berry-phase convention in item 1 and the Poincaré–Hopf zero-index sum in item 5 are each a literature result, not formalized in this book; see Remark 10.1, Remark 10.6, and Remark 10.11.)

  1. Octant vertices, complex Gram matrix, and Berry phase: In , take the three unit column vectors corresponding to North , east , and :

    With , Corollary 10.4 at gives , so the complex Gram matrix (for ) is

    The cyclic Bargmann product is

    with modulus and argument . Its geodesic Bloch triangle has oriented solid angle . Under the chosen spin-up Berry convention, (distinguishing from the opposite sign in this Berry convention).

  2. Simultaneous unitary versus label permutation: Applying to the column matrix gives with . A label permutation transforms the Gram matrix to rather than leaving entries literally equal in the original indexing, and full complex phases are essential — alone loses the orientation sign.

  3. Noncommuting rotations and projectors: Active right-hand rotations obey whereas . Likewise for and .

  4. Sequential instrument counterexample: For , , and , both instruments share identical static effects . Starting at , conditioning on first outcome , and reading second effect , the unnormalized joint Born weights are for and for .

  5. Hairy-ball zeros and global rotor frame: On , is tangent, equals at , and vanishes only at , where both isolated zeros have index , totaling . On the unit quaternion/rotor sphere , forms a global nowhere-vanishing tangent frame.

Walked the other way, the handedness flips. The same triangle taken as : the magenta area is just as large, but the amber arrow turns the other way and the cyan needle at the lower right stops at . The three neighbouring squared moduli are still all : squared moduli alone cannot tell the two walks apart.

10.4.1 A Timeless Interpretation: How Gram Geometry Constrains Causally Compatible Choices

Author’s Original Words: “The essence of order-independence is that sequential before-and-after time simply does not exist at all… and that is why causality is so necessary.” This single sentence slices straight through the 2,500-year-old “riddle of time” and “Hume’s knot of causality.”

Author’s Original Words: “Because the observer is finite, the causality experienced is finite; the observer’s choice is made within the causally compatible space, continuously picking points in the time field.”

Why is the pairwise inner-product ledger of the Gram matrix so thoroughly order-independent? For a fixed family of states, the mathematical answer is that reading a table of relations does not change those relations. This book’s timeless interpretation takes the structure one step further: taking the absence of a sequential before-and-after flow at the foundational layer of quantum state geometry as an interpretive premise, it understands causal necessity as the geometric rigidity of global positive-semidefinite compatibility, and undetermined orthogonal directions as a finite observer’s “causally compatible choice space.” This is the book’s natural-philosophical position. What follows identifies its mathematical supports and the additional premises needed to move from static compatibility to physical causation and choice.

Let us develop this insight across four interconnected pillars:

  1. What Taylor Coefficients Contribute to the Image of “De-Ordering” — and Where They Stop Recall the emergence of the classical timeline analyzed in Chapter 3 together with the Taylor series of the cosine function examined in Chapter 6:

    Look closely at the factorial denominator . The -th Taylor coefficient is because differentiating times produces ; the cosine’s even derivatives at the origin are , giving the coefficients above. In combinatorics, labeled objects do have permutations. But interpreting division by that factorial as removing redundant counts requires a separate argument that these permutations contribute equally and are counted repeatedly. The series itself supplies no such physical premise.

    Within this book’s timeless interpretation, this normalization can serve as a geometric image of "de-ordering"; the factorial coefficients do not thereby prove that time is absent or erase the order of actual operator actions. For example, with and the fixed Hamiltonian (the Pauli matrix), the explicitly time-dependent unitary evolution uses exactly the same Taylor coefficients and preserves . Applying to every state also preserves their Gram ledger, while individual states can still evolve in time. Moving from this order-independence to "timelessness at the base layer" therefore requires the book’s interpretive premise; the noncommuting rotations and sequential-instrument differences calculated earlier remain intact.

  2. Hume’s Causality Knot vs. Spinoza’s Triangle & Gram Matrix PSD Rigidity More than two centuries ago, David Hume posed a devastating challenge to human reason: if one presupposes a one-dimensional sequential flow of time, experience only ever reveals habitual conjunction (“event follows event ”), never a necessary logical bond proving that must produce . As long as causality is sought inside a temporal chain of “earlier moments pushing later moments,” causal necessity dissolves into psychological habit.

    How is Hume’s knot untied? Already in the seventeenth century, Baruch Spinoza (Ethics, Part I, Proposition 17 Scholium) pointed to a timeless alternative: true necessity is never a temporal push from cause to effect, but timeless geometric implication — “just as from the nature of a triangle it follows from eternity and to eternity that its three angles equal two right angles.” In a Euclidean right triangle, the legs and do not grow first in time and then “push” the hypotenuse into becoming a few nanoseconds later; all three sides coexist timelessly, and orthogonality locks the hypotenuse at in zero elapsed time.

    The geometric image of Spinoza’s triangular necessity can be illustrated by positive semidefiniteness of the Gram matrix of three real unit vectors. We now adopt a real inner-product model: are unit vectors; pure-qubit Bloch directions, for example, correspond to . This real Gram matrix must be distinguished from the state-vector Gram matrix retaining complex phases in the preceding section. Using the usual vector angles , write

    positive semidefiniteness of the Gram matrix (whose determinant equals the squared 3-wedge volume ) enforces the static non-negativity constraint:

    Completing the square with respect to reveals the geometric anatomy of this inequality:

    When the three vectors lie in the same two-dimensional correlation plane (vanishing 3-wedge volume ), the boundary condition restricts the third overlap to two candidate endpoints on the shell:

    The two known overlaps generally do not select the sign: when , for example, coplanar configurations allow both and . Selecting a branch also requires specifying whether the transverse components lie on the same or opposite sides of the axis. The endpoints coincide only when the square root vanishes. The relation has two distinct implications:

    • First, 100% permutation symmetry (order-independence): The equation contains no timestamps and is completely invariant under any relabeling of ;
    • Second, geometric rigidity as a support for the causal interpretation: Once the two overlaps and the coplanar branch are given, the third overlap is fixed. This necessity expresses structural compatibility within one real-vector configuration; the determinant’s permutation symmetry does not itself select a direction in which “ causes .” The book reads this as a geometric image of causal necessity. Describing a concrete physical process still requires dynamics, instruments, and their order of action.
  3. The Gram Elliptope and the Finite Observer’s “Causally Compatible Choice Space” How can geometric rigidity still leave relations undetermined? The completed-square inequality supplies the answer: fixing leaves an interval of possible . When the residual radius , projecting and perpendicular to gives nonzero transverse components and . Define as the angle between these components, equivalently between the oriented bivectors and . This convention gives the plus sign below. Using the angle between and instead reverses the sign of the cosine term.

    In the three-dimensional correlation coordinates , the inequality carves out a pillow-shaped convex body known in semidefinite programming and quantum correlation theory as the Gram elliptope. Every point is realizable by real unit vectors, but a fixed ambient dimension also requires : accommodates the entire elliptope, whereas permits only configurations with (still subject to the corresponding rank bound).

    • The compatibility shell in the causal interpretation: No configuration in this real-unit-vector model can lie outside the elliptope; would require a negative squared volume. The book understands this structural constraint as the geometric cage of causal law. It constrains compatible relations without itself specifying an arrow of time or a causal direction.
    • The finite observer’s causally compatible space: If the observer knows only two overlaps, the residual radius is positive, and the ambient dimension is at least , the unread transverse angle leaves the interval . The values give coplanar endpoints; gives and nonzero 3-volume. If the residual radius vanishes, the interval collapses to , the transverse angle is undefined, and this freedom disappears. Finiteness alone guarantees neither a positive radius nor the observer’s ability to realize every statically compatible completion. Reading the interval as a “choice space” also requires the physical system to provide the corresponding reachable states and controls. Under these conditions, the book interprets selecting an undetermined relation as the observer picking a point in the causally compatible space.
  4. Clear Epistemic Boundary: Distinguishing Formalized Algebra from Natural-Philosophical & Cosmological Literature In keeping with the strict epistemic contract of this book, we distinguish the mathematical results proved in Lean 4 — ambient unitary reconstruction from equal complex Gram matrices (Theorem 10.7), the unit-overlap equivalence criterion (Lemma 10.8), the separation between static effects and sequential instruments (Proposition 10.5), and the negative-line parity theorem for embedded linear doilies developed in the next subsection (Theorem 10.10) — together with standard linear-algebraic Gram determinant non-negativity and the convex geometry of the Gram elliptope, from the broader philosophical and quantum-cosmological literature connecting order-independent Gram geometry and causally compatible choice spaces to Hume’s problem of causation, Spinoza’s geometric necessity, and timeless quantum mechanics (the Wheeler–DeWitt equation and the Page–Wootters conditional-time mechanism), which we develop in full in Chapter 25 of Part VII (building on the circuit-complexity bounds of Chapter 20).

10.4.2 From Single-Context Compatibility to Overlapping-Context Obstruction: Negative-Line Parity in a Linear Doily

We have seen that retaining full complex phases allows the pairwise Gram matrix of a family of state vectors to reconstruct their global configuration up to a single ambient unitary (Theorem 10.7), and within any single mutually commuting measurement context the operators share a common eigenbasis and admit compatible joint outcomes. When several mutually commuting contexts overlap in a shared network of observables, however, does pairwise compatibility inside each individual context guarantee a global context-independent valuation ?

First check the classic 9-point two-qubit () Peres–Mermin Pauli square by hand:

Along each of the three rows and each of the three columns, the three observables commute pairwise: all three row products equal , the first two column products equal , and the third column product equals because . Since every one of the observables belongs to exactly two of these contexts (one row and one column), any noncontextual assignment respecting the operator product sign on every row and column would make the product of the three row equations equal and the product of the three column equations equal , whereas both equal — an immediate parity contradiction.

Expanding from this 9-point subgrid to the full 15-point, 15-line symplectic configuration of nontrivial two-qubit Pauli observables — or more generally to any 4-dimensional nondegenerate -symplectic subspace embedded in the -qubit Pauli group for (the symplectic generalized quadrangle , known as a linear doily) — reveals an intrinsic parity invariant independent of the ambient qubit count . In the Lean formalization on (Fin N → ZMod 2 × ZMod 2), canonicalLabel sends to the single-qubit Pauli matrices (with ), and takes the corresponding -fold Kronecker Pauli word; the binary symplectic form is

which vanishes precisely when the associated Pauli words commute. A -submodule satisfies IsLinearDoily U when and is nondegenerate on (). Its nonzero vectors form , and its totally isotropic three-point projective lines form

Because the three observables on any line commute pairwise, their list product is independent of ordering, and the negative lines are collected in .

Theorem 10.10 (Negative-Line Parity Obstruction in a Linear Doily)LEAN ✓

For every natural number and every -submodule , if is a four-dimensional nondegenerate symplectic subspace (IsLinearDoily U), then the cardinality of its set of negative lines is odd:

Proof

Because IsLinearDoily U supplies and nondegeneracy of the restricted symplectic form , a symplectic Darboux basis identifies with the standard two-qubit symplectic space , preserving all nonzero points and isotropic triples . Tracking the phase factors relating observable(u) * observable(v) to observable(u + v) across symplectic basis changes shows that sign flips of isotropic line products always occur in even pairs, leaving invariant; direct enumeration on the canonical two-qubit realization yields negative lines out of (an odd number), establishing for every embedded linear doily with . The full proof is checked by the Lean kernel.

Two scope boundaries keep Theorem 10.10 sharp (see Appendix G for the broader stabilizer and contextuality synthesis). First, an odd number of negative lines in the 15-point doily does not yield a noncontextual-valuation contradiction simply by multiplying all line equations together: in the full doily, every point lies on lines (an odd incidence degree rather than ), so multiplying all lines leaves uncancelled; Theorem 10.10 proves the intrinsic symplectic parity invariant Odd (negativeLines U).card, whereas the valuation impossibility above comes from the standalone degree- Peres–Mermin 9-point subgrid calculation. Second, Kochen–Specker contextuality across overlapping commuting contexts obstructs global noncontextual truth-value assignments to noncommuting observables; it neither contradicts ambient unitary reconstruction from a single state family’s positive-semidefinite Gram matrix nor reduces to geometric Gram incompatibility ().

Remark 10.11 (Hairy Ball and Hopf Obstructions: Literature Result, Not Formalized in This Book)

Literature result, not formalized in this book. Classical results from differential topology, mathematical physics, and the philosophy of causation frame the geometric discussions in Sections 1, 3, and 4:

  1. Poincaré–Hopf index theorem and the Hairy Ball Theorem (J. W. Milnor, Topology from the Differentiable Viewpoint, University Press of Virginia, 1965): For any smooth tangent vector field with isolated zeros on a compact oriented manifold , the sum of the indices at its zeros equals the Euler characteristic . Because for all , every continuous tangent field on has a zero (the continuous case follows by smooth approximation), as illustrated on by the two-zero field of total index .
  2. Hopf principal circle bundle and Dirac monopole potentials (P. A. M. Dirac, Proc. R. Soc. A 133, 60–72, 1931, DOI 10.1098/rspa.1931.0130; M. Nakahara, Geometry, Topology and Physics, 2nd Ed., 2003): The Hopf fibration is a principal circle bundle whose first Chern number has magnitude . Because a global continuous section would trivialize the bundle, no such section exists. With the Dirac monopole connection potentials and , one has and curvature with (under this connection convention; spin-up Berry curvature for has the opposite sign). Do not conflate the tangent bundle (Euler number ) with the Hopf line bundle (Chern number ).
  3. Parallelizability of the rotor group : Unit rotors form the norm-one sphere in the even Clifford algebra , which has and is globally parallelized by the explicit frame (rather than inferring parallelizability from alone). The map is a double cover, not an isomorphism, and parallelizability of the total space does not yield a global section over .
  4. Berry phase as bundle holonomy (M. V. Berry, Proc. R. Soc. A 392, 45–57, 1984, DOI 10.1098/rspa.1984.0023; B. Simon, Phys. Rev. Lett. 51, 2167, 1983, DOI 10.1103/PhysRevLett.51.2167): For the adiabatically transported spin-up eigenline with dynamical phase removed and orientation fixed, the geometric phase is . This holonomy persists when all complex information is retained, and pairwise Gram consistency never erases physical noncommutativity.
  5. Hume’s problem of causation, Spinoza’s geometric necessity, and timeless quantum correlations (D. Hume, A Treatise of Human Nature, 1739 / An Enquiry Concerning Human Understanding, 1748; B. Spinoza, Ethica, Ordine Geometrico Demonstrata, 1677, Part I, Prop. 17 Scholium; and, as developed further in Chapter 25, B. S. DeWitt, Phys. Rev. 160, 1113, 1967, and D. N. Page, W. K. Wootters, Phys. Rev. D 27, 2885, 1983): The algebraic core of Section 4’s discussion of order-independence and causal rigidity is the positive-semidefinite Gram determinant constraint together with Theorem 10.7; connecting this structure to Hume’s critique of temporal causation, Spinoza’s geometric determinism, and timeless quantum states belongs to the philosophical and physical interpretation layer and is not formalized in the Lean codebase.

The full lab: drag the cyan corners, add a corner on an edge or reverse the loop, and compare the magenta area, the turn of the amber arrow and the phase on the cyan needle at the lower right; the “Order” and “Comb” scenes are one click away.

Now that we understand how rotations, phases, and Gram matrices fit together on the sphere, how does an actual superconducting quantum processor execute these spherical rotations in hardware? Why do and gates require tens of nanoseconds of microwave pulse area, whereas a gate can be executed in zero analog duration? Let us step into Chapter 11.