We address the problem of structuring the so-called positive occur-checks preventing unifiability. We introduce the notions of elementary and derived occur-checks. There exists a finite basis of elementary occur-checks for a given unification problem, obtained by a linearization process. Linearization gives unification problems that possess a single positive occur-check, necessarily elementary. We prove soundness and completeness of an equational deduction system well-suited for cyclic equations (= positive occur-checks), or, more generally, for reasoning about unification. Finally, up to permutation, there exists a minimum equational deduction associated to a given elementary positive occur-check. We give a deterministic algorithm computing this deduction, thus exhibiting the sequential nature of these occur-checks. This classification problem was encountered while dealing with higher-order unification. Besides insights in the nature of unification and its complexity, this technical analysis should also be of interest in symbolic debugging for systems where unification is involved. The minimum deduction appears to be a fundamental tool in the study of higher-order unification.
[1]
Thierry Coquand,et al.
The Calculus of Constructions
,
1988,
Inf. Comput..
[2]
B. Courcelle.
Fundamental properties of infinite trees
,
1983
.
[3]
John C. Mitchell,et al.
On the Sequential Nature of Unification
,
1984,
J. Log. Program..
[4]
Alberto Martelli,et al.
An Efficient Unification Algorithm
,
1982,
TOPL.
[5]
Warren D. Goldfarb,et al.
The Undecidability of the Second-Order Unification Problem
,
1981,
Theor. Comput. Sci..
[6]
Mike Paterson,et al.
Linear unification
,
1976,
STOC '76.
[7]
Gérard P. Huet,et al.
A Unification Algorithm for Typed lambda-Calculus
,
1975,
Theor. Comput. Sci..
[8]
M. E. Szabo,et al.
The collected papers of Gerhard Gentzen
,
1969
.