arXiv:2610.22241cs.CGOct 2026

Manuscript Offprint

arXiv:2610.22241

Geometric Graph Representations via Compact SAT Encodings

L. Sunil Chandran, Rishikesh Gajjala, Suraj Kumar Sahoo, Aatman Supkar

Abstract

Geometric graph representation problems ask whether a graph can be realized by geometric objects whose intersections or contacts encode adjacency. Exact algorithms for such problems can construct representations, certify their non-existence under prescribed constraints, and turn computations on small graphs to build larger theories. Their main obstacle is often geometric discretization: generic grid formulations record a high-dimensional occupancy pattern and grow rapidly with the target dimension.

We study this bottleneck for boxicity and cubicity. The boxicity of a graph is the minimum dimension in which it is the intersection graph of axis-aligned boxes; cubicity is defined analogously using unit cubes. Rather than assign boxes to a grid, we encode only the combinatorial information that determines their intersections: the total order of the interval endpoints in each coordinate. For an nn-vertex graph and target dimension dd, the resulting boxicity formula has O(n2d)O(n^{2}d) variables and O(n3d)O(n^{3}d) clauses, both linear in dd. Matching the left- and right-endpoint orders gives a cubicity encoding of the same asymptotic size.

We implement these formulations as certifying exact solvers. Satisfying models are decoded into independently checked geometric representations, while unsatisfiable instances used as lower-bound evidence carry mechanically verified DRAT certificates. In a controlled evaluation with 186 trials per encoding on standard and structured graph families, the order encoding solves 96.8% of trials, compared with 71.0% for the known grid formulation, and reduces mean PAR-2 time from 178.21 seconds to 21.70 seconds. The pipeline also certifies exact values for several named graphs and turns one such value into a reusable obstruction: a Kneser graph K(n,k)K(n,k), for k≥3k \geq 3 and n≥2k+1n \geq 2k+1, contains an induced Desargues graph. Together with an explicit three-dimensional representation, this proves box(K(7,3))=3\text{box}(K(7,3)) = 3, providing a counterexample to the conjecture of Caoduro and Sebő that box(K(n,k))=n−k\text{box}(K(n,k)) = n - k for all k≥3k \geq 3 and n≥2k+1n \geq 2k+1.

Keywords. SAT encodings, geometric graph representations, boxicity, cubicity, interval graphs

1 Introduction

The study of Geometric graph representations lies at the intersection of graph drawing, computational geometry, discrete mathematics, and graph algorithms. A graph may be represented by intervals, boxes, disks, curves, paths, visibility regions, or other geometric objects, with adjacency expressed by intersection, contact, containment, or visibility. Exact algorithms for these representations serve two complementary purposes: they construct geometric witnesses when a representation exists, and they certify nonexistence within a prescribed model or dimension. The two outcomes are inherently asymmetric. An upper bound has a concrete geometric witness, whereas a lower bound must rule out an apparently continuous space of coordinates.

This is especially useful for graph parameters whose values are known for broad classes but remain unsettled for familiar individual graphs. Named graphs such as the Heawood, Desargues,

∗^{*}Indian Institute of Science, Bengaluru, India.

†^{\dagger}New York University Abu Dhabi, UAE.

Pappus, Coxeter, McGee, and Möbius–Kantor graphs are standard test cases across graph theory, yet even small examples can resist exact geometric classification. A certifying solver can therefore do more than populate a catalogue: its constructions can suggest patterns, while its lower-bound certificates can expose obstructions and test conjectures. Our broader goal is a pipeline in which both kinds of solver output become discrete, independently checkable mathematical objects.

Boxicity and cubicity provide a demanding testbed for this goal. The boxicity of a graph G, denoted box(G), is the smallest integer d such that G is the intersection graph of axis-aligned boxes in Rd\mathbb{R}^d. Equivalently, box(G)≤d\text{box}(G) \leq d if and only if there are interval graphs I1,…,IdI_1, \ldots, I_d on V(G)V(G) such that

E(G)=E(I1)∩⋯∩E(Id).E(G)=E(I_{1})\cap\cdots\cap E(I_{d}).

The unit-cube analogue is cubicity, denoted cub(G); equivalently, cub(G) ≤ d if and only if G is the intersection of d unit interval graphs. Introduced by Roberts [19], these parameters are standard measures of departure from interval graphs. They connect to planar and outerplanar structure, treewidth, vertex cover, and poset dimension [20, 21, 12, 11, 5, 2]; general lower-bound methods and a recent survey give broader context [4, 13].

Exact recognition is already hard in low dimension: deciding whether box(G) ≤ 2 is NP-hard [17]. The closest general exact framework is the grid-based ILP/SAT method of Biedl et al. [6]. For boxicity it uses occupancy variables over [1,n]d[1, n]^d, resulting in O(nd(n+m))O(n^d(n + m)) variables and O(nd+2)O(n^{d+2}) clauses [6, Theorem 6]. Pair-orientation variables and transitivity clauses are established SAT machinery [8]; our contribution is to specialize that machinery to labeled interval endpoints for arbitrary input graphs.

The key observation is that a box representation contains much less relevant information than an arbitrary occupancy pattern. In one coordinate, every interval separation is determined, up to order-isomorphism, by one total order of the 2n labeled endpoints. We encode d such orders as transitive tournaments. Edges impose overlap in every coordinate, while each nonedge needs a separation in at least one coordinate. The resulting boxicity formula has O(n2d)O(n^{2}d) variables and O(n3d)O(n^{3}d) clauses; matching the left- and right-endpoint orders yields the same asymptotic size for cubicity. Models decode into checked boxes or unit cubes, and unsatisfiable instances used for mathematical lower bounds carry mechanically checked DRAT proofs.

Contributions. The paper makes three algorithm-engineering contributions and one graph-theoretic application.

First, we give a direct endpoint-order SAT encoding for deciding whether box(G) ≤ d. It represents each coordinate by a transitive tournament on the labeled interval endpoints, rather than by grid cells. The formula has O(n2d)O(n^2d) variables and O(n3d)O(n^3d) clauses, both linear in the target dimension d.

Second, we extend the same formulation to cubicity. Matching the left- and right-endpoint orders makes every coordinate representation proper; the equivalence of proper and unit interval graphs then yields an encoding for cub(G)≤d\text{cub}(G) \leq d of the same asymptotic size.

Third, we implement the formulations as certifying exact solvers and compare boxicity encodings based on direct orders, one-hot endpoint positions, and the published grid. Satisfying models are decoded and checked independently; mathematical lower bounds include regenerated CNFs and mechanically verified DRAT proofs. Across 558 trials (186 per encoding), the order encoding solves 180 of 186 cases, compared with 174 and 132, and lowers mean PAR-2 time from 46.19 and 178.21 seconds to 21.70 seconds.

Fourth, the certified catalogue in Figure 1 yields a graph-theoretic application. It includes box(D) = 3 for the Desargues graph D. We embed D as an induced subgraph of every K(n,k)K(n, k)

Certified values and lower-bound consequences.
Graph or familyCertified resultEvidence
Desargues, Heawood, Pappus, box(GG) = 3McGee, Coxeter, and Möbius–Kantor graphsbox(G)=3\text{box}(G)=3cubic-graph upper bound box(G)≤3\text{box}(G)\leq 3 plus UNSAT certificate for d=2d=2
Heawood, Pappus, and Möbius–Kantor graphscub(G)=4\text{cub}(G)=4SAT witness for d=4d=4 plus UNSAT certificate for d=3d=3
Desargues graph DDcub(D)=3\text{cub}(D)=3SAT witness for d=3d=3 plus UNSAT certificate for d=2d=2
Kneser graph K(7,3)K(7, 3)box(K(7,3))=3\text{box}(K(7, 3))=3explicit three-dimensional representation plus induced Desargues obstruction
Kneser graphs K(n,k),n≥2k+1K(n, k), n \ge 2k+1, k≥3k \ge 3box(K(n,k))≥3\text{box}(K(n, k)) \ge 3induced Desargues obstruction

To the best of our knowledge, the named-graph values in this table are not known prior to this work. Each finite computational claim is supported in the artifact by a checked model, a mechanically verified DRAT certificate, or the explicit Kneser representation below.

Figure 1: Catalogue output of the certificate pipeline and consequences for Kneser graphs. The Desargues value supplies the obstruction used in the Kneser application.

with n≥2k+1n \ge 2k+1, k≥3k \ge 3, then combine this obstruction with an explicit representation to prove box(K(7,3))=3\text{box}(K(7, 3)) = 3.

From computation to a reusable obstruction. The last contribution illustrates the intended workflow: a computed named-graph value becomes a reusable obstruction. The vertices of K(n,k)K(n, k) are the kk-subsets of [n][n], adjacent when disjoint. Caoduro and Lichev initiated the study of its boxicity [9]; Caoduro and Sebő later determined K(q,2)K(q, 2), conjectured box(K(n,k))=n−k\text{box}(K(n, k)) = n - k for k≥3k \ge 3, n≥2k+1n \ge 2k+1, and posed K(7,3)K(7, 3) as a test case [10]. A subsequent report also left it unresolved [1]. The induced Desargues obstruction and our three-dimensional model give box(K(7,3))=3<4=7−3\text{box}(K(7, 3)) = 3 < 4 = 7 - 3, refuting the conjectured equality.

Organization. Section 2 gives basic definitions and the endpoint-order abstraction. Section 3 presents the SAT encoding for boxicity. Section 4 extends the encoding to cubicity. Section 5 describes the implementation and certification pipeline. Section 6 reports the experimental comparison with the endpoint-position and grid-based baselines. Section 7 gives the certified graph values and the Kneser application. Section 8 concludes.