The relation algebra of a list of Wang tiles #
Hirsch and Hodkinson associate with a finite set τ of Wang tiles a finite algebra RA(τ) whose
networks force the tile atoms to form tilings [HH01], Section 4. It has 2k + 28
atoms for k tiles, and is given by a converse, three identity atoms and a list of inconsistent
triangles. It need not be associative, so it is defined here as an AtomStructure, which does not
include the laws (LawfulAtomStructure).
The tiles are given as a list L, and the tile atoms are indexed by the positions of L, so that
a repeated tile contributes two atoms for each of its positions. The tile at position 0 plays
the part of the source's special tile T₀: rule 3 exempts it, and nothing else is asked of it in
the definition.
Conventions #
A cycle (r, s, t) of a frame means t ≤ r;s, whereas the source's triangle (a, b, c) is
consistent when c˘ ≤ a;b. The source's triangle (a, b, c) is therefore the triple
(a, b, c˘) here, and its six Peircean transforms are the triples
(r, s, t), (s, t˘, r˘), (t˘, r, s˘), (r˘, t, s), (t, s˘, r) and (s˘, r˘, t˘).
Main definitions #
Cslib.RelationAlgebra.Tiling.Atom: the atoms ofRA(τ), with their converseAtom.convand the kindsAtom.src,Atom.tgtof node at which their edges start and end.Cslib.RelationAlgebra.Tiling.Rule: rules 1–4 of the source and the duals of rules 2–4.Cslib.RelationAlgebra.Tiling.Cycle: the consistent triangles.Cslib.RelationAlgebra.tilingFrame: the frame ofRA(τ).Cslib.RelationAlgebra.Tiling.network: networks over the frame, from labellings that avoid the rules.Cslib.RelationAlgebra.Tiling.Atom.code,Atom.equivFin: the numbering of the atoms, a bijection withFin (2 * k + 28).
Main results #
Cslib.RelationAlgebra.Tiling.Cycle.exists_eq_tile: by rule 1, an edge from a1-node to a2-node under a common green apex is labelled by a tile atom.
References #
The three kinds of node in a network over RA(τ). The identity of RA(τ) is the join of
three units e₀, e₁, e₂, and a node is an i-node when its loop is labelled eᵢ.
The two kinds of node other than 0, which are also the two axes of the plane: steps between
1-nodes move along the first coordinate, and steps between 2-nodes along the second.
An atom that is not its own converse is either the forward atom of its pair or the reverse one, which is the converse of the forward atom.
The atoms of RA(τ) for tiles indexed by ι [HH01], Section 4.1: there are
2k + 28 of them when ι has k elements.
- unit {ι : Type u_1} (i : Kind) : Atom ι
The unit
eᵢ, the part of the identity on thei-nodes. - white {ι : Type u_1} (i j : Kind) : Atom ι
The white atom
wᵢⱼfromi-nodes toj-nodes; the source writeswᵢforwᵢᵢ. - green {ι : Type u_1} (d : Axis) (o : Direction) : Atom ι
The green atom
g₀dfrom0-nodes tod-nodes, and its converseg_d0. - u {ι : Type u_1} (d : Axis) (o : Direction) : Atom ι
The atom
u₀dfrom0-nodes tod-nodes, and its converseu_d0. - v {ι : Type u_1} (d : Axis) (o : Direction) : Atom ι
The atom
v₀dfrom0-nodes tod-nodes, and its conversev_d0. - step {ι : Type u_1} (d : Axis) (o : Direction) : Atom ι
The step
+1_dbetweend-nodes, and its converse-1_d. - tile {ι : Type u_1} (i : ι) (o : Direction) : Atom ι
The tile atom
T₁₂ⁱfrom1-nodes to2-nodes, and its converseT₂₁ⁱ.
Instances For
The kind of node at which the edges labelled by an atom start: the index of the source's start unit.
The kind of node at which the edges labelled by an atom end: the index of the source's end unit.
The identity atoms are the three units.
Instances For
The inconsistent triangles listed in [HH01], Section 4.2: rule 1, rules 2–4
and the duals of rules 2–4, which exchange the kinds 1 and 2, left with bottom and right with
top. The triple (r, s, t) is the source's triangle (r, s, t˘); in particular the step +1 of
the source's rule 2 appears here as its converse. The colours compared are those of the tiles at
the two positions of L, and rule 3 concerns every position but 0.
Instances For
The consistent triangles of RA(τ), as triples (r, s, t) with t ≤ r;s
[HH01], Section 4.2: the kinds of node match, a triangle with an identity atom is
degenerate, and the triangle is not forbidden.
The edge labelled
sstarts where the edge labelledrends.The edges labelled
randtstart at the same kind of node.The edges labelled
sandtend at the same kind of node.The source's
(eᵢ, x, y)is inconsistent unlessx = y˘.The transform of that rule in which the unit is the second atom.
The transform of that rule in which the unit is the third atom.
Neither the triangle nor any of its Peircean transforms is listed in
Rule.
Instances For
By rule 1, an edge from a 1-node to a 2-node that some 0-node joins by green edges is
labelled by a tile atom: the atoms from 1-nodes to 2-nodes are the tile atoms and the white
atom w₁₂, which rule 1 forbids here.
The frame of the algebra RA(τ) of [HH01], Section 4, for the tiles listed in
L: its atoms, their converses, the three identity atoms and the consistent triangles. The tile
at position 0 is the one exempted by rule 3. The algebra need not be associative, so this is a
frame and not an atom structure.
A network over the frame of RA(τ), from a labelling of the ordered pairs of nodes in which
the loops are the edges with unit labels, reversed edges carry converse atoms, every label starts
at the kind of its first node, and no three nodes, taken in any order, form a triangle listed in
Rule. The six Peircean transforms of a triangle of a network are its six orderings, so the rules
need to be checked only as listed.
The numbering of the atoms #
The forward direction is numbered 0 and the reverse direction 1.
The number of an atom of RA(τ) for k tiles, among 0, …, 2k + 27:
| numbers | atoms |
|---|---|
0, 1, 2 | e₀, e₁, e₂ |
3 + 3i + j | wᵢⱼ |
12, 13, 14, 15 | +1₁, -1₁, +1₂, -1₂ |
16, 17, 18, 19 | g₀₁, g₁₀, g₀₂, g₂₀ |
20, 21, 22, 23 | u₀₁, u₁₀, u₀₂, u₂₀ |
24, 25, 26, 27 | v₀₁, v₁₀, v₀₂, v₂₀ |
28 + 2i, 29 + 2i | T₁₂ⁱ, T₂₁ⁱ |