Skip to main content

Synchronized Tree Languages for Reachability in Non-right-linear Term Rewrite Systems

  • Conference paper
  • First Online:
  • 323 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9942))

Abstract

Over-approximating the descendants (successors) of an initial set of terms under a rewrite system is used in reachability analysis. The success of such methods depends on the quality of the approximation. Regular approximations (i.e. those using finite tree automata) have been successfully applied to protocol verification and Java program analysis. In [2, 10], non-regular approximations have been shown more precise than regular ones. In [3] (fixed version of [2]), we have shown that sound over-approximations using synchronized tree languages can be computed for left-and-right-linear term rewriting systems (TRS). In this paper, we present two new contributions extending [3]. Firstly, we show how to compute at least all innermost descendants for any left-linear TRS. Secondly, a procedure is introduced for computing over-approximations independently of the applied rewrite strategy for any left-linear TRS.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    This approximation is often exact, but not always. This is due to the fact that a tree language expressed by a copying CS-program cannot always be expressed by a non-copying one.

  2. 2.

    I.e. clause heads are not linear.

  3. 3.

    In former papers, synchronized tree-tuple languages were defined thanks to sorts of grammars, called constraint systems. Thus “CS” stands for Constraint System.

  4. 4.

    In other words, the overlap of l on the clause head \(P(t_1,\ldots ,t_n)\) is done at a non-variable position.

  5. 5.

    The number of arguments.

  6. 6.

    From a theoretical point of view, left-linearity is sufficient when every critical pair is convergent. However, to make every critical pair convergent by completion, full linearity is necessary (see Theorem 3).

  7. 7.

    NC stands for Non-Copying. SNC stands for Strongly Non-Copying.

  8. 8.

    If the loop while is run several times, predicate symbols of the form \((Q_i^{x})^{y}\) may appear.

References

  1. Boichut, Y., Boyer, B., Genet, Th., Legay, A.: Equational abstraction refinement for certified tree regular model checking. In: Aoki, T., Taguchi, K. (eds.) ICFEM 2012. LNCS, vol. 7635, pp. 299–315. Springer, Heidelberg (2012)

    Google Scholar 

  2. Boichut, Y., Chabin, J., Réty, P.: Over-approximating descendants by synchronized tree languages. In: RTA, vol. 21 of LIPIcs, pp. 128–142 (2013)

    Google Scholar 

  3. Boichut, Y., Chabin, J., Réty, P.: Erratum of over-approximating descendants by synchronized tree languages. Technical report, LIFO, Université d’Orléans (2015). http://www.univ-orleans.fr/lifo/Members/rety/publications.html#erratum

  4. Boichut, Y., Courbis, R., Héam, P.-C., Kouchnarenko, O.: Finer is better: abstraction refinement for rewriting approximations. In: Voronkov, A. (ed.) RTA 2008. LNCS, vol. 5117, pp. 48–62. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  5. Boichut, Y., Héam, P.-C.: A theoretical limit for safety verification techniques with regular fix-point computations. IPL 108(1), 1–2 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  6. Bouajjani, A., Habermehl, P., Rogalewicz, A., Vojnar, T.: Abstract regular (tree) model checking. J. Softw. Tools Technol. Transf. 14(2), 167–191 (2012)

    Article  MATH  Google Scholar 

  7. Genet, T., Klay, F.: Rewriting for cryptographic protocol verification. In: McAllester, D. (ed.) CADE 2000. LNCS, vol. 1831, pp. 271–290. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  8. Genet, T., Salmon, Y.: Reachability analysis of innermost rewriting. In: RTA, vol. 36 (2015)

    Google Scholar 

  9. Gouranton, V., Réty, P., Seidl, H.: Synchronized tree languages revisited and new applications. In: Honsell, F., Miculan, M. (eds.) FOSSACS 2001. LNCS, vol. 2030, p. 214. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  10. Kochems, J., Luke Ong, C.-H.: Improved functional flow and reachability analyses using indexed linear tree grammars. In: RTA, vol. 10 of LIPIcs, pp. 187–202 (2011)

    Google Scholar 

  11. Limet, S., Réty, P.: E-unification by means of tree tuple synchronized grammars. Discret. Math. Theorit. Comput. Sci. 1(1), 69–98 (1997)

    MathSciNet  MATH  Google Scholar 

  12. Limet, S., Salzer, G.: Proving properties of term rewrite systems via logic programs. In: van Oostrom, V. (ed.) RTA 2004. LNCS, vol. 3091, pp. 170–184. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  13. Limet, S., Salzer, G.: Tree tuple languages from the logic programming point of view. J. Autom. Reason. 37(4), 323–349 (2006)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vivien Pelletier .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Boichut, Y., Pelletier, V., Réty, P. (2016). Synchronized Tree Languages for Reachability in Non-right-linear Term Rewrite Systems. In: Lucanu, D. (eds) Rewriting Logic and Its Applications. WRLA 2016. Lecture Notes in Computer Science(), vol 9942. Springer, Cham. https://doi.org/10.1007/978-3-319-44802-2_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-44802-2_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-44801-5

  • Online ISBN: 978-3-319-44802-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics