1996
DOI: 10.1145/232629.232642
|View full text |Cite
|
Sign up to set email alerts
|

Simplifying subtyping constraints

Abstract: This paper studies type inference for a functional, ML-style language with subtyping, and focuses on the issue of simplifying inferred constraint sets. We propose a powerful notion of entailment between constraint sets, as well as an algorithm to check it, which we prove to be sound. The algorithm, although very powerful in practice, is not complete. We also introduce two new typing rules which allow simplifying constraint sets. These rules give very good practical results.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
6
0

Year Published

1996
1996
2014
2014

Publication Types

Select...
4
2
2

Relationship

0
8

Authors

Journals

citations
Cited by 9 publications
(6 citation statements)
references
References 8 publications
0
6
0
Order By: Relevance
“…Unlike other investigations of type inference for HM with subtyping, e.g., [19,23,25], our goal is algorithmic dependent type inference, which requires incorporating path-sensitivity and decision procedures for EUFA. We also draw inspiration from type qualifiers [13] that refine types with a lattice of built-in and programmer-specified annotations.…”
Section: Related Workmentioning
confidence: 99%
“…Unlike other investigations of type inference for HM with subtyping, e.g., [19,23,25], our goal is algorithmic dependent type inference, which requires incorporating path-sensitivity and decision procedures for EUFA. We also draw inspiration from type qualifiers [13] that refine types with a lattice of built-in and programmer-specified annotations.…”
Section: Related Workmentioning
confidence: 99%
“…Their fastest approach yields a factor of 3 saving in both time and space, but is slow in absolute times compared to other program analyses. Pottier [1996] studies an ML-style language with subtyping. Performing type inference on this language produces subtype constraints that are similar to our constraints.…”
Section: Related Workmentioning
confidence: 99%
“…Pottier [17] studies an ML-style language with a subtype system based on constraints, and and presents an incomplete algorithm for deciding entailment on constraint systems. He proposes some ad hoc algorithms for simplifying constraints, but does not present results on the cost or effectiveness of these algorithms.…”
Section: Competitive Workmentioning
confidence: 99%