Simply typed convertibility is TOWER-complete even for safe lambda-terms

05/21/2023
by   Lê Thành Dũng Nguyên, et al.
0

We consider the following decision problem: given two simply typed λ-terms, are they β-convertible? Equivalently, do they have the same normal form? It is famously non-elementary, but the precise complexity - namely TOWER-complete - is lesser known. One goal of this short paper is to popularize this fact. Our original contribution is to show that the problem stays TOWER-complete when the two input terms belong to Blum and Ong's safe λ-calculus, a fragment of the simply typed λ-calculus arising from the study of higher-order recursion schemes. Previously, the best known lower bound for this safe β-convertibility problem was PSPACE-hardness. Our proof proceeds by reduction from the star-free expression equivalence problem, taking inspiration from the author's work with Pradic on "implicit automata in typed λ-calculi". These results also hold for βη-convertibility.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset