Unification Modulo Isomorphisms between Dependent Types for Type-Based Library Search
Type-based library search allows developers to efficiently find reusable software components by their type signatures, as exemplified by tools like Hoogle. This capability is especially important in interactive theorem provers (ITPs), where reusing existing proofs can greatly accelerate development. Previous type-based library search tools for ITPs, such as SearchIsos and Loogle, support only a subset of desirable search flexibilities, including argument reordering, currying/uncurrying, generalisation, and the inclusion of extra premises. However, none can handle all these flexibilities simultaneously, resulting in missed relevant matches. In this work, we propose a type-based library search method based on equational unification modulo a set of type isomorphisms for dependent product/sum types, enabling all the desired search flexibilities. We present a semi-algorithm for this equational unification and provide a prototype implementation to demonstrate the feasibility of our approach.
Authors
- Satoshi Takimoto (ORCID: https://orcid.org/0009-0000-1963-1855)
- Sosuke Moriguchi (ORCID: https://orcid.org/0000-0002-4153-4514)
- Takuo Watanabe (ORCID: https://orcid.org/0000-0001-7470-3428)
Institutions
- Institute of Science Tokyo (JP)
Publication Details
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3759538.3759651
- Primary Topic
- Semantic Web and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Japan Society for the Promotion of Science