Title
An Abstract Interpretation for ML Equality Kinds
Abstract
The definition of Standard ML provides a form of generic equality which is inferred for certain types, called equality types, on which it is possible to define a computable equality relation. However, the standard definition is incomplete in the sense that there are interesting and useful types which are not inferred to be equality types but which nevertheless have a computable equality relation. In this paper, a refinement of the Standard ML system of equality types is introduced and is proven sound and complete with respect to the existence of a computable equality. The technique used here is based on an abstract interpretation of ML operators as monotone functions over a three point lattice. It is shown how the equality relation can be defined (as an ML program) from the definition of a type with our equality property. Finally, a sound, efficient algorithm for inferring the equality property which corrects the limitations of the standard definition in all cases of practical interest is demonstrated.
Year
DOI
Venue
1991
10.1007/3-540-54415-1_43
TACS
Keywords
Field
DocType
ml equality kinds,abstract interpretation,monotone function,standard definition
Mathematical optimization,Algebra,Lattice (order),Standard ML,Abstract interpretation,Standard definition,Operator (computer programming),Monotone polygon,Mathematics
Conference
Volume
ISSN
ISBN
526
0302-9743
3-540-54415-1
Citations 
PageRank 
References 
2
1.54
3
Authors
3
Name
Order
Citations
PageRank
Carl A. Gunter11941185.30
Elsa L. Gunter244751.38
David B. MacQueen3850229.37