Phases XXXII–XXXIII — The Geometry of Boolean Feasibility | EIP P versus NP Research

A cuboctahedral wireframe beside an orthogonal box with luminous geometric relationships.

Electric Icarus Project | Computational Complexity Research | Phases XXXII–XXXIII
Research direction: Jonathan LaBelle. AI-assisted mathematical development and computational verification. November 27, 2026.

Status: Preliminary technical research note. No claim to a solution of P versus NP, no claim of independently established mathematical priority.

Abstract

Following Phase XXXI, we establish the sharp rank-two boundary of the basic signed NAE-3SAT Gram relaxation via a six-variable rank-three counterexample. Four signed triangle inequalities suffice to refute the counterexample. We then prove that rank-three feasibility becomes exact when all signed triangle inequalities are imposed, by combining the Danzer–Grünbaum bound on nonobtuse point sets with the equality of the metric and cut polytopes on four vertices. A small certificate-producing portfolio illustrates the complementary strengths of spectral and triangle inference.

1. Rank-three counterexample

Use the six vectors (0,1,−1), (0,1,1), (1,−1,0), (1,0,−1), (1,0,1), (1,1,0), each divided by √2. Their Gram matrix has rank exactly three. Signed indices represent negated literals. For a triple (a,b,c), write T(a,b,c)=X_ab+X_ac+X_bc, interpreting signed subscripts by sign multiplication. Impose T=−1 for the following twelve NAE triples:

H = [(1,2,3),(1,-2,-4),(1,-2,5),(1,2,-6),
     (1,3,-6),(1,-4,5),(2,3,-6),(2,4,-5),
     (3,-4,-5),(3,-4,6),(3,-5,6),(4,5,-6)]

Each equation holds in the displayed Gram matrix. Yet the sum of their left sides is twice the sum of T for the four triples (1,3,−4), (1,5,−6), (2,3,−5), (2,4,−6). Thus these four triangle expressions sum to −6. Every Boolean assignment obeys T≥−1 for every signed triple, implying that the sum must be at least −4. Contradiction. The same argument rules out every Gram representation obeying the four additional inequalities, not merely the exhibited rank-three matrix.

Exact enumeration of all 64 Boolean assignments confirms unsatisfiability. Deletion of any one of the twelve NAE clauses admits a satisfying assignment, so the system is minimally unsatisfiable with respect to those clauses. Together with Phase XXXI’s rank-two theorem, this establishes exactness at rank at most two, but not at rank at most three, for the basic relaxation.

2. The triangle-strengthened rank-three theorem

Theorem. A signed NAE-3SAT formula is satisfiable if and only if it admits a positive-semidefinite Gram matrix with unit diagonal, rank at most three, all clause equations T=−1, and every signed triangle inequality T≥−1.

Proof. A Boolean solution supplies a rank-one matrix. Conversely, let v_i be unit vectors representing the feasible matrix in R^r, with r≤3. Form the finite set S of distinct vectors ±v_i. For any three points p,q,w from S, the inequality (q−p)·(w−p)=1+q·w−p·q−p·w≥0 follows from the signed triangle inequality applied to (−p,q,w). Cases involving repeated or antipodal representatives also satisfy it directly from unit length. Thus no triangle in S has an obtuse angle.

By the Danzer–Grünbaum theorem, |S|≤2^r≤8. There are consequently at most four antipodal classes. Choose one vector from each class and identify each original variable with its representative, or the negation of that representative. The representative Gram entries satisfy the triangle inequalities and the correlation bounds [−1,1]. Under the transformation d_ij=(1−X_ij)/2, these are metric-polytope constraints. The metric polytope equals the cut polytope on at most four vertices. Consequently the representative Gram matrix is a convex combination of Boolean rank-one Gram matrices. Extend each Boolean representative assignment to the original variables using the prescribed signs.

Every original NAE triangle expression is at least −1 for every Boolean assignment in this combination. Its expectation is exactly −1 by the clause equation. Hence each assignment having positive weight satisfies that clause. The same holds for all clauses simultaneously. Any positive-weight assignment is a Boolean solution. QED.

Recovery is constructive: given an exact matrix, merge pairs with correlation +1 or −1, then enumerate at most 16 assignments of the representatives. More generally, a rank-r triangle-feasible representation has at most 2^(r−1) antipodal classes, giving a bound of 2^(2^(r−1)) representative assignments. At ranks above three, a failed recovery only rejects assignments respecting the given representation’s identifications; it need not prove the original instance UNSAT. Finding an exact low-rank feasible matrix remains computationally hard. These statements concern supplied representations, not an efficient universal algorithm.

3. Certificate-producing adaptive portfolio

A prototype attempts two simple Boolean witnesses, a spectral certificate, and a triangle certificate in that order. A spectral certificate consists of a rational shift t such that A+tI is positive semidefinite and nt<2m, where A contains signed pair frequencies for m NAE triples. Exact rational Schur-complement checks validate the PSD condition. For a triangle certificate, let C contain coefficient rows of the clause expressions and B those of all signed triangle expressions. Seek rational λ and nonnegative μ such that λᵀC=μᵀB and Σλ>Σμ. Since the clause expressions equal −1 and all triangle expressions are at least −1, these conditions imply a contradiction. A floating-point linear program proposes coefficients; rational reconstruction and exact identity checks are required before an UNSAT result is accepted.

The Fano plane was refuted spectrally, while the cuboctahedral system was refuted through automatic discovery of the same four triangle inequalities, with λ=1/4 on every clause and μ=1/2 on the four inequalities. An orthogonal-box control produced a Boolean witness. In 200 random signed NAE formulas on 3–8 variables (seed 330027; 1–5n randomly drawn clauses), the prototype produced 43 verified Boolean witnesses, 93 spectral refutations, 17 triangle refutations and 47 UNKNOWN results. Exhaustive independent checks found no wrong definitive decisions. The 47 unresolved cases were SAT in this sample. These are small correctness experiments and not general performance guarantees.

A separate finite search over the 12 antipodal directions of the D4 root system examined 3,302 subsets of size at least five. Of these, 411 satisfied all signed triangle inequalities; every one admitted a Boolean assignment satisfying its tight NAE triples. This does not settle rank four in general.

4. Minimal exact reproduction of the counterexample

from itertools import combinations, product
from collections import Counter
V = [(0,1,-1),(0,1,1),(1,-1,0),
     (1,0,-1),(1,0,1),(1,1,0)]
H = [(1,2,3),(1,-2,-4),(1,-2,5),(1,2,-6),
     (1,3,-6),(1,-4,5),(2,3,-6),(2,4,-5),
     (3,-4,-5),(3,-4,6),(3,-5,6),(4,5,-6)]
B = [(1,3,-4),(1,5,-6),(2,3,-5),(2,4,-6)]
sign = lambda a: 1 if a>0 else -1
def dot(a,b):
    return sum(x*y for x,y in zip(a,b))
def twice_T(c):
    return sum(sign(a)*sign(b)*dot(V[abs(a)-1],
        V[abs(b)-1]) for a,b in combinations(c,2))
def row(H):
    r=Counter()
    for c in H:
        for a,b in combinations(c,2):
            r[tuple(sorted((abs(a),abs(b))))] += sign(a)*sign(b)
    return r
def sat(c,x):
    return len({sign(a)*x[abs(a)-1] for a in c})==2
assert all(dot(v,v)==2 for v in V)
assert all(twice_T(c)==-2 for c in H)
assert all(row(H)[p]==2*row(B)[p]
           for p in combinations(range(1,7),2))
xs=list(product((-1,1),repeat=6))
assert not any(all(sat(c,x) for c in H) for x in xs)
for j in range(len(H)):
    assert any(all(sat(c,x) for i,c in enumerate(H)
                   if i!=j) for x in xs)
print("Rank-three counterexample and deletion checks passed.")

5. Cost-aware recursive representation selection

A finite portfolio of k interruptible certificate generators can be scheduled round-robin. If any generator returns a verifiable result after T steps, then the portfolio discovers it after at most O(kT) simulated steps, plus simulation and verification overhead. This standard scheduling observation removes the need to predict the best representation in advance, but cannot guarantee that one representation succeeds efficiently on every input. The next EIP research target is expanding the portfolio through sound, bounded-cost transformation discovery and proving coverage rather than merely benchmarking individual methods.

In EIP terminology, the mathematical selector is a proposed implementation of Meta-Semantic Grammar and MARI: different representations generate different types of certificates. The prototype is a fixed sequential portfolio, not yet a general adaptive meta-operator.

References and limitations

Danzer–Grünbaum (1962), nonobtuse/antipodal point-set bound; see On sets of points that determine only acute angles for context. David Avis, Excursions in Polyhedral Computation using lrs, illustrates the equality of the metric and cut polytope for four vertices. See also The cut cone III: On the role of triangle facets. The mathematical ingredients are established; the novelty of their particular combination in this NAE formulation has not been independently determined. Rank four with all triangle inequalities remains open in this investigation. P versus NP remains unsolved.

Published by Jonathan LaBelle

Published Author of a 21st Century Epic available through Barnes & Noble named 'A Story, An Epic, And Some Poetry...' Writer, Musician, and Poet. Well studied in many topics such as; Science, Theology, Mythology, Cosmology, Astrology, Esoteric/Occult Knowledge, History, Philosophy, Physics, Astronomy, Pop Culture, and More.

One thought on “Phases XXXII–XXXIII — The Geometry of Boolean Feasibility | EIP P versus NP Research”

Leave a Reply