Proceedings

Automated Strategy Invention for Confluence of Term Rewrite Systems

Download BibTeX Cite

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

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

Abstract

Term rewriting plays a crucial role in software verification and compiler optimization. With dozens of highly parameterizable techniques developed to prove various system properties, automatic term rewriting tools work in an extensive parameter space. This complexity exceeds human capacity for parameter selection, motivating an investigation into automated strategy invention. In this paper, we focus on confluence of term rewrite systems, and apply AI techniques to invent strategies for automatic confluence proving. Moreover, we randomly generate a large dataset to analyze confluence for term rewrite systems. We improve the state-of-the-art automatic confluence prover CSI: When equipped with our invented strategies, it surpasses its human-designed strategies both on the augmented dataset and on the original human-created benchmark dataset ARI-COPS, proving/disproving the confluence of several term rewrite systems for which no automated proofs were known before.

  1. [Abate et al., 2021] Alessandro Abate, Mirco Giacobbe, and Diptarko Roy. Learning probabilistic termination proofs. In Computer Aided Verification: 33rd International Con- ference, CAV 2021, Virtual Event, July 20-23, 2021, Pro- ceedings, Part II 33, pages 3-26. Springer, 2021.
  2. [Aleksandrova et al., 2024] Kristina Aleksandrova, Jan Jakubuv, and Cezary Kaliszyk. Prover9 unleashed: Automated configuration for enhanced proof discovery. In Proceedings of 25th Conference on Logic for Pro, volume 100, pages 360-369, 2024.
  3. [Aoto and Toyama, 2012] Takahito Aoto and Yoshihito Toyama. A reduction-preserving completion for proving confluence of non-terminating term rewriting systems. Logical Methods in Computer Science, 8, 2012.
  4. [Baader and Nipkow, 1998] Franz Baader and Tobias Nip- kow. Term rewriting and all that. Cambridge university press, 1998.
  5. [Bachmair and Ganzinger, 1994] Leo Bachmair and Harald Ganzinger. Rewrite-based equational theorem proving with selection and simplification. Journal of Logic and Computation, 4(3):217-247, 1994.
  6. [Brown and Kaliszyk, 2022] Chad E Brown and Cezary Kaliszyk. Lash 1.0 (system description). In International Joint Conference on Automated Reasoning, pages 350- 358. Springer, 2022.
  7. [De Moura and Bjørner, 2008] Leonardo De Moura and Nikolaj Bjørner. Z3: An efficient smt solver. In In- ternational conference on Tools and Algorithms for the Construction and Analysis of Systems, pages 337-340. Springer, 2008.
  8. [Freund and Schapire, 1997] Yoav Freund and Robert E Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of com- puter and system sciences, 55(1):119-139, 1997.
  9. [Giacobbe et al., 2022] Mirco Giacobbe, Daniel Kroening, and Julian Parsert. Neural termination analysis. In Pro- ceedings of the 30th ACM Joint European Software Engi- neering Conference and Symposium on the Foundations of Software Engineering, pages 633-645, 2022.
  10. [Gramlich, 1996] Bernhard Gramlich. Confluence without termination via parallel critical pairs. In Colloquium on Trees in Algebra and Programming, pages 211-225. Springer, 1996.
  11. [He et al., 2023] Guoliang He, Zak Singh, and Eiko Yoneki. Mcts-geb: Monte carlo tree search is a good e-graph builder. In Proceedings of the 3rd Workshop on Machine Learning and Systems, pages 26-33, 2023.
  12. [Hůla and Jakubův, 2022] Jan Hůla and Jakubův. Targeted configuration of an smt solver. In International Confer- ence on Intelligent Computer Mathematics, pages 256- 271. Springer, 2022.
  13. [Hutter et al., 2009] Frank Hutter, Holger H Hoos, Kevin Leyton-Brown, and Thomas Stützle. Paramils: an auto- matic algorithm configuration framework. Journal of arti- ficial intelligence research, 36:267-306, 2009.
  14. [Kerschke et al., 2019] Pascal Kerschke, Holger H Hoos, Frank Neumann, and Heike Trautmann. Automated al- gorithm selection: Survey and perspectives. Evolutionary computation, 27(1):3-45, 2019.
  15. [Lindauer et al., 2022] Marius Lindauer, Katharina Eggensperger, Matthias Feurer, André Biedenkapp, Difan Deng, Carolin Benjamins, Tim Ruhkopf, René Sass, and Frank Hutter. Smac3: A versatile bayesian optimization package for hyperparameter optimization. Journal of Machine Learning Research, 23(54):1-9, 2022.
  16. [McCune, 2005] W. McCune. Prover9 and Mace4. http: //www.cs.unm.edu/ ∼ mccune/prover9/, 2005. Accessed: 2025-05-21. Link
  17. [Meseguer, 2003] José Meseguer. Software specification and verification in rewriting logic. Nato Science Series Sub Series III Computer and Systems Sciences, 191:133-194, 2003.
  18. [Nagele et al., 2015] Julian Nagele, Bertram Felgenhauer, and Aart Middeldorp. Improving automatic confluence analysis of rewrite systems by redundant rules. In 26th In- ternational Conference on Rewriting Techniques and Ap- plications (RTA 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2015.
  19. [Nagele et al., 2017] Julian Nagele, Bertram Felgenhauer, and Aart Middeldorp. Csi: New evidence-a progress re- port. In International Conference on Automated Deduc- tion, pages 385-397. Springer, 2017.
  20. [Ramírez et al., 2016] Nicolás Gálvez Ramírez, Youssef Hamadi, Eric Monfroy, and Frédéric Saubion. Evolving smt strategies. In 2016 IEEE 28th International Confer- ence on Tools with Artificial Intelligence, 2016.
  21. [Sternagel and Thiemann, 2014] Christian Sternagel and René Thiemann. The certification problem format. arXiv preprint arXiv:1410.8220, 2014.
  22. [Stump et al., 2014] Aaron Stump, Geoff Sutcliffe, and Ce- sare Tinelli. Starexec: A cross-community infrastructure for logic solving. In International joint conference on au- tomated reasoning, pages 367-373. Springer, 2014.
  23. [Thiemann and Sternagel, 2009] René Thiemann and Chris- tian Sternagel. Certification of termination proofs using ceta. In International Conference on Theorem Proving in Higher Order Logics, pages 452-468. Springer, 2009.
  24. [Van Oostrom, 1994] Vincent Van Oostrom. Confluence by decreasing diagrams. Theoretical computer science, 126(2):259-280, 1994.
  25. [Van Oostrom, 1997] Vincent Van Oostrom. Developing de- velopments. Theoretical Computer Science, 175(1):159- 181, 1997.
  26. [Willsey et al., 2021] Max Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt, Zachary Tatlock, and Pavel Panchekha. Egg: Fast and extensible equality saturation. Proceedings of the ACM on Programming Languages, 5(POPL):1-29, 2021.
  27. [Winkler and Moser, 2019] Sarah Winkler and Georg Moser. Smarter features, simpler learning? In Proceedings of the Second International Workshop on Automated Reasoning: Challenges, Applications, Directions, Exemplary Achieve- ments, 2019.
  28. [Xu et al., 2010] Lin Xu, Holger Hoos, and Kevin Leyton- Brown. Hydra: Automatically configuring algorithms for portfolio-based selection. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 24, pages 210-216, 2010.
  29. [Zantema, 2004] Hans Zantema. Relative termination in term rewriting. In WST'04 7th International Workshop on Termination, page 51, 2004.

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

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