Canonized Rewriting and Ground AC Completion Modulo Shostak Theories : Design and Implementation

AC-completion efficiently handles equality modulo associative and commutative function symbols. When the input is ground, the procedure terminates and provides a decision algorithm for the word problem. In this paper, we present a modular extension of ground AC-completion for deciding formulas in the combination of the theory of equality with user-defined AC symbols, uninterpreted symbols and an arbitrary signature disjoint Shostak theory X. Our algorithm, called AC(X), is obtained by augmenting in a modular way ground AC-completion with the canonizer and solver present for the theory X. This integration rests on canonized rewriting, a new relation reminiscent to normalized rewriting, which integrates canonizers in rewriting steps. AC(X) is proved sound, complete and terminating, and is implemented to extend the core of the Alt-Ergo theorem prover.

[1]  Deepak Kapur,et al.  Shostak's Congruence Closure as Completion , 1997, RTA.

[2]  Claude Marché,et al.  Normalized Rewriting: An Alternative to Rewriting Modulo a Set of Equations , 1996, J. Symb. Comput..

[3]  Chang Liu,et al.  Term rewriting and all that , 2000, SOEN.

[4]  Hélène Kirchner,et al.  Completion of a Set of Rules Modulo a Set of Equations , 1986, SIAM J. Comput..

[5]  Sylvain Conchon,et al.  Canonized Rewriting and Ground AC Completion Modulo Shostak Theories , 2011, TACAS.

[6]  Nachum Dershowitz Orderings for Term-Rewriting Systems , 1979, FOCS.

[7]  Nachum Dershowitz,et al.  Orderings for term-rewriting systems , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[8]  Sylvain Conchon,et al.  Canonization for disjoint unions of theories , 2005, Inf. Comput..

[9]  Nachum Dershowitz,et al.  Orderings for Equational Proofs , 1986, LICS.

[10]  Evelyne Contejean A Certified AC Matching Algorithm , 2004, RTA.

[11]  J. M. Hvllot Associative commutative pattern matching , 1979, IJCAI 1979.

[12]  Ashish Tiwari,et al.  Combining Equational Reasoning , 2009, FroCoS.

[13]  D. Knuth,et al.  Simple Word Problems in Universal Algebras , 1983 .

[14]  Ashish Tiwari,et al.  Abstract Congruence Closure , 2003, Journal of Automated Reasoning.

[15]  Robert E. Shostak,et al.  Deciding Combinations of Theories , 1982, JACM.

[16]  Claude Marché,et al.  On Ground AC-Completion , 1991, RTA.

[17]  Mark E. Stickel,et al.  Complete Sets of Reductions for Some Equational Theories , 1981, JACM.

[18]  Greg Nelson,et al.  Simplification by Cooperating Decision Procedures , 1979, TOPL.

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

[20]  Albert Rubio,et al.  A Precedence-Based Total AC-Compatible Ordering , 1993, RTA.

[21]  Jean-Marie Hullot,et al.  Associative Commutative Pattern Matching , 1979, IJCAI.