The topos formulation of Isham and Butterfield [607] and the sheaf formulation of Abramsky
and Brandenburger [651] are built from presheaves, sieves, Heyting algebras, global sections,
semirings of weights and a parity count. Each of these is obtained here from the idempotent \(a^2=a\),
the diagonal \(\Delta \), and the cone, so that the central statements of both papers follow as corollaries.
The Kochen–Specker theorem [606] itself, for the 18-vector cover, reduces to the identity \(1=0\) in
\(\mathbb {F}_2\).
337.1 Values are idempotents
A valuation assigns to each projector a number compatible with products of commuting
operators. Since \(\hat P^2=\hat P\),
exactly one projector takes the value \(1\). This is the formula
\(\mathsf {ONE}(C)\) of [651], and it is excluded middle together with non-contradiction, read in one
context.
337.2 Restriction is composition, gluing is the diagonal
For a set \(X\) of measurements and outcomes \(O\), the sections over \(U\subseteq X\) are maps \(s:U\to O\), and restriction is
composition with the inclusion,
Functoriality, \(\mathrm {res}^{U'}_{U}\circ \mathrm {res}^{U''}_{U'} =\mathrm {res}^{U''}_{U}\), is associativity of composition. A family \(s_i\in \mathcal {E}(U_i)\) glues
exactly when, on every overlap, the pair of values lies on the diagonal,
for then the union of
the graphs is itself a graph. This is the sheaf condition of [651], and its triviality there is the
triviality of the diagonal. The same condition on marginals of distributions is no-signalling:
\(e_C|_{C\cap C'}=e_{C'}|_{C\cap C'}\).
337.3 Sieves, Heyting algebras and the classifier
Sieves are closed sets. A sieve on \(A\) is a set \(S\) of arrows into \(A\) closed under precomposition, \(f\in S\Rightarrow f\circ g\in S\); in a
poset it is a lower set. It is a fixed point of the closure \(S\mapsto S\cup (S\circ \mathrm {Arr})\), of the same least-fixed-point form as \(\mathbb {N}\)
and the cone, and the principal sieve \(\downarrow \!A\) is the largest.
The Heyting algebra. Sieves on \(A\) are ordered by inclusion, with
so implication is right
adjoint to meet, the pattern of \(F\dashv U\) and \(\Sigma _f\dashv f^{*}\). Meet is idempotent, \(S\wedge S=S\), and non-contradiction
holds, \(S\wedge \neg S=0\) with \(\neg S=S\Rightarrow 0\). What is missing is the complement \(1-a\): no subtraction is available, so
neither \(\neg \neg S=S\) nor \(S\vee \neg S=1\) need hold. A Heyting algebra is therefore the idempotent structure of
Subsection 328.2 with \(\mathsf {LNC}\) kept and the involution \(a\mapsto 1-a\) removed; it is Boolean precisely when
\(\neg \neg =\mathrm {id}\).
The subobject classifier. In sets, a subset is a map into \(\{0,1\}\). In presheaves, a subobject \(K\subseteq X\) is
classified by
that is, every restriction pair lies on the
diagonal. For the spectral presheaf \(\Sigma (\hat A)=\sigma (\hat A)\) with \(\Sigma (f)(\lambda )=f(\lambda )\) this is the functional composition principle
Local sections exist; what fails is the diagonal condition across all contexts
at once.
337.5 Three semirings: idempotent, cone, signed
The weights of [651] range over a commutative semiring \(R\), and the three cases used there are
the three structures met throughout:
Semiring
Addition
Structure
Global section problem
\(\mathbb {B}=(\{0,1\},\vee ,\wedge )\)
\(a+a=a\)
idempotent
satisfiability
\(\mathbb {R}_{\ge 0}\)
\(P+P\subseteq P\)
cone
linear programming
\(\mathbb {R}\)
\(-1\) present
signed
linear algebra
The support map \(\mathbb {R}_{\ge 0}\to \mathbb {B}\), nonzero to \(1\), is a semiring homomorphism, so a global section over the cone
yields one over the idempotents. There is no homomorphism from \(\mathbb {R}\):
which is the
obstruction that excluded an order on \(\mathbb {F}_2\) — an idempotent addition cannot receive a
negative. Over \(\mathbb {R}\) every no-signalling model has a global section; leaving the cone removes
contextuality altogether. It is the cone condition that makes contextuality an obstruction at
all.
337.6 The linear system and the hierarchy
With the incidence matrix \(M[(C,s),t]=1\) iff \(t|_C=s\) for global assignments \(t\in O^{X}\), a global section is a solution of
over the
chosen semiring. Writing \(S_e=\{t:\forall C,\ t|_C\in \operatorname {supp}e_C\}\), the hierarchy of [651] is the order in which the three semirings
fail:
Level
Fails over
Example
probabilistic
\(\mathbb {R}_{\ge 0}\)
Bell
possibilistic
\(\mathbb {B}\) (support)
Hardy
strong
\(S_e=\varnothing \)
GHZ, Kochen–Specker
Factorisable hidden-variable models are equivalent to global sections, since a factorised
distribution is a product of marginals and the marginals agree on overlaps — again the
diagonal.
337.7 Kochen–Specker as \(1=0\) in \(\mathbb {F}_2\)
Let \(s:X\to \{0,1\}\) satisfy \(\mathsf {ONE}(C)\) for every \(C\in \mathcal {M}\), and count the ones in two ways:
where \(\mathcal {M}(m)\) is the set of contexts containing
\(m\). For the 18-vector cover in \(\mathbb {R}^4\) [652], \(|\mathcal {M}|=9\) and \(|\mathcal {M}(m)|=2\) for every \(m\). Reducing modulo two,
so no such \(s\) exists.
The parity proofs of [651] are this computation in \(\mathbb {F}_2\): excluded middle and non-contradiction in
each context force the count to be odd, the double covering forces it to be even, and the
two-element field cannot hold both.
Remark 337.1 (The 18-vector construction on the same foundation).The realisation
of the 18-vector cover in \(\mathbb {R}^4\) [652] uses no ingredient beyond those already derived. Its vectors
have components in \(\{0,\pm 1\}\), so inner products are integers, obtained from the pair construction
of \(\mathbb {Z}\)with the sign as the involution \(\vartheta \), and the projectors have rational entries, obtained
from the same pair construction applied to multiplication.
Orthogonality is a vanishing.Two vectors are orthogonal when
an equation \(L=R\)in the
form \(L-R=0\), evaluated by finitely many integer sums and products.
Projectors and resolutions.Each vector gives a rank-one projector \(\Pi _v=vv^{\mathsf T}/\langle v,v\rangle \), with \(\langle v,v\rangle \in \{1,2,4\}\)and \(\Pi _v^2=\Pi _v\). Each of
the nine contexts is an orthogonal basis, so
which are excluded middle and non-contradiction in
that context, and force \(\mathsf {ONE}(C)\)on any value assignment.
The verification is primitive recursive.That each of the nine columns is an
orthogonal set, and that each of the eighteen vectors lies in exactly two columns, is a finite
check of integer equalities, all computed in \(\mathbb {Z}\)and decidable in PRA. Nothing in the construction
leaves the arithmetic of Subsection 328.
The theorem.With the cover verified, the parity count of Section 337gives \(1\equiv 0\pmod 2\). The
Kochen–Specker theorem for this cover is therefore a statement whose every component —
integers and rationals, signs, orthogonality as vanishing, idempotent projectors, the two logical
laws per context, and reduction modulo two — has been obtained from \(a^2=a\)and \(\Delta \). The specific
vectors are data; the reasoning that turns them into a no-go result is the framework
itself.