Polymorphic recursion and subtype qualifications: Polymorphic binding-time analysis in polynomial time

41Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The combination of parameter polymorphism, subtyping extended to qualified and polymorphic types, and polymorphic recursion is useful in standard type inference and gives expressive type-based program analyses, but raises difficult algorithmic problems. In a program analysis context we show how Mycroft's iterative method of computing principal types for a type system with polymorphic recursion can be generalized and adapted to work in a setting with subtyping. This does not only yield a proof of existence of principal types (most general properties), but also an algorithm for computing them. The punch-line of the development is that a very simple modification of the basic algorithm reduces its computational complexity from exponential time to polynomial time relative to the size of the given, explicitly typed program. This solves the open problem of finding an inference algorithm for polymorphic binding-time analysis [7].

Cite

CITATION STYLE

APA

Dussart, D., Henglein, F., & Mossin, C. (1995). Polymorphic recursion and subtype qualifications: Polymorphic binding-time analysis in polynomial time. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 983, pp. 118–135). Springer Verlag. https://doi.org/10.1007/3-540-60360-3_36

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free