Download PDFOpen PDF in browserShared Terms and Cached Rewriting16 pages•Published: April 6, 2025AbstractWe describe the implementation of first-order terms, the central data structure of most modern automated theorem provers, as perfectly shared immutable term DAGs in E. We demonstrate typical gains possible with this structure (reducing the number of term nodes typically by orders of magnitude) and discuss some of the side benefits of such a representation. One of these benefits is the ability to easily implement cached rewriting, improving the performance of rewriting-based simplification. We discuss lessons learned and some potential future work.Keyphrases: data structures, first order logic, implementation of logics, terms In: Konstantin Korovin, Stephan Schulz and Michael Rawson (editors). Proceedings of the 14th and 15th International Workshops on the Implementation of Logics, vol 21, pages 18-33.
|