Abstract
In this paper, we present Reverse Restructuring, a new calculus for solving the semantic matching problem. For narrowing, advanced selection rules are commonly seen as an appropriate method to reduce the search space. Our approach to design a special calculus for special goals is another way of reducing the efficiency defects of narrowing. Reverse Restructuring constructs derivations in the reverse direction by guessing terms from which an already known term might be derived. To this end, the rules of the underlying term rewriting system are also applied in the reverse direction, i.e. from right to left. We show the soundness and completeness of this calculus and demonstrate its efficiency for an important class of problems.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This work is supported by the DFG-project: “Abstrakte Inferenzmaschine” under Az. Gi 178/1 -2
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
S. Antoy, R. Echahed, and M. Hanus. A needed narrowing strategy. In Proceedings of the 21st ACM Symposium on Principles of Programming Languages, pages 268–278. ACM Press, 1994.
B. Bütow and S. Thesing. Reverse restrucuring: Another method of solving algebraic equations. Forschungsberichte der Technischen Fakultät, Abteilung Informationstechnik, Report 94-07, Universität Bielefeld, 1994.
B. Bütow and S. Thesing. PaNaMa user's manual. Forschungsberichte der Technischen Fakultät, Abteilung Informationstechnik, Report 95-01, Universität Bielefeld, 1995.
N. Dershowitz and J.-P. Jouannaud. Rewrite systems. In J. van Leuwen, editor, Handbook of Theoretical Computer Science, volume B, pages 243–320. Elsevier Science Publisher B.V., 1990.
N. Dershowitz, S. Mitra, and G. Sivakumar. Decidable matching for convergent systems. In Proceedings of the 11th Conference on automatic deduction (CADE), pages 133–146, 1992.
N. Dershowitz and G. Sivakumar. Solving goals in equational languages. In S. Kaplan and J.-P. Jouannaud, editors, Proceedings of the 1st International Workshop on Conditional Term Rewriting Systems, volume 308 of Lecture Notes in Computer Science, pages 45–55, Orsay, France, July 1987.
H. Emmelmann. Codeselektion mit regulär gesteuerter Termersetzung. PhD thesis, Universität Karlsruhe, 1994.
H. Emmelmann, F.-W. Schröer, and R. Landwehr. BEG — a generator for efficient back ends. In Sigplan '89 Conference on Programming Language Design and Implementation, volume 24, pages 227–237. Sigplan Notices, 1989.
C. Fraser, R. Henry, and T. Proebsting. BURG — fast optimal instruction selection and tree parsing. ACM Sigplan Notices, 27:pages 68–76, 1992.
R.W. Floyd. Algorithm 97. Communications of the ACM, 5(6):page 345, 1962.
R. Giegerich. Code selection by inversion of order-sorted derivors. Theoretical Computer Science, 73:pages 177–211, 1990.
M. Hanus. The integration of functions into logic programming: From theory to practice. Journal of Logic Programming, 19&20:pages 583–628, 1994.
J.W. Klop. Term rewriting systems. In S. Abramsky, D. Gabbay, and T. Maibaum, editors, Handbook of Logic in Computer Science, volume 2, pages 1–116. Oxford University Press, 1992.
S. Mitra. Top-down equation solving and extensions to associative and commutative theories. Masters thesis, Department of Computer and Information Sciences, University of Delaware, 1990.
S. Mitra. Semantic Unification for Convergent Systems. PhD thesis, University of Illinois, 1994.
A. Martelli and U. Montanari. An efficient unification algorithm. ACM Transactions on Programming Languages and Systems (TOPLAS), 4(2):pages 258–282, 1982.
A. Martelli, C. Moiso, and G.F. Rossi. Lazy unification algorithms for canonical rewrite systems. In H. Ait-Kaci and M. Nivat, editors, Resolution of Equations in Algebraic Strucutures, pages 245–274, New York, 1989. Academic Press.
S. Warshall. A theorem on boolean matrices. Journal of the ACM, 9(1):pages 11–12, 1962.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1995 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bütow, B., Giegerich, R., Ohlebusch, E., Thesing, S. (1995). A new calculus for semantic matching. In: Hermenegildo, M., Swierstra, S.D. (eds) Programming Languages: Implementations, Logics and Programs. PLILP 1995. Lecture Notes in Computer Science, vol 982. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0026815
Download citation
DOI: https://doi.org/10.1007/BFb0026815
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60359-7
Online ISBN: 978-3-540-45048-1
eBook Packages: Springer Book Archive