The turnpike problem, also called the partial digest problem, asks for configurations of points on a line that realize
a given multiset of pairwise distances.
Each unordered pair of point occurrences contributes one distance, including zero
if the two points coincide. Configurations can be normalized by translating the least
point to 0. For example, the distances 1, 2, and 3 give the normalized configurations
and
, which are reflections
of each other.
Buhai (2026) reports a deterministic algorithm that, for a list of nonnegative integers written in binary, enumerates every normalized realization exactly once in total polynomial time in the length of the list's binary encoding. Reflected configurations are both returned when their normalized forms differ. Deciding realizability therefore also takes polynomial time. The bound is in terms of the bit length of the exact distances. Whether the problem has a strongly polynomial algorithm remains open. The mathematical proof and Lean formalization were produced using AI under Buhai's direction. The Palomar Registry (2026) records verification of the enumeration and decision results.