Abstract
We give here a general definition of term rewriting in the simply typed λ-calculus, and use it to define higher-order forms of term rewriting systems, and equational unification and their properties. This provides a basis for generalizing the first- and restricted higher-order results for these concepts. As examples, we generalize Plotkin's criteria for building-in equational theories, and show that pure third-order equational matching is undecidable. This approach simplifies computations in applications involving lexical scoping, and equations. We discuss open problems and summarize future research directions.
Extended abstract
Preview
Unable to display preview. Download preview PDF.
References
P.B. Andrews, An Introduction to Mathematical Logic and Type Theory: To Truth Through Proof, Academic, Orlando, 1986.
G. Birkhoff, On the Structure of Abstract Algebras, Proceedings of the Cambridge Philosophical Society (1935) 31 433–454.
A. Bockmayr, A Note on a Canonical Theory with Undecidable Unification and Matching Problem, Journal of Automated Reasoning 3 (1987) 379–381.
A. Church, A Formulation of the Simple Theory of Types, Journal of Symbolic Logic 5 (1940) 56–68. D.C., 1988, 82–90.
M. Davis, Computability & Unsolvability, McGraw-Hill, New York, 1958.
N. Dershowitz, Computing with Rewrite Rules, Information and Control 65 (1985) 122–157.
S.J. Garland and J.V. Guttag, An Overview of LP: The Larch Prover, Proceedings of the Third International Conference on Rewriting Techniques and Applications, Lecture Notes in Computer Science 355, Springer, Berlin, 1989, 137–151.
J.A. Goguen, Higher Order Functions Considered Unnecessary for Higher Order Programming, in: (D.A. Turner, Ed.), Proceedings of the University of Texas Year of Programming Institute on Declarative Programming, Addison-Wesley, 1988.
J.A. Goguen and T. Winkler, Introducing OBJ3, Report SRI-CSL-88-9, SRI International, Menlo Park, 1988.
L. Henkin, Completeness in the Theory of Types, Journal of Symbolic Logic 15 (1950) 81–91.
D. Hilbert, Mathematische Probleme, Vortrag gehalten auf dem internationalen Mathematiker-Kongreß zu Paris, 1900. Nachr. Ges. Wiss. Göttingen, math.-phys. Kl., (1900) 253–297. English translation by H.W. Newsom in: Bulletin of the American Mathematical Society (1901–1902) 437–479.
G.P. Huet, A Unification Algorithm for Typed λ-Calculus, Theoretical Computer Science 1 (1975) 27–57.
G.P. Huet, Résolution d'équations dans des Langages d'Ordre 1,2, ...,ω, Thèse de Doctorat d'Etat, Université Paris VII, Paris, (1976).
G.P. Huet and F. Fages, Complete Sets of Unifiers and Matchers in Equational Theories, Theoretical Computer Science 43 2,3 (1986) 189–200.
G.P. Huet and B. Lang, Proving and Applying Program Transformations Expressed with Second-Order Patterns, Acta Informatica 11 (1978) 31–55.
G.P. Huet, Confluent Reductions: Abstract Properties and Applications to Term Rewriting Systems, Journal of the ACM 27, 4 (1980) 797–821.
G.P. Huet and D.C. Oppen, Equations and Rewrite Rules: A Survey, in: Formal Languages: Perspectives and Open Problems, R. Book, (Ed.), Academic, 1980, 349–405.
G. Huet and G. Plotkin, Eds., Proceedings of the First Workshop on Logical Frameworks, INRIA, 1990.
J.M. Hullot, Canonical Forms and Unification, Proceedings of the Fifth Conference on Automated Deduction, Lecture Notes in Computer Science 87, Springer, Berlin, 1980, 318–334.
S.C. Kleene, λ-definability and Recursiveness, Duke Math. J. 2 (1936) 340–353.
D. Knuth and P. Bendix, Simple Word Problems in Universal Algebra, in: Computational Problems in Abstract Algebra, (J. Leech, Ed.), Pergamon Press, 1970, 263–297.
P. Martin-Löf, Constructive Mathematics and Computer Programming, in: (C.A.R. Hoare and J.C. Shepherdson, Eds.), Mathematical Logic and Programming Languages, Prentice-Hall, 1985, 167–184.
Ju.V. Matiyasevič, Diophantine Representation of Enumerable Predicates, (In Russian), Izvestija Akademii Nauk SSSR, Serija Mathematika 35 (1971) 3–30. English translation in: Mathematics of the USSR — Izvestija 5 (1971) 1–28.
D. Miller, A Logic Programming Language with Lambda-Abstraction, Function Variables, and Simple Unification. Extensions of Logic Programming, Lecture Notes in Computer Science, Springer, Berlin. To appear.
D. Miller, E.L. Cohen, and P.B. Andrews, A Look at TPS, Proceedings of the Sixth Conference on Automated Deduction, Lecture Notes in Computer Science 138, Springer, New York, 1982, 50–69.
T. Nipkow, A Critical Pair Lemma for Higher-Order Rewrite Systems and its Application to λ*, Draft version, in: [18]: (1990) 361–376.
M. O'Donnell, Equational Logic as a Programming Language, MIT Press, 1985.
L.C. Paulson, The Foundation of a Generic Theorem Prover, Journal of Automated Reasoning 5 (1989) 363–397.
G.D. Plotkin, Building-in Equational Theories, in: (B. Meltzer and D. Michie, Eds.), Machine Intelligence, 7, Edinburgh, 1972, 73–90.
J.H. Siekmann, Universal Unification, Proceedings of the Seventh Conference on Automated Deduction, Lecture Notes in Computer Science 170, Springer, New York, 1984, 1–42.
W. Snyder, Higher-Order E-Unification, Proceedings of the Tenth Conference on Automated Deduction, Lecture Notes in Computer Science, Springer, Berlin, 1990.
R. Statman, On the Existence of Closed Terms in the Typed λ-Calculus II: Transformations of Unification Problems, Theoretical Computer Science 15 (1981) 329–338.
D.A. Wolfram, The Clausal Theory of Types, Cambridge University Press. To appear.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wolfram, D.A. (1991). Rewriting, and equational unification: the higher-order cases. In: Book, R.V. (eds) Rewriting Techniques and Applications. RTA 1991. Lecture Notes in Computer Science, vol 488. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-53904-2_83
Download citation
DOI: https://doi.org/10.1007/3-540-53904-2_83
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53904-9
Online ISBN: 978-3-540-46383-2
eBook Packages: Springer Book Archive