arXiv:2610.42063cs.CCOct 2026

Manuscript Offprint

arXiv:2610.42063

Counting Square Tilings with a Fixed Set of Polyominoes Is #EXP-Complete

Qiuyu Chen, Baao Xie

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The gap between feasibility and exact counting raises a fundamental question about how much information an input must carry to sustain computational hardness. We show that this separation persists even when the geometric rules are fixed and each instance is specified solely by the binary side length of a square. Specifically, there exists a fixed finite family of connected polyominoes whose translation-only square-tiling counting function is #EXP-complete under polynomial-time metric reductions and belongs to #E. Since tileability for any fixed polyomino family is decidable in polynomial time, this result establishes a striking separation between feasibility and exact counting under highly restricted geometric inputs. The proof develops a two-stage numerical isolation technique that recovers accepting-computation counts from a boundary-amplified Wang system and preserves them through a rigid geometric compiler that controls all noncanonical polyomino tilings.

1 Introduction

The distinction between deciding whether a solution exists and counting all solutions becomes particularly revealing when the input itself is highly constrained. In tiling problems, computational information can be carried by the available pieces, the geometry of the region, or both. Polyomino tilings provide a classical setting in which these two sources of variation can be restricted independently, allowing the complexity of feasibility and exact counting to be compared within the same geometric model.

Classical tiling results illustrate the importance of how instances are specified. Domino tilings admit efficient counting algorithms based on Pfaffian methods [Kas61], whereas more general tiling problems exhibit substantial computational hardness [MR01]. In particular, Pak and Yang [PY13] proved that counting tilings of simply connected regions by a fixed finite family of rectangles is #P-complete. Although the available pieces are fixed, the varying shape of the region still provides a rich means of encoding computational instances. This motivates a stronger geometric restriction in which the region is always an ordinary square. With both the tile family and the shape of the region fixed, the side length becomes the sole input parameter.

For a fixed finite family TT of polyominoes, let gT(n)g_T(n) denote the number of translation-only tilings of an n×nn \times n square. When nn is represented in binary, an input of length O(log⁡n)O(\log n) specifies a region containing n2n^2 cells. The input description is therefore succinct enough to represent an exponentially large geometric system, even though its local rules and overall shape remain fixed. This raises a fundamental counting-complexity question: can the exact number of tilings retain the hardness of counting exponential-time computations when all instance information is encoded in a single binary size parameter? Pak [Pak18, Conjecture 1.7] formulated this question for fixed-family square tilings. A closely related result establishes that, for every fixed tile family, tileability of an m×nm \times n rectangle can be decided in O(log⁡m+log⁡n)O(\log m + \log n) time [Pak18, Theorem 1.9]. Consequently, this setting isolates a sharp distinction between the information needed to determine feasibility and the information contained in the exact number of solutions.

We establish that this distinction persists at the level of exponential-time counting complexity. Here #EXP denotes the class of accepting-path counting functions of nondeterministic machines with exponential-polynomial time bounds, while #E denotes its linear-exponential-time counterpart. Completeness is measured under polynomial-time metric reductions [Kre88], which recover a source count from a target count by polynomial-time computation on their binary representations.

Theorem 1.1 (Main theorem). There exists a fixed finite family T∗\mathcal{T}^* of nonempty connected polyominoes such that counting translation-only tilings of the n×nn \times n square, with nn given in binary, is #EXP-complete under polynomial-time metric reductions. The counting function belongs to #E.

The theorem places exponential-time counting complexity within a geometric system whose feasibility can be decided efficiently. Its proof therefore hinges on the multiplicity of valid tilings. A square with fixed local rules admits many configurations, while the computation encoded by its side length must be recovered from their total number. In particular, an exact counting reduction must account for every tiling admitted by the construction, including those that do not represent the intended computation. The central idea is to separate these contributions numerically. By assigning the intended computation histories a sufficiently large common multiplicative factor and bounding the aggregate contribution of all other configurations, the desired count becomes recoverable by integer division. This numerical isolation principle underlies the two stages of the proof.

The first stage realizes numerical isolation within a fixed Wang-tile system. Wang tiles encode computations through local edge-matching constraints, a classical connection developed in the theory of tilings and computation [Wan61, Ber66, Rob71]. The computational power of fixed local constraints with binary-encoded system dimensions has also been established in translationally invariant tiling and optimization problems [GI13, AI23], while a related fixed-Wang-square counting result was reported by Mennen and Pak [Pak20]. In our construction, the binary side length determines the initial configuration of a fixed nondeterministic machine, whose accepting branches are represented by Wang tableaux. A boundary amplifier gives the intended computation histories a dominant multiplicative contribution to the total open-square count. The remaining boundary configurations are controlled by a uniform counting bound, allowing the accepting-path count to be recovered exactly. Moreover, the tableau construction ensures that the number of open Wang tilings of an arbitrary rectangle grows at most exponentially in its perimeter. This property supplies the quantitative control required for the geometric realization.

The second stage transfers the Wang counting construction to a fixed family of connected polyominoes. Geometric encodings of matching constraints provide a foundation for such translations [DD07, Oll09]. Exact counting introduces an additional global requirement, since every possible arrangement of the resulting geometric pieces contributes to the answer. The construction assigns each Wang tile a connected carrier whose interior cavity preserves its identity and whose boundary features encode matching constraints. Local rigidity forces the carriers onto a common macrogrid, while their open interfaces organize the grid into rectangular components. This yields an exact counting formula indexed by rectangular dissections. The canonical one-block configuration contributes the intended Wang count, and every nontrivial dissection incurs a seam of sufficient length to lose a large number of interface labels. Together with the perimeter bound on Wang tilings, this loss controls the aggregate contribution of all noncanonical configurations. A second numerical isolation identity then recovers the Wang count from the polyomino count.

The two recoveries compose into a polynomial-time metric reduction from a #EXP-complete accepting-path counting problem to the square-tiling count of a single fixed polyomino family. The resulting separation shows that feasibility and exact counting can exhibit sharply different complexity even in a highly restricted geometric system. More broadly, the construction develops numerical isolation as a design principle for exact counting reductions, in which a dominant computational contribution and a quantitatively bounded remainder make the desired count arithmetically recoverable. Its combination with rigid geometric compilation suggests a transferable approach to establishing counting hardness in other succinctly specified systems with fixed local constraints.

References (18)