Skip to main content

On Heuer’s Procedure for Verifying Strong Equivalence

  • Conference paper
  • First Online:
Logics in Artificial Intelligence (JELIA 2023)

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

Included in the following conference series:

  • 328 Accesses

Abstract

In answer set programming, two groups of rules are considered strongly equivalent if replacing one group by the other within any program does not affect the set of stable models. Jan Heuer has designed and implemented a system that verifies strong equivalence of programs in the ASP language mini-gringo. The design is based on the syntactic transformation \(\tau ^*\) that converts mini-gringo programs into first-order formulas. Heuer’s assertion about \(\tau ^*\) that was supposed to justify this procedure turned out to be incorrect, and in this paper we propose an alternative justification for his algorithm. We show also that if \(\tau ^*\) is replaced by the simpler and more natural translation \(\nu \) then the algorithm will still produce correct results.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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.

    Lifschitz et al. [20] made the same mistake in their Proposition 6.

  2. 2.

    The need to use a language with two sorts is explained by the fact that function symbols in a first-order language are supposed to represent total functions, and arithmetic operations are not defined on symbolic constants.

  3. 3.

    The symbols / and \(\backslash \) are not included because the corresponding functions are not total on the set of integers. The symbol .. is not included because intervals do not belong to the domain of precomputed terms.

  4. 4.

    Heuer [12, Sections 2.2.3 and 3.3] denotes this translation by \(\sigma ^*\). We switched to \(\gamma \) to avoid confusion with the symbols denoting signatures.

References

  1. Bochman, A., Lifschitz, V.: Yet another characterization of strong equivalence. In: Technical Communications of the 27th International Conference on Logic Programming (ICLP), pp. 11–15 (2011)

    Google Scholar 

  2. Cabalar, P., Ferraris, P.: Propositional theories are strongly equivalent to logic programs. Theory Pract. Logic Program. 7, 745–759 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  3. Chen, Y., Lin, F., Li, L.: SELP – a system for studying strong equivalence between logic programs. In: Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning, pp. 442–446 (2005)

    Google Scholar 

  4. De Jongh, D., Hendriks, L.: Characterization of strongly equivalent logic programs in intermediate logics. Theory Pract. Logic Program. 3, 259–270 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  5. Eiter, T., Fink, M., Tompits, H., Woltran, S.: Strong and uniform equivalence in answer-set programming: characterizations and complexity results for the non-ground case. In: Proceedings of AAAI Conference on Artificial Intelligence (AAAI), pp. 695–700 (2005)

    Google Scholar 

  6. Fandinno, J., Lifschitz, V.: Omega-completeness of the logic of here-and-there and strong equivalence of logic programs. In: Proceedings of International Conference on Principles of Knowledge Representation and Reasoning (to appear) (2023)

    Google Scholar 

  7. Fandinno, J., Lifschitz, V., Lühne, P., Schaub, T.: Verifying tight logic programs with anthem and vampire. Theory Pract. Logic Program. 20, 735–750 (2020)

    Article  MathSciNet  MATH  Google Scholar 

  8. Ferraris, P.: On modular translations and strong equivalence. In: Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), pp. 79–91 (2005)

    Google Scholar 

  9. Ferraris, P., Lee, J., Lifschitz, V.: Stable models and circumscription. Artif. Intell. 175, 236–263 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  10. Harrison, A., Lifschitz, V., Pearce, D., Valverde, A.: Infinitary equilibrium logic and strong equivalence. In: Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), pp. 398–410 (2015)

    Google Scholar 

  11. Harrison, A., Lifschitz, V., Pearce, D., Valverde, A.: Infinitary equilibrium logic and strongly equivalent logic programs. Artif. Intell. 246, 22–33 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  12. Heuer, J.: Automated verification of equivalence properties in advanced logic programs (2020). Bachelor Thesis, University of Potsdam

    Google Scholar 

  13. Hosoi, T.: The axiomatization of the intermediate propositional systems \({S}_n\) of Gödel. J. Faculty Sci. Univ. Tokyo 13, 183–187 (1966)

    MathSciNet  MATH  Google Scholar 

  14. Kovács, L., Voronkov, A.: First-order theorem proving and Vampire. In: Sharygina, N., Veith, H. (eds.) CAV 2013. LNCS, vol. 8044, pp. 1–35. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-39799-8_1

    Chapter  Google Scholar 

  15. Lee, J., Palla, R.: Yet another proof of the strong equivalence between propositional theories and logic programs. In: Working Notes of the Workshop on Correspondence and Equivalence for Nonmonotonic Theories (2007)

    Google Scholar 

  16. Lierler, Y., Lifschitz, V.: Termination of grounding is not preserved by strongly equivalent transformations. In: Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR) (2011)

    Google Scholar 

  17. Lifschitz, V.: Here and there with arithmetic. Theory Pract. Logic Program. 21, 735–749 (2021)

    Article  MathSciNet  Google Scholar 

  18. Lifschitz, V.: Transforming gringo rules into formulas in a natural way. In: Faber, W., Friedrich, G., Gebser, M., Morak, M. (eds.) JELIA 2021. LNCS (LNAI), vol. 12678, pp. 421–434. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-75775-5_28

    Chapter  MATH  Google Scholar 

  19. Lifschitz, V.: Strong equivalence of logic programs with counting. Theory Pract. Logic Program. 22, 573–588 (2022)

    Article  MathSciNet  MATH  Google Scholar 

  20. Lifschitz, V., Lühne, P., Schaub, T.: Verifying strong equivalence of programs in the input language of gringo. In: Balduccini, M., Lierler, Y., Woltran, S. (eds.) LPNMR 2019. Lecture Notes in Computer Science, vol. 11481, pp. 270–283. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-20528-7_20

    Chapter  Google Scholar 

  21. Lifschitz, V., Pearce, D., Valverde, A.: Strongly equivalent logic programs. ACM Trans. Comput. Log. 2, 526–541 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  22. Lifschitz, V., Pearce, D., Valverde, A.: A characterization of strong equivalence for logic programs with variables. In: Baral, C., Brewka, G., Schlipf, J. (eds.) LPNMR 2007. LNCS (LNAI), vol. 4483, pp. 188–200. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-72200-7_17

    Chapter  MATH  Google Scholar 

  23. Lin, F.: Reducing strong equivalence of logic programs to entailment in classical propositional logic. In: Proceedings of International Conference on Principles of Knowledge Representation and Reasoning (KR), pp. 170–176 (2002)

    Google Scholar 

  24. Lin, F., Chen, Y.: Discovering classes of strongly equivalent logic programs. In: Proceedings of International Joint Conference on Artificial Intelligence (IJCAI) (2005)

    Google Scholar 

  25. Pearce, D., Tompits, H., Woltran, S.: Characterising equilibrium logic and nested logic programs: reductions and complexity. Theory Pract. Logic Program. 9, 565–616 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  26. Sutcliffe, G.: The TPTP problem library and associated infrastructure. J. Autom. Reason. 59(4), 483–502 (2017)

    Article  MATH  Google Scholar 

  27. Turner, H.: Strong equivalence made easy: nested expressions and weight constraints. Theory Pract. Logic Program. 3(4–5), 609–622 (2003)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jorge Fandinno .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fandinno, J., Lifschitz, V. (2023). On Heuer’s Procedure for Verifying Strong Equivalence. In: Gaggl, S., Martinez, M.V., Ortiz, M. (eds) Logics in Artificial Intelligence. JELIA 2023. Lecture Notes in Computer Science(), vol 14281. Springer, Cham. https://doi.org/10.1007/978-3-031-43619-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-43619-2_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-43618-5

  • Online ISBN: 978-3-031-43619-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics