Investigating Simple Drawings of $K_n$ using SAT
Helena Bergold, Manfred Scheucher
TL;DR
The paper presents a SAT-based framework for investigating simple drawings of the complete graph $K_n$ by encoding rotation systems and finite forbidden substructures into CNF formulas. It translates combinatorial drawing data into a solver-friendly representation using $X_{aib}$ and $Y_{abcd}$ variables, along with symmetry breaking and crossing-encoding to capture drawable configurations and edge crossings. The framework is applied to a broad set of problems, including Rafla's conjecture variants, empty triangles, uncrossed edges, crossing families, and generalized Erdős--Szekeres theorems, yielding both reproved results and new computational insights up to modest $n$ and across several drawing subclasses. It provides certificate-backed results (e.g., DRAT proofs) and a flexible platform for exploring larger instances, with additional attention to aesthetic visualization of the resulting drawings.
Abstract
We present a SAT framework which allows to investigate properties of simple drawings of the complete graph $K_n$ using the power of AI. In contrast to classic imperative programming, where a program is operated step by step, our framework models mathematical questions as Boolean formulas which are then solved using modern SAT solvers. Our framework for simple drawings is based on a characterization via rotation systems and finite forbidden substructures. We showcase its universality by addressing various open problems, reproving previous computational results and deriving several new computational results. In particular, we test and progress on several unavoidable configurations such as variants of Rafla's conjecture on plane Hamiltonian cycles, Harborth's conjecture on empty triangles, and crossing families for general simple drawings as well as for various subclasses. Moreover, based our computational results we propose some new challenging conjectures.
