Results 1 -
4 of
4
Typability and Type Checking in System F Are Equivalent and Undecidable
- Annals of Pure and Applied Logic
, 1998
"... Girard and Reynolds independently invented System F (a.k.a. the second-order polymorphically typed lambda calculus) to handle problems in logic and computer programming language design, respectively. Viewing F in the Curry style, which associates types with untyped lambda terms, raises the questions ..."
Abstract
-
Cited by 51 (4 self)
- Add to MetaCart
Girard and Reynolds independently invented System F (a.k.a. the second-order polymorphically typed lambda calculus) to handle problems in logic and computer programming language design, respectively. Viewing F in the Curry style, which associates types with untyped lambda terms, raises the questions of typability and type checking . Typability asks for a term whether there exists some type it can be given. Type checking asks, for a particular term and type, whether the term can be given that type. The decidability of these problems has been settled for restrictions and extensions of F and related systems and complexity lower-bounds have been determined for typability in F, but this report is the rst to resolve whether these problems are decidable for System F. This report proves that type checking in F is undecidable, by a reduction from semiuni cation, and that typability in F is undecidable, by a reduction from type checking. Because there is an easy reduction from typability to typ...
Normalisation in Lambda Calculus and its relation to Type Inference
, 1996
"... Presentation of Rewriting and Typing 13 2 Abstract Rewriting Systems 15 2.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 15 2.2 Abstract Rewriting Systems : : : : : : : : : : : : : : : : : : : : : : : : : : 15 2.3 Morphisms : : : : : : : : : : : : : : : : : : ..."
Abstract
-
Cited by 15 (1 self)
- Add to MetaCart
Presentation of Rewriting and Typing 13 2 Abstract Rewriting Systems 15 2.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 15 2.2 Abstract Rewriting Systems : : : : : : : : : : : : : : : : : : : : : : : : : : 15 2.3 Morphisms : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 16 2.4 Properties of Abstract Rewriting Systems : : : : : : : : : : : : : : : : : : : 18 2.5 Strategies : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 19 2.6 Criteria : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 21 2.7 Conclusions and Related Work : : : : : : : : : : : : : : : : : : : : : : : : : 24 3 Topology 27 3.1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 27 3.2 Topology : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 28 3.3 Equivalence : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 30 3.4 Topological Characte...
Typability and Type Checking in the Second-Order lambda-Calculus Are Equivalent and Undecidable
, 1993
"... We consider the problems of typability and type checking in the Girard/Reynolds second-order polymorphic typed-calculus, for which we use the short name "System F" and which we use in the "Curry style" where types are assigned to pure-terms. These problems have been considered and proven to be d ..."
Abstract
-
Cited by 9 (1 self)
- Add to MetaCart
We consider the problems of typability and type checking in the Girard/Reynolds second-order polymorphic typed-calculus, for which we use the short name "System F" and which we use in the "Curry style" where types are assigned to pure-terms. These problems have been considered and proven to be decidable or undecidable for various restrictions and extensions of System F and other related systems, and lower-bound complexity results for System F have been achieved, but they have remained "embarrassing open problems" 3 for System F itself. We first prove that type checking in System F is undecidable by a reduction from semi-unification. We then prove typability in System F is undecidable by a reduction from type checking. Since the reverse reduction is already known, this implies the two problems are equivalent. The second reduction uses a novel method of constructing-terms such that in all type derivations, specific bound variables must always be assigned a specific type. Using this technique, we can require that specif subterms must be typable using a specific, fixed type assignment in order for the entire term to be typable at all. Any desired type assignment maybe simulated. We develop this method, which we call \constants for free", for both the K and I calculi.

