ExplorationsOne rule for replacing a triangle, and where its counting leads

Tiles That Never Repeat

Exhaustively checkedtilingssubstitution systemsgolden ratiointermediate

Penrose use two diamond-shaped tiles, one wide and one narrow, with rules for which may meet. The laboratory divides triangular half-tiles into smaller pieces: a narrow half becomes one narrow and one wide half. Repeating this builds a finite patch. Valid infinite tilings repeat local arrangements but have no repeating grid; removing the matching rules allows ordinary repeating patterns.

Current view: One substitution

The rule itself, applied once at a time, with the shape that was there before drawn behind what replaced it.

One substitution · round 01 triangle
  1. Inputone thin half-rhombus
  2. Operationreplace each thin half by one thin and one fat, and each fat half by one thin and two fat
  3. Output1 thin half, and no fat ones yet, not yet replaced
111 ÷ φ
the parent
the outline of the patch as it stood one round earlier
a thin half
half of a thin rhombus, drawn hatched, with angles 36, 72 and 72
a fat half
half of a fat rhombus, drawn plain, with angles 108, 36 and 36
a cut
the pale diagonal a rhombus was halved along, so a rhombus is two halves either side of one

The outline is the patch as it stood one round earlier; the filled triangles inside it are what the rule put there. A thin half-rhombus is replaced by one thin and one fat; a fat one is replaced by one thin and two fat. The children exactly fill the parent, which is why the patch never grows and the total area never changes: what changes is that every piece is now shorter by a factor of phi. Step through the rounds and watch the outline stay exactly where it was.

The starting patch, before the rule has been applied: 1 thin half, and no fat ones yet. Every one of its long edges is 1 and every short one is 1 divided by the golden ratio.

Rounds
0
Thin halves
1
Fat halves
0

Rounds of substitution

What is being deflated

One thin half-rhombus, which is the smallest thing the rule can be applied to and the only start small enough to watch the first round of.

How the tiles are placed

Every tile placed by the rule, round after round, from the starting patch above. The lattice beside it is the comparison: the same two rhombi, put down by hand in a pattern that does repeat.

Step by step

Use Step for one change you can inspect, or Run to watch the changes accumulate.

Speed
Advanced parameters

The counts are exact whole numbers, iterated from the substitution rule with no floating-point step anywhere in the path, so the counting view is right at depths this figure would not attempt to draw. The coordinates are ordinary double-precision numbers and are used for drawing and nothing else. The two are compared rather than confused: at every round up to 8 the number of triangles in the drawing is checked against the number the rule predicts.

Cases worth seeing

Try this

The counts run 1 and 0, then 1 and 1, then 2 and 3, then 5 and 8. Before you look at the next row, write down what you think it is, and then say what rule you used.

1/3

What is going on

Each explanation begins with a worked example and follows the same operation through intuition, formal statements and proofs. Later sections distinguish what is established from questions that remain open, so you can follow the level of detail useful to you.

Worked by handSix rounds of the , counted rather than drawn. One thin triangle becomes one thin and one fat; one fat becomes one thin and two fat.
  1. 1 thin, 0 fat(1 + 0) thin, (1 + 2×0) fat1 thin, 1 fatthe single thin triangle is replaced by one of each
  2. 1 thin, 1 fat(1 + 1) thin, (1 + 2×1) fat2 thin, 3 fatthe fat one contributes a thin and two fat of its own
  3. 2 thin, 3 fat(2 + 3) thin, (2 + 2×3) fat5 thin, 8 fatevery triangle of the patch is replaced at once, and the patch keeps its size
  4. 5 thin, 8 fat(5 + 8) thin, (5 + 2×8) fat13 thin, 21 fatthe fat count is pulling ahead, because fat triangles make more of themselves
  5. 13 thin, 21 fat(13 + 21) thin, (13 + 2×21) fat34 thin, 55 fatboth columns are , and each is the one after the last
  6. 34 thin, 55 fat(34 + 55) thin, (34 + 2×55) fat89 thin, 144 fat144 divided by 89 is 1.6180, and is 1.6180

The laboratory does exactly this and then draws the result. Six rounds from a single triangle is 233 pieces, which is the patch you get by pressing Step six times, and the counts column beside the figure is the column you have just read down.

Both columns are , and each is the one after the last: 1, 1, 2, 5, 13, 34, 89 against 0, 1, 3, 8, 21, 55, 144. Nothing was arranged for that. It is what these two replacement rules do, and it is why the of the two counts walks towards the rather than towards any other number.

01

What you are seeing

A plain description of the process

There are two rhombi. Both have all four sides the same length. One is fat, with of 72 and 108 degrees; the other is thin, with angles of 36 and 144. They are the two Penrose rhombi, and the matching rules specify which tile may meet. Infinite obeying those rules have no non-zero translation that leaves the whole pattern unchanged, although local arrangements do repeat. This is the cited from Penrose and de Bruijn. A finite patch alone cannot establish it, and this page does not reproduce its .

What you can watch here is the rule that builds them, which is called deflation. Cut each rhombus in half along a , so that everything is a triangle. Then replace each triangle by smaller triangles of the same two shapes, arranged so that they exactly fill the one they replaced. A thin half becomes one thin and one fat. A fat half becomes one thin and two fat.

Starting with one thin half, one replacement gives two triangles. Eight replacements give 1,597, all inside the original outline and arranged by the same rule. The laboratory counts these pieces exactly rather than estimating their number from the picture.

The patch never grows. What changes is that the pieces are shorter by a of the each round, so there are more of them, and after a few rounds the figure stops looking like a subdivided triangle and starts looking like the in the photographs.

02

Why it starts to make sense

Intuition, before any algebra

Start with the smallest thing there is: one thin half-rhombus. Two of its sides are the rhombus's and are equal; call that length 1. The third side is the it was cut along, and it is shorter, by exactly a of . So the very first figure on this page, before any rule is applied, already contains the only proportion the whole is made of.

Now apply the rule once. The long side is cut at the point that divides it in the , that point is joined across to the far corner, and there are two triangles where there was one: a thin one and a fat one. Both of their rhombus are , which is why the next round can do the same thing again. The rule is because is the number for which cutting this way leaves you the same shape smaller.

The counting comes next and it is the part that pays. Write for the number of thin halves and for the number of fat ones. The two rules say

a thin half makes one thin and one fat; a fat half makes one thin and two fat.

so after one more round there are thin halves and fat ones. That is the whole of the arithmetic on this page. Start at , and turn the handle:

Fat pulls ahead, because a fat half makes two more of itself and a thin one makes only one. And the goes 0, 1, 1.5, 1.6, 1.615, 1.6176, 1.61798, which is not wandering: it is closing on from below, faster each round, and never reaching it.

Why ? Because if the settles anywhere at all, it settles somewhere that the rule leaves alone. Suppose . Then the new ratio is , which in terms of is , and if that is also then

which is the defining of the . Layer 5 does this properly, without assuming the exists.

03

The key idea

What a picture of a can and cannot establish

This page has two things on it and they are not the same kind of thing at all.

A patch is finite. "It never repeats" is about the plane. However deep you deflate, you have a bounded piece of paper with a few thousand triangles on it. Repetition is the statement that some translation carries the whole onto itself, and no finite piece can rule that out or in.

So the beautiful five-fold patch on this page is not evidence for the famous claim. It is an illustration of it. That distinction is the site's whole subject and this is the page where it is sharpest, because the picture is so convincing and so completely silent.

What the page can settle for itself is the counting, and the counting is not a lesser subject. The going to is proved here, in layer 5, in four lines, from a with four entries in it. The counts at every depth are exact whole numbers rather than measurements off a drawing. Those are small results and they are genuinely this page's own.

And then the failure preset, which is where the two halves meet.

The shapes are not what forbid repetition. The markings are. Take the same two rhombi, ignore the arrows, and lay them out in a . They tile the plane with no gaps and no overlaps in a pattern that repeats every few tiles, and you can watch it do so.

That is worth doing because it is the mistake the picture invites. A reader who has been shown a gorgeous non-repeating patch and told "these two shapes never repeat" has been told something false about the shapes. The tiles alone are perfectly happy to repeat. It takes the matching rules, which are marks on the rather than properties of the outlines, to stop them, and that is the difficult and beautiful thing Penrose actually found.

04

Formal statement

Precisely what is being claimed

Let denote the thin half-rhombus, with 36°, 72°, 72°, and the fat one, with angles 108°, 36°, 36°, both scaled so their two equal sides have length 1. Let be the that replaces each triangle by the smaller triangles named in layer 1, positioned as the kernel places them.

  1. is a partition: the triangles puts inside a triangle cover exactly, with disjoint interiors. Proved, in layer 5, by writing the pieces down.
  2. Writing for the counts after rounds from a patch , Proved, immediately from 1.
  3. For any starting patch with and , , and the error is . Proved, in layer 5.
  4. From , the counts at depths 0 to 12 are = 1, 1, 2, 5, 13, 34, 89, 233, 610, 1597, 4181, 10946, 28657 and = 0, 1, 3, 8, 21, 55, 144, 377, 987, 2584, 6765, 17711, 46368. Exhaustively checked over those thirteen depths, in exact whole numbers, and cross-checked against the drawn patch to depth 8.
  5. The two rhombi, as unmarked shapes, admit a of the plane under a of translations. Proved, by the exhibition drawn in the failure preset.
  6. With Penrose's matching rules, the two rhombi tile the plane, and no such is under any translation. Proved by Penrose and by de Bruijn, cited, and not reproduced here.

Statement 6 is the reason anybody has heard of these tiles, and it is the one thing on this page that this page does not do. Statement 5 is what stops 6 from being misread as a fact about the outlines.

05

Proof

Of statements 1, 2, 3 and 5, and of nothing else

1. The is a partition. Take the thin triangle with apex and base , so and . Let be the point on with . The segment cuts the triangle into and , which is a partition because lies strictly between and . It remains to identify the two pieces. In the at is 36°, so

so . Then has and , which is a thin triangle at scale ; and has and , which is a fat triangle at the same scale. The fat case is the same computation twice: cut at with and at with , and the segments and cut the triangle into three pieces which the rule identifies as one thin and two fat, all at scale . ∎

Two consequences follow at once and both are used everywhere on this page. The total area is unchanged, since the children fill the parent exactly. And if no two tiles of a patch overlap, then no two tiles of its deflation overlap either, because each child lies inside its own parent. That second one is why the patch at depth 8 is a : not because anything was checked, but because depth 0 was a tiling and the property is inherited.

2. The . A thin triangle is replaced by one thin and one fat; a fat triangle by one thin and two fat. Counting over the whole patch gives and , which is the matrix in statement 2. ∎

3. The . Let . Its characteristic is , whose roots are

using . Since the is diagonalisable. An for satisfies , that is , so ; similarly . Write the starting patch as . Both entries of 's first column are positive and has all entries positive, so is a primitive non-negative matrix and for any non-zero non-negative start. Then

since . So the to , and the error falls by a of each round, which is what the last column of the counts view shows. ∎

Notice what this does not say. It says nothing about where any tile is. The whole argument is about two numbers, and it would be exactly the same argument for any with these multiplicities and any geometry at all.

5. The unmarked shapes tile the plane periodically. Take unit at 0°, 36° and 72°. The parallelogram spanned by and is a fat rhombus, since the between them is 72°; translating it by every multiple of gives a band of the plane, bounded below by the line through the origin in direction and above by the parallel line through . The parallelogram spanned by and is a thin rhombus, and its band sits on top of the first one with the corners meeting, because both bands have their corners spaced one apart in the direction and the upper band is started at . Repeating the pair of bands, translated each time by , covers the plane. The result is carried onto itself by and by , so it is periodic, and it uses both rhombi and nothing else. ∎

What is not proved here. Statement 6, which is the . Also not proved here: that the patches, continued for ever, give a of the whole plane. Both are real mathematics and both are cited rather than reproduced. And the "matching rule" this laboratory checks is a smaller and more local thing than Penrose's arrows: it is the list of ways two triangles are found meeting along an in the patches this page actually deflates, which is a description of those patches and not a theorem about all tilings. It is enough to point at the exact edges where the periodic does something the substitution never does, and the ledger says that is all it is.

06

Limits and frontier

Where this page stops being able to help

What this laboratory computes. The counts are exact whole numbers at any depth, computed as bigint iterations of a two-by-two with no floating-point step in the path, so the view is exact arithmetic printed as arithmetic. The drawing is not: are ordinary double-precision numbers, and they are used for drawing and for nothing else. The two are compared rather than conflated. At every depth up to 8 the number of triangles the drawing produces is checked against the number the matrix predicts, and the drawn patches are checked pairwise for overlaps and by vertex for gaps at the depths the ledger names.

Why it stops at eight rounds. Depth 8 from the sun is 15,970 triangles. That is already past what an SVG stays legible at and it is a browser layout rather than a computation, so the cap is a drawing decision. Nothing about the mathematics stops there, and the counts view goes on printing exact figures well past the point where the picture would be a grey rectangle.

What the drawn patch is not. It is not evidence that no Penrose repeats. It is not even evidence that the continued for ever tiles the plane, which is a separate requiring an argument about the rather than about any stage of it. If you want the first, the citations are Penrose and de Bruijn and this page has not reproduced either.

Where the mathematics is still moving. Not on this particular pair of tiles, which have been understood since the seventies. The live questions in the area are about how few tiles can force and what "force" should mean: the single aperiodic tile found in 2023, and the long-running work on which produce with which spectral and diffraction properties. That last one is the reason physicists care, because a diffraction pattern with five-fold is what quasicrystals produce and what the classical crystallography said could not exist.

Read this next to The Sequence That Reads Itself Aloud. Same argument, one dimension down. There a acts on strings, the growth rate is again the of a built from the rule, and the answer is Conway's constant instead of . Seeing it twice makes clear that the eigenvalue is doing the work and the geometry is along for the ride.

What is actually established

Every statement on this page, with its status, its exact scope, and the date that status was last checked.

Proved

Tilings of the whole plane by the two Penrose rhombi obeying the matching rules exist, and no such tiling is carried onto itself by any translation.

Scope
The whole plane, and every tiling of it by the marked rhombi. Not a statement about any patch, and not something any patch could settle.
Why
Penrose’s theorem, with a second and quite different proof by de Bruijn through the pentagrid. It is cited here and it is not reproduced: nothing drawn on this page, at any depth, is evidence for it. A patch is finite and the statement is about the infinite plane, so no amount of deflating would begin to establish it. Everything this page settles for itself is in the three claims below, and none of them is this one.
Status checked
Proved

As the substitution is repeated, the number of fat halves divided by the number of thin halves converges to the golden ratio.

Scope
The substitution this kernel implements, started from any patch containing at least one triangle. A statement about the limit, not about any particular depth: at every depth the ratio is a ratio of two whole numbers and is therefore not phi.
Why
Proved in layer 5, on this page, in a few lines. The counts satisfy a pair of linear recurrences whose matrix is [[1, 1], [1, 2]]; that matrix has non-negative entries and a positive power, so by the standard argument its larger eigenvalue dominates and the counts line up with the corresponding eigenvector. Solving its characteristic quadratic gives eigenvalues (3 ± √5)/2, which are phi² and phi⁻², and the eigenvector for the larger one is (1, phi). The ratio therefore tends to phi, with the error falling by a factor of phi⁴ each round. The laboratory computes the counts in exact whole-number arithmetic, so the numbers beside the argument are numbers and not roundings.
Status checked
Exhaustively checked

Starting from one thin half-rhombus, the counts of thin and fat halves at depths 0 to 12 are 1, 1, 2, 5, 13, 34, 89, 233, 610, 1597, 4181, 10946, 28657 and 0, 1, 3, 8, 21, 55, 144, 377, 987, 2584, 6765, 17711, 46368.

Scope
Exactly those thirteen depths, from exactly that one-triangle start. The counts for the ten-triangle sun are ten times these, which follows because the substitution acts on each tile separately.
Why
Every number here is produced twice by routes with nothing in common. The first is the substitution matrix applied in exact `bigint` arithmetic, which never touches a coordinate. The second is the drawn patch, deflated to depth 8 and its triangles counted one by one in double-precision geometry. The two agree at every depth up to 8, and past 8 only the exact arithmetic is running, because the drawing is capped where a browser stops being able to lay the figure out. This is a check over a stated finite range and not a proof of a general formula, which is why the status says so.
Computation (exact)
Depths 0 to 12 from a single-triangle seed, and 0 to 6 from the ten-triangle sun. The counts are exact integers throughout: they are computed as `bigint` matrix iterations with no floating-point step anywhere in the path. The cross-check against the drawn patch runs to depth 8, which is 1,597 triangles from one seed tile and 15,970 from the sun, and compares whole-number counts rather than coordinates. Algorithm penrose-1.
Status checked
Proved

The two Penrose rhombi, taken as plain shapes with their markings ignored, tile the plane in a pattern that repeats.

Scope
The two shapes as shapes. Says nothing whatever about the marked tiles, for which the opposite is true and is the first claim above.
Why
Proved by exhibition, which is the only kind of proof an existence statement needs. A row of fat rhombi, each a translate of the last, is a straight band of the plane; a row of thin rhombi is another band; both bands have their corners one edge apart along the same direction, so the two stack corner to corner. Repeating that pair of bands covers the plane, and the layout is carried onto itself by a translation along a row and by a translation from one pair of bands to the next. The laboratory draws it, and the test suite checks the drawing rather than the assertion: no two tiles overlap, the angles round every interior corner add to a full turn so there are no gaps, and a shifted copy of a large patch lands on the patch.
Status checked
Exhaustively checked

Every patch this laboratory draws is a tiling of its own outline: no two triangles overlap, and no interior corner is left with a gap.

Scope
The patches the laboratory draws, at the depths listed below, from the seeds it offers. Not a statement about the tiling of the plane.
Why
There is an argument, and the test is not it. The argument is that each substitution rule is a partition of the parent triangle, so the children lie inside their parent and inherit whatever the parents had; overlap-free deflates to overlap-free, for ever. What the tests add is a check that the two formulas in the kernel really are the partitions they are supposed to be, since a transcription error there would produce a picture that still looked plausible. Both halves are worth having, and only the first is a proof.
Computation (approximate)
Every pair of triangles compared by a separating-axis test at depths 0 to 5 from each of the three seeds, which is about four hundred thousand comparisons; and the interior corners of patches to depth 5 checked for a full turn of angle. Double-precision coordinates throughout, with a tolerance of one billionth of the seed’s edge for deciding that two tiles touch rather than overlap and a tolerance of a billionth of a radian on the angle sums. The smallest tile at depth 5 is about a tenth of the seed across, so neither judgement is anywhere near its tolerance. Algorithm penrose-1.
Status checked
Exhaustively checked

The repeating lattice joins rhombi together in ways that never occur in a substitution patch, and no relabelling of the four tiles in its repeating cell avoids that.

Scope
The lattice this laboratory draws, against the substitution patches it draws to depth 6. A statement about which edge-to-edge fittings occur in those particular patches, and not a reproduction of Penrose’s arrow rules.
Why
Two triangles that share an edge can be fitted together in a limited number of ways, once you record which edge of each tile it is and which way round the two tiles run along it. Across every substitution patch the laboratory draws there are exactly eight such fittings and no others, and that set is what this page means by the matching rule. The lattice uses six fittings, of which only two are among the eight, and the two it shares are the cuts inside a rhombus rather than the joins between rhombi. Turning any of the four tiles of the repeating cell round, in all sixteen combinations, changes how many edges are wrong and never brings it to none. This is a finding about the patches computed and it is not the theorem: the theorem is the first claim, it is cited, and it is not reproduced here.
Computation (approximate)
The fittings collected from patches at depths 0 to 6 from three seeds, which is 4,756 triangles in total, and from a lattice of twenty fat and twenty thin rhombi, with all sixteen relabellings of its repeating cell. Adjacency is decided by matching vertex coordinates rounded to seven decimal places, which is exact for these patches because every vertex of a substitution patch is shared exactly rather than approached. Algorithm penrose-1.
Status checked

Sources

Review notes show which bibliographic details Mathomaly has checked and which remain unresolved. Checking a publication record does not independently verify its proof.

  1. Roger Penrose, The role of aesthetics in pure and applied mathematical research, Bulletin of the Institute of Mathematics and its Applications 10, pp. 266–271, 1974. Link

    An early publication on non-periodic tilings. The laboratory draws a finite substitution patch; it does not reproduce the theorem that the matching rules exclude periodic tilings.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: library record.

    National academic catalogue confirms title, author, 1974 and volume 10, pages 266–271.

  2. N. G. de Bruijn, Algebraic theory of Penrose's non-periodic tilings of the plane. I, Indagationes Mathematicae (Proceedings) 84(1), pp. 39–52, 1981. Link

    The pentagrid construction, which puts the tilings on an algebraic footing and gives a second and quite different proof that they exist and do not repeat. Cited for the theorem; the multigrid method itself is not implemented here.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: publisher record.

    Publisher confirms Part I, volume 84(1), 1981, pages 39–52.

  3. Branko Grünbaum, G. C. Shephard, Tilings and Patterns, W. H. Freeman, 1987. Link

    The standard reference for tilings generally and for the Penrose tilings in particular, including the Robinson triangles this kernel uses and the arrow markings that carry the matching rules.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: library record.

    National library catalogue confirms authors, title, Freeman and 1987 edition.

  4. Martin Gardner, Extraordinary nonperiodic tiling that enriches the theory of tiles, Scientific American 236(1), p. 110, 1977. Link

    The article that made the tiling famous, and the source of most of the vocabulary in general use for it. Cited for the exposition rather than for any result.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: publisher record.

    Publisher confirms Gardner, January 1977, volume 236(1), starting page 110.

  5. Marjorie Senechal, Quasicrystals and Geometry, Cambridge University Press, 1995. Link

    Where the substitution matrix, its Perron eigenvalue and the resulting tile frequencies are set out in the general framework, along with the connection to quasicrystals. This page computes the eigenvalue for one two-by-two matrix and claims nothing about the general theory.

    Bibliographic record checked. This is not an independent verification of the proof.

    Bibliographic review:

    AI-assisted bibliographic audit. Evidence type: publisher record.

    Publisher's front matter confirms title, author and original 1995 publication.

Connected by how they work, not by sharing a topic label.