North-East Lattice Paths Avoiding $k$ Collinear Points via Satisfiability
Aaron Barnoff, Curtis Bright
TL;DR
This paper tackles the Gerver-Ramsey collinearity problem for north-east lattice paths by encoding the search for GR(k) walks as SAT problems. It develops CNF/KNF encodings with path constraints, non-collinearity constraints via cardinalities, symmetry breaking, and reachability handling, and applies cube-and-conquer parallelization to solve large instances. The authors fully enumerate GR(k) walks for k ≤ 6, verifying Shallit’s results (a(4)=9, a(5)=29, a(6)=97), and push the GR(7) boundary from 260 to 327 steps, with extensive reachability bounds and subpath-extension techniques. This SAT-based approach provides verifiable certificates and scalable exploration of discrete geometric problems, offering a blueprint for related combinatorial search problems.
Abstract
We investigate the Gerver-Ramsey collinearity problem of determining the maximum number of points in a north-east lattice path without $k$ collinear points. Using a satisfiability solver, up to isomorphism we enumerate all north-east lattice paths avoiding $k$ collinear points for $k \leq 6$. We also find a north-east lattice path avoiding $k = 7$ collinear points with 327 steps, improving on the previous best length of 260 steps found by Shallit.
