Manuscript Offprint
arXiv:2610.32192Identifying codes of Archimedean grids
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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 .
Keywords: identifying codes, density, Archimedean grids, discharging method.
1 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 [13], motivated by fault diagnosis in multiprocessor networks, and have been studied extensively since; see the survey [12] 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 [13] (equal to 1/4), and for the square grid [2, 4] (equal to 7/20). The hexagonal grid is a well-known open case: the best known lower bound is 5/12 [8] (see also [6, 7, 18]) and the best known upper bound is 53/126 [14]. The minimum density is also known for the king grid, where it equals 2/9 [3, 5], and grids with finitely many rows were studied in [9, 10, 16].
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 (Section 2). Domination-type parameters of the Archimedean grids have been studied, for instance perfect domination in [19]. 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 3/10 and 1/3. 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, and we determine the minimum density for five of the nine remaining ones.
Theorem 1. The minimum density of an identifying code is
(a) 1/3 for the trihexagonal (kagome) grid 3.6.3.6;
(b) 2/3 for the truncated hexagonal grid 3.12.12;
(c) 3/7 for the truncated square grid 4.8.8;
(d) 1/3 for the elongated triangular grid ;
(e) 1/3 for the snub hexagonal 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 [16]. The lower bounds have very different levels of difficulty. For the kagome grid, the general lower bound of [16] (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 2/5, but the value 2/3 follows from a very simple discharging rule. For the truncated square grid, the proof is a short case analysis, which also gives the lower bound 3/7 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 Section 7 is available at [15].
The paper is organized as follows. In Section 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, 4, 6, 7 and 8, which are stated and proved in Sections 3, 4, 5, 6 and 7, respectively. In Section 8 we give the best codes we found for the three remaining non-regular Archimedean grids. Table 1 summarizes what is known about the eleven Archimedean grids.
| Configuration | Name | Δ | Minimum density |
|---|---|---|---|
| triangular | 6 | 1/4 [13] | |
| square | 4 | 7/20 [4, 2] | |
| hexagonal | 3 | 5/12 [8] to 53/126 [14] | |
| 3.6.3.6 | trihexagonal (kagome) | 4 | 1/3 (Thm. 3) |
| 3.12.12 | truncated hexagonal | 3 | 2/3 (Thm. 4) |
| 4.8.8 | truncated square | 3 | 3/7 (Thm. 6) |
| elongated triangular | 5 | 1/3 (Thm. 7) | |
| snub hexagonal | 5 | 1/3 (Thm. 8) | |
| 4.6.12 | truncated trihexagonal | 3 | 3/7 (Thm. 5) to 13/30 (Thm. 9) |
| 3.4.6.4 | rhombitrihexagonal | 4 | 1/3 [16] to 11/30 (Thm. 9) |
| snub square | 5 | 2/7 [16] to 9/28 (Thm. 9) |
Table 1: The eleven Archimedean grids, their degree , and what is known about the minimum density of an idcode.

3.6.3.6
3.4.6.4

3.12.12
4.6.12
4.8.8
Figure 1: The 11 Archimedean grids, labeled by their vertex configurations.
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.
We define the density of a set of vertices of an infinite graph as in [16]. 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 [17] stated in 2002 that every locating-dominating set of a countably infinite -regular graph has density at least . As shown in [16], this is false for the infinite 3-regular tree, which has a locating-dominating 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 [16] 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 [16]. 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 q. In a finite graph, if every codeword starts with charge 1 and all other vertices with charge 0, 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 [16, 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 1 is assigned to each vertex of and charge 0 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 [16, 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.
3 The trihexagonal grid
The trihexagonal tiling, whose vertices all have configuration 3.6.3.6, is the Archimedean grid also known as the kagome grid. It is 4-regular, so the general lower bound of [16] 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

Figure 2: A patch of the kagome grid with five horizontal lines. The black vertices form the idcode of density 1/3 of the proof of Theorem 3: no middle vertex, and codewords and non-codewords alternate along each horizontal line. The codewords form vertical columns.
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, 2/3 of the vertices lie on horizontal lines.
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 [16, Theorem 4.1]. Conversely, let C 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 v on this line, and v is their only common neighbor, since a middle vertex is adjacent only to consecutive vertices of a line. If v is a middle vertex, then consists of one codeword on the horizontal line just below v and one on the line just above v, and again v is their only common neighbor. Hence the sets are nonempty and pairwise distinct, and C is an idcode. Its density is 1/3, since C contains half of the vertices of the horizontal lines, which are 2/3 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 1/3. 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.

Figure 3: The idcode of density 2/3 of the truncated hexagonal grid of the proof of Theorem 4 (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.
4 The truncated hexagonal grid
The truncated hexagonal tiling has vertex configuration 3.12.12 (see Figure 3). Its graph is obtained from the hexagonal grid by replacing every vertex by a triangle, so that every vertex v lies on exactly one triangle and has exactly one neighbor outside it, which we call its bridge neighbor ; the edges are the edges of the original hexagonal grid, and . The grid is cubic, so the general lower bound is only 2/5. In this section we prove the following theorem, which is item (b) of Theorem 1.
We draw the grid so that one third of the edges are vertical (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 4. The minimum density of an idcode of the truncated hexagonal grid 3.12.12 is 2/3.
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 1/3 to each vertex of the triangle , which is at distance at most 2 from . Every vertex then receives 1/3 for every codeword among the bridge neighbors of the vertices of , hence at least 2/3, and Theorem 2 gives .
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 2/3 is much larger than the general bound 2/5: the triangles force many codewords, and the argument above only uses the separation of adjacent vertices.
5 The truncated square grid
The truncated square tiling has vertex configuration 4.8.8 (see Figure 4). Its graph is obtained from the square grid by replacing every vertex by a 4-cycle, so it is cubic and every vertex lies on exactly one 4-cycle. The general lower bound is therefore only 2/5. In this section we prove that the minimum density is 3/7, which is item (c) of Theorem 1.
Our lower bound only uses that the grid is cubic and that every vertex lies on exactly one 4-cycle, so we prove it for all such twin-free graphs; in Section 8 we also apply it to the truncated trihexagonal grid 4.6.12. 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 5. Every idcode of a twin-free 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 G be such a graph and let C be an idcode of G. Every codeword starts with charge 7 and all other vertices with charge 0. For a vertex v, let be the set of square neighbors of v that belong to C. In the discharging phase, each codeword u 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 .

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.
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 , , 1 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.
Theorem 6. 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 5 gives the lower bound. Conversely, the black vertices of Figure 4 form

(a)

(b)
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 ; these rows are the rows of triangles.
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 5 only uses that the four vertices of are pairwise separated and that C 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.
6 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 [16] gives only 2/7. In this section we prove that the minimum density is 1/3, which is item (d) of Theorem 1.
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 , 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 v 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 v is an outer (inner) neighbor of each of its outer (inner) neighbors. Around v the faces are two squares and three triangles, so the neighbors of v appear in the cyclic order , outer, inner, inner, outer, and the three triangles containing v are formed by v with each consecutive pair among the last four. Hence the two inner neighbors of v are adjacent, each outer neighbor of v is adjacent to exactly one inner neighbor of v, and these are the only edges among the neighbors of v.
Theorem 7. 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, where denotes the receiving vertex.
(R1) If and , then receives 1 from .
(R2) If and , then receives 1/2 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.
(R3) If , , , and contains an outer and an inner neighbor of , then receives equal amounts 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 any three of the four outer and inner neighbors of contain an outer neighbor together with its adjacent inner neighbor.
(R4) In all other cases with , 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 , let be the outer and the inner neighbors of , with adjacent to and adjacent to , so that is a path. Let . For we write for the amount that receives from , so that . By the description of the neighborhoods above, 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 . We first read off from the rules the possible values of the amounts . All statements made for and hold symmetrically for and .
Since , rule (R1) gives if , and if , since then is a codeword with . By (R2), if and either has exactly one codeword neighbor, or exactly one of , is a codeword and the outer neighbor of adjacent to it is a codeword; otherwise .
If , then by (R2) when and , and otherwise, because is an outer neighbor of . If , then by (R2) when and either , or and ; otherwise . If , then when or , because in the latter case contains an inner neighbor of , the outer neighbors of being only and , so that (R3) applies and is outer; otherwise . If and , then when . When , rule (R3) applies, because the inner neighbors of cannot account for three codewords; then if , while if the vertex receives from and possibly from , the latter exactly when , so is 1 or 1/2. Finally if .
In particular, every satisfies or . We call heavy if , and contributing if . The vertex is heavy exactly when , and is heavy exactly when , or , , and is or . The vertex is contributing exactly when and either and , or and . The vertex is contributing exactly when and either and , or and ), or and or . We now prove three properties of these vertices.
First, at most one vertex of is heavy. Indeed, at most one vertex of satisfies , since is identifying. So if two vertices of were heavy, 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, at most three vertices of are contributing, and at most two if . Suppose that three vertices of are contributing. Any three vertices of contain or , so by symmetry we may assume that and are contributing. They cannot both be codewords, since would not contain .
Suppose that and . Then , so , and . If , then , which is impossible. Hence and . If , then neither nor is contributing, since and since has the codeword neighbors and , the latter being an inner neighbor of . If , then is contributing only if , and is contributing only if , because ; these two cannot both hold, so at most three vertices of are contributing. Moreover, if , the case cannot occur, since it gives .
Suppose that and . Then gives , so , and . The codeword neighbors of lie among , so forces , and . If , then neither nor is contributing, as before. If , then is contributing only if , which gives ; if moreover is contributing, then and , which is impossible. So again at most three vertices of are contributing. If , then forces , and only two are contributing.
Suppose finally that , so that and , while and . If and , then neither nor is contributing. If and , then is contributing only if , and only if , which cannot both hold; and if , then equals the one that holds, so neither is contributing. If , then , so is or ; the latter would give and then , so . Now and cannot both be contributing: by the case , above with the two sides exchanged, this would require , and then the present argument with the sides exchanged gives . If moreover , then and give and ; then is not contributing, since would give , and is not contributing, since would equal . This proves the second property.
Third, if and some vertex of is heavy, then . By symmetry the heavy vertex is or , and is not a set of another vertex. If , then , and is a nonempty subset of ; either it has one element, or it is , and in both cases . If , then , so and
. Otherwise , , and is or . In the first case forces , so is the unique inner neighbor of in and its adjacent outer neighbor is a codeword. In the second case , so is or . In all cases .
We can now bound . If , then , and by the first two properties , so . If , then and at most two vertices of are contributing. If one of them is heavy, then and ; otherwise . 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 .
7 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 7). Its graph is 5-regular, so the general lower bound of [16] gives 2/7. Its minimum density was previously known to lie in the interval [1]. In this section we prove that it equals 1/3, which is item (e) of Theorem 1.
We use the following coordinates. The six vectors
in this cyclic order, are the lattice neighbors of a point of ; with these neighbors, is the triangular grid, and the cyclic order above is the counterclockwise order around a point in its usual drawing. Let
The vertex set of the snub hexagonal grid is , and two vertices are adjacent when their difference is a lattice neighbor. The six lattice neighbors change by 3, 1, -2, -3, -1, 2, which are the six nonzero residues modulo 7. Hence every vertex has exactly one lattice neighbor in , which we denote by , so every vertex has degree five. We call two points of adjacent if their difference is one of , , ; with this adjacency, is again a triangular grid. For , the six lattice neighbors of form a hexagonal face , the hexagons partition the vertex set, and all other faces are triangles. The translations by vectors of and the map , which sends each lattice neighbor to the next one in the cyclic order and preserves , are automorphisms, and they act transitively on the vertices.
For a vertex , we list the five neighbors of counterclockwise, starting just after , as (Figure 6); we omit the argument when no confusion arises. The following facts are immediate from the coordinates, and by symmetry it suffices to check them for one vertex.
(F1) The edges among the neighbors of v are exactly , , and .
(F2) The vertices , lie on the hexagon of v, the vertices , lie on a second hexagon, and lies on a third one; the centers of these three hexagons are pairwise adjacent points of Z.

Figure 6: The ball of radius two around a vertex u of the snub hexagonal grid, with the names used in the proof of Theorem 8; edges leaving are drawn in gray. The hexagon of u contains , the hexagon of contains , and the hexagon of contains .

Figure 7: A patch of the snub hexagonal grid with the idcode of density 1/3 of the proof of Theorem 8 (black vertices): the union of one color class of hexagons.
(F3) , , , and .
By (F1) and (F2), every edge of a hexagon lies on exactly one triangle, so its two ends have exactly one common neighbor.
Theorem 8. The minimum density of an idcode of the snub hexagonal grid is 1/3.
Proof. The upper bound is given by a code made of whole hexagons. For the number is an integer, and we let be its residue modulo 3. The differences , and between adjacent points of change by , and , respectively. Hence is a proper 3-coloring of , and any three pairwise adjacent points of receive three different colors. Let , as shown in Figure 7. The coloring is invariant under the translations by vectors with (mod 3), which form a sublattice of index 3 of . A fundamental domain of this sublattice
| (a) | (b) | ||
|---|---|---|---|
| receives from | receives from | ||
Table 2: The exceptional cases of rules (R1) and (R2). All names refer to the neighbors of .
contains three hexagons, one of each color, hence 18 vertices, 6 of which are codewords, and the density of is .
Let be a vertex, let , and let and be the centers of the hexagons containing and , respectively. By (F2), are pairwise adjacent, so exactly one of them has color 1. If , then and , so consists of three consecutive vertices of a hexagon of . If , then . If , then , which is an edge of a hexagon of . In particular is dominating. Sets of different sizes are distinct, so it remains to compare sets of equal size. A set of three consecutive vertices of a hexagon determines its central vertex. A set determines by (F3). Finally, if with an edge of a hexagon, then is a common neighbor of and , and the only one is the vertex with . Hence is an idcode.
Conversely, let be an idcode. We use the same scheme as in Section 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. 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 from the codewords listed in the second column, and nothing from the other codewords of .
(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 receives from , so that . We name the vertices of the ball of radius two as in Figure 6: are the neighbors of , and are the vertices at distance two. By (F3), is the vertex , , , , 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 distinction, first on the set of codeword neighbors of and then, for some sets , on further vertices of ; in every case, the further assumptions together with and fix some vertices of . Each row gives a lower bound for and, for each , the maximum of over all choices of the vertices of that are not fixed by the row, 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 , so in the names relative to (indeed by (F3), and ), 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 .
Table 3: Certificate for the proof of Theorem 8. The first column is the set of codeword neighbors of , the second lists further assumptions on , 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 .
| P | further assumptions | sum | r | |||||
|---|---|---|---|---|---|---|---|---|
| impossible: | ||||||||
| impossible: | ||||||||
| 1 | 0 | 0 | 0 | 1 | 2 | 0 | ||
| 1 | 0 | 0 | 2 | 0 | ||||
| 1 | 0 | 0 | 2 | 0 | ||||
| impossible: | ||||||||
| 0 | 0 | 1 | 2 | 0 | ||||
| 0 | 2 | 0 | ||||||
| 0 | 2 | 0 | ||||||
| further assumptions | sum | |||||||
|---|---|---|---|---|---|---|---|---|
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — | ||||||||
| — |

Figure 8: An idcode of density 11/30 of the rhombitrihexagonal grid 3.4.6.4 (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.
In the code of Figure 7, 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 distinction of Table 3 were found and checked with the help of a computer [15], 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 1/3.
8 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 3.4.6.4, the truncated trihexagonal grid 4.6.12 and the snub square grid . For these 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 following result.
Theorem 9. The minimum density of an idcode of the rhombitrihexagonal grid 3.4.6.4, of the truncated trihexagonal grid 4.6.12 and of the snub square grid is at most 11/30, 13/30 and 9/28, respectively.
Proof. The periodic codes shown in Figures 8, 9 and 10 have densities 11/30, 13/30 and 9/28, 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 Figures 8, 9 and 10.
The truncated trihexagonal grid is twin-free and cubic, and every vertex lies on exactly one square, so Theorem 5 shows that its minimum density lies between and . For the rhombitrihexagonal and snub square grids, the only lower bounds we know are the general bounds 1/3 and 2/7 of [16]. Note that the snub square grid, which is 5-regular and whose faces are triangles and squares, has idcodes of density smaller than 1/3, in

Figure 9: An idcode of density 13/30 of the truncated trihexagonal grid 4.6.12 (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.
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 v receives from each codeword depends only on , are unlikely to give lower bounds larger than 1/3 for the rhombitrihexagonal grid and 3/10 for the snub square grid, so new ideas seem to be needed for these two grids.

Figure 10: An idcode of density 9/28 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.
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.
[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.
[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.
[7] 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.
[8] 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.
[9] 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.
[10] ___ , Minimum density of identifying codes of king grids, Discrete Math. 341 (2018), 2708–2719.
[11] Branko Grünbaum and Geoffrey C. Shephard, Tilings and patterns, W. H. Freeman, New York, 1987.
[12] Olivier Hudry, Ville Junnila, and Antoine Lobstein, On Iiro Honkala’s contributions to identifying codes, Fundamenta Informaticae 191 (2024), 165–196.
[13] 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.
[14] Ville Salo and Ilkka Törmä, Finding codes on infinite grids automatically, Fund. Inform. 191 (2024), 331–349.
[15] Rudini Sampaio, Computer verification of idcodes of arquimedean grids, https://www.lia.ufc.br/~rudini/publ/idc/idc.htm, 2026.
[16] 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.
[17] Peter J. Slater, Fault-tolerant locating-dominating sets, Discrete Math. 249 (2002), 179–189.
[18] Derrick Stolee, Automated discharging arguments for density problems in grids, 2014, Preprint, arXiv:1409.5922.
[19] Yunfan Zhao, John C. Wierman, and Thomas G. Marge, Perfect domination ratios of Archimedean lattices, Electron. J. Combin. 29 (2022), no. 3, P3.60.