Short answer
The tiling problem asks whether a given set of tile types can cover a whole plane, or a large region of one, when neighboring edges must match. In general, no algorithm can answer this for every possible tile set. That result is one of the known limits of computation.
Tile types and matching rules
The usual setup uses Wang tiles, named after the logician Hao Wang, who introduced them in the 1960s while studying a question about logic. A Wang tile is a square with a color on each of its four edges. You start with a finite set of tile types, and you may use as many copies of each type as you like. Two rules apply in the standard setup:
- Tiles cannot be rotated or reflected.
- Two tiles that share an edge must have the same color on that edge.
The question is whether you can cover the plane this way with no gaps and no mismatched edges.
Some tile sets are easy to judge. A single tile with the same color on all four edges covers the plane trivially, because every neighbor matches. Other sets are much harder to judge.
The domino problem and why it is undecidable
The question “does this finite set of tile types tile the whole plane?” is called the domino problem. In 1966, Robert Berger showed that the domino problem is undecidable. That means no general algorithm exists that gives the correct yes or no for every finite set of tile types. For any algorithm you propose, some tile set exists on which it gives the wrong answer or never stops.
Berger’s original set had more than 20,000 tile types. Later researchers found much smaller sets that show the same result.
Undecidable does not mean every case is hard. Many specific tile sets can be analyzed by hand or with a computer. It means no single method works for all of them.
Aperiodic tile sets
Some tile sets can cover the plane, but only in patterns that never repeat. These are called aperiodic. Berger’s set was the first known aperiodic set. Penrose tilings, built from a small number of shapes such as the kite and the dart, are a well-known later example.
Where the idea shows up in AI and computing
Logic and the limits of reasoning
Undecidable problems mark the limits of what an automated system can settle in general. The tiling problem is one of several such results. Its link to logic is covered in first order predicate logic in artificial intelligence examples.
Coverage planning
Robots and planners often need to cover an area, such as a floor being cleaned or a field being mowed. They often split the area into cells and plan a route through them. This is related to tiling, but it is a practical planning problem. It is usually handled with heuristics and search, not by the undecidable question above.
“Tiling agents” in AI safety
The word “tiling” also appears in AI safety research. A 2013 paper introduced “tiling agents,” which describes an agent that wants any agents it creates or modifies to keep its own goals. Researchers have asked whether such agents can be shown to keep their goals reliably, and that question is still open. It is a research topic, not a settled method.
How it differs from other tile ideas
Two other meanings often get mixed up with the tiling problem:
- Tile coding in reinforcement learning is a way of building features from overlapping grids. It does not ask whether shapes can cover a plane.
- The sliding tile puzzle is a search problem with numbered tiles and one blank.
For a guide to both, see the tiles problem in artificial intelligence.