Typability and type checking in the second-order /spl lambda/-calculus are equivalent and undecidable
@article{Wells1994TypabilityAT, title={Typability and type checking in the second-order /spl lambda/-calculus are equivalent and undecidable}, author={Joe B. Wells}, journal={Proceedings Ninth Annual IEEE Symposium on Logic in Computer Science}, year={1994}, pages={176-185} }
The problems of typability and type checking exist for the Girard/Reynolds second-order polymorphic typed /spl lambda/-calculus (also known as "system F") when it is considered in the "Curry style" (where types are derived for pure /spl lambda/-terms). Until now the decidability of these problems for F itself has remained unknown. We first prove that type checking in F is undecidable by a reduction from semi-unification. We then prove typability in F is undecidable by a reduction from type…
Figures from this paper
112 Citations
Typability and Type Checking in System F are Equivalent and Undecidable
- Computer ScienceAnn. Pure Appl. Log.
- 1999
The Undecidability of System F Typability and Type Checking for Reductionists
- Computer Science2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
- 2021
The present work gives comparatively simple, direct reduction from semi-unification to System F typability, and the undecidability of type checking is obtained via a folklore reduction from typability.
Type inference and extensionality
- Computer ScienceProceedings Ninth Annual IEEE Symposium on Logic in Computer Science
- 1994
A bounded type inference and a bounded type checking algorithm are shown, both based on the study of the relationship between the typability of a term and theTypability of terms that "properly" /spl eta/-reduce to it.
Practical Subtyping for System F with Sized ( Co-) Induction
- Computer Science
- 2018
A rich, syntax-directed type system with subtyping for an extension of Curry-style System F, which deals with complex programs involving mixed induction and coinduction, or even mixed polymorphism and (co-)induction.
Practical Subtyping for System F with Sized (Co-)Induction
- Computer Science
- 2017
A rich type system with subtyping for an extension of System F, to completely separate the induction on sizes from the notion of recursive programs, using the size change principle to check that the proof is well-founded, not that the program terminates.
A direct algorithm for type inference in the rank-2 fragment of the second-order λ-calculus
- MathematicsLFP '94
- 1994
A new notion of λ-term reduction is developed and used to prove that the problem of typability at rank 2 is reducible to the problemof acyclic semi-unification, which is an undecidable problem at every rank k≥3.
Proofs in System Fomega Can Be Done in System Fomega1
- MathematicsCSL
- 1996
A syntactic restriction on constructors is defined which is enough to capture all the typability problems: the elementary calculus.
Domain-Free ??-Calculus
- Mathematics
- 2000
We introduce a domain-free λµ -calculus of call-by-value as a short-hand for the second order Church-style. Our motivation comes from the observation that in Curry-style polymorphic calculi, control…
ML Polymorphism of Linear Lambda Calculus with First-class Continuations
- Mathematics, Computer ScienceICSCA
- 2019
An ML polymorphic type system for the linear lambda calculus with first-class continuations is proposed and a type inference algorithm of the type system is designed that allows both values and continuations to be duplicated and erased.
Alpha-Conversion and Typability
- PhysicsInf. Comput.
- 1999
It is proved that alpha-conversion on types can be eliminated from the second-order λ -calculus F of Girard and Reynolds without affecting the typing power of the system.
References
SHOWING 1-10 OF 50 REFERENCES
Typability is Undecidable for F+Eta
- Computer Science
- 1996
The problem of subtyping is reduced to the problem of typability for F+eta, thus proving the undecidability ofTypability, a well-known polymorphically-typed lambda calculus with universal quantifiers.
The complexity of type inference for higher-order lambda calculi
- Computer Science, MathematicsPOPL '91
- 1991
The results are the first nontrivial lower bounds on type inference for the Girard/Reynolds system as well as its higher-order extensions, based on generic simulation of Turing Machines.
A direct algorithm for type inference in the rank-2 fragment of the second-order λ-calculus
- MathematicsLFP '94
- 1994
A new notion of λ-term reduction is developed and used to prove that the problem of typability at rank 2 is reducible to the problemof acyclic semi-unification, which is an undecidable problem at every rank k≥3.
Partial polymorphic type inference is undecidable
- Computer Science26th Annual Symposium on Foundations of Computer Science (sfcs 1985)
- 1985
It is shown here that a natural formalization of the automatic inference of omitted type information is undecidable, and the proof is directly applicable to some practical situations, and provides a partial explanation of the difficulties encountered in other cases.
On the Undecidability of Partial Polymorphic Type Reconstruction
- MathematicsFundam. Informaticae
- 1993
We prove that partial type reconstruction for the pure polymorphic lambda-calculus is undecidable by a reduction from the second-order unification problem, extending a previous result by H.-J. Boehm.…
Characterization of typings in polymorphic type discipline
- Mathematics[1988] Proceedings. Third Annual Information Symposium on Logic in Computer Science
- 1988
Using the set of constraints, some properties of polymorphic type discipline are proved.
The undecidability of the semi-unification problem
- Computer ScienceSTOC '90
- 1990
It is shown that SUP in general is undecidable, by reducing what is called the "boundedness problem of Turing machines to SUP", which is a natural generalization of both first-order unification and matching.
Recursive Unsolvability of Post's Problem of "Tag" and other Topics in Theory of Turing Machines
- Computer Science
- 1961
The main results of this paper show that the same notions of computability can be realized within the highly restricted monogenic formal systems called by Post the "Tag" systems, and within a peculiarly restricted variant of Turing machine which has two tapes, but can neither write on nor erase these tapes.