WorksMathematics
Identifying codes of Archimedean grids
Abstract
An identifying code of a graph is a dominating set such that the sets are pairwise distinct. The minimum density of an identifying code has been studied extensively for several infinite grids. It is known to be for the triangular grid and for the square grid, whereas for the hexagonal grid the problem is still open, between and . These three grids are the regular members of the family of the eleven Archimedean grids. In this paper, we start a systematic study of identifying codes in this family. We determine the minimum density for five of the nine Archimedean grids for which it was not known: it is for the truncated hexagonal grid, for the truncated square grid, and for the trihexagonal (kagome) grid, the elongated triangular grid and the snub hexagonal grid. All lower bounds are proved by the discharging method. For the three remaining non-regular Archimedean grids, we also obtain some bounds: the minimum density lies between and for the truncated trihexagonal grid, between and for the rhombitrihexagonal grid, and between and for the snub square grid. As a by-product, we prove that every identifying code of a cubic graph with the slow growth property in which every vertex lies on exactly one triangle (resp. -cycle) has density at least (resp. ).
Introduction
Let be a graph and let denote the closed neighborhood of a vertex . A set is an identifying code (idcode for short) of if the sets are nonempty and pairwise distinct for . Identifying codes were introduced by Karpovsky, Chakrabarty and Levitin [14], motivated by fault diagnosis in multiprocessor networks, and have been studied extensively since; see the survey [13] and the references therein.
For infinite grids, the relevant parameter is the minimum density of an identifying code. Among the three regular planar grids, it is known exactly for the triangular grid [14] (equal to ), and for the square grid [2, 4] (equal to ). The hexagonal grid is a well-known open case: the best known lower bound is [9] (see also [6, 8, 19]) and the best known upper bound is [15]. The minimum density is also known for the king grid, where it equals [3, 5], and grids with finitely many rows were studied in [10, 11, 17].
The triangular, square and hexagonal grids are the three regular members of the family of the eleven Archimedean grids, the graphs of the edge-to-edge tilings of the plane by regular polygons whose symmetry group acts transitively on the vertices (§ 2). Domination-type parameters of the Archimedean grids have been studied, for instance perfect domination in [20].
However, to the best of our knowledge, among the eight non-regular Archimedean grids the only one for which identifying codes have been considered is the snub hexagonal grid : an undergraduate thesis [1] proved that its minimum density lies between and . Thus the minimum density of an identifying code was known for only two of the eleven Archimedean grids.
In this paper we start a systematic study of identifying codes of the Archimedean grids: we determine the minimum density for five of the nine remaining ones, and we give bounds for the other three.
Theorem 1. The minimum density of an identifying code is
(a) for the trihexagonal (kagome) grid ;
(b) for the truncated hexagonal grid ;
(c) for the truncated square grid ;
(d) for the elongated triangular grid ;
(e) for the snub hexagonal grid ;
(f) between and for the truncated trihexagonal grid ;
(g) between and for the rhombitrihexagonal grid ;
(h) between and for the snub square grid .
In each case, the upper bound is given by an explicit periodic code, and the lower bound is proved by the discharging method, in the framework for infinite graphs with the slow growth property developed in [17]. The lower bounds have very different levels of difficulty. For the kagome grid, the general lower bound of [17] (which comes from the simplest discharging rule, the share argument) already gives the exact value. For the truncated hexagonal grid, the general bound is only , but the value follows from a very simple discharging rule, which also gives the lower bound for every cubic graph in which every vertex lies on exactly one triangle. For the truncated square grid, the proof is a short case analysis, which also gives the lower bound for every cubic graph in which every vertex lies on exactly one 4-cycle. For the elongated triangular grid, the case analysis is longer, but still done by hand. Finally, for the snub hexagonal grid, the discharging rules and the case analysis were found and checked with the help of a computer, and the case analysis is given in full as a certificate whose rows can be checked by hand. A program that checks the certificate of § 7 is available at [16].
The paper is organized as follows. In § 2 we recall the Archimedean grids, the notion of density and the discharging method for infinite graphs. Theorem 1 is the union of Theorems 3, 5, 7, 8, 9 and 10, which are stated and proved in Sections 3, 4, 5, 6, 7 and 8, respectively. For the three grids of Section 8, the upper bounds come from the best periodic codes we found with a computer search. Table 1 summarizes what is known about the eleven Archimedean grids.
| Configuration | Name | Minimum density | |
| triangular | 6 | 1/4 [14] | |
| square | 4 | 7/20 [4, 2] | |
| hexagonal | 3 | 5/12 [9] to 53/126 [15] | |
| 3.6.3.6 | trihexagonal (kagome) | 4 | 1/3 (Thm. 3) |
| 3.12.12 | truncated hexagonal | 3 | 2/3 (Thm. 5) |
| 4.8.8 | truncated square | 3 | 3/7 (Thm. 7) |
| elongated triangular | 5 | 1/3 (Thm. 8) | |
| snub hexagonal | 5 | 1/3 (Thm. 9) | |
| 4.6.12 | truncated trihexagonal | 3 | 3/7 (Thm. 6) to 13/30 (Thm. 10) |
| 3.4.6.4 | rhombitrihexagonal | 4 | 1/3 [17] to 11/30 (Thm. 10) |
| snub square | 5 | 2/7 [17] to 9/28 (Thm. 10) |
Table 1. The eleven Archimedean grids, their degree , and what is known about the minimum density of an idcode.
Preliminaries
A tiling of the plane by polygons is edge-to-edge if any two tiles are disjoint or meet in a common vertex or a common edge. An Archimedean tiling is an edge-to-edge tiling of the plane by regular polygons whose symmetry group acts transitively on its vertices. In such a tiling, the cyclic sequence of the numbers of sides of the polygons around a vertex, its vertex configuration, is the same at every vertex up to rotation and reflection; it is written as a sequence separated by dots, with exponents denoting repetition, so that 4.8.8 means a square and two octagons and means three triangles followed by two squares. There are exactly eleven Archimedean tilings [12 Section 2.1], including the three regular tilings by triangles, squares and hexagons. The Archimedean grid of an Archimedean tiling is the infinite graph formed by its vertices and edges. It is planar, vertex-transitive, and -regular, where is the number of polygons around a vertex. The eleven Archimedean grids are listed in Table 1 and shown in Figure 1, together with what is known about the minimum density of their idcodes.

Figure 1. The 11 Archimedean grids, labeled by their vertex configurations.
All Archimedean tilings except the elongated triangular tiling can be obtained from the regular tilings by Wythoff’s construction [7], which uses five operations: truncation, rectification, cantellation, omnitruncation and the snub operation. Truncation gives 3.12.12 and 4.8.8, rectification gives 3.6.3.6, cantellation gives 3.4.6.4, omnitruncation gives 4.6.12 and 4.8.8, and the snub operation gives and .
Truncation, in particular, can be defined for every graph: the truncation of a graph is obtained by replacing every vertex of degree by a cycle of length , each vertex of which receives one of the edges of ; when is a plane graph, the edges are taken in the cyclic order around . Thus is cubic, and every vertex of lies on exactly one of these new cycles. For instance, 3.12.12 = , 4.8.8 = and 4.6.12 = .
We define the density of a set of vertices of an infinite graph as in [17]. For a vertex , let be the set of vertices at distance at most from . The density of is , where . In an arbitrary infinite graph this definition must be handled with care. For instance, Slater [18] stated in 2002 that every locating-dominating set of a countably infinite -regular graph has density at least . As shown in [17], this is false for the infinite 3-regular tree, which has a locatingdominating set of density at most ; in this tree, the value may moreover depend on the vertex . The property that makes density arguments valid is the following one.
A connected graph has the slow growth property [17] if it has a vertex such that
If this holds for one vertex , then for every vertex and every integer , and for every vertex , so that the density of may be computed from an arbitrary vertex [17]. Since grows quadratically in in every Archimedean grid, all of them have the slow growth property.
A graph admits an idcode if and only if it is twin-free, that is, for all distinct vertices . It is easy to check that the eleven Archimedean grids are twin-free: two adjacent vertices have at most two common neighbors, and at most one in the cubic grids. The minimum density of an idcode of a twin-free graph is the infimum of over all idcodes of ; for the five grids whose minimum density we determine, it is attained by periodic codes.
All our lower bounds are proved by the discharging method, which we explain now. In a charging phase, a charge, which is a rational number, is assigned to every vertex; in a discharging phase, charge is moved between vertices according to discharging rules, which preserve the total charge. The rules are designed so that, at the end, every vertex has charge at least some value . In a finite graph, if every codeword starts with charge and all other vertices with charge , this immediately gives . In an infinite graph, the total charge is infinite and one has to argue on balls , whose boundary may receive charge from outside or send charge outside. The slow growth property is exactly what makes the contribution of the boundary negligible, provided that charge only travels a bounded distance. This is the content of the following theorem.
Theorem 2 (Discharging Method [17 Theorem 3.3]). Let be an infinite graph with bounded maximum degree which satisfies the slow growth property, and let . Suppose that the discharging method is applied to as follows. In the charging phase, charge is assigned to each vertex of and charge to the other vertices. The discharging rules are such that
no vertex sends charge to a vertex at distance greater than , for a fixed integer . If at the end every vertex has final charge with , where and are rational numbers, then
In our proofs, codewords may start with a charge larger than 1, which only multiplies all charges by a constant, and charge only moves between vertices at distance at most 2, so the final charges are bounded. The general lower bound for twin-free infinite graphs with the slow growth property and maximum degree , mentioned in the introduction, is proved in [17 Theorem 4.1] using Theorem 2 with the most basic discharging rule, often called the share argument in the literature: every vertex receives from each codeword of . A codeword then gives 1 to at most one vertex of , namely the vertex with if it exists, and at most to each other vertex of , hence at most in total.
The trihexagonal grid
The trihexagonal tiling, whose vertices all have configuration , is the Archimedean grid also known as the kagome grid. It is 4-regular, so the general lower bound of [17] gives . We show that this bound is attained, which proves item (a) of Theorem 1.
Note that the trihexagonal grid is an induced subgraph of the triangular grid. Its edges lie on three families of parallel straight lines, and every vertex lies on exactly two of these lines, which belong to different families. In Figure 2, these families are formed by the horizontal lines and by the lines making angles of and with them. We call the lines of the first family horizontal, and the vertices lying on no horizontal line middle vertices, since each of them lies between two consecutive horizontal lines. Two adjacent vertices in a horizontal line are called consecutive. Every vertex of a horizontal line has two (consecutive) neighbors on this line and two middle neighbors, one above and one below the line. Every middle vertex is adjacent to two consecutive vertices of the horizontal line just below it and to two consecutive vertices of the horizontal line just above it. Since every middle vertex has four neighbors on horizontal lines and every vertex of a horizontal line has two middle neighbors, of the vertices lie on horizontal lines.

Figure 2. A patch of the kagome grid with five horizontal lines. The black vertices form the idcode of density of the proof of Theorem 3: no middle vertex, and codewords and non-codewords alternate along each horizontal line. The codewords form vertical columns.
Theorem 3. The minimum density of an idcode of the trihexagonal grid 3.6.3.6 is 1/3.
Proof. The trihexagonal grid is 4-regular, twin-free, and has the slow growth property, so every idcode has density at least by [17 Theorem 4.1]. Conversely, let be a set of vertices containing no middle vertex and such that codewords and non-codewords alternate along each horizontal line, as in Figure 2. If , then . If lies on a horizontal line, then consists of the two neighbors of on this line, and is their only common neighbor, since a middle vertex is adjacent only to consecutive vertices of a line. If is a middle vertex, then consists of one codeword on the horizontal line just below and one on the line just above , and again is their only common neighbor. Hence the sets are nonempty and pairwise distinct, and is an idcode. Its density is , since contains half of the vertices of the horizontal lines, which are of all vertices.
The general bound is tight here, in contrast with the other grids treated in this paper. In the codes of the proof of Theorem 3, every codeword has and every vertex has , so every codeword gives exactly in the share argument. Since the choice of the parity class on each horizontal line is free, there are uncountably many idcodes of density . Note also that the code of Figure 2 is not an idcode of the triangular grid (which has an extra vertex at the center of every hexagon of Figure 2): every such center has the same set as one of its middle neighbors.
The truncated hexagonal grid
The truncated hexagonal tiling has vertex configuration (see Figure 3). It is the truncation : every vertex of the hexagonal grid is replaced by a triangle. The grid is cubic, so the general lower bound is only . In this section we prove that the minimum density is , which is item (b) of Theorem 1.

Figure 3. The idcode of density of the truncated hexagonal grid of the proof of Theorem 5 (black vertices). In every triangle, the white vertex is the exit: it is joined by a non-vertical edge to the triangle on its left.
We first prove a general lower bound for every cubic graph in which every vertex lies on exactly one triangle, such as the truncation of any cubic graph. In such a graph, every vertex lies on exactly one triangle and has exactly one neighbor outside it, its bridge neighbor , and . The bridge neighbors of the three vertices of a triangle are distinct, since a common bridge neighbor would form a second triangle. Such a graph is twin-free, since for distinct vertices would put on two triangles.
Theorem 4. Every idcode of a cubic graph with the slow growth property in which every vertex lies on exactly one triangle has density at least .
Proof. Let be an idcode, and let be a triangle. Since is the set , the code contains or , and similarly for the pairs and . Hence at least two of are codewords. Every codeword starts with charge 1 and all other vertices with charge 0, and every codeword sends to each vertex of the triangle , which is at distance at most 2 from . Every vertex then receives for every codeword among the bridge neighbors of the vertices of , hence at least , and Theorem 2 gives .
For example, Theorem 4 applies to the truncation , a non-Archimedean cubic grid in which every vertex lies on exactly one triangle and has configuration or . We now turn to the truncated hexagonal grid . We draw the grid so that one third of the edges are vertical (see Figure 3). Then every triangle has one vertex with vertical, one vertex with to its left and one vertex with to its right. We call the exit of the triangle.
Theorem 5. The minimum density of an idcode of the truncated hexagonal grid is .
Proof. The truncated hexagonal grid is cubic, and every vertex lies on exactly one triangle, so Theorem 4 gives the lower bound. Conversely, let be the set of all vertices that are not exits, as in Figure 3. Every triangle contains exactly one exit, so has density . Let be a triangle, named as above. Then is the exit of and is the exit of the triangle to the right of , while and are not exits. Hence
These sets are nonempty and pairwise distinct, since . Every set contains two vertices of , and the only vertices adjacent to two vertices of a triangle are the vertices of , since the bridge neighbors of the vertices of are distinct. Hence determines , and therefore , and is an idcode.
The bound is much larger than the general bound : the triangles force many codewords, and the argument above only uses the separation of adjacent vertices.
The truncated square grid
The truncated square tiling has vertex configuration (see Figure 4). It is the truncation : every vertex of the square grid is replaced by a 4-cycle. The grid is cubic, so the general lower bound is only 2/5. In this section we prove that the minimum density is 3/7, which is item (c) of Theorem 1.

Figure 4. An idcode of density 3/7 of the truncated square grid 4.8.8 (black vertices), drawn as a brick wall: the shaded 4-cycles are the squares and all other faces are octagons. The code is periodic, and the dashed rectangle is a fundamental domain of its period lattice: it contains 28 vertices, 12 of which are codewords.
We first prove a general lower bound for every twin-free cubic graph in which every vertex lies on exactly one 4-cycle, such as the truncation of any 4-regular graph; in Section 8 we also apply it to the truncated trihexagonal grid 4.6.12 = tr(3.6.3.6). In such a graph, the square of a vertex is the 4-cycle containing it. A square has no chord, since a chord of a square would give . Thus the two neighbors of on its square are its square neighbors, and the third neighbor of is its bridge neighbor . The edge lies on no 4-cycle, and . If is a square in cyclic order, then the square neighbors of and are and , and vice versa.
Theorem 6. Every idcode of a cubic graph with the slow growth property in which every vertex lies on exactly one 4-cycle has density at least 3/7.
Proof. Let be such a graph and let be an idcode of . Every codeword starts with charge 7 and all other vertices with charge 0. For a vertex , let be the set of square neighbors of that belong to . In the discharging phase, each codeword sends charge to its neighbors according to the following rules.
(R1) If , the codeword sends charge 3 or 2 to , depending on whether or not.
(R2) Let be a square neighbor of , and let . If , then sends or to , depending on whether or not. If and , then sends to .
In words, a vertex is served first by itself, then by its bridge neighbor, and its square neighbors complete what is missing in equal parts. A codeword receives nothing if or . Otherwise it receives from each vertex of , hence 1 in total. A vertex receives exactly 3. Indeed, if , it receives 3 from when , and otherwise 2 from and from each vertex of , hence in total. If , it receives from each vertex of , which is nonempty because is dominating.
It remains to show that every codeword ends with charge at least 3. Let , let be its square in cyclic order, let and for . Denote by the charges that sends to . The final charge of is , where if and at least one of is in , and otherwise. So we must show that .
By (R1), if . If , then when and otherwise. The square neighbors of are and . If , rule (R2) gives when and in any case. If , rule (R2) gives or according to whether is , , or . Thus always, when , and when .
Suppose first that , so that and we must show . If some is a codeword, then and . If and , then . If , then , and puts one of in , so .
Suppose now that . If , then and . If , then and , so gives . When we have , and forces , so . When we have , and puts one of in , so . In both cases the sum is at most 4.
It remains the case where exactly one of , say , is a codeword. Then and , and we must show that the sum is at most 5. If , then and , and the sum is at most . If and , then and the sum is at most 5. Finally, suppose . Then , so , and gives . Moreover , and forces , so and the sum is exactly 5.
Hence every vertex ends with charge at least 3. Every codeword started with charge 7 and charge only moves between adjacent vertices, so Theorem 2 gives density at least 3/7.
For example, Theorem 6 applies to the truncation tr(3.4.6.4), a non-Archimedean cubic grid in which every vertex lies on exactly one 4-cycle and has configuration 4.6.8 or 4.8.12. We now turn to the truncated square grid 4.8.8.
Theorem 7. The minimum density of an idcode of the truncated square grid 4.8.8 is 3/7.
Proof. The truncated square grid is twin-free and cubic, and every vertex lies on exactly one 4-cycle, so Theorem 6 gives the lower bound. Conversely, the black vertices of Figure 4 form a periodic set of density . Since two vertices at distance at least 3 have disjoint closed neighborhoods, by periodicity it suffices to check that and for every vertex of the dashed rectangle and every vertex with , which is a routine verification with Figure 4.
Every codeword of the code of Figure 4 ends with charge exactly 3, so this code is perfectly balanced for the rules (R1) and (R2). Note also that the proof of Theorem 6 only uses that the four vertices of are pairwise separated and that is dominating. It would be interesting to know whether rules of this kind give good bounds for the hexagonal grid, which has a structure similar to the truncated square grid.
The elongated triangular grid
The elongated triangular tiling has vertex configuration (see Figure 5). Its graph is 5-regular, so the general lower bound of [17] gives only 2/7. In this section we prove that the minimum density is 1/3, which is item (d) of Theorem 1.

Figure 5. Two periodic idcodes of density 1/3 of the elongated triangular grid (black vertices), drawn as the square grid in which the squares of alternate rows are cut by a diagonal at 45°; these rows are the rows of triangles.
The horizontal lines of the tiling bound alternately a row of squares and a row of triangles. We draw the grid as the square grid in which the squares of alternate rows are cut by a diagonal at 45°, so that these rows become the rows of triangles. Every edge lies on two faces, and there are three kinds of edges: the vertical edges of the rows of squares lie on two squares, the horizontal edges lie on a square and a triangle, and the other edges, in the rows of triangles, lie on two triangles. Accordingly, every vertex has exactly one neighbor joined to it by an edge lying on two squares, which we call its bridge neighbor , two outer neighbors, which are its neighbors on its row, and two inner neighbors, joined to it by edges lying on two triangles. Since the kind of an edge does not depend on the endpoint, , and is an outer (inner) neighbor of each of its outer (inner) neighbors. Around the faces are two squares and three triangles, so the neighbors of appear in the cyclic order , outer, inner, inner, outer, and the three triangles containing are formed by with each consecutive pair among the last four. Hence the two inner neighbors of are adjacent, each outer neighbor of is adjacent to exactly one inner neighbor of , and these are the only edges among the neighbors of .
Theorem 8. The minimum density of an idcode of the elongated triangular grid is 1/3.
Proof. It is easy to check that the two sets of Figure 5 are periodic idcodes of density 1/3. Conversely, let be an idcode. Every codeword starts with charge 3 and all other vertices with charge 0. In the discharging phase every vertex receives exactly 1 in total from the codewords of , and every codeword receives 1/2 or nothing, according to the following rules.
(R1) If and , then sends 1 to . Moreover, receives from a codeword in the following two situations: is the unique codeword neighbor of , or is the unique inner neighbor of in and the outer neighbor of adjacent to is in . In all other cases, a codeword receives nothing.
(R2) If , and , then receives equal amounts (summing to 1) from the inner neighbors of in that are adjacent to an outer neighbor of in , and nothing from the other codewords. Such inner neighbors exist, since contains three of the four outer and inner neighbors of , and any three of them contain an outer neighbor together with its adjacent inner neighbor.
(R3) If , and , then receives from each codeword of .
Every vertex outside ends with charge 1, so it suffices to show that every codeword also ends with charge at least 1. Let be a codeword, let be the total amount given by to its neighbors, and let be the amount that receives. Then ends with charge , so we must show that .
Let , and let be the other neighbors of , in the cyclic order around starting after . Thus the outer neighbors of are and its inner neighbors are , and is a path (see Figure 6). Let . Also, the inner neighbors of are and , and its outer neighbors are and a vertex adjacent to ; the vertex is the inner neighbor of other than , and the outer neighbors of are and a vertex . Symmetrically we define and , so that are consecutive vertices of the horizontal line of .

Figure 6. The names of the vertices around a codeword (black) in the proof of Theorem 8, where . The outer neighbors are and the inner neighbors are .
For we write for the amount that sends to , so that . Every amount sent in the rules is or 1, since in (R2) the charge is split among at most two inner neighbors and in (R3) we have . Hence for every . By (R1), we have and if , and if .
By the rules, the values and are described as follows. Symmetrically, the values and are obtained by exchanging with , and with .
if and only if .
if and only if , or , and is or .
if and only if and either and , or and .
if and only if and either and , or and ), or and or .
Indeed, if is a codeword, then by (R1) we have , and exactly when and either is the unique codeword neighbor of , or , and ; this is because is an outer neighbor of , while is an inner neighbor of and is the outer neighbor of adjacent to . If and , then . If , and , then by (R3). Finally, suppose that , and , so that (R2) applies. If , then , since is an outer neighbor of . If , then , so if , while if the vertex receives from , and also from exactly when ; thus if , and otherwise.
We use two consequences of this description. First, for at most one vertex . Indeed, at most one vertex of satisfies , since is identifying. So if for two vertices , one of them would be, by symmetry, with , and . The other one is neither the codeword nor , whose set contains , so it is with . But then and , as is adjacent to , which contradicts the form of . Second, if , then , since and .
We now distinguish cases according to and to the set , up to the symmetry exchanging with . We must show that .
Suppose first that , so that , and we must show that . Since for at most one , this holds unless for all four vertices and for one of them, and we show that this is impossible. If or , this follows from the second consequence above. If is or , then no equals : every is a codeword or has a codeword neighbor in , the exceptional case for requires and , and the one for requires and . Up to symmetry, the remaining sets are the following.
. Since , gives and , so is or . The latter would give , and would give . Hence , and symmetrically , which is impossible.
. Then gives . Since , gives and , so , which is impossible.
. Then gives , so . Since , gives , which is impossible.
. Since , gives , and gives , so , which is impossible.
Suppose now that , so that and , and we must show that . If , then . If moreover , then by (R1), and , since at most one of them equals . If , then , and since , so the sum is at most . Up to symmetry, the remaining sets are the following.
. Then and , so no satisfies , and for all . As in the case , if and , then , which is impossible. Hence for at most one of and at most one of , and the sum is at most 1.
. Then by (R1), and . We have , since otherwise , and , since otherwise and , which gives . As at most one of equals 1, the sum is at most .
. Then by (R1), and . We have , since otherwise , and , since otherwise . As before, the sum is at most .
. Then and . Every is at most : this is clear for the codewords and for , whose set contains , and would give . If , then , so ; if moreover , then and , which is impossible. If and , then , as in the case . Hence the sum is at most 1.
. Then , and every is at most . If and , then , and, since , , which is impossible. By symmetry, the sum is at most 1.
. Then and , and every is at most . If and , then , so , and , so , which is impossible. By symmetry, the sum is at most 1.
In all cases .
Hence every vertex ends with charge at least 1. Every codeword started with charge 3 and charge only moves between adjacent vertices, so Theorem 2 gives .
The snub hexagonal grid
The snub hexagonal tiling is the only chiral Archimedean tiling, that is, the only one that cannot be mapped onto its mirror image by an isometry; all its vertices have configuration (see Figure 8). Its graph is 5-regular, so the general lower bound of [17] gives . Its minimum density was previously known to lie in the interval [1]. In this section we prove that it equals , which is item (e) of Theorem 1.

Figure 8. The idcode of density of the snub hexagonal grid in the proof of Theorem 9 (black vertices), consisting of one color class of hexagons: any two closest hexagons of the idcode have two common adjacent hexagons.
Every vertex of the snub hexagonal grid lies on exactly one hexagon, and its four other faces are triangles. Two hexagons are adjacent if an edge joins them. Every hexagon is adjacent to six others, and with this adjacency the hexagons form a triangular grid (see Figure 8).
For a vertex , we list the five neighbors of counterclockwise, starting just after the hexagon of , as (Figure 7), and we call the -th neighbor of . The following facts can be checked in Figure 7 and Figure 8. Since the symmetries of the tiling act transitively on the vertices and preserve the orientation, it suffices to check them for one vertex.
!The ball of radius two around a vertex of the snub hexagonal grid bbox=0.34,0.11,0.66,0.35
Figure 7. The ball of radius two around a vertex of the snub hexagonal grid, with the names used in the proof of Theorem 9; edges leaving are drawn in gray. The hexagon of contains , the hexagon of contains , and the hexagon of contains .
(F1) The edges among the neighbors of are exactly , , and .
(F2) The vertices lie on the hexagon of , the vertices lie on a second hexagon, and lies on a third one; these three hexagons are pairwise adjacent.
(F3) The vertex is the fifth, third, second, fourth and first neighbor of , respectively.
Theorem 9. The minimum density of an idcode of the snub hexagonal grid is .
Proof. The upper bound is given by a code made of whole hexagons. The triangular grid formed by the hexagons has a unique proper 3-coloring, up to permutation of the colors, since the colors of one triangle determine all the others. This coloring is periodic, and each color class contains one third of the hexagons. Let be the union of the hexagons of one color class, as shown in Figure 8. Since the hexagons partition the vertex set and have six vertices each, the density of is , and it is easy to check with Figure 8 that is an idcode.
Conversely, let be an idcode. We use a scheme similar to the one in § 6: every codeword starts with charge 3 and all other vertices with charge 0, and in the discharging phase every vertex receives exactly 1 in total from the codewords of , and every codeword receives or nothing. For a vertex , let be the set of codeword neighbors of . The amounts received by a vertex depend only on and are given by the following rules, in which the codewords of are designated by their names relative to .
(R1) If , then receives from each codeword of , except when is one of the seventeen sets of Table 2(a); in that case receives equal amounts (summing to 1) from the codewords listed in the second column, and nothing from the other codewords of .
| (a) | (b) | ||
| receives from | receives from | ||
Table 2. The exceptional cases of rules (R1) and (R2), where are the neighbors of and .
(R2) If and is one of the seven sets of Table 2(b), then receives from the codeword listed in the second column. Otherwise a codeword receives nothing.
Every vertex outside ends with charge 1, so it suffices to show that every codeword also ends with charge at least 1. Let be a codeword, let be the total amount given by to its neighbors, and let be the amount that receives. Then ends with charge , so we must show that .
For , let be the amount that sends to , so that . We name the vertices of as in Figure 7: are the neighbors of , and are the vertices at distance two. By (F3), is the fifth, third, second, fourth and first neighbor of , respectively, and this is how appears in the rules applied by these vertices.
We first record what the rules give. Clearly . Let . If , then is in the seven situations of Table 2(b) in which the listed codeword is , and 0 otherwise. If , then when , and also in the three exceptional cases with of Table 2(a) in which is the listed codeword; in all other cases . Thus always, and unless .
The value depends only on , and . Table 3 is a case analysis. First, the cases are separated according to the set of codeword neighbors of . Then, for some sets , each case is subdivided according to whether some further vertices of are in . In each case, these further assumptions, together with and , determine whether some vertices of are in . Each row of the table gives:
a lower bound for ;
for each , the maximum possible value of , over all ways of deciding which vertices of not determined by the row are in , subject only to the following two conditions, which every idcode satisfies: for every with , and , that is, contains a codeword, for all and with .
These maxima are obtained by reading Table 2 together with the observations of the previous paragraph. For instance, in the first row with that is not impossible, the vertex receives nothing from : its codeword neighbors are and , which are its third and first neighbors, so in the names relative to , and by Table 2(a) the vertex receives everything from . The rows marked impossible are those in which the fixed vertices already violate one of the two conditions: for instance, if and , then . In all the other rows the upper bounds add up to at most 2 plus the lower bound for , and the rows cover all possibilities for and the further vertices. Hence in all cases, and every vertex ends with charge at least 1. Every codeword started with charge 3 and charge only moves between adjacent vertices, so Theorem 2 gives .
In the code of Figure 8, every codeword has exactly its two hexagon neighbors as codeword neighbors, and the sets have sizes 1, 2 and 3 in equal proportions; every codeword ends with charge exactly 1. The rules (R1) and (R2) and the case analysis of Table 3 were found and checked with the help of a computer [16], but the verification of each row only requires reading Table 2. Unlike the other grids treated here, the snub hexagonal grid does not seem to admit a short discharging argument: no rule in which every vertex simply splits its charge according to fixed priorities among the positions achieves the bound .
Table 3: Certificate for the proof of Theorem 9. The first column is , the next two columns list further assumptions on , namely the vertices assumed to be in and those assumed not to be in , the next five columns give upper bounds for , the next one their sum, and the last one a lower bound for . In every possible row, the sum is at most .
| further assumptions | further assumptions | sum | |||||||
| impossible: | |||||||||
| impossible: | |||||||||
| impossible: | |||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
Table 4.
The remaining grids
Together with the triangular and square grids, Theorem 1 settles seven of the eleven Archimedean grids. Besides the hexagonal grid, the problem remains open for the rhombitrihexagonal grid , the truncated trihexagonal grid and the snub square grid . For these
| further assumptions | further assumptions | sum | |||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — | ||||||||
| — | — |
Table 5.
three grids we searched for periodic idcodes of minimum density with a constraint solver, over the period lattices with fundamental domains of up to about 100 to 150 vertices, with a time limit for each lattice. The best codes we found give the upper bounds of the following result, which is items (f)–(h) of Theorem 1.
Theorem 10. The minimum density of an idcode lies
between and for the truncated trihexagonal grid ;
between and for the rhombitrihexagonal grid ;
between and for the snub square grid .
Proof. The truncated trihexagonal grid is twin-free and cubic, and every vertex lies on exactly one 4-cycle, so Theorem 6 gives the lower bound . The rhombitrihexagonal and snub square grids are 4-regular and 5-regular, respectively, so the general bound of [17 Theorem 4.1] gives and . The upper bounds are given by the periodic codes shown in Figure 10, Figure 9 and Figure 11, which have densities , and , respectively. Since two vertices at distance at least 3 have disjoint closed neighborhoods, by periodicity it suffices to check that and for every vertex of a fundamental domain of the period lattice and every vertex with . This is a routine verification with Figure 9, Figure 10 and Figure 11.

Figure 9. An idcode of density of the rhombitrihexagonal grid (black vertices). The code is periodic, and the dashed parallelogram is a fundamental domain of its period lattice: it contains 30 vertices, 11 of which are codewords.

Figure 10. An idcode of density of the truncated trihexagonal grid (black vertices). The code is periodic, and the dashed parallelogram is a fundamental domain of its period lattice: it contains 120 vertices, 52 of which are codewords.

Figure 11. An idcode of density of the snub square grid (black vertices), drawn as the square grid in which alternate squares of each row are cut by a diagonal, at in one row and at in the next, so that every vertex lies on exactly one diagonal. The code is periodic, and each of the two dashed regions is a fundamental domain of its period lattice: it contains 56 vertices, 18 of which are codewords.
For the truncated trihexagonal grid, the gap is small: and . For the rhombitrihexagonal and snub square grids, the lower bounds of Theorem 10 are only the general bounds of [17]. Note that the snub square grid, which is 5-regular and whose faces are triangles and squares, has idcodes of density smaller than , in contrast with the elongated triangular and snub hexagonal grids. Our attempts suggest that discharging rules of the kind used in this paper, in which the amount that a vertex receives from each codeword depends only on , are unlikely to give lower bounds larger than for the rhombitrihexagonal grid and for the snub square grid, so new ideas seem to be needed for these two grids.
Acknowledgments
The author used the AI assistant Claude (Anthropic, Claude Opus 5.5) to draw the figures, and to check all proofs, including exhaustive computer verification of the local case analyses. With the help of linear and integer programming, it also suggested the discharging rules for the truncated square, elongated triangular and snub hexagonal grids; its computer searches produced some codes of this paper; and it generated the certificate of § 7 and the program that verifies it [16]. The research directions, the structure of the paper, the writing and style of the proofs and the notation are due to the author, who checked all results and takes full responsibility for the paper.
References
- [1]Chase A. Albert, Factoring banded permutations and bounds on the density of vertex identifying codes on the infinite snub hexagonal grid, Undergraduate honors thesis, College of William & Mary, 2011, https://scholarworks.wm.edu/honorstheses/557.
- [2]Yael Ben-Haim and Simon Litsyn, Exact minimum density of codes identifying vertices in the square grid, SIAM J. Discrete Math. 19 (2005), 69–82.
- [3]Irène Charon, Olivier Hudry, and Antoine Lobstein, Identifying codes with small radius in some infinite regular graphs, Electron. J. Combin. 9 (2002), no. 1, Research Paper R11.DOI
- [4]Gérard Cohen, Sylvain Gravier, Iiro Honkala, Antoine Lobstein, Michel Mollard, Charles Payan, and Gilles Zémor, Improved identifying codes for the grid, Electron. J. Combin. 6 (1999), Research Paper R19.
- [5]Gérard Cohen, Iiro Honkala, Antoine Lobstein, and Gilles Zémor, On codes identifying vertices in the two-dimensional square lattice with diagonals, IEEE Trans. Comput. 50 (2001), 174–176.DOI
- [6]Gérard D. Cohen, Iiro Honkala, Antoine Lobstein, and Gilles Zémor, Bounds for codes identifying vertices in the hexagonal grid, SIAM J. Discrete Math. 13 (2000), 492–504.DOI
- [7]H. S. M. Coxeter, Regular polytopes, 3rd ed., Dover, New York, 1973.
- [8]Daniel W. Cranston and Gexin Yu, A new lower bound on the density of vertex identifying codes for the infinite hexagonal grid, Electron. J. Combin. 16 (2009), Research Paper R113.arxiv.org/abs/1006.3779
- [9]Ari Cukierman and Gexin Yu, New bounds on the minimum density of an identifying code for the infinite hexagonal grid, Discrete Appl. Math. 161 (2013), 2910–2924.DOI
- [10]Rennan Dantas, Frédéric Havet, and Rudini M. Sampaio, Identifying codes for infinite triangular grids with a finite number of rows, Discrete Math. 340 (2017), 1584–1597.
- [11]________, Minimum density of identifying codes of king grids, Discrete Math. 341 (2018), 2708–2719.
- [12]Branko Grünbaum and Geoffrey C. Shephard, Tilings and patterns, W. H. Freeman, New York, 1987.DOI
- [13]Olivier Hudry, Ville Junila, and Antoine Lobstein, On Iiro Honkala’s contributions to identifying codes, Fundamenta Informaticae 191 (2024), 165–196.
- [14]Mark G. Karpovsky, Krishnendu Chakrabarty, and Lev B. Levitin, On a new class of codes for identifying vertices in graphs, IEEE Trans. Inform. Theory 44 (1998), 599–611.DOI
- [15]Ville Salo and Ilkka Törmä, Finding codes on infinite grids automatically, Fund. Inform. 191 (2024), 331–349.
- [16]Rudini M. Sampaio, Computer verification of idcodes of Archimedean grids, https://www.lia.ufc.br/~rudini/publ/idc/idc.htm, 2026.
- [17]Rudini M. Sampaio, Gabriel A. G. Sobral, and Yoshiko Wakabayashi, Density of identifying codes of hexagonal grids with finite number of rows, RAIRO Oper. Res. 58 (2024), 1633–1651.DOI
- [18]Peter J. Slater, Fault-tolerant locating-dominating sets, Discrete Math. 249 (2002), 179–189.DOI
- [19]Derrick Stolee, Automated discharging arguments for density problems in grids, 2014, Preprint, arXiv:1409.5922.arxiv.org/abs/1409.5922
- [20]Yunfan Zhao, John C. Wierman, and Thomas G. Marge, Perfect domination ratios of Archimedean lattices, Electron. J. Combin. 29 (2022), no. 3, P3.60.DOI