Title :
Type inference for recursive definitions
Author :
Kfoury, Assaf J. ; Pericás-Geertsen, Santiago M.
Author_Institution :
Dept. of Comput. Sci., Boston Univ., MA, USA
Abstract :
We consider type systems that combine universal types, recursive types, and object types. We study type inference in these systems under a rank restriction, following Leivant´s notion of rank. To motivate our work, we present several examples showing how our systems can be used to type programs encountered in practice. We show that type inference in the rank-k system is decidable for k⩽2 and undecidable for k⩾3. (Similar results based on different techniques are known to hold for System F, without recursive types and object types.) Our undecidability result is obtained by a reduction from a particular adaptation (which we call “regular”) of the semi-unification problem and whose undecidability is, interestingly, obtained by methods totally different from those used in the case of standard (or finite) semi-unification
Keywords :
lambda calculus; recursive functions; type theory; decidability; decidable; lambda calculus; recursive definitions; type inference; type systems; undecidability; Calculus; Computer languages; Computer science; Electrical capacitance tomography; Information analysis; Java; Radio access networks; Read only memory; Tellurium;
Conference_Titel :
Logic in Computer Science, 1999. Proceedings. 14th Symposium on
Conference_Location :
Trento
Print_ISBN :
0-7695-0158-3
DOI :
10.1109/LICS.1999.782600