Framework for $\exists \mathbb{R}$-Completeness of Two-Dimensional Packing Problems
Mikkel Abrahamsen, Tillmann Miltzow, Nadja Seiferth
TL;DR
This work establishes a general framework to prove $\exists \mathbb{R}$-hardness for a broad class of two-dimensional packing problems by encoding existential real equations as geometric placement constraints. It introduces a reduction pipeline from Curve-ETR$[f,g]$ via wired wiring diagrams to packing instances, employing a suite of gadgets (Anchor, Swap, Split, Adder, Swing, Gramophone) and a fingerprinting technique that leverages minute slack to force near-canonical placements and consistent variable encoding. The authors prove strong hardness results, showing that many variants, including packing convex/curved pieces into polygonal or square containers with translations or rigid motions, are $\exists \mathbb{R}$-hard, and they extend the reductions to a square container via a 4-monotone intermediate container. These results imply that widely used ILP/SAT-based heuristics may be unsuitable for many rotations and non-polygonal-shape packing problems, highlighting the need for new algorithmic approaches when nonlinearity and geometric complexity are present. The framework also demonstrates strong hardness with rational-coordinate gadgets, suggesting robustness and potential applicability to other geometric-computation problems beyond packing.
Abstract
The aim in packing problems is to decide if a given set of pieces can be placed inside a given container. A packing problem is defined by the types of pieces and containers to be handled, and the motions that are allowed to move the pieces. The pieces must be placed so that in the resulting placement, they are pairwise interior-disjoint. We establish a framework which enables us to show that for many combinations of allowed pieces, containers and motions, the resulting problem is $\exists \mathbb{R}$-complete. This means that the problem is equivalent (under polynomial time reductions) to deciding whether a given system of polynomial equations and inequalities with integer coefficients has a real solution. We consider packing problems where only translations are allowed as the motions, and problems where arbitrary rigid motions are allowed, i.e., both translations and rotations. When rotations are allowed, we show that it is an $\exists \mathbb{R}$-complete problem to decide if a set of convex polygons, each of which has at most $7$ corners, can be packed into a square. Restricted to translations, we show that the following problems are $\exists \mathbb{R}$-complete: (i) pieces bounded by segments and hyperbolic curves to be packed in a square, and (ii) convex polygons to be packed in a container bounded by segments and hyperbolic curves.
