WorksMathematics
Counterexamples to five conjectures of Graffiti.pc on domination
Abstract
Written on the Wall II, the list of conjectures of the program Graffiti.pc, records Conjectures 319, 352, 358, 359 and 427 as open. We show that all five are false. The counterexamples are caterpillars for Conjectures 352, 358, 359 and 427, and graphs built from complete graphs for Conjecture 319; each comes in an infinite family, and for Conjectures 358, 359 and 427 the difference between the two sides is unbounded.
Introduction
Graffiti.pc is a program written by DeLaViña in 2001 [4] after Fajtlowicz’s Graffiti [9]; it proposes inequalities between graph invariants that hold on its database of graphs. Its conjectures are collected, with their status, in DeLaViña’s list Written on the Wall II [5]. Several hundred of them concern total domination, and some have been settled [7, 6, 8]. This note disproves five conjectures that the list still marks as open:1 four on total domination and one on independent domination. The proofs are by hand. As in [2], every finite statement is also re-checked by computer and in the Lean proof assistant; the computations are described in § 7 and Appendix § 8.
All graphs are finite, simple and connected. For a vertex of , is its set of neighbours and ; for , and is the subgraph induced by . A set is dominating if every vertex outside has a neighbour in , and totally dominating if every vertex of has a neighbour in . The domination number and the total domination number are the least sizes of such sets [3, 10]; the independent domination number is the least size of a dominating set that is independent. A total dominating set is minimal if no proper subset is a total dominating set; since every superset of a total dominating set is one, this holds as soon as no single vertex can be removed. is well totally dominated if all its minimal total dominating sets have the same size [1]. A pendant vertex or leaf has degree one, and a support vertex is a neighbour of a leaf. We write for the distance, for the eccentricity, and for the center, the set of vertices of least eccentricity. Following [5], the eccentricity of a set is
The number of vertices at even distance from , including itself, is denoted ; the list calls it . In a tree , is the set of leaves, the set of support vertices, the set of vertices of degree two, and the set of vertices of maximum degree. Finally and are the numbers of isolated vertices and of components of a graph .
The five conjectures read as follows in [5].
Corresponding author: [email protected]; ORCID 0000-0003-0466-750X.
Conjecture 352. If is a tree on vertices, then , where is the average eccentricity of the vertices of maximum degree.
Conjecture 358. If is a tree on vertices, then .
Conjecture 359. If is a tree on vertices, then .
Conjecture 319. If has vertices and , then is well totally dominated.
Conjecture 427. If has vertices, then , where is the set of pendant vertices, is the edge set of and the set of edges with exactly one end in .
The printed statement of Conjecture 427 introduces the set of maximum-degree vertices and then uses the symbols and without defining them. In the neighbouring entries of the list, is the center (Conjectures 430a–c) and the set of pendant vertices (Conjecture 425d); we read the statement this way, and we show in Theorem 6.2 that it fails also if stands for .
Theorem 1.1. Conjectures 352, 358, 359, 319 and 427 are false. More precisely:
for and with , the caterpillar on vertices has , one less than the right side of Conjecture 352 (Theorem 3.2);
for odd , the caterpillar on vertices has , while the right sides of Conjectures 358 and 359 both equal (Theorem 4.2);
for , the graph on vertices satisfies for every vertex , and has minimal total dominating sets of sizes and (Theorem 5.2);
for , the caterpillar on vertices has , while the right side of Conjecture 427 equals (Theorem 6.2).
The smallest counterexamples are with 18 vertices, with 19, with 10, and an 8-vertex tree for Conjecture 427. An exhaustive search (§ 7) shows that and are the only counterexamples of their orders and that there are none smaller. Likewise is the only counterexample to Conjecture 319 with at most 11 vertices, and the 8-vertex tree the only counterexample to Conjecture 427 with at most 8 vertices.
Two tools
Lemma 2.1. Every total dominating set of a tree contains all its support vertices, and every dominating set meets for each support vertex .
Proof. A leaf has the single neighbour , so a total dominating set must contain , and a dominating set must contain or .
Lemma 2.2. Let be a total dominating set of a graph, a set of vertices, and a set of vertices whose neighbours all lie in . If every vertex of has at most two neighbours in , then .
Proof. Each has a neighbour in , which lies in . Counting the pairs with , and an edge gives .
We also use Jordan’s theorem [11]: the center of a tree consists of the middle vertex, or the two middle vertices, of any longest path.
Conjecture 352
Definition 3.1. For let be the tree formed by a path
together with three leaves attached to and one leaf attached to each (Figure 1). It has vertices.

Figure 1. , the smallest counterexample to Conjecture 352. The shaded vertices form a total dominating set of size 7; the right side of the conjecture is 8.
Theorem 3.2. Let and , . Then
Proof. Write . The vertex has degree 4, the vertices have degree 3, the and have degree 2, and all other vertices are leaves. Hence , and , since every other vertex is closer to . As is odd, .
Next, and
The two sets on the right induce paths, and no edge joins them because lies in neither and is not an edge. So , and the right side of Conjecture 352 equals .
Upper bound. The set
has elements. It is a total dominating set: dominates its leaves and ; dominates and ; for the pair dominates , so that are all dominated; dominates , and ; dominates , and ; dominates , and ; and the pair dominates , where means .
Lower bound. Let be any total dominating set. By Lemma 2.1, . Apply Lemma 2.2 to and : the neighbours of and of each with lie in , and a vertex of is adjacent to at most two vertices of . Hence . Likewise, with and , . The sets , and are disjoint, so .
Conjectures 358 and 359
Definition 4.1. For let be the caterpillar whose spine is the path
with one leaf attached to each and to each (Figure 2). It has vertices. We call the -th block.

Figure 2. , the smallest counterexample to Conjectures 358 and 359. The center is circled; the shaded vertices form a total dominating set of size 9, while both conjectures demand .
Theorem 4.2. Let be odd. Then , and . Hence the right side of both Conjecture 358 and Conjecture 359 equals .
Proof. The leaves are the attached vertices, so . Two support vertices are at distance at least 2 (they are separated by or by ), so has no edges and ; in each support vertex is joined only to its own leaf, so .
The spine has edges, and every vertex lies on the spine or is a leaf attached to it; the spine ends and carry leaves. So the path from the leaf at to the leaf at , of length , is a longest path. Since is odd, is even, and by Jordan’s theorem is the single vertex at distance from both ends; this is with , because the leaf at is at distance from . Thus .
The set of all block vertices is a total dominating set: each leaf is dominated by its support vertex, and by , by , by , and by . Conversely, let be a total dominating set. By Lemma 2.1, . For each the vertices need neighbours in , and these lie in , which contains no support vertex. The sets are pairwise disjoint, because each vertex outside is adjacent to support vertices of only one block: to ; to ; to ; a leaf to its support vertex. Hence , and .
Finally .
Conjecture 319
Remark 4.3. For even the center of is the edge , , and the same argument gives right sides . For the two sides are equal.
Definition 5.1. For let consist of a complete graph on , a vertex , and for each a path (Figure 3). It has vertices.

Figure 3. , the smallest counterexample to Conjecture 319. Every vertex has four vertices at even distance (itself included) and . The shaded sets are minimal total dominating sets of sizes 4 (a) and 6 (b).
Theorem 5.2. For , every vertex of has , and . The sets and are minimal total dominating sets of sizes and . Hence satisfies the hypothesis of Conjecture 319 and is not well totally dominated.
Proof. Distances. Let . The following lists, read off from the paths through and through the clique, give the vertices at distance 1, 2 and 3; no distance exceeds 3.
| vertex | distance 1 | distance 2 | distance 3 | de |
| , | , | , | ||
| , | , | , | ||
| , | , | , |
Table 1.
For instance along , while the route through has length 4; and along . In every row .
Domination. The sets are disjoint, so a dominating set has at least vertices. Suppose . Then has exactly one vertex in each and does not contain , so is dominated by some . Then and , so is dominated by some , . But then and , so is not dominated, a contradiction. Hence .
The set is a total dominating set: is dominated by ; every by ; by ; by for ; by ; and , , by another with , which exists since . As , we get , and is minimal because it has the least possible size.
The set is a total dominating set: is dominated by , and by each other, and by . It is minimal: without the vertex has no neighbour in , since ; without the vertex has none, since . As , is not well totally dominated, while . □
Remark 5.3. If itself is not counted in , Conjecture 319 already fails for the path : the largest count is , while and are minimal total dominating sets. So the conjecture is false under either reading; the definition in [5] counts all vertices at even distance, which includes .
Conjecture 427
Definition 6.1. For let be the path with one leaf attached to each , ; it has vertices. For let be the path with one leaf attached to each and a second leaf attached to ; it has vertices.
Theorem 6.2. For , the right side of Conjecture 427 for equals 2, while . If is replaced by the set of maximum-degree vertices, the right side for equals 4, while ; so for the conjecture fails in this reading too.
Proof. In the path is a longest path, so by Jordan’s theorem. As has degree 2, . The pendant vertices are the , so and , an independent set; the second term vanishes and the right side is 2. By Lemma 2.1 an independent dominating set meets each of the disjoint sets , , so ; and is an independent dominating set of size (it dominates through ).
In the vertex has degree 4 and every other vertex has degree at most 3, so and . Every spine vertex is a support vertex, so is the set of leaves, which is independent; the right side is 4. By Lemma 2.1, , and the vertices with even together with the leaves at the with odd form an independent dominating set of size $m. □
The smallest counterexample has 8 vertices: the path with a leaf attached to (Figure 4(a)). The path is a longest path, so the center is , which has degree 2. The pendant vertices are , and , so , and has the single edge . The right side is . On the other hand has four vertices and every other closed neighbourhood at most three, so two vertices dominate at most seven of the eight vertices; and is an independent dominating set. So .

Figure 4. (a) The smallest counterexample to Conjecture 427: the right side is 2 (the center is circled) and , attained by the shaded set. (b) : with read as the set of maximum-degree vertices the right side is 4, while .
Exhaustive search
The trees with at most 24 vertices (63,242,254 trees with 3 to 24 vertices) were generated with gentreeg from nauty [12], which implements the algorithm of Wright, Richmond, Odlyzko and McKay [13], and tested against Conjectures 352, 358 and 359; was computed by a dynamic programme over a rooted tree, and compared with a brute-force computation for all trees with at most 16 vertices. Table 1 gives the numbers of counterexamples. The connected graphs were generated with geng. Among the 1,018,690,328 connected graphs with 2 to 11 vertices, 46 satisfy the hypothesis of Conjecture 319, and is the only one of them that is not well totally dominated. Among the 11,989,760 connected graphs with 4 to 10 vertices, Conjecture 427 has 1, 12 and 72 counterexamples with 8, 9 and 10 vertices and none smaller; with read as it has 5, all with 10 vertices.
| trees | Conjecture 352 | Conjectures 358, 359 | |
| 3–17 | 81,135 | 0 | 0 |
| 18 | 123,867 | 1 | 0 |
| 19 | 317,955 | 4 | 1 |
| 20 | 823,065 | 13 | 3 |
| 21 | 2,144,505 | 31 | 14 |
| 22 | 5,623,756 | 73 | 38 |
| 23 | 14,828,074 | 157 | 108 |
| 24 | 39,299,897 | 318 | 255 |
Table 1 (PDF p. 7). Counterexamples among all trees with vertices.
Verification
The proofs above use no computation. The computer checks the finite claims about the smallest members of each family and the searches of § 7, independently in four languages; all files are in the repository listed under Data and code availability.
C. Exhaustive searches:
search352.candsearch358.cover trees in graph6 format (total domination number by dynamic programming, optionally compared with brute force over all vertex subsets),c319.candc427.cover connected graphs (all parameters by exhaustion over vertex subsets, in integer arithmetic). The search for Conjecture 319 on the 1,006,700,565 connected graphs with 11 vertices was split into three parts with geng’sres/modoption.
Python (exact integer and rational arithmetic): for with , , for with odd , for with , for with and for with , recomputes every quantity in Theorems 3.2–6.2 from the edge lists, and checks the stated values of , and by exhaustion for the smaller members.
Julia: the same quantities, with , , and the minimal total dominating sets found by brute force over all vertex subsets (up to subsets), except that for is computed by a tree dynamic programme.
Lean 4: self-contained files without Mathlib. For , , , the 8-vertex tree and they compute the right sides of the conjectures from the edge lists and prove that the conjectures fail. The refutations of Conjectures 352, 358 and 359 exhibit a total dominating set that is too small and depend on no axioms; those of Conjectures 319 and 427 evaluate and over all vertex subsets in the kernel and depend only on propext. The exact values and are also checked, by compiled evaluation (
native_decide); the refutations do not use them.
Statements and Declarations
Funding
Funding. No funding was received for conducting this study.
Competing interests
Competing interests. The author has no competing interests to declare that are relevant to the content of this article.
Data and code availability
The programs, their outputs and the Lean files are available at https://github.com/creelie/eCY and archived on Zenodo, https://doi.org/10.5281/zenodo.23252219.
Use of generative AI
The author used Claude (Anthropic) for programming, computation and drafting; the author checked the mathematics and takes full responsibility for the content.
Formerly, Electro-Gravitational Space Propulsion Laboratory (EGSPL), Bhubaneswar, Odisha 751030, India
Email address: [email protected]
Email address: [email protected]
URL: https://orcid.org/0000-0003-0466-750X
References
- [1]S. Bahadır, T. Ekim and D. Gözüpek, Well-totally-dominated graphs, Ars Math. Contemp. 20 (2021), 209–222. https://doi.org/10.26493/1855-3974.2465.571
- [2]D. Bhattacharjee, P. Mandal and U. Bhattacharya, Resolving Erdős–Ulam monochromatic union-closed family conjectures, preprint, 2026. arXiv:2610.02833
- [3]E. J. Cockayne, R. M. Dawes and S. T. Hedetniemi, Total domination in graphs, Networks 10 (1980), 211–219. https://doi.org/10.1002/net.3230100304
- [4]E. DeLaViña, Graffiti.pc: a variant of Graffiti, in: Graphs and Discovery, DIMACS Ser. Discrete Math. Theoret. Comput. Sci. 69, Amer. Math. Soc., Providence, RI, 2005, 71–79. https://doi.org/10.1090/dimacs/069/05
- [5]E. DeLaViña, Written on the Wall II (conjectures of Graffiti.pc), http://cms.uhd.edu/faculty/delavinae/research/wowII/; version of 26 July 2026 archived at https://web.archive.org/web/20260726061534/http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html
- [6]E. DeLaViña, C. E. Larson, R. Pepper and B. Waller, Graffiti.pc on the total domination number of a tree, Congr. Numer. 195 (2009), 5–18.
- [7]E. DeLaViña, Q. Liu, R. Pepper, B. Waller and D. B. West, Some conjectures of Graffiti.pc on total domination, Congr. Numer. 185 (2007), 81–95.
- [8]W. J. Desormeaux and M. A. Henning, Lower bounds on the total domination number of a graph, J. Comb. Optim. 31 (2016), 52–66. https://doi.org/10.1007/s10878-014-9708-2
- [9]S. Fajtlowicz, On conjectures of Graffiti, Discrete Math. 72 (1988), 113–118. https://doi.org/10.1016/0012-365X(88)90199-9
- [10]M. A. Henning and A. Yeo, Total Domination in Graphs, Springer Monographs in Mathematics, Springer, New York, 2013. https://doi.org/10.1007/978-1-4614-6525-6
- [11]C. Jordan, Sur les assemblages de lignes, J. Reine Angew. Math. 70 (1869), 185–190. https://doi.org/10.1515/crll.1869.70.185
- [12]B. D. McKay and A. Piperno, Practical graph isomorphism, II, J. Symbolic Comput. 60 (2014), 94–112. https://doi.org/10.1016/j.jsc.2013.09.003
- [13]R. A. Wright, B. Richmond, A. Odlyzko and B. D. McKay, Constant time generation of free trees, SIAM J. Comput. 15 (1986), 540–548. https://doi.org/10.1137/0215039