Is higher-order matching decidable?
The source page states the original problem together with its recorded qualifications and progress updates as follows.
Higher-order matching is the following problem:
Given a set of equations between typed lambda-terms where the are ground, is there a substitution such that for all i. The order of the matching problem is the maximal height of function arrows in the types of the terms. Is higher-order matching decidable for arbitrary order? The problem has non-elementary complexity [Huet, 1979].
The following results are known: \begin{itemize}
-
First-order matching is, of course, decidable.
-
Second-order matching is decidable [Huet, 1979].
-
Third-order matching is decidable [Huet, 1979].
-
Fourth-order matching is decidable [Huet, 1979] and NEXPTIME-hard [Huet, 1979]. The solutions can be described by a tree automaton [Huet, 1979], which gives an 2-NEXPTIME upper bound.
-
A restricted case of fifth-order matching has been shown decidable in [Huet, 1979].
-
Linear higher-order matching is decidable and NP-complete [Huet, 1979]. \end{itemize}
More on the complexity of higher-order matching can be found in [Huet, 1979].
This problem is also listed as Problem #21 in the TLCA list of open problems.
Recorded progress.
It has recently been announced [Huet, 1979] that the higher-order matching problem is decidable. However, the proof method only applies to the "classical" case of the problem, that is when all types are built from a single atom. Therefore, the problem remains open for the generalized case of types built from an arbitrary number of type variables.
