Skip to content

Covering hypercubic grids by polygonal trails: capacity bounds and the optimum for P(4,3)P(4,3)

Aldo Roberto Pessolano, Marco Ripà

math.GM

Abstract

The classical nine-dot puzzle asks for a polygonal trail through a square grid using as few segments as possible. We study its higher-dimensional analogue on P(n,k):={0,…,n−1}kP(n,k):=\{0,\ldots,n-1\}^k for integers n,k≥2n,k\ge2, allowing arbitrary real vertices and unrestricted segment directions, and denote the minimum number of segments by h(n,k)h(n,k). For n≥3n\ge3 and k≥2k\ge2, we give a geometric proof of the previously stated capacity bound: a trail of r≥1r\ge1 segments meets at most 1+r(n−1)1+r(n-1) grid points. Refinements of this bound, combined with exhaustive finite checks, establish h(4,3)=23h(4,3)=23 and h(5,3)≥32h(5,3)\ge32. We also exhibit a 2222-segment trail through 6363 points of P(4,3)P(4,3), the maximum possible, and a 2323-segment covering trail contained in [0,4]3[0,4]^3, which settles the corresponding box-constrained problem. The general capacity theorem, a large-grid lower bound refuting a previously proposed formula for h(n,k)h(n,k), and the boxed construction are verified by the Lean 4 kernel, whereas the finite exclusions use native reflection and additionally trust the native compiler and runtime. A companion technical note provides the computational specification and reproducible proof artifacts.

Create a lesson

Metadata

Comments
20 pages, 2 figures. Companion technical note and reproducible proof artifacts: https://doi.org/10.5281/zenodo.24145830