Skip to main content

Metalevel Algorithms for Variant Satisfiability

  • Conference paper
  • First Online:
Rewriting Logic and Its Applications (WRLA 2016)

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

Included in the following conference series:

Abstract

Variant satisfiability is a theory-generic algorithm to decide quantifier-free satisfiability in an initial algebra \(T_{\varSigma /E}\) when the theory \((\varSigma ,E)\) has the finite variant property and its constructors satisfy a compactness condition. This paper: (i) gives a precise definition of several meta-level sub-algorithms needed for variant satisfiability; (ii) proves them correct; and (iii) presents a reflective implementation in Maude 2.7 of variant satisfiability using these sub-algorithms.

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

Access this chapter

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

Institutional subscriptions

Notes

  1. 1.

    When the axioms B consist of a combination of associativity, commutativity, and (left and/or right) identity axioms, we can decompose B into the disjoint union \(B = B_{0} \uplus U\), where \(B_{0}\) are associativity and/or commutativity axioms, and U are left and/or right identity axioms. The equations in U, of the general form \(f(e,x)=x\) and/or \(f(x,e)=x\), can be oriented as rewrite rules R(U) of the form \(f(e,x) \rightarrow x\) and/or \(f(x,e) \rightarrow x\) to be applied modulo \( B_{0}\). The B-preregularity notion can then be broadened by requiring only that: (i) \(\varSigma \) is preregular; (ii) \(\varSigma \) is \(B_{0}\)-preregular in the standard sense that \( ls (u\rho )= ls (v\rho )\) for all \(u=v \in B_{0}\) and sort specializations \(\rho \); and (iii) the rules R(U) are sort-decreasing in the sense of Definition 1. Maude automatically checks B-preregularity of an OS signature \(\varSigma \) in this broader sense [8].

  2. 2.

    For a discussion of similar but not exactly equivalent versions of the variant notion see [7]. Here we follow the formulation in [18].

  3. 3.

    [27, 28, 34] give examples of constructor variants and constructor unifiers.

References

  1. Armando, A., Ranise, S., Rusinowitch, M.: A rewriting approach to satisfiability procedures. Inf. Comput. 183(2), 140–164 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  2. Baader, F., Schulz, K.U.: Combining constraint solving. In: Comon, H., Marché, C., Treinen, R. (eds.) CCL 1999. LNCS, vol. 2002, p. 104. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  3. Barrett, C., Sebastiani, R., Seshia, S., Tinelli, C.: Satisfiability modulo theories. In: Biere, A., Heule, M.J.H., van Maaren, H., Walsh, T. (eds.) Handbook of Satisfiability, vol. 185, pp. 825–885. IOS Press, Amsterdam (2009). Chap. 26

    Google Scholar 

  4. Barrett, C., Shikanian, I., Tinelli, C.: An abstract decision procedure for satisfiability in the theory of inductive data types. J. Satisf. Boolean Model. Comput. 3, 21–46 (2007)

    MathSciNet  MATH  Google Scholar 

  5. Barrett, C., Tinelli, C.: Satisfiability modulo theories. In: Clarke, E., Henzinger, T., Veith, H. (eds.) Handbook of Model Checking. Springer, Berlin (2014)

    Google Scholar 

  6. Bradley, A.R., Manna, Z.: The Calculus of Computation - Decision Procedures with Applications to Verification. Springer, Berlin (2007)

    MATH  Google Scholar 

  7. Cholewa, A., Meseguer, J., Escobar, S.: Variants of variants and the finite variant property. Technical report, CS Deptartment, University of Illinois at Urbana-Champaign, February 2014. http://hdl.handle.net/2142/47117

  8. Clavel, M., Durán, F., Eker, S., Lincoln, P., Martí-Oliet, N., Meseguer, J., Talcott, C. (eds.): All About Maude - A High-Performance Logical Framework. LNCS, vol. 4350. Springer, Heidelberg (2007)

    MATH  Google Scholar 

  9. Clavel, M., Durán, F., Eker, S., Meseguer, J., Stehr, M.-O.: Maude as a formal meta-tool. In: Wing, J.M., Woodcock, J., Davies, J. (eds.) FM 1999. LNCS, vol. 1709, p. 1684. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  10. Clavel, M., Meseguer, J., Palomino, M.: Reflection in membership equational logic, many-sorted equational logic, horn logic with equality, and rewriting logic. Theoret. Comput. Sci. 373, 70–91 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  11. Comon, H., Dauchet, M., Gilleron, R., Löding, C., Jacquemard, F., Lugiez, D., Tison, S., Tommasi, M.: Tree automata techniques and applications (2007). http://www.grappa.univ-lille3.fr/tata. Accessed 12 October 2007

  12. Comon, H.: Complete axiomatizations of some quotient term algebras. Theoret. Comput. Sci. 118(2), 167–191 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  13. Comon-Lundh, H., Delaune, S.: The finite variant property: how to get rid of some algebraic properties. In: Giesl, J. (ed.) RTA 2005. LNCS, vol. 3467, pp. 294–307. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  14. Dershowitz, N., Jouannaud, J.P.: Rewrite systems. In: van Leeuwen, J. (ed.) Handbook of Theoretical Computer Science, vol. B, pp. 243–320. ACM, North-Holland (1990)

    Google Scholar 

  15. Dovier, A., Piazza, C., Rossi, G.: A uniform approach to constraint-solving for lists, multisets, compact lists, and sets. ACM Trans. Comput. Log. 9(3), 15 (2008)

    Article  MathSciNet  Google Scholar 

  16. Dovier, A., Policriti, A., Rossi, G.: A uniform axiomatic view of lists, multisets, and sets, and the relevant unification algorithms. Fundam. Inform. 36(2–3), 201–234 (1998)

    MathSciNet  MATH  Google Scholar 

  17. Dross, C., Conchon, S., Kanig, J., Paskevich, A.: Adding decision procedures to SMT solvers using axioms with triggers. J. Autom. Reason. 56, 387–457 (2016). https://hal.archives-ouvertes.fr/hal-01221066

    Article  MathSciNet  MATH  Google Scholar 

  18. Escobar, S., Sasse, R., Meseguer, J.: Folding variant narrowing and optimal variant termination. J. Algebr. Log. Program. 81, 898–928 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  19. Goguen, J., Meseguer, J.: Order-sorted algebra I. Theoret. Comput. Sci. 105, 217–273 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  20. Hendrix, J., Clavel, M., Meseguer, J.: A sufficient completeness reasoning tool for partial specifications. In: Giesl, J. (ed.) RTA 2005. LNCS, vol. 3467, pp. 165–174. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  21. Hendrix, J., Meseguer, J., Ohsaki, H.: A sufficient completeness checker for linear order-sorted specifications modulo axioms. In: Furbach, U., Shankar, N. (eds.) IJCAR 2006. LNCS (LNAI), vol. 4130, pp. 151–155. Springer, Heidelberg (2006)

    Google Scholar 

  22. Jouannaud, J.P., Kirchner, H.: Completion of a set of rules modulo a set of equations. SIAM J. Comput. 15, 1155–1194 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  23. Kroening, D., Strichman, O.: Decision Procedures - An Algorithmic Point of View. Texts in Theoretical Computer Science. An EATCS Series. Springer, Berlin (2008)

    MATH  Google Scholar 

  24. Krstić, S., Goel, A., Grundy, J., Tinelli, C.: Combined satisfiability modulo parametric theories. In: Grumberg, O., Huth, M. (eds.) TACAS 2007. LNCS, vol. 4424, pp. 602–617. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  25. Meseguer, J.: Membership algebra as a logical framework for equational specification. In: Parisi-Presicce, F. (ed.) WADT 1997. LNCS, vol. 1376. Springer, Heidelberg (1998)

    Google Scholar 

  26. Meseguer, J.: Strict coherence of conditional rewriting modulo axioms. Technical report, C.S. Department, University of Illinois at Urbana-Champaign, August 2014. http://hdl.handle.net/2142/50288

  27. Meseguer, J.: Variant-based satisfiability in initial algebras. Technical report, University of Illinois at Urbana-Champaign, November 2015. http://hdl.handle.net/2142/88408

  28. Mashauri, D., et al.: Variant-based satisfiability in initial algebras. In: Artho, C., et al. (eds.) FTSCS 2015. CCIS, vol. 596, pp. 3–34. Springer, Heidelberg (2016). doi:10.1007/978-3-319-29510-7_1

    Chapter  Google Scholar 

  29. Meseguer, J., Goguen, J.: Order-sorted algebra solves the constructor-selector, multiple representation and coercion problems. Inf. Comput. 103(1), 114–158 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  30. Nelson, G., Oppen, D.C.: Simplification by cooperating decision procedures. ACM Trans. Program. Lang. Syst. 1(2), 245–257 (1979)

    Article  MATH  Google Scholar 

  31. Oppen, D.C.: Complexity, convexity and combinations of theories. Theor. Comput. Sci. 12, 291–302 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  32. Rocha, C., Meseguer, J.: Constructors, sufficient completeness, and deadlock freedom of rewrite theories. In: Fermüller, C.G., Voronkov, A. (eds.) LPAR-17. LNCS, vol. 6397, pp. 594–609. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  33. Shostak, R.E.: Deciding combinations of theories. J. ACM 31(1), 1–12 (1984)

    Article  MathSciNet  MATH  Google Scholar 

  34. Skeirik, S., Meseguer, J.: Metalevel algorithms for variant satisfiability. Technical report, C.S. Department, University of Illinois at Urbana-Champaign, June 2016. https://www.ideals.illinois.edu/handle/2142/90238

Download references

Acknowledgements

Partially supported by NSF Grant CNS 13-19109.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stephen Skeirik .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Skeirik, S., Meseguer, J. (2016). Metalevel Algorithms for Variant Satisfiability. 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_10

Download citation

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

  • 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