On the unification problem for Cartesian closed categories
- 1 June 1997
- journal article
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 62 (2) , 636-647
- https://doi.org/10.2307/2275552
Abstract
Cartesian closed categories (CCCs) have played and continue to play an important role in the study of the semantics of programming languages. An axiomatization of the isomorphisms which hold in all Cartesian closed categories discovered independently by Soloviev and Bruce, Di Cosmo and Longo leads to seven equalities. We show that the unification problem for this theory is undecidable, thus settling an open question. We also show that an important subcase, namely unification modulo thelinear isomorphisms, is NP-complete. Furthermore, the problem of matching in CCCs is NP-complete when the subject term is irreducible.CCC-matching and unification form the basis for an elegant and practical solution to the problem of retrieving functions from a library indexed by types investigated by Rittri. It also has potential applications to the problem of polymorphic type inference and polymorphic higher-order unification, which in turn is relevant to theorem proving and logic programming.Keywords
This publication has 15 references indexed in Scilit:
- Complexity of unification problems with associative-commutative operatorsJournal of Automated Reasoning, 1992
- Provable isomorphisms of typesMathematical Structures in Computer Science, 1992
- Using types as search keys in function librariesJournal of Functional Programming, 1991
- Retrieving library identifiers via equational matching of typesPublished by Springer Nature ,1990
- Introduction to Higher Order Categorical Logic.The Journal of Symbolic Logic, 1989
- Associative-commutative unificationJournal of Symbolic Computation, 1987
- Completion of a Set of Rules Modulo a Set of EquationsSIAM Journal on Computing, 1986
- The category of finite sets and Cartesian closed categoriesJournal of Mathematical Sciences, 1983
- A Unification Algorithm for Associative-Commutative FunctionsJournal of the ACM, 1981
- Complete Sets of Reductions for Some Equational TheoriesJournal of the ACM, 1981