Abstract
We formalize two data structures for term indexing: discrimination trees, and path indexing. Each indexing structure is equipped with
insertion and removal operations, as well as query operations, allowing for retrieval of variants and generalizations of a given query term, and in the case of the path indexing data structure, retrieval of instances and unifiable terms, under an overapproximate unification condition (linear unification). This formalization uses the definition of first-order terms provided by Sternagel et al. The formalization of the algorithms is based on their presentation in the Handbook of Automated Reasoning, and adds formal invariants and correctness arguments. Details of the formalization of the path indexing structure and algorithms have been published in the proceedings of CADE 30, while the formalization of discrimination trees is an hitherto unpublished extension of that work.
License
Topics
Related publications
- Chaabani, M., & Robillard, S. (2025). Verified Path Indexing. Automated Deduction – CADE 30, 249–260. https://doi.org/10.1007/978-3-031-99984-0_14