Skip to main content

Deciding the First-Order Theory of an Algebra of Feature Trees with Updates

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 10900))

Abstract

We investigate a logic of an algebra of trees including the update operation, which expresses that a tree is obtained from an input tree by replacing a particular direct subtree of the input tree, while leaving the rest unchanged. This operation improves on the expressivity of existing logics of tree algebras, in our case of feature trees. These allow for an unbounded number of children of a node in a tree.

We show that the first-order theory of this algebra is decidable via a weak quantifier elimination procedure which is allowed to swap existential quantifiers for universal quantifiers. This study is motivated by the logical modeling of transformations on UNIX file system trees expressed in a simple programming language.

This work has been partially supported by the ANR project CoLiS, contract number ANR-15-CE25-0001.

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

References

  1. Aït-Kaci, H., Podelski, A., Smolka, G.: A feature-based constraint system for logic programming with entailment. Theor. Comput. Sci. 122(1–2), 263–283 (1994)

    Article  Google Scholar 

  2. Bach, M.: The Design of the UNIX Operating System. Prentice-Hall, Upper Saddle River (1986)

    Google Scholar 

  3. Backofen, R.: A complete axiomatization of a theory with feature and arity constraints. J. Log. Program. 24(1&2), 37–71 (1995)

    Article  MathSciNet  Google Scholar 

  4. Backofen, R., Smolka, G.: A complete and recursive feature theory. Theor. Comput. Sci. 146(1–2), 243–268 (1995)

    Article  MathSciNet  Google Scholar 

  5. Backofen, R., Treinen, R.: How to win a game with features. Inf. Comput. 142(1), 76–101 (1998)

    Article  MathSciNet  Google Scholar 

  6. Comon, H., Lescanne, P.: Equational problems and disunification. J. Symb. Comput. 7, 371–425 (1989)

    Article  MathSciNet  Google Scholar 

  7. Debian Policy Mailing List: Debian Policy Manual, Version 4.1.3. Debian, December 2017. https://www.debian.org/doc/debian-policy/

  8. Dershowitz, N., Manna, Z.: Proving termination with multiset orderings. Commun. ACM 22(8), 465–476 (1979)

    Article  MathSciNet  Google Scholar 

  9. Hodges, W.: Model Theory, Encyclopedia of Mathematics and Its Applications, vol. 42. Cambridge University Press, Cambridge (1993)

    Google Scholar 

  10. Jeannerod, N., Marché, C., Treinen, R.: A formally verified interpreter for a shell-like programming language. In: Paskevich, A., Wies, T. (eds.) VSTTE 2017. LNCS, vol. 10712, pp. 1–18. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-72308-2_1

    Chapter  Google Scholar 

  11. Jeannerod, N., Treinen, R.: Deciding the first-order theory of an algebra of feature trees with updates (extended version), January 2018. https://hal.archives-ouvertes.fr/hal-01760575

  12. Maher, M.J.: Complete axiomatizations of the algebras of finite, rational and infinite trees. In: LICS, pp. 348–357. IEEE, Edinburgh, July 1988

    Google Scholar 

  13. Malc’ev, A.I.: Axiomatizable classes of locally free algebras of various type (Chap. 23). In: Wells I, B.F. (ed.) The Metamathematics of Algebraic Systems: Collected Papers 1936–1967, pp. 262–281. North Holland, Amsterdam (1971)

    Google Scholar 

  14. Smolka, G.: Feature constraint logics for unification grammars. J. Log. Program. 12, 51–87 (1992)

    Article  MathSciNet  Google Scholar 

  15. Smolka, G., Treinen, R.: Records for logic programming. J. Log. Program. 18(3), 229–258 (1994)

    Article  MathSciNet  Google Scholar 

  16. Treinen, R.: Feature constraints with first-class features. In: Borzyszkowski, A.M., Sokołowski, S. (eds.) MFCS 1993. LNCS, vol. 711, pp. 734–743. Springer, Heidelberg (1993). https://doi.org/10.1007/3-540-57182-5_64

    Chapter  Google Scholar 

  17. Treinen, R.: Feature trees over arbitrary structures (Chap. 7). In: Blackburn, P., de Rijke, M. (eds.) Specifying Syntactic Structures, pp. 185–211. CSLI Publications and FoLLI, Stanford (1997)

    Google Scholar 

  18. Vorobyov, S.: An improved lower bound for the elementary theories of trees. In: McRobbie, M.A., Slaney, J.K. (eds.) CADE 1996. LNCS, vol. 1104, pp. 275–287. Springer, Heidelberg (1996). https://doi.org/10.1007/3-540-61511-3_91

    Chapter  Google Scholar 

Download references

Acknowledgments

The idea of investigating update constraints on feature trees originates from discussions with Gert Smolka a long time ago. We would like to thank the anonymous reviewers for their useful remarks and suggestions, and the members of the CoLiS project for numerous discussions on tree constraints and their use in modeling tree operations, in particular Claude Marché, Kim Nguyen, Joachim Niehren, Yann Régis-Gianas, Sylvain Salvati, and Mihaela Sighireanu.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nicolas Jeannerod .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jeannerod, N., Treinen, R. (2018). Deciding the First-Order Theory of an Algebra of Feature Trees with Updates. In: Galmiche, D., Schulz, S., Sebastiani, R. (eds) Automated Reasoning. IJCAR 2018. Lecture Notes in Computer Science(), vol 10900. Springer, Cham. https://doi.org/10.1007/978-3-319-94205-6_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-94205-6_29

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-94204-9

  • Online ISBN: 978-3-319-94205-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics