Unification of Infinite Sets of Terms Schematized by Primal Grammars

Abstract Infinite sets of terms appear frequently at different places in computer science. On the other hand, several practically oriented parts of logic and computer science require the manipulated objects to be finite or finitely representable. Schematizations present a suitable formalism to manipulate finitely infinite sets of terms. Since schematizations provide a different approach to solve the same kind of problems as constraints do, they can be viewed as a new type of constraints. The paper presents a new recurrent schematization called primal grammars. The main idea behind the primal grammars is to use primitive recursion as the generating engine of infinite sets. The evaluation of primal grammars is based on substitution and rewriting, hence no particular semantics for them is necessary. This fact allows also a natural integration of primal grammars into Prolog, into functional languages or into other rewrite-based applications. Primal grammars have a decidable unification problem and the paper presents a unification algorithm for them that produces finite results. This unification algorithm is proved sound and complete, and it terminates for every input.

[1]  Hong Chen,et al.  Logic Programming with Recurrence Domains , 1991, ICALP.

[2]  Miki Hermann,et al.  On the Relation Between Primitive Recursion, Schematization and Divergence , 1992, ALP.

[3]  Eric Domenjoud,et al.  Solving Systems of Linear Diophantine Equations: An Algebraic Approach , 1991, MFCS.

[4]  Albert Rubio,et al.  A Total AC-Compatible Ordering Based on RPO , 1995, Theor. Comput. Sci..

[5]  Gernot Salzer,et al.  Primal Grammars and Unification Modulo a Binary Clause , 1994, CADE.

[6]  P. Odifreddi The theory of functions and sets of natural numbers , 1989 .

[7]  Gérard P. Huet,et al.  A Unification Algorithm for Typed lambda-Calculus , 1975, Theor. Comput. Sci..

[8]  Hubert Comon-Lundh,et al.  Completion of Rewrite Systems with Membership Constraints , 1992, ICALP.

[9]  David A. McAllester Grammar Rewriting , 1991, CADE.

[10]  Jean-Pierre Jouannaud,et al.  Rewrite Systems , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[11]  Phokion G. Kolaitis,et al.  Infinitary Logic for Computer Science , 1992, ICALP.

[12]  Evelyne Contejean,et al.  An Efficient Incremental Algorithm for Solving Systems of Linear Diophantine Equations , 1994, Inf. Comput..

[13]  H. Comon SOLVING SYMBOLIC ORDERING CONSTRAINTS , 1990 .

[14]  Evelyne Contejean Solving *-Problems Modulo Distributivity by a Reduction to AC1-Unification , 1993, J. Symb. Comput..

[15]  Michael J. Maher Complete axiomatizations of the algebras of finite, rational and infinite trees , 1988, [1988] Proceedings. Third Annual Information Symposium on Logic in Computer Science.

[16]  Peter G. Hinman Review: Piergiorgio Odifreddi, Classical Recursion Theory. The Theory of Functions and Sets of Natural Numbers , 1990 .

[17]  C. Kirchner,et al.  Deduction with symbolic constraints , 1990 .

[18]  Yehoshua Sagiv,et al.  Safety of datalog queries over infinite databases , 1989, PODS '89.

[19]  Jörg Würtz,et al.  Satisfiability of the Smallest Binary Program , 1993, Inf. Process. Lett..

[20]  Claude Kirchner,et al.  Solving Equations in Abstract Algebras: A Rule-Based Survey of Unification , 1991, Computational Logic - Essays in Honor of Alan Robinson.

[21]  B. Courcelle Fundamental properties of infinite trees , 1983 .

[22]  C. Yates Recursive Functions , 1970, Nature.

[23]  Hélène Kirchner,et al.  Schematization of Infinite Sets of Rewrite Rules Generated by Divergent Completion Processes , 1989, Theor. Comput. Sci..

[24]  Hubert Comon-Lundh,et al.  Equational Formulae with Membership Constraints , 1994, Inf. Comput..

[25]  Manfred Schmidt-Schauß An Algorithm for Distributive Unification , 1996, RTA.

[26]  Pierre Wolper,et al.  Reasoning About Infinite Computations , 1994, Inf. Comput..

[27]  Gernot Salzer,et al.  The Unification of Infinite Sets of Terms and Its Applications , 1992, LPAR.

[28]  Hong Chen,et al.  Recurrence Domains: Their Unification and Application to Logic Programming , 1995, Inf. Comput..

[29]  Nachum Dershowitz,et al.  Termination of Rewriting , 1987, J. Symb. Comput..

[30]  Hubert Comon,et al.  Disunification: A Survey. , 1991 .

[31]  N. A C H U M D E R S H O W I T Z Termination of Rewriting' , 2022 .

[32]  Hubert Comon-Lundh,et al.  Equational Problems and Disunification , 1989, J. Symb. Comput..

[33]  Phokion G. Kolaitis,et al.  Infinitary Logics and 0-1 Laws , 1992, Inf. Comput..

[34]  Jean-Louis Lassez,et al.  Computational logic: essays in honor of Alan Robinson , 1991 .

[35]  Jan Chomicki,et al.  Finite representation of infinite query answers , 1993, TODS.

[36]  Hubert Comon-Lundh,et al.  Solving Symbolic Ordering Constraints , 1990, Int. J. Found. Comput. Sci..

[37]  George F. McNulty,et al.  A Field Guide to Equational Logic , 1992, J. Symb. Comput..

[38]  Hubert Comon,et al.  On unification of terms with integer exponents , 1995 .

[39]  Hubert Comon Completion of Rewrite Systems with Membership Constraints , 1992 .

[40]  Harold Simmons,et al.  The realm of primitive recursion , 1988, Arch. Math. Log..