alphaFeedback

WorksPhysics and Astronomy

The Four-Qubit Hyperbolic Quadric Has Contextuality Degree 315

AI contributions
Not recorded for this paper
View details
Ancillary data
1 code link
View

Abstract

The contextuality degree of a set of Pauli contexts is the least number of contexts that every noncontextual ±1\pm1 assignment violates. For the four-qubit hyperbolic quadric Q+(7,2)\mathcal{Q}^{+}(7,2), with 135135 points and 15751575 lines as contexts, Muller et al. conjectured from heuristic searches that the degree is 315315 and that the violated contexts of every optimal assignment form a dual polar space DW(5,2)DW(5,2). We prove both conjectures. The lower bound has a short proof by hand: every doily (GQ(2,2)GQ(2,2)) of the quadric contains ten Peres-Mermin grids covering each of its lines four times, so every assignment violates at least three of its fifteen lines, and averaging over the doilies gives 1575/5=3151575/5=315. The equality case is local: an assignment is optimal exactly when it violates one ruling of one grid in every doily. Using this as a SAT encoding, we show that there are exactly 240240 optimal violated sets, one orbit of O+(8,2)\mathrm{O}^+(8,2), each isomorphic to DW(5,2)DW(5,2). The same argument gives the first lower bounds ⌈L/5⌉\lceil L/5\rceil for all quadrics with LL lines in N≥4N\ge4 qubits. The degree theorem is kernel-checked in Lean 4, and the completeness of the enumeration is certified by a DRAT proof checked by the verified checker cake_lpr.

Introduction

The Kochen–Specker theorem [33, 6] rules out noncontextual hidden-variable models of quantum mechanics: there is no assignment of definite values to observables, independent of which compatible observables are measured alongside, that respects the functional relations quantum mechanics imposes on every set of commuting observables. The most transparent proofs use Pauli observables. In the Peres–Mermin square [46, 38, 39] nine two-qubit Pauli observables are arranged in a 3×33 \times3 grid whose rows and columns are triples of commuting observables with product +I+I, except for one column with product −I-I. No assignment of ±1\pm1 values satisfies all six constraints. Such state-independent proofs underlie experimental tests of contextuality [11, 31, 3] and connect contextuality to the power of quantum computation [48, 28].

The non-identity NN-qubit Pauli observables, taken up to sign, are the points of the symplectic polar space W(2N−1,2)W(2N - 1, 2) of rank NN over F2\mathbb{F}_{2}, two observables commuting exactly when the corresponding points are orthogonal [53, 20, 58]. This dictionary has made finite geometry a natural language for observable-based contextuality [26, 60, 34, 52]. Any family of totally isotropic lines, each line {A,B,AB}\{A,B,AB\} carrying the sign of A⋅B=±IA \cdot B = \pm I, defines a candidate contextuality configuration. De Boutray, Holweck, Giorgetti, Masson and Saniga [13] introduced the contextuality degree, the least number of contexts that a noncontextual assignment must violate, as a measure of how contextual such a configuration is. It governs both the classical bound of the associated noncontextuality inequality [12, 30] and the classical winning probability of the associated Mermin-type games [4, 30]. Computing it is a MAX-XOR-SAT problem, and exact values are known only for small configurations: the doily (3), the three-qubit space W(5,2)W(5, 2) (63) and its quadrics (21 and 9) [13, 42, 50].

For four qubits the problem has resisted computation. The hyperbolic quadric Q+(7,2)Q^{+}(7, 2) has 135 points and 1575 lines. Muller, Saniga, Giorgetti, de Boutray and Holweck [43, Table 1] could only show that its degree is at most 500. Muller, Saniga, Giorgetti, Holweck and Kelleher {citep}[44 §5.1.2] then found, with a heuristic search, assignments violating only 315 lines, observed that the 315 unsatisfied lines are isomorphic to the dual polar space $DW(5, 2)$, and wrote: “So, we do believe that $d^{\mathrm{hyp}}_4 = 315$, with the understanding that the corresponding unsatisfied configurations are (always) isomorphic to $DW(5, 2)$.” Saniga, Holweck, Kelleher, Muller, Giorgetti and de Boutray {citep}[50 p. 24] single out a closely related question as “computationally rather challenging”, whose affirmative answer “would mean, among other things, that the degree of contextuality of a four-qubit hyperbolic quadric is 315”. Muller and Giorgetti {citep}[41 §5.3] and Muller’s thesis {citep}[40]` list 315 as an upper bound only.

Results. We settle both parts of this conjecture.

  • Theorem 11. Every hyperbolic quadric of the four-qubit space, with its 1575 lines as contexts, has contextuality degree exactly 315.

  • Proposition 14 and Theorem 15. In every optimal assignment, each of the 40 320 doilies of the quadric has exactly three violated lines, which form one ruling of one of its grids. There are exactly 240 sets of lines that arise as the violated set of an optimal assignment; they form one orbit of the orthogonal group O+(8,2)O^{+}(8, 2), and each is isomorphic to DW(5,2)DW(5, 2). The first statement has a short proof by hand; the second is computer-assisted.

  • Theorem 17. For every N≥3N \ge3, every hyperbolic or elliptic quadric of the NN-qubit space, with LL lines, has degree at least ⌈L/5⌉\lceil L/5\rceil. This is tight for N=3N = 3 and for the four-qubit hyperbolic quadric, and to our knowledge it gives the first lower bounds for the elliptic four-qubit quadric and for all quadrics with N≥5N \ge5 qubits.

  • Corollary 18. The 1575 contexts give a state-independent noncontextuality inequality with classical bound exactly 945 and quantum value 1575; equivalently, a uniformly random context is satisfied with probability at most 4/54/5 by any noncontextual assignment, and this bound is attained.

The proof of the lower bound is short and needs no computation, and we regard this as its main point: a value that resisted solver-based attacks follows from three classical ingredients. These are the parity argument behind the Peres–Mermin square; Sylvester’s model of the generalised quadrangle GQ(2,2)GQ(2, 2), which shows that a doily contains ten grids covering each of its lines four times; and Witt’s theorem, which makes the orthogonal group transitive on the lines of the quadric. The averaging principle itself is not new. Saniga et al. [50 §4.1] obtained the degree 63 of W(5,2)W(5, 2) by averaging over its doilies, and Muller et al. [44 §4] bounded the degree of the whole space W(2N−1,2)W(2N - 1, 2) by a recursion over subspaces; as far as we know, it had not been applied to the quadrics, where it turns out to be tight. The rounding ⌊10/4⌋=3\lfloor10/4\rfloor= 3 inside each doily is what makes the bound tight: averaging over the 67 200 grids of the quadric directly gives only ⌊1575/6⌋=263\lfloor1575/6\rfloor= 263. What we regard as the main new content is what the equality case gives: a local characterisation of all optimal assignments (Proposition 14), which turns the classification of the optima into an easy and certified computation (Theorem 15), together with a formal proof of the degree.

We formalised the theorem for the real quadric (the observables with an even number of YY factors) in Lean 4 with Mathlib [15, 59]; the kernel checks every finite fact, and the statement depends only on the standard axioms (§ 9). All code and certificates are available at https://github.com/BrianLi009/four-qubit-hyperbolic-quadric.

For the formal-methods reader. Computing a contextuality degree is a MAX-XOR-SAT problem, here with 135 variables and 1575 parity constraints of length three, and this one had resisted the solver-based attacks of [43, 44]. SAT solving has settled several open problems in combinatorics, often with the help of mathematical insight in the encoding [22, 65]. The present case is an extreme instance of that pattern: the mathematics settles the optimisation problem completely, and what remains for the solver, the classification of all optima, becomes easy only after the proof is turned into constraints. Sections 10.2 and 10.3 give the encoding and a comparison: direct MaxSAT and cardinality formulations do not finish within 30 minutes, while local cardinality constraints over doilies, together with redundant clauses derived from Proposition 10, enumerate all optimal solutions in about 30 seconds; the final unsatisfiability, which gives completeness, is certified by a DRAT proof checked by drat-trim and by the verified checker cake_lpr. Section 9 describes the Lean proof, in particular how 191 kernel evaluations were restructured to fit in 2.2 GB of memory, and Section 10.4 lists the running time of every computation.

Outline. Section 2 reviews related work and Section 3 sets up the geometry and the symmetries of the problem. Section 4 proves that every doily of a quadric has degree at least 3. Section 5 proves the main theorem, Section 6 studies the optimal assignments, and Section 7 extends the lower bound to all quadrics. Section 8 discusses the physical consequences, Section 9 the Lean proof, Section 10 the encodings, certificates and running times, and Section 11 open problems.

Related work

Contextuality. The Kochen–Specker theorem [33, 6] and its many proofs are surveyed by Budroni, Cabello, Gühne, Kleinmann and Larsson [10]. Proofs with Pauli observables began with the Peres–Mermin square and Mermin’s pentagram [46, 38, 39]; Waegell and Aravind constructed families of observable-based proofs in the NN-qubit Pauli group [63], and Trandafir, Lisoněk and Cabello characterised the irreducible magic sets of nn qubits [60]. State-independent contextuality was turned into experimentally testable inequalities by Cabello [11, 12] and tested with trapped ions and photons [31, 3]; tests of whole symplectic polar spaces on noisy quantum computers were reported by Holweck [24]. Quantitative measures of contextuality include the contextual fraction of Abramsky, Barbosa and Mansfield [1], in the sheaf-theoretic framework of [2]; the contextuality degree studied here is a combinatorial measure for observable-based proofs, closely tied to the classical value of Mermin-type games [4, 30]. Contextuality is a resource for quantum computation: for magic-state injection [28], for measurement-based computation [48], and for qubit computation models [7].

The finite geometry of Pauli observables. The identification of the NN-qubit Pauli group modulo phases with the symplectic polar space W(2N−1,2)W(2N-1,2) is due to Saniga and Planat [53], with general qudit versions by Havlicek, Odehnal and Saniga [20] and Thas [58]. This dictionary has been used to classify contextual configurations: Mermin pentagrams as ovoids and their three-qubit taxonomy [51, 36], the Veldkamp spaces of multiple qubits [62], the split Cayley hexagon of order two and its role for three qubits [35, 47, 25], the polar subspaces of small rank [49], and the real four-qubit Pauli group as a hyperbolic quadric of PG(7,2)\mathrm{PG}(7,2) with its ovoids [52]. The Lagrangian Grassmannian LGr(N,2N)\mathrm{LGr}(N,2N) relates NN-qubit and 2N−12^{N-1}-qubit Pauli groups [27, 34]; for N=3N=3 it maps the 135 planes of W(5,2)\mathrm{W}(5,2) to the points of the four-qubit hyperbolic quadric, which is how DW(5,2)\mathrm{DW}(5,2) appears in our problem. For the geometry itself we rely on [45, 23, 57, 14].

The contextuality degree. De Boutray, Holweck, Giorgetti, Masson and Saniga [13] introduced the degree and computed it for the quadrics of three qubits (21 and 9). Muller et al. enumerated the multi-qubit doilies and showed that every doily has degree 3 [42]; they then computed degrees of many configurations with SAT solvers and sparse linear algebra, found that the whole three-qubit space W(5,2)\mathrm{W}(5,2) has degree 63, and gave upper bounds for four and five qubits [43]. A heuristic search then gave the upper bounds of Table 1 for four to seven qubits, together with the conjectures that we prove [44]. Saniga et al. explained the value 63 by averaging over doilies and showed that the unsatisfied configurations of W(5,2)\mathrm{W}(5,2) are classically embedded split Cayley hexagons [50, 25]; Muller and Giorgetti identified an abstract structure that determines the degree of observable-based proofs [41], and Muller’s thesis collects the algorithmic side [40]. Our lower bound uses the same averaging principle as [50, 44]; what is new is that, applied to the doilies of a quadric, it is tight, and that its equality case characterises the optimal assignments.

SAT solving and formal proof in mathematics. SAT solvers have settled several long-open combinatorial problems, among them the Boolean Pythagorean triples problem [22], Schur number five [21] and the last open dimension of Keller’s conjecture [9]. Combining SAT solvers with computer algebra (SAT+CAS) was proposed in MathCheck [65]. For Kochen–Specker sets in three dimensions, the minimum size was bounded from below by exhaustive search [61], then by SAT modulo symmetries with co-certificate learning [32] and by SAT+CAS with certified proofs [37]. Unsatisfiability results are made checkable by clausal proofs: DRAT proofs checked by drat-trim [64], and verified checkers such as cake_lpr [56]. Parity constraints such as ours are handled natively by solvers with Gaussian elimination [55]; MaxSAT solvers such as RC2 [29] address the optimisation version directly. Large finite computations have been formally verified before in proof assistants, notably in the proofs of the four colour theorem in Coq [17] and of the Kepler conjecture in HOL Light and Isabelle [19]. Our use of SAT differs from these in that the solver is not used to establish the main theorem: the degree is proved by hand and kernel-checked in Lean [15, 59], and the solver is used only for the classification of the optima, where the encoding is made tractable by lemmas from the proof (§ 10.3).

Pauli observables, quadrics and the contextuality degree

The symplectic polar space

Write σ00=I\sigma_{00}=I, σ10=X\sigma_{10}=X, σ01=Z\sigma_{01}=Z, σ11=Y\sigma_{11}=Y for the Pauli matrices. A vector v=(x∣z)∈V=F22Nv=(x\mid z)\in V=\mathbb{F}_2^{2N} labels the Hermitian NN-qubit Pauli observable

P(v)=σx1z1⊗⋯⊗σxNzN,P(v)=\sigma_{x_1z_1}\otimes\cdots\otimes\sigma_{x_Nz_N},

and every Pauli observable is ±P(v)\pm P(v) for a unique vv. For u,v∈Vu,v\in V the products satisfy P(u)P(v)=iφ(u,v)P(u+v)P(u)P(v)=i^{\varphi(u,v)}P(u+v) for an exponent φ(u,v)∈Z/4\varphi(u,v)\in\mathbb{Z}/4, which is the sum over the qubits of the single-qubit exponents (XY=iZXY=iZ, YZ=iXYZ=iX, ZX=iYZX=iY, and −i-i for the reversed products). Consequently $P(u) and P(v)P(v) commute if and only if the symplectic form

B(u,v)=∑j=1N(xj(u)zj(v)+zj(u)xj(v))B(u,v)=\sum_{j=1}^{N}\left(x_j(u)z_j(v)+z_j(u)x_j(v)\right)

vanishes, and they anticommute otherwise. The points of W(2N−1,2)W(2N-1,2) are the nonzero vectors of VV, that is the 4N−14^N-1 non-identity observables up to sign, and its lines are the triples {u,v,u+v}\{u,v,u+v\} with B(u,v)=0B(u,v)=0, that is the triples of pairwise commuting observables whose product is ±I\pm I.

Quadrics and the real observables

The quadratic forms on VV with polar form BB are

Qa(v)=Q0(v)+B(a,v)(a∈V),Q0(v)=∑j=1Nxj(v)zj(v),Q_a(v)=Q_0(v)+B(a,v)\quad(a\in V),\qquad Q_0(v)=\sum_{j=1}^{N}x_j(v)z_j(v),

where Q0(v)Q_0(v) counts the YY factors of P(v)P(v) modulo 2. Since P(v)T=(−1)Q0(v)P(v)P(v)^{\mathsf T}=(-1)^{Q_0(v)}P(v), the singular points of Q0Q_0 are exactly the real (symmetric) Pauli observables [52]. The form Q0Q_0 is hyperbolic, an orthogonal sum of NN hyperbolic planes, and Qa(v)=Q0(v+a)+Q0(a)Q_a(v)=Q_0(v+a)+Q_0(a), so QaQ_a is hyperbolic when Q0(a)=0Q_0(a)=0 and elliptic when Q0(a)=1Q_0(a)=1. For four qubits there are 136 hyperbolic quadrics Q+(7,2)Q^+(7,2) and 120 elliptic quadrics Q−(7,2)Q^-(7,2). A hyperbolic quadric of W(7,2)W(7,2) has 135 points and 1575 lines, with 35 lines through each point and 3 points on each line [23]. The lines of a quadric are the lines of W(7,2)W(7,2) all of whose points are singular; two singular points p≠qp\ne q are collinear on the quadric if and only if B(p,q)=0B(p,q)=0, since Q(p+q)=Q(p)+Q(q)+B(p,q)Q(p+q)=Q(p)+Q(q)+B(p,q).

Contexts, signs and the degree

Definition 1. A configuration C\mathcal{C} is a set of points of W(2N−1,2)W(2N-1,2) together with a set of lines on them, the contexts. The sign of a context C={u,v,u+v}C=\{u,v,u+v\} is the bit s(C)s(C) with P(u)P(v)P(u+v)=(−1)s(C)IP(u)P(v)P(u+v)=(-1)^{s(C)}I. An assignment is a map xx from the points to F2\mathbb{F}_2, the value x(p)x(p) standing for the outcome (−1)x(p)(-1)^{x(p)} of P(p)P(p). It violates CC if x(u)+x(v)+x(u+v)≠s(C)x(u)+x(v)+x(u+v)\ne s(C), and the contextuality degree deg⁡C\deg\mathcal{C} is the least number of contexts violated by an assignment [13].

A noncontextual hidden-variable model assigns to each observable a fixed outcome, and quantum mechanics requires the outcomes of P(u)P(u), P(v)P(v), P(u+v)P(u+v) to multiply to (−1)s(C)(-1)^{s(C)}; so deg⁡C\deg\mathcal{C} is the least number of these constraints that any such model must break. For the configuration Ha\mathcal{H}_a of all points and lines of the quadric QaQ_a we write deg⁡Ha\deg\mathcal{H}_a.

Two kinds of symmetry leave the degree unchanged.

Lemma 2 (Re-signing). Replacing the observable P(p)P(p) by −P(p)-P(p) toggles the sign of every context through pp. The assignment x+δpx+\delta_p (which changes the value at pp only) violates, after the replacement, exactly the contexts that xx violates before it. Hence the replacement preserves the degree.

Lemma 3 (Clifford transport). Let UU be a Clifford unitary, with UP(v)U†=(−1)τ(v)P(gv)UP(v)U^{\dagger}=(-1)^{\tau(v)}P(gv) for a symplectic map gg of VV and a function τ\tau. If CC is a context of C\mathcal{C}, then gCgC has sign s(gC)=s(C)+τ(u)+τ(v)+τ(u+v)s(gC)=s(C)+\tau(u)+\tau(v)+\tau(u+v). Consequently y(gv)=x(v)+τ(v)y(gv)=x(v)+\tau(v) violates gCg\mathcal{C} exactly when xx violates C\mathcal{C}, and deg⁡gC=deg⁡C\deg g\mathcal{C}=\deg\mathcal{C}.

Proof. Conjugate P(u)P(v)P(u+v)=(−1)s(C)IP(u)P(v)P(u+v)=(-1)^{s(C)}I by UU.

Every symplectic map of VV is induced by a Clifford unitary [18, 16]. For instance, for r∈Vr \in V the unitary (I+iP(r))/2(I + iP(r))/\sqrt{2} induces the symplectic transvection tr(v)=v+B(v,r)rt_r(v) = v + B(v,r)r: it fixes P(v)P(v) when B(v,r)=0B(v,r) = 0 and sends it to iP(r)P(v)=±P(v+r)iP(r)P(v) = \pm P(v + r) otherwise. If Q0(r)=0Q_0(r) = 0 then Q0(trv)=Q0(v)+B(v,r)=Qr(v)Q_0(t_rv) = Q_0(v) + B(v,r) = Q_r(v), so trt_r carries the quadric QrQ_r onto Q0Q_0. Together with Lemma 3, this gives:

Corollary 4. All 136 hyperbolic quadrics of W(7,2)W(7, 2) have the same contextuality degree, and so do all 120 elliptic quadrics.

Proof. For the hyperbolic quadrics, trt_r with Q0(r)=0Q_0(r) = 0 carries QrQ_r to Q0Q_0. For the elliptic ones, Sp⁡(8,2)\operatorname{Sp}(8, 2) is transitive on the quadratic forms of a given type with polar form BB [57]. □\square

The 136 hyperbolic quadrics fall into three classes by their number of negative lines (532, 604 and 612) [43]; re-signing (Lemma 2) and Clifford transport (Lemma 3) change this number without changing the degree, so it plays no role below.

Grids, doilies and their degree

Lemma 5 (Odd sets). Let F\mathcal{F} be a family of contexts in which every point occurs an even number of times and whose signs have odd sum. Then every assignment violates an odd number, and in particular at least one, of the contexts of F\mathcal{F}.

Proof. Modulo 2, the number of violated contexts is ∑C∈F(∑p∈Cx(p)+s(C))=∑C∑p∈Cx(p)+∑Cs(C)=0+1\sum_{C \in\mathcal{F}}(\sum_{p \in C} x(p) + s(C)) = \sum_C \sum_{p \in C} x(p) + \sum_C s(C) = 0 + 1. □\square

A grid is a generalised quadrangle GQ(2,1)GQ(2,1): nine points pijp_{ij} (i,j∈{1,2,3}i,j \in\{1,2,3\}) and six lines, the three rows {pi1,pi2,pi3}\{p_{i1},p_{i2},p_{i3}\} and the three columns {p1j,p2j,p3j}\{p_{1j},p_{2j},p_{3j}\}. The rows form one ruling and the columns the other.

Lemma 6 (Peres–Mermin parity). Let nine Pauli observables PijP_{ij} form a grid in which every row and every column is a context, and in which PijP_{ij} and PklP_{kl} anticommute whenever i≠ki \ne k and j≠lj \ne l. Then the six contexts have signs of odd sum.

Proof. Let rir_i and cjc_j be the signs of the rows and the columns, so that the products of the rows and the columns are (−1)riI(-1)^{r_i} I and (−1)cjI(-1)^{c_j} I. The product M=P11P12P13P21⋯P33M = P_{11}P_{12}P_{13}P_{21}\cdots P_{33} in row-major order equals (−1)r1+r2+r3I(-1)^{r_1+r_2+r_3} I. Reordering it into column-major order P11P21P31P12⋯P33P_{11}P_{21}P_{31}P_{12}\cdots P_{33} exchanges the relative order of PijP_{ij} and PklP_{kl} exactly when i<ki < k and j>lj > l. There are nine such pairs and each anticommutes, so the column-major product is (−1)9M(-1)^9M. It also equals (−1)c1+c2+c3I(-1)^{c_1+c_2+c_3} I, so ∑ri+∑cj\sum r_i + \sum c_j is odd. □\square

By Lemma 5 (each point lies on one row and one column), every assignment violates an odd number of the six lines of such a grid. This is the familiar argument for the Peres–Mermin square [46, 38]; it also shows that every grid of W(2N−1,2)W(2N - 1, 2) is contextual [26].

A doily of a quadric QQ of W(2N−1,2)W(2N - 1, 2) is the configuration of singular points and lines of QQ inside a 5-dimensional subspace U≤VU \leq V on which QQ is nondegenerate. Since dim⁡U\dim U is odd and the characteristic is 2, the restriction of BB to UU is always degenerate; nondegenerate means that its radical U∩U⊥U \cap U^\perp is one-dimensional, spanned by a vector rr with Q(r)=1Q(r) = 1, so that QQ is a parabolic form on UU. It is a parabolic quadric Q(4,2)Q(4,2), a generalised quadrangle GQ(2,2)GQ(2,2) with 15 points and 15 lines [45, 23].

Lemma 7. Let DD be a doily of a quadric and G⊆DG \subseteq D a grid (nine points and six lines of DD forming a GQ(2,1)GQ(2,1)). Two points of GG that are not collinear in GG anticommute.

Proof. Let p,q∈Gp,q \in G be non-collinear in GG. Two points of DD commute if and only if they are collinear in DD, because p+q∈Up+q \in U and B(p,q)=0B(p,q)=0 means that {p,q,p+q}\{p,q,p+q\} is a line of the quadric. Suppose p,qp,q are collinear in DD. Let MM be a line of GG through qq; then p∉Mp \notin M. In the grid, pp is collinear with exactly one point m≠qm \ne q of MM. So in DD the point pp is collinear with two points q,mq,m of the line MM, contradicting the axiom of a generalised quadrangle.

Lemma 8. A doily contains ten grids such that every line of the doily lies in exactly four of them and any two intersecting lines lie in exactly two of them.

Proof. GQ(2,2)GQ(2,2) is unique up to isomorphism and has Sylvester’s model [45] (Figure 1): the points are the 15 two-element subsets (duads) of {1,…,6}\{1,\ldots,6\} and the lines are the 15 partitions of {1,…,6}\{1,\ldots,6\} into three duads (synthemes), with inclusion as incidence. For a partition {A,B}\{A,B\} of {1,…,6}\{1,\ldots,6\} into two triples, the 9 duads meeting both AA and BB correspond to A×BA \times B, and the synthemes made of such duads to the 6 bijections A→BA \to B. Two bijections π,ρ\pi,\rho share ∣{a:π(a)=ρ(a)}∣|\{a:\pi(a)=\rho(a)\}| duads. Identifying AA and BB with {1,2,3}\{1,2,3\}, this is 0 when ρ−1π\rho^{-1}\pi is a 3-cycle and 1 when it is a transposition. So the even bijections are three pairwise disjoint lines covering the nine duads, and so are the odd ones, and every even bijection meets every odd one in exactly one duad: the nine duads and six synthemes form a grid. This gives ten grids, one for each of the (63)/2=10\binom{6}{3}/2=10 partitions. A syntheme {ab,cd,ef}\{ab,cd,ef\} lies in the grid of {A,B}\{A,B\} exactly when each of its duads meets both AA and BB, which leaves 23/2=42^3/2=4 partitions. Two synthemes sharing the duad abab, say {ab,cd,ef}\{ab,cd,ef\} and {ab,ce,df}\{ab,ce,df\}, both lie in the grid of {A,B}\{A,B\} iff a,ba,b are separated, cc is separated from dd and ee, and ff from dd and ee, which leaves the two partitions {{a,c,f},{b,d,e}}\{\{a,c,f\},\{b,d,e\}\} and {{b,c,f},{a,d,e}}\{\{b,c,f\},\{a,d,e\}\}.

A doily in Sylvester’s model

Figure 1. A doily in Sylvester’s model: the points are the duads ijij of {1,…,6}\{1,\ldots,6\} and the lines the synthemes (Lemma 8). The filled points and the coloured lines form the grid of the partition {1,2,3}∣{4,5,6}\{1,2,3\} \mid\{4,5,6\}; the three dashed lines are one of its rulings. By Proposition 14, an optimal assignment violates exactly such a ruling in every doily of the quadric.

Remark 9. These ten are in fact all the grids of the doily, but only the stated multiplicities are used below. We also checked, on all 40 320 doilies of the four-qubit hyperbolic quadric, that each has exactly ten grids with these multiplicities (Section B).

Proposition 10. Every doily of a quadric of W(2N−1,2)W(2N-1,2), with the signs inherited from the Pauli operators, has contextuality degree at least 3. If an assignment violates exactly three of its lines, then they are pairwise disjoint and form a ruling of one of its grids, and each of the other nine grids contains exactly one of them.

Proof. Let xx be an assignment and VDV_D the set of violated lines of the doily DD. Let GG run over the ten grids of Lemma 8. By Lemmas 5 to 7, every GG meets VDV_D in an odd number of lines, and by Lemma 8,

∑G∣VD∩G∣=4∣VD∣.\sum_G |V_D \cap G| = 4|V_D|.

The left side is a sum of ten odd numbers, so 4∣VD∣≥104|V_D| \ge10 and ∣VD∣≥3|V_D| \ge3. If ∣VD∣=3|V_D| = 3, the ten odd numbers sum to 12, so exactly one grid G∗G^* contains three violated lines and the other nine contain one each. Two intersecting violated lines would lie in two common grids (Lemma 8), each then containing at least two, hence three, violated lines; so the three violated lines are pairwise disjoint. They lie in G∗G^*, and three pairwise disjoint lines of a grid form a ruling.

The bound is attained: every doily has degree exactly 3 [42 Prop. 1], [13], which we also checked by brute force over the 2152^{15} assignments of each doily of the four-qubit hyperbolic quadric.

The main theorem

Theorem 11. Every hyperbolic quadric Q+(7,2)Q^+(7,2) of the four-qubit space, with its 1575 lines as contexts, has contextuality degree exactly 315.

Proof. Lower bound. Let QQ be a hyperbolic quadric and D\mathcal{D} the set of its doilies. The orthogonal group O(Q)O(Q) maps doilies to doilies, and it acts transitively on the lines of QQ by Witt’s theorem [57], since any linear isometry between two totally singular 2-spaces extends to VV. The set D\mathcal{D} is not empty (an example is given in Section A); so every line lies in the same number r≥1r \ge1 of doilies, and counting incidences gives 15∣D∣=1575r15|\mathcal{D}| = 1575r. For an assignment xx with violated set V\mathcal{V}, Proposition 10 gives

r∣V∣=∑D∈D∣V∩D∣≥3∣D∣,so∣V∣≥3∣D∣r=3⋅157515=315.r|\mathcal{V}| = \sum_{D\in\mathcal{D}} |\mathcal{V}\cap D| \ge3|\mathcal{D}|,\qquad\text{so}\qquad|\mathcal{V}| \ge\frac{3|\mathcal{D}|}{r} = \frac{3\cdot1575}{15} = 315.

(In fact ∣D∣=40 320|\mathcal{D}| = 40\,320 and r=384r = 384.)

Upper bound. The assignment of Section A violates exactly 315 of the 1575 lines of the real quadric Q0Q_0. Its existence was first shown by Muller et al. [44]; ours was found independently by local search. By Corollary 4, every hyperbolic quadric has an assignment with 315 violations; explicitly, for Q0(r)=0Q_0(r)=0 the assignment y(v)=x(trv)+τ(v)y(v)=x(trv)+\tau(v) of Lemma 3 works for QrQ_r, which we also checked for all 135 such rr.

Remark 12 (The role of the doily). Averaging with grids instead of doilies gives only ∣V∣≥1575/6|\mathcal{V}| \ge1575/6, that is deg⁡≥263\deg\ge263, because a grid can have a single violated line out of six. The doily gains from the rounding ⌈10/4⌉=3\lceil10/4\rceil= 3. Its violated fraction 3/15=1/53/15 = 1/5 is exactly the violated fraction 315/1575315/1575 of the quadric, so the lower bound is tight.

Remark 13 (Averaging over three-qubit sections). The quadric Q0Q_0 has 120 parabolic hyperplane sections Q(6,2)Q(6,2), the sections by a⊥a^\perp with Q0(a)=1Q_0(a)=1; each is a copy of W(5,2)W(5,2) with 315 lines, and each line of Q0Q_0 lies in 24 of them. If each section, with its inherited signs, has degree 63, which follows from [50] together with [41 Thm. 5], the same averaging gives deg⁡≥120⋅63/24=315\deg\ge120\cdot63/24 = 315. This route was implicitly available from [44 §5.1.2], which notes the 120 sections, but it was not drawn there. Since the degree 63 of W(5,2)W(5,2) is itself obtained by averaging over doilies [50 §4.1], it is the doily argument in two stages; the direct argument needs only Proposition 10.

The optimal assignments

Equality in the averaging argument constrains every optimal assignment locally.

Proposition 14. Let xx be an assignment of a hyperbolic quadric Q+(7,2)Q^{+}(7,2) violating exactly 315 lines. Then every one of its 40 320 doilies contains exactly three violated lines; they are pairwise disjoint and form a ruling of one of the ten grids of the doily, and each of the other nine grids contains exactly one of them. Conversely, if F\mathcal{F} is a family of doilies covering every line equally often, an assignment violating exactly three lines of every doily of F\mathcal{F} is optimal.

Proof. If ∣V∣=315|\mathcal{V}| = 315, the inequality ∑D∣V∩D∣≥3∣D∣\sum_D |\mathcal{V} \cap D| \ge3|\mathcal{D}| is an equality, and each term is at least 3, so each term is 3. Apply Proposition 10. Conversely, if F\mathcal{F} covers every line r′r' times and every doily of F\mathcal{F} has three violated lines, then r′∣V∣=3∣F∣r'|\mathcal{V}| = 3|\mathcal{F}| and 15∣F∣=1575r′15|\mathcal{F}| = 1575r', so ∣V∣=315|\mathcal{V}| = 315.

The converse turns the global optimisation problem over 21352^{135} assignments into local constraints, each on the fifteen lines of a doily, and this makes a complete enumeration easy.

Theorem 15 (computer-assisted). For the real quadric Q0Q_0 there are exactly 240 sets of lines that are the violated set of an optimal assignment, and each is the violated set of exactly 256 assignments, so that there are 61 440 optimal assignments. The 240 sets form a single orbit of the orthogonal group O+(8,2)O^{+}(8,2) acting on the lines. Each of them, as a point–line geometry, is isomorphic to the dual polar space DW(5,2)DW(5,2): it has 315 lines through all 135 points, with 7 lines through every point. By Lemma 3 the same holds for every hyperbolic quadric of W(7,2)W(7,2).

Proof (computer-assisted). Enumeration. Section 10.2 gives a propositional formula whose models are exactly the optimal assignments (Lemma 19). Enumerating its models with a SAT solver, each new violated set being excluded by a blocking clause, yields 240 violated sets, after which the formula is unsatisfiable; that last unsatisfiability is certified by a DRAT proof checked by drat-trim and, converted to LRAT, by the verified checker cake_lpr [56]. The certificate covers only this unsatisfiability; the correctness of the encoding is Lemma 19, proved by hand (see § 10.2). Gauge. Two assignments have the same violated set if and only if their difference ff satisfies f(u)+f(v)+f(u+v)=0f(u) + f(v) + f(u + v) = 0 on every line. The line–point incidence matrix has rank 127 over F2\mathbb{F}_2, so these differences form a space of dimension 135−127=8135 - 127 = 8, namely the restrictions of the 256 linear functionals on VV. Consequently, each realisable violated set comes from exactly 28=2562^8 = 256 assignments. Orbit. The orthogonal group O+(8,2)O^{+}(8,2) of Q0Q_0 is generated by the 120 transvections trt_r with Q0(r)=1Q_0(r) = 1 (reflections), each induced by a Clifford unitary [57]. By Lemma 3 each maps violated sets of optimal assignments to violated sets of optimal assignments. Starting from the violated set of our witness, the orbit under these generators has exactly 240 elements; linear algebra over F2\mathbb{F}_2 confirms that each of them is the violated set of some assignment, independently of the SAT solver, and the orbit coincides with the enumerated list. Since ∣O+(8,2)∣=348 364 800|O^{+}(8,2)| = 348\,364\,800, the stabiliser of a violated set has order 1 451 520=∣Sp⁡(6,2)∣1\,451\,520 = |\operatorname{Sp}(6,2)|, the order of the automorphism group of DW(5,2)DW(5,2). Isomorphism. The dual polar space DW(5,2)DW(5,2) has as points the 135 planes (maximal totally isotropic subspaces) of W(5,2)W(5,2) and as lines its 315 lines [14]. For each of the 240 violated sets, a backtracking search finds a bijection from the planes of W(5,2)W(5,2) to the points of Q0Q_0. We check that, for every line ℓ\ell of W(5,2)W(5,2), the three planes containing ℓ\ell map to a violated line, and that these images are exactly the 315 violated lines.

Theorem 15 confirms the second half of the conjecture of [44]: the unsatisfiable configurations of the four-qubit hyperbolic quadric are always isomorphic to DW(5,2)DW(5,2). Muller et al. explained why one should expect this: DW(5,2)DW(5,2) contains 120 split Cayley hexagons of order two, as many as the quadric contains three-qubit subspaces W(5,2)W(5,2), and the unsatisfied configurations of W(5,2)W(5,2) are exactly the classically embedded hexagons [44, 50].

Remark 16 (Optimal assignments are not quadratic). The assignments of the form x(v)=q(v)x(v)=q(v), for a quadratic form qq on VV, violate the line {u,v,u+v}\{u,v,u+v\} exactly when βq(u,v)≠s({u,v,u+v})\beta_q(u,v)\ne s(\{u,v,u+v\}), where βq\beta_q is the polar form of qq. An exhaustive search over all 2282^{28} alternating forms βq\beta_q shows that none violates fewer than 532 lines, the number of negative lines, attained by x=0x=0. So no optimal assignment is quadratic.

A lower bound for all quadrics

The argument of § 5 uses only the doilies of the quadric and the transitivity of its orthogonal group on lines.

Theorem 17. Let N≥3N\ge3 and let CC be a hyperbolic quadric Q+(2N−1,2)Q^{+}(2N-1,2), an elliptic quadric Q−(2N−1,2)Q^{-}(2N-1,2), or the whole space W(2N−1,2)W(2N-1,2), with all its LL lines as contexts. Then deg⁡C≥⌈L/5⌉\deg C\ge\lceil L/5\rceil.

Proof. For a quadric QQ, a nondegenerate 6-dimensional subspace of type ++ or −- exists for N≥3N\ge3 (take three of the hyperbolic or elliptic planes of an orthogonal decomposition), and its quadric Q±(5,2)Q^{\pm}(5,2) contains parabolic sections Q(4,2)Q(4,2); so QQ has doilies. O(Q)O(Q) is transitive on the lines of QQ by Witt’s theorem, and Proposition 10 applies to every doily. The argument of Theorem 11 gives ∣V∣≥3L/15|V|\ge3L/15. For W(2N−1,2)W(2N-1,2), use the doilies of all its quadrics: Sp⁡(2N,2)\operatorname{Sp}(2N,2) permutes them and is transitive on the lines.

For W(2N−1,2)W(2N-1,2) this recovers the bound (4N−1)(4N−1−1)/15(4^{N}-1)(4^{N-1}-1)/15 of [44 eq. (11)], which was obtained by a recursion over subspaces. The number of lines follows from the fact that the lines of a quadric through a point pp correspond to the points of the quadric p⊥/pp^{\perp}/p of rank one less: L=nNnN−1/3L=n_Nn_{N-1}/3, with nN=(2N−ε)(2N−1+ε)n_N=(2^N-\varepsilon)(2^{N-1}+\varepsilon) points on Qε(2N−1,2).Q^{\varepsilon}(2N-1,2). Table 1 compares the bound with the known exact values and with the heuristic upper bounds of [44].

NNconfigurationpointslines LL⌈L/5⌉\lceil L/5\rceilknown value or upper bound
3Q+(5,2)Q^{+}(5,2)3510521=21=21 [13]
3Q−(5,2)Q^{-}(5,2)27459=9=9 [13]
3W(5,2)W(5,2)6331563=63=63 [43, 50]
4Q+(7,2)Q^{+}(7,2)1351 575315=315=315 (Theorem 11)
4Q−(7,2)Q^{-}(7,2)1191 071215≤315\le315 [44]
4W(7,2)W(7,2)2555 3551 071≤1575\le1 575 [44]
5Q+(9,2)Q^{+}(9,2)52723 7154 743≤6975\le6 975 [44]
5Q−(9,2)Q^{-}(9,2)49519 6353 927≤7087\le7 087 [44]
6Q+(11,2)Q^{+}(11,2)2 079365 21173 043≤132391\le132 391 [44]
6Q−(11,2)Q^{-}(11,2)2 015332 47566 495≤131700\le131 700 [44]
7Q+(13,2)Q^{+}(13,2)8 2555 720 7151 144 143≤2331191\le2 331 191 [44]
7Q−(13,2)Q^{-}(13,2)8 1275 458 6351 091 727≤2294580\le2 294 580 [44]

Table 1. The doily bound of Theorem 17 against the known values. The quadric bounds for N≥5N\ge5 and for Q−(7,2)Q^{-}(7,2) are, to our knowledge, the first lower bounds stated for these configurations.

The bound is tight in the four cases where the degree is known. In the other cases the heuristic upper bounds are much larger, between 0.29L0.29L and 0.42L0.42L. Whether the doily bound is tight for Q+(9,2)Q^{+}(9,2), as it is for Q+(5,2)Q^{+}(5,2) and Q+(7,2)Q^{+}(7,2), is the natural next question.

Physical consequences

A noncontextuality inequality with an exact classical bound. For a configuration with contexts C={u,v,u+v}C=\{u,v,u+v\}, consider the sum of the signed correlators

χ=∑C(−1)s(C)⟨P(u)P(v)P(u+v)⟩\chi=\sum_{C}(-1)^{s(C)}\langle P(u)P(v)P(u+v)\rangle

where each correlator is estimated by measuring the three commuting observables of CC jointly or in sequence [11, 12]. Quantum mechanics gives χ=NC\chi=N_C, the number of contexts, in every state, because (−1)s(C)P(u)P(v)P(u+v)=I(-1)^{s(C)}P(u)P(v)P(u+v)=I. A noncontextual model that assigns the outcomes (−1)x(p)(-1)^{x(p)} satisfies the constraints of the non-violated contexts and violates the others, so χ≤NC−2deg⁡C\chi\leq N_C-2\deg C, and mixtures of such models do no better [30].

Corollary 18. For the 1575 contexts of a four-qubit hyperbolic quadric, every noncontextual hidden-variable model satisfies χ≤945\chi\leq945, the bound is attained, and quantum mechanics gives χ=1575\chi=1575 in every four-qubit state. Equivalently, if a context is chosen uniformly at random, the best strategy based on a context-independent assignment of outcomes to observables succeeds with probability exactly 4/54/5, whereas ideal quantum measurements satisfy the context constraint with certainty.

The inequality is exact, but it is not stronger than known ones: the ratio of the classical to the quantum value, 945/1575=3/5945/1575=3/5, is the same as for the doily (9/159/15), the three-qubit hyperbolic quadric (63/10563/105) and the generalised quadrangle GQ(2,4)=Q−(5,2)GQ(2,4)=Q^{-}(5,2) (27/4527/45) [30]. Although Q+(7,2)Q^{+}(7,2) has 105 times as many contexts as the doily, the two configurations have the same minimum violated fraction, 1/51/5. If measurement noise uniformly scales every ideal signed correlator by a visibility η\eta, the inequality is violated exactly when η>3/5\eta>3/5, as for the doily. Its interest is rather that the classical bound is known exactly for a configuration this large, and that for Q0Q_0 all observables are real, so the test needs only real-amplitude (rebit) measurements. By Theorem 17, every quadric of N≥3N\geq3 qubits violates at least a fifth of its contexts in every noncontextual model, so its ratio is at most 3/53/5; the open question is which of them have a violated fraction strictly above 1/51/5, that is a ratio strictly below 3/53/5. The heuristic upper bounds of [44] for W(7,2)W(7,2), Q−(7,2)Q^{-}(7,2) and Q+(9,2)Q^{+}(9,2) are all exactly 5/175/17 of their lines, which leaves open a ratio as low as 7/177/17.

Where the contextuality sits. Proposition 14 says that in every optimal noncontextual model, the failures are spread perfectly evenly: each doily of the quadric fails on exactly one ruling of one of its grids. Theorem 15 adds that the failures form one rigid geometric object, a DW(5,2)DW(5,2), unique up to the symmetry of the quadric. This is the four-qubit analogue of the three-qubit picture of [50], where the unsatisfied lines of W(5,2)W(5,2) always form a classically embedded split Cayley hexagon.

Formal verification in Lean

We formalised the theorem for Q0Q_0 in Lean 4 (v4.35.0-rc2) with Mathlib [15, 59]. The toolchain is the release candidate v4.35.0-rc2 because it is the one required by the Mathlib commit we use (045acef0); both are pinned in the repository (lean-toolchain, lake-manifest.json), so lake build fetches exactly these versions, and the build was reproduced from a fresh checkout on a second machine. The final statement is

theorem degree_eq_315 : Contextuality.Pauli.degree 0 = 315

where degree ww is the infimum, over all maps x:N→Z/2x : \mathbb{N} \to\mathbb{Z}/2, of the number of violated contexts of the quadratic QwQ_w. #print axioms degree_eq_315 reports only propext, Classical.choice and Quot.sound: the proof uses no sorry, no added axiom, and in particular no native_decide, which would trust the compiler and its runtime.

Definitions. Basic.lean defines points as natural numbers v<256v < 256 with the encoding of § 3 (bit ii is xix_i; bit i+4i+4 is ziz_i), the symplectic form, the quadratic forms QwQ_w, the phase exponent φ\varphi as a sum of single-qubit exponents, the contexts as the pairs (a,b)(a,b) with a<b<a⊕ba < b < a \oplus b satisfying the definition (computed inside Lean by filtering all $256^2$ pairs, so that the list of contexts is not an input), their signs, violation, and the degree. PhaseMatrix.lean proves that φ\varphi is the exponent in the product of the actual 16×1616 \times16 Pauli matrices over $\mathbb{C} (pauliMat_mul), so that the sign of every context is the sign of the operator product (context_product`); this ties the combinatorial definition to the physics.

Proof. OddSets.lean proves Lemma 5 (exists_violated_of_odd) for contexts given with point masks. The lower bound follows Theorem 11, with a smaller family than all 40 320 doilies: the 2520 doilies forming the union of the orbits of the qubit permutations S4S_4 on a selected set, which cover every line exactly 24 times (found by integer programming over the orbits). For each doily the data lists its fifteen lines in the order of a fixed labelling of GQ(2,2)GQ(2,2), so that the ten grids of Lemma 8 sit at the same fifteen positions in every doily. The kernel then checks: (i) the keys of 2520⋅15=37 8002520 \cdot15 = 37\,800 listed lines form a permutation of the 1575 contexts, each repeated 24 times (keys_perm); (ii) in every doily, each of the ten grids is an odd set: the exclusive-or of the point masks of its six lines is 0 and their signs sum to 1; (iii) each of the fifteen positions lies in four grids (sum_gridPos). Together with Lemma 5 this gives three_le_doily and 24∣V∣≥3⋅252024|V| \ge3 \cdot2520, hence le_numViolated: 315≤∣V∣315 \le|V| for every assignment. A kernel evaluation of the witness (witness_check) gives the upper bound. Nothing produced by the scripts that generate the data is trusted: every property of the data used in the proof is re-evaluated by the kernel, and the data’s sortedness is never assumed.

Making the kernel computation fit on a laptop. All finite checks are discharged by decide +kernel, which evaluates a decidable proposition in the kernel. The kernel caches intermediate terms, so its memory grows with the number of reduction steps. Three naive checks did not fit: evaluating contexts 0 (a filter over 2562256^2 pairs) in one check exceeded a 4 GB limit, and a single sort-and-compare of all 37 800 keys was estimated, from the measured growth, at about 10 GB. We restructured the proof so that no check is large:

  • Q8PlusContexts.lean states the contexts as 64 literal chunks and proves contexts_eq : contexts 0 = (List.range 64).flatMap cchunk by 64 separate kernel checks; every later check rewrites with it instead of recomputing the filter.

  • The permutation check (i) is split twice: for each of 26 chunks of 100 doilies, a merge sort of its 1500 keys equals a literal bucketed by key/1024 (sortOK); for each of the 64 buckets, the merged pieces from the 26 chunks equal the corresponding chunk of contexts, each repeated 24 times (bucketOK). The merge functions are proved to permute their input (mergeTree_perm) and a lemma on exchanging two flatMaps up to permutation (flatMap_comm_perm) glues the chunks, so the correctness of the sorting is never assumed.

  • Each Lean file imports only the Mathlib modules it needs: importing all of Mathlib alone costs about 4 GB of memory.

The development has 191 decide +kernel checks. Table 2 lists its files.

Filelinesbuildcontent
Basic.lean13310 sdefinitions; degree
OddSets.lean14434 sLemma 5; merge sort and its permutation lemmas
PhaseMatrix.lean8627 sphase rule for the Pauli matrices over C\mathbb{C}
Q8Plus.lean24016 sthe proof of degree_eq_315
Q8PlusData.lean (generated)6 26655 s2520 doilies, grid positions, witness
Q8PlusContexts.lean (generated)58071 scontexts in 64 chunks; 67 kernel checks
Q8PlusChecks.lean (generated)226276 s120 kernel checks: cover, sorting, grids

Table 2. The Lean development. Build times with one thread on the machine of § 10.4, Mathlib precompiled; the whole build takes under ten minutes, and the peak memory, reached on Q8PlusChecks.lean, is 2.2 GB.

The formalisation covers the real quadric Q0Q_0. The other 135 hyperbolic quadrics follow from Corollary 4, which we checked by computer but did not formalise. The Lean proof does not formalise the general arguments of § 4: instead of Lemmas 7 and 8, the kernel checks the grid structure and the odd-set property directly on each of the 2520 doilies it uses. Likewise Theorem 17 for other quadrics and other NN is not formalised. Theorem 15 is not formalised; its certificate is the DRAT proof of § 10.2, checked by drat-trim and by cake_lpr.

Computations: encodings, certificates and costs

This section is written for readers who want to check or reuse the computations. All of them are in the repository; Table 4 lists their running times.

Computationtooltime
all finite facts of the paper (verify_facts.py)Python47 s
with the degree 3 of all 40 320 doilies by brute force over 2152^{15} assignmentsPython, NumPy55 s
separately written re-check of the bound and the witness (independent_check.py)Python, NumPy72 s
search for a witness (find_witness.py)Pythonunder 1 s
enumeration of the 240 optimal violated sets (enumerate_optimal.py)CaDiCaL 1.5.330 s
of which the final refutation2 s
DRAT proof of the final refutation (39 MB)CaDiCaL 3.0.125 s
DRAT checkdrat-trim11–17 s
LRAT check of the converted proofcake_lpr3 s
orbit, realisability, 240 isomorphisms with DW(5,2)DW(5,2) (optimal_structure.py)Python4 s
table of lower bounds for all quadrics (general_bounds.py)Python0.1 s
all 2282^{28} quadratic assignmentsC2.4 s
Lean build of degree_eq_315 (Mathlib precompiled)Lean 4under 10 min
axiom reportLean 415 s

Table 4. Running times of all computations (wall clock, one thread).

What is computed, and who checks it

  • Finite facts used in the proofs (numbers of quadrics, points, lines and signs; the doilies, their grids and multiplicities; the witness): computed by one Python program, recomputed by a second one written separately, and, for Q0Q_0, re-evaluated by the Lean kernel. The signs are computed both from the phase rule and from 16×1616 \times16 matrix products.

  • Theorem 11: the lower bound is a proof by hand (§ 4 and § 5); the upper bound is the evaluation of the witness on 1575 lines. Both are kernel-checked in Lean for Q0Q_0.

  • Theorem 15: the completeness of the list of 240 violated sets rests on the SAT encoding of § 10.2 and on a DRAT proof checked by drat-trim and, as LRAT, by the verified checker cake_lpr. The orbit, the realisability of each set and the isomorphisms with DW(5,2)DW(5, 2) are checked by separate code that does not use the SAT solver.

  • Remark on quadratic assignments: an exhaustive search in C.

The SAT encoding of the optimal assignments

The degree problem is an instance of MAX-XOR-SAT: 135 Boolean variables and 1575 parity constraints of length three, one per line, and the task is to satisfy as many as possible. Rather than optimise, we use Proposition 14 to characterise the optimum by local constraints.

  • Variables. xpx_p for the 135 points and vCv_C for the 1575 lines.

  • Parity. For each line C={a,b,c}C = \{a,b,c\}, the eight clauses that forbid the assignments of (vC,xa,xb,xc)(v_C,x_a,x_b,x_c) with vC+xa+xb+xc≠s(C)v_C + x_a + x_b + x_c \ne s(C), so that vCv_C holds iff xx violates CC (12 600 clauses).

  • Local cardinality. For each doily DD of a family F\mathcal{F} covering every line equally often, “exactly three of the fifteen vCv_C, C∈DC \in D, are true”, encoded by PySAT’s CardEnc.equals with its sequential-counter encoding [54], which combines an “at most 3” and an “at least 3” counter (144 clauses and 72 auxiliary variables per doily; these are PySAT’s sizes, smaller than those of the textbook encoding). We use either the 2520 doilies of the Lean proof or all 40 320.

  • Pair clauses (redundant). For any two intersecting lines C,C′C,C' of a common doily, the clause ¬vC∨¬vC′\neg v_C \lor\neg v_{C'}. There are 37 800 such pairs: through each point, two of its 35 lines lie in a common doily iff they are not coplanar on the quadric. These clauses are not derived by the solver: they are justified by Proposition 10, applied to every doily of the quadric (not only to those of F\mathcal{F}), and they are part of the input formula whose unsatisfiability the certificate checks.

  • Blocking clauses. After a model with violated set V\mathcal{V}, the clause ⋁C∈V¬vC\bigvee_{C\in\mathcal{V}}\neg v_C. Since every model has ∣V∣=315|\mathcal{V}| = 315, it excludes exactly the models with violated set V\mathcal{V}.

Lemma 19. With either family, with or without the pair clauses, the projections of the models onto the xx-variables are exactly the optimal assignments of Q0Q_0.

Proof. By Proposition 14 (converse), every model is optimal. Conversely, an optimal assignment has exactly three violated lines in every doily, which are pairwise disjoint by Proposition 10, so it satisfies all cardinality and pair clauses with the auxiliary variables of the sequential counters set accordingly.

No symmetry breaking is used: the gauge freedom of § 6 leaves 256 models per violated set, and the blocking clauses act on the vv-variables only. The final formula, the base formula plus the 240 blocking clauses, has 183 150 variables and 413 520 clauses in the default configuration. CaDiCaL 3.0.1 [8] refutes it and writes a DRAT proof of 39 MB; drat-trim [64] verifies it, using 120 460 of the 560 025 lemmas in the run recorded in the repository (CaDiCaL’s proof differs slightly between machines; the formula itself is fixed by its SHA-256 hash in drat/check.log). The proof was also converted to LRAT by drat-trim (22 MB) and checked by the verified checker cake_lpr [56], whose correctness is proved in HOL4 down to machine code. The certificate establishes only that the final formula is unsatisfiable. Three parts of the argument are trusted rather than certified: the encoder, a short Python program that writes the formula; Lemma 19, including the justification of the pair clauses by Proposition 10; and the enumeration loop, whose only role is to add one blocking clause per violated set it finds, all of which appear in the certified final formula.

What made the enumeration easy

Muller et al. [43, 44] attacked the degree with SAT solvers and with heuristics directly, and the direct formulations remain hard. Table 3 compares, with the same solver and a time limit of 30 minutes, two direct formulations with the four variants of our encoding. The direct formulations are a MaxSAT instance (the parity clauses as hard clauses, ¬vC\neg v_C as 1575 soft clauses, solved by RC2 [29]) and the decision problem “at most 314 violated lines” with a totalizer encoding [5], whose unsatisfiability is the lower bound of Theorem 11.

Formulationvariablesclausesresult within 30 min
MaxSAT (RC2)1 71012 600 + 1 575 softnot solved
SAT, at most 314 violated (totalizer)18 5621 268 978not solved
local cardinality, 2520 doilies183 150375 480all 240 by 44 s; not refuted
local cardinality, 40 320 doilies2 904 7505 818 680all 240 by 1363 s; refuted at 1447 s
local cardinality, 2520 doilies + pairs183 150413 280all 240 by 29 s; refuted at 31 s
local cardinality, 40 320 doilies + pairs2 904 7505 856 480all 240 by 403 s; refuted at 407 s

Table 3. Formulations of the degree problem for Q0Q_0, solved by CaDiCaL 1.5.3 through PySAT (RC2 with its default Glucose 3 oracle) on the machine of § 10.4, one thread, 30-minute limit. For the enumerations, the times are until the last of the 240 violated sets is found and until the final formula is refuted.

Three observations stand out. First, neither direct formulation finishes: RC2 does not reach the optimum and the solver does not refute “at most 314” within 30 minutes, although Theorem 11 shows that the answer is 315. The lower bound is therefore not merely faster to prove by hand; for these generic encodings it is out of reach of the solver in this time. Second, the local cardinality constraints make the search easy: every variant finds all 240 optimal violated sets. Third, completeness, the refutation after the last blocking clause, depends on the redundant pair clauses: without them the small family is not refuted within 30 minutes and the large one needs 84 s for the last call alone; with them the final call takes 2 s and 4 s. The pair clauses encode the second half of Proposition 10, that the violated lines of a doily are pairwise disjoint, so they are a lemma of the proof handed to the solver. The smaller family is also better: the 2520 doilies of the Lean proof give a formula 14 times smaller than all 40 320, and the full enumeration takes 31 s instead of 407 s.

Running times

All times in Table 4 are wall-clock times on a laptop (Apple M3, 8 cores, 16 GB, macOS 14.5), with one thread and at low priority while other programs were running, so they are upper bounds on what a dedicated machine needs. Software: Python 3.12.12 with NumPy 2.5.4 and PySAT 1.9 (which bundles CaDiCaL 1.5.3); the standalone CaDiCaL 3.0.1; drat-trim at commit 2e3b2dc; cake_lpr at commit a36874a; Lean 4 v4.35.0-rc2 with Mathlib at commit 045acef0.

Open problems

  1. The elliptic quadric and the whole space. For four qubits, 215≤deg⁡Q−(7,2)≤315215 \le\deg Q^{-}(7,2) \le315 and 1071≤deg⁡W(7,2)≤15751071 \le\deg W(7,2) \le1575 from Theorem 17 and [44]. Every line of W(7,2)W(7,2) lies on 24 of the 120 elliptic quadrics, so deg⁡Q−(7,2)=315\deg Q^{-}(7,2) = 315 would give deg⁡W(7,2)≥120⋅315/24=1575\deg W(7,2) \ge120 \cdot315/24 = 1575 and hence equality. The doily bound cannot reach 315 here, and neither can averaging over the 136 parabolic sections Q(6,2)Q(6,2) of Q−(7,2)Q^{-}(7,2), which also gives only ⌈136⋅63/40⌉=215\lceil136 \cdot63/40 \rceil= 215; larger sub-configurations are needed.

  1. Five qubits. Is deg⁡Q+(9,2)=4743\deg Q^{+}(9,2) = 4743? The heuristic upper bound 6975 of [44] is far above.

  1. A conceptual proof of Theorem 15. Proposition 14 characterises the optimal violated sets by local conditions on doilies. Is there a direct proof that these conditions force a DW(5,2)DW(5,2), for instance through the Lagrangian Grassmannian map from the planes of W(5,2)W(5,2) to the points of Q+(7,2)Q^{+}(7,2) [27, 44]?

  1. Higher rank. Does a hyperbolic quadric Q+(2N−1,2)Q^{+}(2N-1,2) have degree L/5L/5 whenever 5 divides LL, and are its optimal violated sets again a single orbit?

Code and data availability

All scripts, the witness, the SAT certificates and the Lean development are at https://github.com/BrianLi009/four-qubit-hyperbolic-quadric; Section B lists what each checks.

The witness and an example doily

The following assignment of Q0Q_0 violates exactly 315 of its 1575 lines. It gives the value 1 (outcome −1-1) to the 71 observables below and 0 (outcome +1+1) to the other 64 real four-qubit observables.

IIIX IIIZ IIXX IIXZ IIZX IIZZ IXIX IXIZ IXXZ IXZX IXZZ IYIY
IYYI IYYX IYZY IZII IZIZ IZXI IZYY IZZZ XIII XIIX XIXX XIYY
XIZI XXII XXXI XXXX XXYY XXZI XYXY XYYZ XZII XZXI XZXZ XZZI
XZZX YIIY YIXY YIYI YIYZ YXIY YXXY YXYI YXZY YYII YYXI YYZI
YZYX YZZY ZIIX ZIIZ ZIXX ZIXZ ZIZX ZXIX ZXIZ ZXXX ZXXZ ZXYY
ZXZX ZXZZ ZYIY ZYXY ZYYI ZYZY ZZII ZZXI ZZYY ZZZI ZZZZ

The 315 violated lines pass through every point, seven through each, and form a DW(5,2)DW(5,2) (Theorem 15).

An example of a doily of Q0Q_0: the singular points of the subspace spanned by XIII, IXII, ZIII, IZIX and YIYI. Its fifteen points are XIII, IXII, XXII, ZIII, ZXII, IZIX, XZIX, ZZIX, YYIX, YIYI, YXYI, IYYX, XYYX, YZYX, ZYYX, and three of its fifteen lines are negative: {XXII, ZZIX, YYIX}, {ZXII, XYYX, YZYX} and {XZIX, YXYI, ZYYX}.

Reproducing the computations

From the folder code of the repository, with Python and the packages numpy and python-sat:

commandreproduces
python verify_facts.py --bruteevery finite fact of Sections 3 to 5; the witness
python independent_check.pythe same, separately written
python enumerate_optimal.py --cnfTheorem 15: the 240 sets and the final formula
sh drat/check.shthe DRAT proof, its check, and the LRAT check by cake_lpr (needs CaDiCaL and drat-trim; cake_lpr if present)
python optimal_structure.pyTheorem 15: orbit, realisability, isomorphisms with DW(5,2)DW(5, 2)
sh sat_ablation.sh, sh sat_direct.shTable 3
python general_bounds.pyTable 1
sh quadratic/run.shthe remark on quadratic assignments

Table 5.

In the folder lean, run lake exe cache get to download the compiled Mathlib, then lake build, and finally lake env lean scripts/AxiomReport.lean for the axiom report. Every script exits with a non-zero status if a check fails.

References

  1. [1]Samson Abramsky, Rui Soares Barbosa, and Shane Mansfield. Contextual fraction as a measure of contextuality. Physical Review Letters, 119:050504, 2017.DOI
  2. [2]Samson Abramsky and Adam Brandenburger. The sheaf-theoretic structure of non-locality and contextuality. New Journal of Physics, 13:113036, 2011.
  3. [3]Elias Anselem, Magnus Rådmark, Mohamed Bourennane, and Adán Cabello. State-independent quantum contextuality with single photons. Physical Review Letters, 103:160405, 2009.
  4. [4]Alex Arkhipov. Extending and characterizing quantum magic games, 2012. arXiv:1209.3819.arxiv.org/abs/1209.3819
  5. [5]Olivier Bailleux and Yacine Boufkhad. Efficient CNF encoding of Boolean cardinality constraints. In Principles and Practice of Constraint Programming (CP 2003), volume 2833 of Lecture Notes in Computer Science, pages 108–122. Springer, 2003.DOI
  6. [6]John S. Bell. On the problem of hidden variables in quantum mechanics. Reviews of Modern Physics, 38:447–452, 1966.
  7. [7]Juan Bermejo-Vega, Nicolas Delfosse, Dan E. Browne, Cihan Okay, and Robert Raussendorf. Contextuality as a resource for models of quantum computation with qubits. Physical Review Letters, 119:120505, 2017.
  8. [8]Armin Biere, Tobias Faller, Katalin Fazekas, Mathias Fleury, Nils Froleyks, and Florian Pollitt. CaDiCaL 2.0. In Computer Aided Verification (CAV 2024), volume 14681 of Lecture Notes in Computer Science, pages 133–152. Springer, 2024.DOI
  9. [9]Joshua Brakensiek, Marijn Heule, John Mackey, and David Narváez. The resolution of Keller’s conjecture. In Automated Reasoning (IJCAR 2020), volume 12166 of Lecture Notes in Computer Science, pages 48–65. Springer, 2020.
  10. [10]Costantino Budroni, Adán Cabello, Otfried Gühne, Matthias Kleinmann, and Jan-Åke Larsson. Kochen-Specker contextuality. Reviews of Modern Physics, 94:045007, 2022.
  11. [11]Adán Cabello. Experimentally testable state-independent quantum contextuality. Physical Review Letters, 101:210401, 2008.DOI
  12. [12]Adán Cabello. Proposed test of macroscopic quantum contextuality. Physical Review A, 82:032110, 2010.DOI
  13. [13]Henri de Boutray, Frédéric Holweck, Alain Giorgetti, Pierre-Alain Masson, and Metod Saniga. Contextuality degree of quadrics in multi-qubit symplectic polar spaces. Journal of Physics A: Mathematical and Theoretical, 55(47):475301, 2022.
  14. [14]Bart De Bruyn. Near Polygons. Frontiers in Mathematics. Birkhäuser, 2006.
  15. [15]Leonardo de Moura and Sebastian Ullrich. The Lean 4 theorem prover and programming language. In Automated Deduction – CADE 28, volume 12699 of Lecture Notes in Computer Science, pages 625–635. Springer, 2021.DOI
  16. [16]Jeroen Dehaene and Bart De Moor. Clifford group, stabilizer states, and linear and quadratic operations over GF(2). Physical Review A, 68:042318, 2003.DOI
  17. [17]Georges Gonthier. Formal proof—the four-color theorem. Notices of the American Mathematical Society, 55(11):1382–1393, 2008.
  18. [18]Daniel Gottesman. The Heisenberg representation of quantum computers, 1998. arXiv:quant-ph/9807006.arxiv.org/abs/quant-ph/9807006
  19. [19]Thomas Hales et al. A formal proof of the Kepler conjecture. Forum of Mathematics, Pi, 5:e2, 2017.
  20. [20]Hans Havlicek, Boris Odehnal, and Metod Saniga. Factor-group-generated polar spaces and (multi-)qudits. SIGMA. Symmetry, Integrability and Geometry: Methods and Applications, 5:096, 2009.DOI
  21. [21]Marijn J. H. Heule. Schur number five. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence (AAAI-18), pages 6598–6606, 2018.
  22. [22]Marijn J. H. Heule, Oliver Kullmann, and Victor W. Marek. Solving and verifying the Boolean Pythagorean triples problem via cube-and-conquer. In Theory and Applications of Satisfiability Testing (SAT 2016), volume 9710 of Lecture Notes in Computer Science, pages 228–245. Springer, 2016.DOI
  23. [23]James W. P. Hirschfeld and Joseph A. Thas. General Galois Geometries. Springer, 2016.DOI
  24. [24]Frédéric Holweck. Testing quantum contextuality of binary symplectic polar spaces on a noisy intermediate scale quantum computer. Quantum Information Processing, 20(7):247, 2021.arxiv.org/abs/2101.03812
  25. [25]Frédéric Holweck, Henri de Boutray, and Metod Saniga. Three-qubit-embedded split Cayley hexagon is contextuality sensitive. Scientific Reports, 12:8915, 2022.DOI
  26. [26]Frédéric Holweck and Metod Saniga. Contextuality with a small number of observables. International Journal of Quantum Information, 15(4):1750026, 2017.DOI
  27. [27]Frédéric Holweck, Metod Saniga, and Péter Léváy. A notable relation between N-qubit and 2N−1-qubit Pauli groups via binary LGr(n, 2n). SIGMA. Symmetry, Integrability and Geometry: Methods and Applications, 10:041, 2014.
  28. [28]Mark Howard, Joel Wallman, Victor Veitch, and Joseph Emerson. Contextuality supplies the ‘magic’ for quantum computation. Nature, 510:351–355, 2014.
  29. [29]Alexey Ignatiev, Antonio Morgado, and Joao Marques-Silva. RC2: An efficient MaxSAT solver. Journal on Satisfiability, Boolean Modeling and Computation, 11:53–64, 2019.DOI
  30. [30]Colm Kelleher, Frédéric Holweck, and Péter Lévay. Exploiting finite geometries for better quantum advantages in Mermin-like games, 2024. arXiv:2403.09512.arxiv.org/abs/2403.09512
  31. [31]G. Kirchmair, F. Zähringer, R. Gerritsma, M. Kleinmann, O. Gühne, A. Cabello, R. Blatt, and C. F. Roos. State-independent experimental test of quantum contextuality. Nature, 460:494–497, 2009.DOI
  32. [32]Markus Kirchweger, Tomáš Peitl, and Stefan Szeider. Co-certificate learning with SAT modulo symmetries. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence (IJCAI-23), pages 1944–1953, 2023.arxiv.org/abs/2306.10427
  33. [33]Simon Kochen and Ernst P. Specker. The problem of hidden variables in quantum mechanics. Journal of Mathematics and Mechanics, 17:59–87, 1967.
  34. [34]Péter Lévay, Michel Planat, and Metod Saniga. Grassmannian connection between three- and four-qubit observables, Mermin’s contextuality and black holes. Journal of High Energy Physics, 2013(9):037, 2013.DOI
  35. [35]Péter Lévay, Metod Saniga, and Péter Vrana. Three-qubit operators, the split Cayley hexagon of order two, and black holes. Physical Review D, 78(12):124022, 2008.DOI
  36. [36]Péter Lévay and Zsolt Szabó. Mermin pentagrams arising from Veldkamp lines for three qubits. Journal of Physics A: Mathematical and Theoretical, 50(9):095201, 2017.DOI
  37. [37]Zhengyu Li, Curtis Bright, and Vijay Ganesh. A SAT solver + computer algebra attack on the minimum Kochen–Specker problem. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence (IJCAI-24), pages 1898–1906, 2024.
  38. [38]N. David Mermin. Simple unified form for the major no-hidden-variables theorems. Physical Review Letters, 65:3373–3376, 1990.pubmed.ncbi.nlm.nih.gov/10042855
  39. [39]N. David Mermin. Hidden variables and the two theorems of John Bell. Reviews of Modern Physics, 65:803–815, 1993.DOI
  40. [40]Axel Muller. Algorithmic studies of contextual quantum configurations. PhD thesis, Université Marie et Louis Pasteur (Franche-Comté), 2025. HAL tel-05351702.DOI
  41. [41]Axel Muller and Alain Giorgetti. An abstract structure determines the contextuality degree of observable-based Kochen-Specker proofs, 2024. arXiv:2410.14463.DOI
  42. [42]Axel Muller, Metod Saniga, Alain Giorgetti, Henri de Boutray, and Frédéric Holweck. Multi-qubit doilies: Enumeration for all ranks and classification for ranks four and five. Journal of Computational Science, 64:101853, 2022.DOI
  43. [43]Axel Muller, Metod Saniga, Alain Giorgetti, Henri de Boutray, and Frédéric Holweck. New and improved bounds on the contextuality degree of multi-qubit configurations. Mathematical Structures in Computer Science, 34:322–343, 2024. arXiv:2305.10225.DOI
  44. [44]Axel Muller, Metod Saniga, Alain Giorgetti, Frédéric Holweck, and Colm Kelleher. A new heuristic approach for contextuality degree estimates and its four- to six-qubit portrayals. Journal of Physics A: Mathematical and Theoretical, 58:215302, 2025. arXiv:2407.02928.DOI
  45. [45]Stanley E. Payne and Joseph A. Thas. Finite Generalized Quadrangles. European Mathematical Society, 2nd edition, 2009.DOI
  46. [46]Asher Peres. Incompatible results of quantum measurements. Physics Letters A, 151:107–108, 1990.DOI
  47. [47]Michel Planat, Metod Saniga, and Frédéric Holweck. Distinguished three-qubit ‘magicity’ via automorphisms of the split Cayley hexagon. Quantum Information Processing, 12(7):2535–2549, 2013.
  48. [48]Robert Raussendorf. Contextuality in measurement-based quantum computation. Physical Review A, 88:022322, 2013.
  49. [49]Metod Saniga, Henri de Boutray, Frédéric Holweck, and Alain Giorgetti. Taxonomy of polar subspaces of multi-qubit symplectic polar spaces of small rank. Mathematics, 9(18):2272, 2021.DOI
  50. [50]Metod Saniga, Frédéric Holweck, Colm Kelleher, Axel Muller, Alain Giorgetti, and Henri de Boutray. Hexagons govern three-qubit contextuality. Quantum, 9:1601, 2025. arXiv:2312.07738.DOI
  51. [51]Metod Saniga and Péter Lévay. Mermin’s pentagram as an ovoid of PG(3,2). EPL (Europhysics Letters), 97:50006, 2012.DOI
  52. [52]Metod Saniga, Péter Lévay, and Petr Pracna. Charting the real four-qubit Pauli group via ovoids of a hyperbolic quadric of PG(7,2). Journal of Physics A: Mathematical and Theoretical, 45:295304, 2012.DOI
  53. [53]Metod Saniga and Michel Planat. Multiple qubits as symplectic polar spaces of order two. Advanced Studies in Theoretical Physics, 1:1–4, 2007.
  54. [54]Carsten Sinz. Towards an optimal CNF encoding of Boolean cardinality constraints. In Principles and Practice of Constraint Programming (CP 2005), volume 3709 of Lecture Notes in Computer Science, pages 827–831. Springer, 2005.DOI
  55. [55]Mate Soos, Karsten Nohl, and Claude Castelluccia. Extending SAT solvers to cryptographic problems. In Theory and Applications of Satisfiability Testing (SAT 2009), volume 5584 of Lecture Notes in Computer Science, pages 244–257. Springer, 2009.DOI
  56. [56]Yong Kiam Tan, Marijn J. H. Heule, and Magnus O. Myreen. cake_lpr: Verified propagation redundancy checking in CakeML. In Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2021), volume 12652 of Lecture Notes in Computer Science, pages 223–241. Springer, 2021.
  57. [57]Donald E. Taylor. The Geometry of the Classical Groups. Heldermann, Berlin, 1992.
  58. [58]Koen Thas. The geometry of generalized Pauli operators of N-qudit Hilbert space, and an application to MUBs. EPL (Europhysics Letters), 86:60005, 2009.DOI
  59. [59]The mathlib Community. The Lean mathematical library. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), pages 367–381, 2020.DOI
  60. [60]Stefan Trandafir, Petr Lisoněk, and Adán Cabello. Irreducible magic sets for n-qubit systems. Physical Review Letters, 129:200401, 2022.
  61. [61]Sander Uijlen and Bas Westerbaan. A Kochen-Specker system has at least 22 vectors. New Generation Computing, 34:3–23, 2016.DOI
  62. [62]Péter Vrana and Péter Lévay. The Veldkamp space of multiple qubits. Journal of Physics A: Mathematical and Theoretical, 43(12):125303, 2010.DOI
  63. [63]Mordecai Waegell and P. K. Aravind. Proofs of the Kochen-Specker theorem based on the N-qubit Pauli group. Physical Review A, 88:012102, 2013.DOI
  64. [64]Nathan Wetzler, Marijn J. H. Heule, and Warren A. Hunt, Jr. DRAT-trim: Efficient checking and trimming using expressive clausal proofs. In Theory and Applications of Satisfiability Testing (SAT 2014), volume 8561 of Lecture Notes in Computer Science, pages 422–429. Springer, 2014.DOI
  65. [65]Edward Zulkoski, Vijay Ganesh, and Krzysztof Czarnecki. MathCheck: A math assistant via a combination of computer algebra systems and SAT solvers. In Automated Deduction – CADE-25, volume 9195 of Lecture Notes in Computer Science, pages 607–622. Springer, 2015.DOI

Paper details

vlnc:W_addgqa2t
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Physics and Astronomy

Not recorded for this paper · View statement →

Looking for related papers…
Contents