Proceedings

Verified Certificates via SAT and Computer Algebra Systems for the Ramsey R(3,8) and R(3,9) Problems

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 2619-2627.

https://doi.org/10.24963/ijcai.2025/292

Abstract

The Ramsey problem R(3,k) seeks to determine the smallest value of n such that any red/blue edge coloring of the complete graph on n vertices must either contain a blue triangle (3-clique) or a red clique of size k. Despite its significance, many previous computational results for the Ramsey R(3,k) problem such as R(3,8) and R(3,9) lack formal verification. To address this issue, we use the software MathCheck to generate certificates for Ramsey problems R(3,8) and R(3,9) (and symmetrically R(8,3) and R(9,3)) by integrating a Boolean satisfiability (SAT) solver with a computer algebra system (CAS). Our SAT+CAS approach significantly outperforms traditional SAT-only methods, demonstrating an improvement of several orders of magnitude in runtime. For instance, our SAT+CAS approach solves R(3,8) (resp., R(8,3)) sequentially in 59 hours (resp., in 11 hours), while a SAT-only approach using state-of-the-art CaDiCaL solver times out after 7 days. Additionally, in order to be able to scale to harder Ramsey problems R(3,9) and R(9,3) we further optimized our SAT+CAS tool using a parallelized cube-and-conquer approach. Our results provide the first independently verifiable certificates for these Ramsey numbers, ensuring both correctness and completeness of the exhaustive search process of our SAT+CAS tool.

  1. [Ahmed et al., 2014] Tanbir Ahmed, Oliver Kullmann, and Hunter Snevily. On the van der Waerden numbers w(2; 3, t). Discrete Applied Mathematics, 174:27-51, September 2014.
  2. [Ajani and Bright, 2024] Yameen Ajani and Curtis Bright. SAT and lattice reduction for integer factorization. In Pro- ceedings of the 2024 International Symposium on Sym- bolic and Algebraic Computation, volume 46 of ISSAC '24, page 391-399. ACM, July 2024.
  3. [Bailleux and Boufkhad, 2003] Olivier Bailleux and Yacine Boufkhad. Efficient CNF encoding of Boolean cardinality constraints. In F. Rossi, editor, Principles and Practice of Constraint Programming -CP 2003, volume 2833 of Lec- ture Notes in Computer Science, pages 108-122, Berlin, Heidelberg, 2003. Springer.
  4. [Bayardo Jr. and Schrag, 1997] Roberto J. Bayardo Jr. and Robert C. Schrag. Using CSP look-back techniques to solve real-world SAT instances. In AAAI'97/IAAI'97, pages 203-208. AAAI Press, 1997.
  5. [Bernardin et al., 2024] L. Bernardin, P. Chin, P. DeMarco, K. O. Geddes, D. E. G. Hare, K. M. Heal, G. Labahn, J. P. May, J. McCarron, M. B. Monagan, D. Ohashi, and S. M. Vorkoetter. Maple Programming Guide. Maplesoft, a di- vision of Waterloo Maple Inc., 2024.
  6. [Biere et al., 2024] Armin Biere, Tobias Faller, Katalin Fazekas, Mathias Fleury, Nils Froleyks, and Florian Pol- litt. CaDiCaL 2.0. In Arie Gurfinkel and Vijay Ganesh, editors, Computer Aided Verification, CAV 2024, vol- ume 14681 of Lecture Notes in Computer Science, page 133-152, Cham, 2024. Springer Nature Switzerland.
  7. [Bosma et al., 1997] Wieb Bosma, John Cannon, and Catherine Playoust. The Magma algebra system I: The user language. Journal of Symbolic Computation, 24(3-4):235-265, 1997.
  8. [Bright et al., 2020] Curtis Bright, Ilias Kotsireas, and Vijay Ganesh. Applying computer algebra systems with SAT solvers to the williamson conjecture. Journal of Symbolic Computation, 100:187-209, 2020.
  9. [Bright et al., 2021] Curtis Bright, Kevin K H Cheung, Brett Stevens, Ilias Kotsireas, and Vijay Ganesh. A SAT-based resolution of Lam's problem. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 3669-3676, 2021.
  10. [Bright et al., 2022] Curtis Bright, Ilias Kotsireas, and Vijay Ganesh. When satisfiability solving meets symbolic com- putation. Communications of the ACM, 65(7):64-72, June 2022.
  11. [Buss and Thapen, 2021] Samuel R. Buss and Neil Thapen. DRAT and propagation redundancy proofs without new variables. Logical Methods in Computer Science, 17(2), Apr 2021.
  12. [Codel et al., 2024] Cayden R. Codel, Jeremy Avigad, and Marijn J. H. Heule. Verified substitution redundancy checking. In N. Narodytska and P. Rümmer, editors, Pro- ceedings of Formal Methods in Computer-Aided Design, FMCAD 2024, Formal Methods in Computer-Aided De- sign, pages 186-196. TU Wien Academic Press, 2024.
  13. [Codish et al., 2016] Michael Codish, Michael Frank, Avra- ham Itzhakov, and Alice Miller. Computing the Ramsey number R(4, 3, 3) using abstraction and symmetry break- ing. Constraints, 21:375-393, 2016.
  14. [Codish et al., 2019] Michael Codish, Alice Miller, Patrick Prosser, and Peter J. Stuckey. Constraints for symmetry breaking in graph representation. Constraints, 24:1-24, 2019.
  15. [de Moura et al., 2015] Leonardo de Moura, Soonho Kong, Jeremy Avigad, Floris van Doorn, and Jakob von Raumer. The Lean theorem prover (system description). In Au- tomated Deduction -CADE-25, volume 9195 of Lecture Notes in Computer Science, page 378-388, Cham, 2015. Springer.
  16. [Faradžev, 1978] I. A. Faradžev. Constructive enumeration of combinatorial objects. In Problèmes combinatoires et théorie des graphes, pages 131-135, 1978.
  17. [Fazekas et al., 2023] Katalin Fazekas, Aina Niemetz, Math- ias Preiner, Markus Kirchweger, Stefan Szeider, and Armin Biere. IPASIR-UP: User propagators for CDCL. In 26th International Conference on Theory and Applications of Satisfiability Testing (SAT 2023). Schloss Dagstuhl- Leibniz-Zentrum für Informatik, 2023.
  18. [Fujita et al., 2013] Hiroshi Fujita, Miyuki Koshimura, and Ryuzo Hasegawa. SCSat: A soft constraint guided SAT solver. In M. Järvisalo and A. Van Gelder, editors, The- ory and Applications of Satisfiability Testing-SAT 2013: 16th International Conference, Helsinki, Finland, July 8- 12, 2013., volume 7962 of Lecture Notes in Computer Sci- ence, pages 415-421, Berlin, Heidelberg, 2013. Springer.
  19. [Gauthier and Brown, 2024] Thibault Gauthier and Chad E. Brown. A formal proof of R(4, 5) = 25. In Yves Bertot, Temur Kutsia, and Michael Norrish, editors, 15th Inter- national Conference on Interactive Theorem Proving (ITP 2024), volume 309 of Leibniz International Proceedings in Informatics (LIPIcs), pages 16:1-16:18, Dagstuhl, Ger- many, 2024. Schloss Dagstuhl -Leibniz-Zentrum für In- formatik.
  20. [Gocht and Nordström, 2021] Sebastian Gocht and Jakob Nordström. Certifying parity reasoning efficiently using pseudo-Boolean proofs. In Proceedings of the AAAI Con- ference on Artificial Intelligence, volume 35, pages 3768- 3777, May 2021.
  21. [Graver and Yackel, 1968] Jack E. Graver and James Yackel. Some graph theoretic results associated with Ramsey's theorem. Journal of Combinatorial Theory, 4(2):125-175, 1968.
  22. [Grinstead and Roberts, 1982] Charles M. Grinstead and Sam M. Roberts. On the Ramsey numbers R(3, 8) and R(3, 9). Journal of Combinatorial Theory, Series B, 33(1):27-51, 1982.
  23. [Heule and Biere, 2018] Marijn J. H. Heule and Armin Biere. What a difference a variable makes. In International Conference on Tools and Algorithms for the Construction and Analysis of Systems, pages 75-92. Springer, 2018.
  24. [Heule et al., 2012] Marijn J. H. Heule, Oliver Kullmann, Siert Wieringa, and Armin Biere. Cube and conquer: Guiding CDCL SAT solvers by lookaheads. In Kerstin Eder, João Lourenc ¸o, and Onn Shehory, editors, Hardware and Software: Verification and Testing, volume 7261 of Lecture Notes in Computer Science, pages 50-65, Berlin, Heidelberg, 2012. Springer.
  25. [Heule et al., 2016] Marijn J. H. Heule, Oliver Kullmann, and Victor W Marek. Solving and verifying the boolean Pythagorean triples problem via cube-and-conquer. In Theory and Applications of Satisfiability Testing -SAT 2016, volume 9710 of Lecture Notes in Computer Science, pages 228-245, Cham, 2016. Springer.
  26. [Heule et al., 2020] Marijn J. H. Heule, Benjamin Kiesl, and Armin Biere. Strong extension-free proof systems. Jour- nal of Automated Reasoning, 64(3):533-554, 2020.
  27. [Heule, 2018] Marijn J. H. Heule. Schur number five. In Proceedings of the Thirty-Second AAAI Conference on Ar- tificial Intelligence, volume 32, pages 6598-6606. AAAI Press, 2018.
  28. [Järvisalo et al., 2012] Matti Järvisalo, Marijn J. H. Heule, and Armin Biere. Inprocessing rules. In International Joint Conference on Automated Reasoning, pages 355- 370. Springer, 2012.
  29. [Jha et al., 2024] Piyush Jha, Zhengyu Li, Zhengyang Lu, Curtis Bright, and Vijay Ganesh. AlphaMapleSAT: An MCTS-based cube-and-conquer SAT solver for hard com- binatorial problems. arXiv:2401.13770, 2024.
  30. [Kirchweger and Szeider, 2021] Markus Kirchweger and Stefan Szeider. SAT modulo symmetries for graph generation. In 27th International Conference on Princi- ples and Practice of Constraint Programming, volume 210 of LIPIcs, pages 34:1-34:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021.
  31. [Kirchweger and Szeider, 2024] Markus Kirchweger and Stefan Szeider. SAT modulo symmetries for graph generation and enumeration. ACM Trans. Comput. Logic, 25(3), jul 2024.
  32. [Kirchweger et al., 2023a] Markus Kirchweger, Tomáš Peitl, and Stefan Szeider. A SAT solver's opinion on the Erdős- Faber-Lovász conjecture. In 26th International Confer- ence on Theory and Applications of Satisfiability Testing (SAT 2023), volume 271 of Leibniz International Proceed- ings in Informatics (LIPIcs), pages 13:1-13:17. Schloss- Dagstuhl-Leibniz Zentrum für Informatik, 2023.
  33. [Kirchweger et al., 2023b] Markus Kirchweger, Tomáš Peitl, and Stefan Szeider. Co-certificate learning with SAT modulo symmetries. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, IJCAI '23, 2023. IJCAI
  34. [Li et al., 2024] Zhengyu Li, Curtis Bright, and Vijay Ganesh. A SAT solver + computer algebra attack on the minimum Kochen-Specker problem. In Kate Larson, ed- itor, Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24, pages 1898-1906. International Joint Conferences on Artificial Intelligence Organization, 8 2024. IJCAI
  35. [Marques-Silva and Sakallah, 1999] João P. Marques-Silva and Karem A. Sakallah. GRASP: A search algorithm for propositional satisfiability. IEEE Transactions on Comput- ers, 48(5):506-521, 1999.
  36. [Marques-Silva et al., 2021] João Marques-Silva, Inês Lynce, and Sharad Malik. Conflict-driven clause learn- ing SAT solvers. In Handbook of satisfiability, pages 133-182. IOS Press, 2021.
  37. [McKay and Min, 1992] Brendan D. McKay and Zhang Ke Min. The value of the Ramsey number R(3, 8). Journal of Graph Theory, 16(1):99-105, 1992.
  38. [McKay and Piperno, 2014] Brendan D. McKay and Adolfo Piperno. Practical graph isomorphism, II. Journal of Sym- bolic Computation, 60:94-112, 2014.
  39. [McKay and Radziszowski, 1995] Brendan D. McKay and Stanislaw P. Radziszowski. R(4, 5) = 25. Journal of Graph Theory, 19(3):309-322, 1995.
  40. [Neiman et al., 2022] David Neiman, John Mackey, and Marijn Heule. Tighter bounds on directed Ramsey number R(7). Graphs and Combinatorics, 38(5):156, 2022.
  41. Ronald C. Read. Every one a winner. Annals of Discrete Mathematics, 2:107-120, 1978.
  42. [Rebola-Pardo, 2023] Adrià Rebola-Pardo. Even shorter proofs without new variables. In Meena Mahajan and Florian Slivovsky, editors, 26th International Conference on Theory and Applications of Satisfiability Testing (SAT 2023), volume 271 of Leibniz International Proceedings in Informatics (LIPIcs), pages 22:1-22:20. Schloss dagstuhl- Leibniz-Zentrum für Informatik, 2023.
  43. [Stein and Joyner, 2005] William Stein and David Joyner. SAGE: System for algebra and geometry experimentation. ACM SIGSAM Bulletin, 39(2):61-64, June 2005.
  44. [Wetzler et al., 2014] Nathan Wetzler, Marijn J. H. Heule, and Warren A. Hunt. DRAT-trim: Efficient checking and trimming using expressive clausal proofs. In C. Sinz and U. Egly, editors, Theory and Applications of Satisfiabil- ity Testing -SAT 2014, volume 8561 of Lecture Notes in Computer Science, pages 422-429, Cham, 2014. Springer.
  45. [Wolfram, 2003] Stephen Wolfram. The Mathematica Book, Fifth Edition. Wolfram Research, Inc., 2003.
  46. [Zulkoski et al., 2015] Edward Zulkoski, Vijay Ganesh, and Krzysztof Czarnecki. MathCheck: A math assistant via a combination of computer algebra systems and SAT solvers. In Automated Deduction-CADE-25: 25th Interna- tional Conference on Automated Deduction, Berlin, Ger- many, August 1-7, 2015, Proceedings 25, pages 607-622. Springer, 2015. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards