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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Lifschitz et al. [20] made the same mistake in their Proposition 6.
- 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.
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.
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
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)
Cabalar, P., Ferraris, P.: Propositional theories are strongly equivalent to logic programs. Theory Pract. Logic Program. 7, 745–759 (2007)
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)
De Jongh, D., Hendriks, L.: Characterization of strongly equivalent logic programs in intermediate logics. Theory Pract. Logic Program. 3, 259–270 (2003)
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)
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)
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)
Ferraris, P.: On modular translations and strong equivalence. In: Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), pp. 79–91 (2005)
Ferraris, P., Lee, J., Lifschitz, V.: Stable models and circumscription. Artif. Intell. 175, 236–263 (2011)
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)
Harrison, A., Lifschitz, V., Pearce, D., Valverde, A.: Infinitary equilibrium logic and strongly equivalent logic programs. Artif. Intell. 246, 22–33 (2017)
Heuer, J.: Automated verification of equivalence properties in advanced logic programs (2020). Bachelor Thesis, University of Potsdam
Hosoi, T.: The axiomatization of the intermediate propositional systems \({S}_n\) of Gödel. J. Faculty Sci. Univ. Tokyo 13, 183–187 (1966)
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
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)
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)
Lifschitz, V.: Here and there with arithmetic. Theory Pract. Logic Program. 21, 735–749 (2021)
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
Lifschitz, V.: Strong equivalence of logic programs with counting. Theory Pract. Logic Program. 22, 573–588 (2022)
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
Lifschitz, V., Pearce, D., Valverde, A.: Strongly equivalent logic programs. ACM Trans. Comput. Log. 2, 526–541 (2001)
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
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)
Lin, F., Chen, Y.: Discovering classes of strongly equivalent logic programs. In: Proceedings of International Joint Conference on Artificial Intelligence (IJCAI) (2005)
Pearce, D., Tompits, H., Woltran, S.: Characterising equilibrium logic and nested logic programs: reductions and complexity. Theory Pract. Logic Program. 9, 565–616 (2009)
Sutcliffe, G.: The TPTP problem library and associated infrastructure. J. Autom. Reason. 59(4), 483–502 (2017)
Turner, H.: Strong equivalence made easy: nested expressions and weight constraints. Theory Pract. Logic Program. 3(4–5), 609–622 (2003)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)