Abstract
Semi-unification is a generalization of both unification and matching with applications in proof theory, term rewriting systems, polymorphic type inference, and natural language processing. It is the problem of solving a set of term inequalities M 1 ≤ N 1, ..., M k <- N k , where ≤ is interpreted as the subsumption preordering on (first-order) terms. Whereas the general problem has recently been shown to be undecidable, several special cases are decidable.
Kfoury, Tiuryn, and Urzyczyn proved that left-linear semi-unification (LLSU) is decidable by giving an exponential time decision procedure. We improve their result as follows.
1. We present a generic polynomial-time algorithm L1 for LLSU, which shows that LLSU is in P.
2. We show that L1 can be implemented in time O(n 3) by using a fast dynamic transitive closure algorithm.
3. We prove that LLSU is P-complete under log-space reductions, thus giving evidence that there are no fast (NC-class) parallel algorithms for LLSU.
As corollaries of the proof of P-completeness we obtain that both monadic semi-unification and LLSU with only 2 term inequalities are already P-complete.
We conjecture that L1 can be implemented in time O(n 2), which is the best that is possible for the solution method described by L1. The basic question as to whether another solution method may admit even faster algorithms is open. We conjecture also that LLSU with 1 inequality is P-complete.
Preview
Unable to display preview. Download preview PDF.
References
C. Dwork, P. Kanellakis, and J. Mitchell. On the sequential nature of unification. J. Logic Programming, 1:35–50, 1984.
J. Doerre and W. Rounds. On subsumption and semiunification in feature algebras. Manuscript, Oct. 1989.
L. Goldschlager. The monotone and planar circuit value problems are log-space complete for P. SIGACT News, 9(2):25–29, 1977.
F. Henglein. Algebraic properties of semi-unification. Technical Report (SETL Newsletter) 233, New York University, November 1988.
F. Henglein. Type inference and semi-unification. In Proc. ACM Conf. on LISP and Functional Programming. ACM, ACM Press, July 1988.
F. Henglein. Polymorphic Type Inference and Semi-Unification. PhD thesis, Rutgers University, April 1989.
P. Hooper. The Undecidability of the Turing Machine Immortality Problem. PhD thesis, Harvard University, June 1965. Computation Laboratory Report BL-38; also in Journal of Symbolic Logic, 1966.
G. Huet. Confluent reductions: Abstract properties and applications to term rewriting systems. J. Assoc. Comput. Mach., 27(4):797–821, Oct. 1980.
D. Kapur, D. Musser, P. Narendran, and J. Stillman. Semi-unification. In Proc. Foundations of Software Technology and Teoretical Computer Science, Jan. 1989.
A. Kfoury, J. Tiuryn, and P. Urzyczyn. Computational consequences and partial solutions of a generalized unification problem. In Proc. 4th IEEE Symposium on Logic in Computer Science (LICS), June 1989.
A. Kfoury, J. Tiuryn, and P. Urzyczyn. The undecidability of the semi-unification problem. Technical Report BUCS-89-010, Boston University, Oct. 1989. also in Proc. of Symp. on Theory of Computing, Baltimore, Maryland, May 1990.
H. Leiß. Decidability of semi-unification in two variables. Technical Report INF-2-ASE-9-89, Siemens, July 1989.
H. Leiß. Semi-unification and type inference for polymorphic recursion. Technical Report INF2-ASE-5-89, Siemens, Munich, West Germany, 1989.
J. La Poutré and J. van Leeuwen. Maintenance of transitive closures and transitive reductions of graphs. In Proc. Int'l Workshop on Graph-Theoretic Concepts in Computer Science, pages 106–120. Springer-Verlag, June 1987. Lecture Notes in Computer Science, Vol. 314.
P. Pudlák. On a unification problem related to Kreisel's conjecture. Commentationes Mathematicae Universitatis Carolinae, 29(3):551–556, 1988.
P. Purdom. Detecting looping simplifications. In Proc. 2nd Conf. on Rewrite Rule Theory and Applications (RTA), pages 54–62. Springer-Verlag, May 1987.
D. Yellin. A dynamic transitive closure algorithm. Technical Report RC 13535, IBM T.J. Watson Research Ctr., June 1988.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Henglein, F. (1991). Fast left-linear semi-unification. In: Akl, S.G., Fiala, F., Koczkodaj, W.W. (eds) Advances in Computing and Information — ICCI '90. ICCI 1990. Lecture Notes in Computer Science, vol 468. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-53504-7_64
Download citation
DOI: https://doi.org/10.1007/3-540-53504-7_64
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53504-1
Online ISBN: 978-3-540-46677-2
eBook Packages: Springer Book Archive