Partial polymorphic type inference is undecidable
- 1 January 1985
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 339-345
- https://doi.org/10.1109/sfcs.1985.44
Abstract
Polymorphic type systems combine the reliability and efficiency of static type-checking with the flexibility of dynamic type checking. Unfortunately, such languages tend to be unwieldy unless they accommodate omission of much of the information necessary to perform type checking. The automatic inference of omitted type information has emerged as one of the fundamental new implementation problems of these languages. We show here that a natural formalization of the problem is undecidable. The proof is directly applicable to some practical situations, and provides a partial explanation of the difficulties encountered in other cases.Keywords
This publication has 9 references indexed in Scilit:
- A primer: 11 Keys to new scratchpadPublished by Springer Nature ,2005
- An ideal model for recursive polymorphic typesPublished by Association for Computing Machinery (ACM) ,1984
- Type inference and type containmentLecture Notes in Computer Science, 1984
- The typechecking of programs with implicit type structureLecture Notes in Computer Science, 1984
- Polymorphic type inferencePublished by Association for Computing Machinery (ACM) ,1983
- The undecidability of the second-order unification problemTheoretical Computer Science, 1981
- Edinburgh LCFLecture Notes in Computer Science, 1979
- A theory of type polymorphism in programmingJournal of Computer and System Sciences, 1978
- Linear unificationJournal of Computer and System Sciences, 1978