A SEMANTICS FOR STATIC TYPE INFERENCE

Authors
Citation
G. Plotkin, A SEMANTICS FOR STATIC TYPE INFERENCE, Information and computation, 109(1-2), 1994, pp. 256-299
Citations number
35
Categorie Soggetti
Information Science & Library Science",Mathematics,"Computer Science Information Systems
Journal title
ISSN journal
08905401
Volume
109
Issue
1-2
Year of publication
1994
Pages
256 - 299
Database
ISI
SICI code
0890-5401(1994)109:1-2<256:ASFSTI>2.0.ZU;2-U
Abstract
Curry's system for F-deducibility is the basis for static type inferen ce algorithms for programming languages such as ML. If a natural ''pre servation of types by conversion'' rule is added to Curry's system, it becomes undecidable, but complete relative to a variety of model clas ses. We show completeness for Curry's system itself, relative to an ex tended notion of model that validates reduction but not conversion. Tw o proofs are given: one uses a term model and the other a model built from type expressions. Extensions to systems with polymorphic or inter section types are also considered. (C) 1994 Academic Press, Inc.