From tilings to representability of finite relation algebras #
The reduction of [HH01]: a list τ of Wang tiles is sent to the table of the
algebra RA(τ⁺), where τ⁺ is τ with a fresh special tile in front, and every tile of τ is
at the origin of a tiling by τ if and only if that table presents an atom structure whose
complex algebra is representable.
The table is computed from the tiles by arithmetic on the numbers of the atoms
(Tiling.Atom.code), so that the map is primitive recursive. A table that presents an atom
structure presents the frame tilingFrame, with its atoms numbered. When RA(τ⁺) is not
associative its table presents no atom structure, and such a list is a no-instance on both sides,
as in the source, where a non-associative RA(τ) is treated as a no-instance.
Main definitions #
Cslib.RelationAlgebra.tilingTable: the table ofRA(τ)for a list of tiles.
Main results #
Cslib.RelationAlgebra.presents_tilingTable_iff: the atom structures that the table ofRA(τ)presents are those whose frame istilingFrame, with the atoms numbered.Cslib.RelationAlgebra.isRepresentable_tilingTable_iff: the table ofRA(τ)presents an atom structure with a representable complex algebra if and only if ∃ has a winning strategy in the game ontilingFrame. This uses Theorem 1 and Lemma 7 of the source.Cslib.RelationAlgebra.computable_tilingTable_cons_freshTile: the reduction is computable.Cslib.RelationAlgebra.everyTileOccurs_iff_isRepresentable: the reduction is correct, by Theorems 3 and 4 of the source.Cslib.RelationAlgebra.everyTileOccurs_manyOneReducible_isRepresentable: the tiling problem many-one reduces to the representation problem for tables. This is a reduction; it does not say that either problem is undecidable.
References #
The frame of RA(τ) on the numbers of the atoms #
The number of the converse of the atom numbered a.
The number of the kind of node at which the edges of the atom numbered a start.
The table #
The table of the algebra RA(τ) of [HH01], Section 4, for the tiles listed in
L: the frame tilingFrame L with its atoms numbered by Tiling.Atom.code. It has 2k + 28
atoms for k tiles; the atoms 0, 1, 2 are the identity atoms, and the cycles are the
triples of atoms that satisfy Tiling.CycleCode, in lexicographic order.
The table of RA(τ) presents an atom structure exactly when that structure, with its atoms
renamed back along the numbering Tiling.Atom.equivFin, is tilingFrame L: the
converse list, the identity list and the cycle list of the table are the converse, the units and
the consistent triangles of RA(τ) on the numbers of the atoms.
The table of RA(τ) presents a lawful atom structure whose complex algebra is representable
if and only if ∃ has a winning strategy in the game on RA(τ). From left to right this is
Theorem 1 of [HH01]. From right to left, RA(τ) satisfies the laws by Lemma 7, the
table presents it, and its complex algebra is representable by Theorem 1.
The reduction #
The reduction is computable: it sends a list of tiles to the table of RA(τ⁺), where τ⁺ is
the list with a fresh special tile in front. It is in fact primitive recursive.
Every tile of τ is at the origin of a tiling of the plane by τ if and only if the table
of RA(τ⁺) presents an atom structure whose complex algebra is representable, where τ⁺ is τ
with a fresh special tile in front: the correctness of the reduction of [HH01].
From left to right it is Theorem 4 with Lemma 7 and Theorem 1, and from right to left Theorems 1
and 3. Theorem 4 uses that the special tile matches itself; that its colour is on no other tile
makes the two tiling problems, for τ and for τ⁺, agree.
The tiling problem of [HH01], Section 3, whether every tile of a finite list is at the origin of a tiling of the plane by the list, many-one reduces to the representation problem for finite relation algebras given by tables. This is the reduction of the source; that either problem is undecidable is not stated here.