Recognizing Subgraphs of Regular Tilings

This paper presents algorithms for recognizing subgraphs of regular tilings, proving that the problem is solvable in quasi-polynomial time for hyperbolic tilings, subexponential time for Euclidean tilings, and constant time for spherical tilings, while highlighting that the Euclidean case remains NP-hard even for trees.

Eliel Ingervo, Sándor Kisfaludi-Bak

Published Mon, 09 Ma
📖 5 min read🧠 Deep dive

Imagine you have a giant, infinite floor covered in a perfect, repeating pattern of tiles. This could be a checkerboard (squares), a honeycomb (hexagons), or a more exotic pattern that curves like a saddle. In the world of mathematics, these are called Regular Tilings.

Now, imagine you have a small, specific shape cut out of paper—a "pattern graph." It could be a simple tree, a loop, or a complex web.

The Big Question: Can you place your paper shape onto the infinite tiled floor so that every corner of your paper lands exactly on a tile corner, and every line on your paper matches a line on the floor?

This is the problem the authors, Eliel Ingervo and Sándor Kisfaludi-Bak, are trying to solve. They want to know: How hard is it to find this match?

The answer depends entirely on the shape of the floor. The authors discovered that the difficulty changes drastically depending on whether the floor is flat, round, or curved.

1. The Three Types of Floors

The authors divide the infinite floors into three categories based on how the tiles fit together:

  • The Round Floor (Spherical): Think of a soccer ball. The tiles curve inward to close a loop.
    • The Verdict: These floors are tiny (finite). You can check if your shape fits in a blink of an eye. It's trivial.
  • The Flat Floor (Euclidean): Think of a standard checkerboard or a honeycomb. The tiles lie flat and go on forever in straight lines.
    • The Verdict: This is hard. Even if your paper shape is just a simple tree (no loops), finding where it fits on a square grid is a nightmare for computers. It's so hard that we believe no super-fast algorithm exists for it. The authors found a "good enough" fast method, but it's still slow for very large shapes.
  • The Curved Floor (Hyperbolic): Think of a Pringles chip or a coral reef. The tiles curve outward, and the space expands incredibly fast. As you move away from the center, the number of available spots grows exponentially.
    • The Verdict: Surprisingly, this is the easiest of the three! Even though the floor is infinite and complex, the authors found a clever way to solve the puzzle in "quasi-polynomial" time. This means it's much faster than the flat floor version, almost as if the curvature of the floor helps the computer cheat.

2. The Secret Weapon: The "Convex Hull" and the "Bubble"

Why is the curved floor easier?

Imagine you are trying to fit your paper shape onto the floor.

  • On the Flat Floor: If you try to fit a tree, the branches can wiggle around in endless directions. There are too many possibilities.
  • On the Curved Floor: The authors realized that if you draw a "bubble" (a convex hull) around your shape, the bubble has a special property. Because the floor curves outward, the bubble doesn't get huge and messy; it stays relatively compact and well-behaved.

They used a technique called Dynamic Programming. Think of this like solving a giant jigsaw puzzle by starting with the smallest pieces and snapping them together.

  1. They imagine cutting the floor with a flexible, rubbery loop (a "noose").
  2. They check if the paper shape fits inside the loop.
  3. They shrink the loop, solve the tiny pieces, and then build back up to the full shape.

Because the "bubble" on the curved floor is so well-behaved, the computer doesn't get lost in a sea of possibilities. It can systematically check every valid way to fit the shape without getting overwhelmed.

3. The "Tree" Surprise

There is a fascinating twist. Usually, if a problem is hard for a complex shape, it's also hard for a simple shape like a tree.

  • On the Flat Floor: Even a simple tree is a nightmare to fit. It's like trying to find a specific tree in a dense, flat forest where every tree looks the same and branches go in every direction.
  • On the Curved Floor: Even though the floor is infinite, the "tree-likeness" of the hyperbolic geometry actually helps. The branches of the floor spread out so quickly that your paper tree has a unique "home" that is easier to find.

The Takeaway

The paper is a victory lap for Hyperbolic Geometry.

  • Flat World (Euclidean): Finding patterns is hard. It's like looking for a needle in a haystack where the haystack is infinite and flat.
  • Curved World (Hyperbolic): Finding patterns is surprisingly easy. The curvature acts like a guide, funneling the possibilities into a manageable path.

The authors didn't just say "it's hard" or "it's easy." They built the actual instruction manual (algorithms) for computers to solve these puzzles efficiently on curved floors, and they proved that for flat floors, we are likely stuck with the slow methods we have now.

In short: If you want to fit a shape onto an infinite floor, you're better off on a curved, saddle-shaped world than on a flat one. The curvature, which seems more complex, actually makes the math simpler!