Disproving Confluence of Term Rewriting Systems by Interpretation and Ordering

  • Takahito Aoto
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8152)

Abstract

In order to disprove confluence of term rewriting systems, we develop new criteria for ensuring non-joinability of terms based on interpretation and ordering. We present some instances of the criteria which are amenable for automation, and report on an implementation of a confluence disproving procedure based on these instances. The experiments reveal that our method is successfully applied to automatically disprove confluence of some term rewriting systems, on which state-of-the-art automated confluence provers fail. A key idea to make our method effective is the introduction of usable rules—this allows one to decompose the constraint on rewrite rules into smaller components that depend on starting terms.

Keywords

Confluence Non-Joinability Interpretation Ordering Term Rewriting Systems 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Aoto, T.: Automated confluence proof by decreasing diagrams based on rule-labelling. In: Proc. of 21st RTA. LIPIcs, vol. 6, pp. 7–16. Schloss Dagstuhl (2010)Google Scholar
  2. 2.
    Aoto, T., Toyama, Y.: A reduction-preserving completion for proving confluence of non-terminating term rewriting systems. Logical Methods in Computer Science 1(31), 1–29 (2012)MathSciNetGoogle Scholar
  3. 3.
    Aoto, T., Yoshida, J., Toyama, Y.: Proving confluence of term rewriting systems automatically. In: Treinen, R. (ed.) RTA 2009. LNCS, vol. 5595, pp. 93–102. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  4. 4.
    Arts, T., Giesl, J.: Termination of term rewriting using dependency pairs. Theoretical Computer Science 236(1-2), 133–178 (2000)MathSciNetCrossRefMATHGoogle Scholar
  5. 5.
    Baader, F., Nipkow, T.: Term Rewriting and All That. Cambridge University Press (1998)Google Scholar
  6. 6.
    Comon, H., Godoy, G., Nieuwenhuis, R., Tiwari, A.: The confluence of ground term rewrite systems is decidable in polynomial time. In: Proc. of 42nd LICS, pp. 263–297. IEEE Computer Society Press (2001)Google Scholar
  7. 7.
    Contejean, E., Marché, C., Tomás, A.P., Urbain, X.: Mechanically proving termination using polynomial interpretation. Journal of Automated Reasoning 34, 325–363 (2005)MathSciNetCrossRefMATHGoogle Scholar
  8. 8.
    Dauchet, M., Heuillard, T., Lescanne, P., Tison, S.: Decidability of the confluence of finite ground term rewrite systems and of other related term rewrite systems. Information and Computation 88, 187–201 (1990)MathSciNetCrossRefMATHGoogle Scholar
  9. 9.
    Durand, I., Middeldorp, A.: Decidable call by need computations in term rewriting. In: McCune, W. (ed.) CADE 1997. LNCS (LNAI), vol. 1249, pp. 4–18. Springer, Heidelberg (1997)CrossRefGoogle Scholar
  10. 10.
    Felgenhauer, B.: Deciding confluence of ground term rewrite systems in cubic time. In: Proc. of 23rd RTA. LIPIcs, vol. 15, pp. 165–175. Schloss Dagstuhl (2012)Google Scholar
  11. 11.
    Felgenhauer, B.: A proof order for decreasing diagrams. In: Proc. of 1st IWC, pp. 9–15 (2012)Google Scholar
  12. 12.
    Genet, T.: Decidable approximations of sets of descendants and sets of normal forms. In: Nipkow, T. (ed.) RTA 1998. LNCS, vol. 1379, pp. 151–165. Springer, Heidelberg (1998)CrossRefGoogle Scholar
  13. 13.
    Giesl, J., Thiemann, R., Schneider-Kamp, P.: Proving and disproving termination of higher-order functions. In: Gramlich, B. (ed.) FroCos 2005. LNCS (LNAI), vol. 3717, pp. 216–231. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  14. 14.
    Giesl, J., Thiemann, R., Schneider-Kamp, P.: Mechanizing and improving dependency pairs. Journal of Automated Reasoning 37(3), 155–203 (2006)MathSciNetCrossRefMATHGoogle Scholar
  15. 15.
    Godoy, G., Tiwari, A.: Confluence of shallow right-linear rewrite systems. In: Ong, L. (ed.) CSL 2005. LNCS, vol. 3634, pp. 541–556. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  16. 16.
    Godoy, G., Tiwari, A., Verma, R.: Characterizing confluence by rewrite closure and right ground term rewriting systems. Applicable Algebra in Engineering, Communication and Computing 15, 13–36 (2004)MathSciNetCrossRefMATHGoogle Scholar
  17. 17.
    Hirokawa, N., Klein, D.: Saigawa: A confluence tool. In: Proc. of 1st IWC, p. 49 (2012)Google Scholar
  18. 18.
    Hirokawa, N., Middeldorp, A.: Tyrolean termination tool: Techniques and features. Information and Computation 205(4), 474–511 (2007)MathSciNetCrossRefMATHGoogle Scholar
  19. 19.
    Hirokawa, N., Middeldorp, A.: Decreasing diagrams and relative termination. Journal of Automated Reasoning 47(4), 481–501 (2011)MathSciNetCrossRefMATHGoogle Scholar
  20. 20.
    Kaiser, Ł.: Confluence of right ground term rewriting systems is decidable. In: Sassone, V. (ed.) FOSSACS 2005. LNCS, vol. 3441, pp. 470–489. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  21. 21.
    Klein, D., Hirokawa, N.: Confluence of non-left-linear TRSs via relative termination. In: Bjørner, N., Voronkov, A. (eds.) LPAR-18. LNCS, vol. 7180, pp. 258–273. Springer, Heidelberg (2012)Google Scholar
  22. 22.
    Knuth, D.E., Bendix, P.B.: Simple word problems in universal algebras. In: Leech, J. (ed.) Computational Problems in Abstract Algebra, pp. 263–297. Pergamon Press (1970)Google Scholar
  23. 23.
    Korp, M., Middeldorp, A.: Match-bounds revisited. Information and Computation 207(11), 1259–1283 (2009)MathSciNetCrossRefMATHGoogle Scholar
  24. 24.
    Kusakari, K., Nakamura, M., Toyama, Y.: Argument filtering transformation. In: Nadathur, G. (ed.) PPDP 1999. LNCS, vol. 1702, pp. 47–61. Springer, Heidelberg (1999)CrossRefGoogle Scholar
  25. 25.
    Middeldorp, A.: Approximating dependency graphs using tree automata techniques. In: Goré, R.P., Leitsch, A., Nipkow, T. (eds.) IJCAR 2001. LNCS (LNAI), vol. 2083, pp. 593–610. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  26. 26.
    Oyamaguchi, M.: The Church-Rosser property for ground term rewriting systems is decidable. Theoretical Computer Science 49, 43–79 (1987)MathSciNetCrossRefMATHGoogle Scholar
  27. 27.
    Payet, É.: Loop detection in term rewriting using eliminating unfoldings. Theoretical Computer Science 403, 307–327 (2008)MathSciNetCrossRefMATHGoogle Scholar
  28. 28.
    Salomaa, K.: Decidability of confluence and termination of monadic term rewriting systems. In: Book, R.V. (ed.) RTA 1991. LNCS, vol. 488, pp. 275–286. Springer, Heidelberg (1991)CrossRefGoogle Scholar
  29. 29.
    Standard ML of New Jersey, http://www.sml.org/
  30. 30.
    Terese: Term Rewriting Systems. Cambridge University Press (2003)Google Scholar
  31. 31.
    Toyama, Y.: Confluent term rewriting systems. In: Giesl, J. (ed.) RTA 2005. LNCS, vol. 3467, p. 1. Springer, Heidelberg (2005) slides are available from, http://www.nue.riec.tohoku.ac.jp/user/toyama/slides/toyama-RTA05.pdf
  32. 32.
    Urbain, X.: Modular & incremental automated termination proofs. Journal of Automated Reasoning 32, 315–355 (2004)MathSciNetCrossRefMATHGoogle Scholar
  33. 33.
    Zankl, H., Felgenhauer, B., Middeldorp, A.: CSI – A confluence tool. In: Bjørner, N., Sofronie-Stokkermans, V. (eds.) CADE 2011. LNCS (LNAI), vol. 6803, pp. 499–505. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  34. 34.
    Zankl, H., Felgenhauer, B., Middeldorp, A.: Labelings for decreasing diagrams. In: Proc. of 22nd RTA. LIPIcs, vol. 10, pp. 377–392. Schloss Dagstuhl (2011)Google Scholar
  35. 35.
    Zantema, H.: Termination of term rewriting by semantic labelling. Fundamenta Informaticae 24, 89–105 (1995)MathSciNetMATHGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Takahito Aoto
    • 1
  1. 1.RIECTohoku UniversitySendaiJapan

Personalised recommendations