Graceful 4-coloring of planar graphs is NP-complete
Version 1 / Nov 23, 2026 / CC BY 4.0
Abstract
A graceful -coloring of a graph is a proper vertex coloring with colors such that, at every vertex, the incident edges receive distinct differences of their endpoint colors. Cyriac Antony, Laavanya D. and Devi Yamini S. proved that deciding graceful -colorability is NP-complete for planar graphs when , and for on graphs of maximum degree three, and they left open the complexity of graceful 4-colorability of planar graphs. We prove that this problem is NP-complete, even for planar graphs of maximum degree three (inputs, as in their formulation, may be disconnected). The hardness comes from the reduction of Édouard Bonnet, Dibyayan Chakraborty and Julien Duron, who proved that deciding whether a cubic planar graph has a perfect matching cut (a perfect matching that is exactly the set of edges leaving some vertex set) is NP-hard; we apply their construction to every instance. What we add is an exact correspondence: for every finite cubic graph , the graph obtained by subdividing each edge of twice has a graceful 4-coloring if and only if has a perfect matching cut. This equivalence is proved in Lean from the definitions. This work has not yet been reviewed by experts. The proofs, the Lean formalization and the text were produced by AI models, working under the author's direction.
Provenance statement
References
- Cyriac Antony, Jacob Antony, Laavanya D.\ and Devi Yamini S., Graceful coloring is computationally hard, in: Algorithms and Discrete Applied Mathematics (CALDAM 2025), Lecture Notes in Computer Science 15536, Springer, 2025, 13--24, doi:10.1007/978-3-031-83438-7_2 (https://doi.org/10.1007/978-3-031-83438-7_2).DOI
- Cyriac Antony, Laavanya D.\ and Devi Yamini S., Graceful coloring is computationally hard, arXiv:2407.02179v2 (https://arxiv.org/abs/2407.02179v2), 2024.arXiv
- Vitaly A. Baransky, Ilia A. Nasyrov and Tatiana A. Senchonok, Locks and forbidden configurations in 4-graceful trees, Ural Math.\ J.\ 12 (2026), no. 1, 26--44, doi:10.15826/umj.2026.1.003 (https://doi.org/10.15826/umj.2026.1.003).DOI
- Z. Bi, A. Byers, S. English, E. Laforge and P. Zhang, Graceful colorings of graphs, J. Combin. Math. Combin. Comput.\ 101 (2017), 101--119.
- Édouard Bonnet, Dibyayan Chakraborty and Julien Duron, Cutting Barnette graphs perfectly is hard, Theoret.\ Comput.\ Sci.\ 1010 (2024), 114701, doi:10.1016/j.tcs.2024.114701 (https://doi.org/10.1016/j.tcs.2024.114701); arXiv:2302.11667v1 (https://arxiv.org/abs/2302.11667v1).arXivDOI
- Andreas Darmann and Janosch Döcker, On a simple hard variant of Not-All-Equal 3-Sat, Theoret.\ Comput.\ Sci.\ 815 (2020), 147--152, doi:10.1016/j.tcs.2020.02.010 (https://doi.org/10.1016/j.tcs.2020.02.010).DOI
- Laavanya D.\ and Devi Yamini S., Graceful coloring of some corona graphs: an algorithmic approach, Commun.\ Comb.\ Optim.\ 11 (2026), no. 2, 315--334, doi:10.22049/cco.2024.29155.1866 (https://doi.org/10.22049/cco.2024.29155.1866).DOI
- Laavanya D., Devi Yamini S.\ and Muhammad Faisal Nadeem, Graceful colorings of a subclass of bipartite graphs, in: Nonlinear Complex Systems, Computational Intelligence and Their Applications, Springer Proceedings in Mathematics & Statistics, Springer, 2026, 237--247, doi:10.1007/978-981-95-5891-9_18 (https://doi.org/10.1007/978-981-95-5891-9_18).DOI
- The mathlib Community, The Lean mathematical library, in: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), 367--381.
- Leonardo de Moura and Sebastian Ullrich, The Lean 4 theorem prover and programming language, in: Automated Deduction (CADE 28), Lecture Notes in Computer Science 12699, Springer, 2021, 625--635.
Show all 15 referencesShow fewer references
- Paola T. Pantoja, Simone Dantas and Atílio G. Luiz, Bounds on graceful -colorings of graphs, Discrete Appl.\ Math.\ 371 (2025), 218--231, doi:10.1016/j.dam.2025.04.032 (https://doi.org/10.1016/j.dam.2025.04.032).DOI
- Paola T. Pantoja, Simone Dantas and Atílio G. Luiz, Graceful colorings of graphs with maximum degree three, Discrete Appl.\ Math.\ 374 (2025), 75--96, doi:10.1016/j.dam.2025.05.013 (https://doi.org/10.1016/j.dam.2025.05.013).DOI
- Paola T. Pantoja, Simone Dantas and Atílio G. Luiz, On graceful colorings in subcubic trees, Discrete Appl.\ Math.\ 381 (2026), 98--111, doi:10.1016/j.dam.2025.11.027 (https://doi.org/10.1016/j.dam.2025.11.027).DOI
- Paola Tatiana Pantoja Huaynoca, Graceful colorings of graphs: structure, bounds, and complexity, doctoral thesis, Universidade Federal Fluminense, Niterói, 2026, open copy at sipos.app (https://sipos.app/pgmat/administracao/defesas/documentos/2026.03.23-14.56.04Tese%20Paola%20Tatiana%20Pantoja%20H.pdf).link
- Alexandru Popa and Andrei Popa, A polynomial time algorithm for computing the graceful coloring number on trees, SSRN preprint 7181532, 2026, doi:10.2139/ssrn.7181532 (https://doi.org/10.2139/ssrn.7181532).DOI
Version history
- v1 · 7 pagesSubmitted by Peter GrahamZenodo archive: https://doi.org/10.5281/zenodo.23915537. Paper text license: CC BY 4.0. The published code and data are governed by the licenses in the tagged release. Release archive folders: lean, checks.CurrentNov 22, 2026