%0 Journal Article %A Pierce, Benjamin C. %D 2004 %T Bounded quantification is undecidable %U https://kilthub.cmu.edu/articles/journal_contribution/Bounded_quantification_is_undecidable/6603950 %R 10.1184/R1/6603950.v1 %2 https://kilthub.cmu.edu/ndownloader/files/12094331 %K Lambda calculus. %K Data structures (Computer science) %X Abstract: "F[less than or equal to] is a typed [lambda]-calculus with subtyping and bounded second-order polymorphism. First introduced by Cardelli and Wegner, it has been widely studied as a core calculus for type systems with subtyping. Curien and Ghelli proved the partial correctness of a recursive procedure for computing minimal types of F[less than or equal to] terms and showed that the termination of this procedure is equivalent to the termination of its major component, a procedure for checking the subtype relation between F[less than or equal to] types.Ghelli later claimed that this procedure is also guaranteed to terminate, but the discovery of a subtle bug in his proof led him recently to observe that, in fact, there are inputs on which the subtyping procedure diverges. This reopens the question of the decidability of subtyping and hence of typechecking. This question is settled here in the negative, using a reduction from the halting problem for two-counter Turing machines to show that the subtype relation of F[less than or equal to] is undecidable." %I Carnegie Mellon University