Shared Terms and Cached Rewriting
We 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.
Authors
- Stephan Schulz (ORCID: https://orcid.org/0000-0003-2896-4488)
Institutions
- Baden-Wuerttemberg Cooperative State University (DE)
Publication Details
- Journal
- Kalpa publications in computing
- Published
- 2025-04-07
- DOI
- https://doi.org/10.29007/4vf1
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00