The Intersection Type Unification Problem

Authors Andrej Dudenhefner, Moritz Martens, Jakob Rehof



PDF
Thumbnail PDF

File

LIPIcs.FSCD.2016.19.pdf
  • Filesize: 0.51 MB
  • 16 pages

Document Identifiers

Author Details

Andrej Dudenhefner
Moritz Martens
Jakob Rehof

Cite AsGet BibTex

Andrej Dudenhefner, Moritz Martens, and Jakob Rehof. The Intersection Type Unification Problem. In 1st International Conference on Formal Structures for Computation and Deduction (FSCD 2016). Leibniz International Proceedings in Informatics (LIPIcs), Volume 52, pp. 19:1-19:16, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2016)
https://doi.org/10.4230/LIPIcs.FSCD.2016.19

Abstract

The intersection type unification problem is an important component in proof search related to several natural decision problems in intersection type systems. It is unknown and remains open whether the unification problem is decidable. We give the first nontrivial lower bound for the problem by showing (our main result) that it is exponential time hard. Furthermore, we show that this holds even under rank 1 solutions (substitutions whose codomains are restricted to contain rank 1 types). In addition, we provide a fixed-parameter intractability result for intersection type matching (one-sided unification), which is known to be NP-complete. We place the intersection type unification problem in the context of unification theory. The equational theory of intersection types can be presented as an algebraic theory with an ACI (associative, commutative, and idempotent) operator (intersection type) combined with distributivity properties with respect to a second operator (function type). Although the problem is algebraically natural and interesting, it appears to occupy a hitherto unstudied place in the theory of unification, and our investigation of the problem suggests that new methods are required to understand the problem. Thus, for the lower bound proof, we were not able to reduce from known results in ACI-unification theory and use game-theoretic methods for two-player tiling games.
Keywords
  • Intersection Type
  • Equational Theory
  • Unification
  • Tiling
  • Complexity

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. S. Anantharaman, P. Narendran, and M. Rusinowitch. Acid-unification is NEXPTIME-decidable. In Mathematical Foundations of Computer Science 2003, pages 169-178. Springer, 2003. Google Scholar
  2. S. Anantharaman, P. Narendran, and M. Rusinowitch. Unification Modulo ACUI Plus Distributivity Axioms. Journal of Automated Reasoning, 33(1):1-28, 2004. Google Scholar
  3. F. Baader and P. Narendran. Unification of Concept Terms in Description Logics. Journal of Symbolic Computation, 31:277-305, 2001. Google Scholar
  4. H. Barendregt, M. Coppo, and M. Dezani-Ciancaglini. A Filter Lambda Model and the Completeness of Type Assignment. Journal of Symbolic Logic, 48(4):931-940, 1983. URL: http://dx.doi.org/10.2307/2273659.
  5. H. Barendregt, W. Dekkers, and R. Statman. Lambda Calculus with Types. Perspectives in Logic, Cambridge University Press, 2013. Google Scholar
  6. G. Boudol and P. Zimmer. On type inference in the intersection type discipline. Electr. Notes Theor. Comput. Sci., 136:23-42, 2005. URL: http://dx.doi.org/10.1016/j.entcs.2005.06.016.
  7. G. Castagna, K. Nguyen, Z. Xu, and P. Abate. Polymorphic functions with set-theoretic types: Part 2: Local type inference and type reconstruction. In Principles of Programming Languages POPL 2015, pages 289-302. ACM, 2015. Google Scholar
  8. W. Charatonik and L. Pacholski. Set constraints with projections are in NEXPTIME. In 35th Annual Symposium on Foundations of Computer Science, pages 642-653. IEEE, 1994. URL: http://dx.doi.org/10.1109/SFCS.1994.365727.
  9. B. S. Chlebus. Domino-tiling games. Journal of Computer and System Sciences, 32(3):374-392, 1986. Google Scholar
  10. M. Coppo and P. Giannini. Principal types and unification for a simple intersection type system. Inf. Comput., 122(1):70-96, 1995. URL: http://dx.doi.org/10.1006/inco.1995.1141.
  11. M. Dezani-Ciancaglini and J. R. Hindley. Intersection Types for Combinatory Logic. Theoretical Computer Science, 100(2):303-324, 1992. Google Scholar
  12. B. Düdder, M. Martens, and J. Rehof. Intersection Type Matching with Subtyping. In Proceedings of TLCA'13, Springer LNCS, 2013. Google Scholar
  13. B. Düdder, M. Martens, J. Rehof, and P. Urzyczyn. Bounded Combinatory Logic. In Proceedings of CSL'12, volume 16 of LIPIcs, pages 243-258, 2012. Google Scholar
  14. J. R. Hindley. The Simple Semantics for Coppo-Dezani-Sallé Types. In International Symposium on Programming, volume 137 of LNCS, pages 212-226. Springer, 1982. Google Scholar
  15. J. R. Hindley and J. P. Seldin. Lambda-calculus and Combinators, an Introduction. Cambridge University Press, 2008. Google Scholar
  16. A. J. Kfoury. Beta-reduction as unification. Banach Center Publications, 46(1):137-158, 1999. Google Scholar
  17. A. J. Kfoury and J. B. Wells. Principality and Type Inference for Intersection Types Using Expansion Variables. Theor. Comput. Sci., 311(1-3):1-70, 2004. Google Scholar
  18. T. Kurata and M. Takahashi. Decidable properties of intersection type systems. In TLCA, volume 902 of LNCS, pages 297-311. Springer, 1995. Google Scholar
  19. J. Rehof and P. Urzyczyn. Finite Combinatory Logic with Intersection Types. In Proceedings of TLCA'11, volume 6690 of LNCS, pages 169-183. Springer, 2011. Google Scholar
  20. J. Rehof and P. Urzyczyn. The Complexity of Inhabitation with Explicit Intersection. In Kozen Festschrift, volume 7230 of LNCS, pages 256-270. Springer, 2012. Google Scholar
  21. S. Ronchi Della Rocca. Principal Type Scheme and Unification for Intersection Type Discipline. Theor. Comput. Sci., 59:181-209, 1988. Google Scholar
  22. R. Statman. A finite model property for intersection types. In Proceedings Seventh Workshop on Intersection Types and Related Systems, ITRS 2014, Vienna, Austria, 18 July 2014., pages 1-9, 2015. URL: http://dx.doi.org/10.4204/EPTCS.177.1.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail