An analysis of ML typability
Authors:
- P. UrzyczynPUP. Urzyczyn
Open Access
- 1 March 1994
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 41 (2) , 368-398
Abstract
We carry out an analysis of typability of terms in ML. Our main result is that this problem is DEXPTIME-hard, where by DEXPTIME we mean DTIME(2 n 0(1) ). This, together with the known exponential-time algorithm that solves the problem, yields the DEXPTIME-completeness result. This settles an open problem of P. Kanellakis and J. C. Mitchell. Part of our analysis is an algebraic characterization of ML typability in terms of a restricted form of semi-unification, which we identify as acyclic semi-unification . We prove that ML typability and acyclic semi-unification can be reduced to each other in polynomial time. We believe this result is of independent interest.Keywords
This publication has 7 references indexed in Scilit:
- The Undecidability of the Semi-unification ProblemInformation and Computation, 1993
- On the sequential nature of unificationThe Journal of Logic Programming, 1984
- Principal type-schemes for functional programs1982
- AlternationJournal of the ACM, 1981
- A theory of type polymorphism in programmingJournal of Computer and System Sciences, 1978
- Linear unificationJournal of Computer and System Sciences, 1978
- The undecidability of the Turing machine immortality problemThe Journal of Symbolic Logic, 1966