Skip to main content

Gelfond-Zhang Aggregates as Propositional Formulas

  • Conference paper
  • First Online:
Logic Programming and Nonmonotonic Reasoning (LPNMR 2017)

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

Abstract

We show that any ASP aggregate interpreted under Gelfond and Zhang’s (GZ) semantics can be replaced (under strong equivalence) by a propositional formula. Restricted to the original GZ syntax, the resulting formula is reducible to a disjunction of conjunctions of literals but the formulation is still applicable even when the syntax is extended to allow for arbitrary formulas (including nested aggregates) in the condition. Once GZ-aggregates are represented as formulas, we establish a formal comparison (in terms of the logic of Here-and-There) to Ferraris’ (F) aggregates, which are defined by a different formula translation involving nested implications. In particular, we prove that if we replace an F-aggregate by a GZ-aggregate in a rule head, we do not lose answer sets (although more can be gained). This extends the previously known result that the opposite happens in rule bodies, i.e., replacing a GZ-aggregate by an F-aggregate in the body may yield more answer sets. Finally, we characterise a class of aggregates for which GZ- and F-semantics coincide.

Partially supported by grants GPC 2016/035 (Xunta de Galicia, Spain), TIN 2013-42149-P (MINECO, Spain), and SCHA 550/9 (DFG, Germany).

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.

    Note that, for arbitrary languages and semantics, this definition is stronger than usual, as it refers to any subformula replacement and not just conjunctions of formulas, as usual. For instance, \(\varphi \equiv _s\psi \) also implies \(\{\varphi \otimes \alpha \} \equiv _s\{\psi \otimes \alpha \}\) for any binary operator \(\otimes \) in our language. When \(\mathcal{L}\) is a logical language and \(\equiv _s\) amounts to equivalence in HT (or any logic with substitution of equivalents) the distinction becomes irrelevant.

  2. 2.

    An extension to a full first-order language is under development.

  3. 3.

    Ferraris actually uses \(\varphi _i=w\) rather than \(\mathbf {c}\!:\!\varphi \), but this is not a substantial difference, assuming w is the first element in tuple \(\mathbf {c}\).

References

  1. Aguado, F., Cabalar, P., Pearce, D., Pérez, G., Vidal, C.: A denotational semantics for equilibrium logic. Theory Pract. Log. Program. 15(4–5), 620–634 (2015)

    Article  MathSciNet  Google Scholar 

  2. Alviano, M., Faber, W.: Stable model semantics of abstract dialectical frameworks revisited: a logic programming perspective. In: Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, pp. 2684–2690. AAAI Press (2015)

    Google Scholar 

  3. Baral, C.: Knowledge Representation, Reasoning and Declarative Problem Solving. Cambridge University Press, New York (2003)

    Book  MATH  Google Scholar 

  4. Cabalar, P.: Functional answer set programming. Theory Pract. Log. Program. 11(2–3), 203–233 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  5. Calimeri, F., Faber, W., Gebser, M., Ianni, G., Kaminski, R., Krennwallner, T., Leone, N., Ricca, F., Schaub, T.: ASP-Core-2: input language format (2012). https://www.mat.unical.it/aspcomp2013/ASPStandardization/

  6. Erdem, E., Gelfond, M., Leone, N.: Applications of ASP. AI Mag. 37(3), 53–68 (2016)

    Google Scholar 

  7. Faber, W., Pfeifer, G., Leone, N.: Semantics and complexity of recursive aggregates in answer set programming. Artif. Intell. 175(1), 278–298 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  8. Faber, W., Pfeifer, G., Leone, N., Dell’Armi, T., Ielpa, G.: Design and implementation of aggregate functions in the DLV system. Theory Pract. Log. Program. 8(5–6), 545–580 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  9. Ferraris, P.: Answer sets for propositional theories. In: Baral, C., Greco, G., Leone, N., Terracina, G. (eds.) LPNMR 2005. LNCS (LNAI), vol. 3662, pp. 119–131. Springer, Heidelberg (2005). doi:10.1007/11546207_10

    Chapter  Google Scholar 

  10. Ferraris, P.: Logic programs with propositional connectives and aggregates. ACM Trans. Comput. Log. 12(4), 25 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  11. Ferraris, P., Lee, J., Lifschitz, V.: A new perspective on stable models. In: Proceedings of the Twentieth International Joint Conference on Artificial Intelligence (IJCAI 2007), pp. 372–379. AAAI/MIT Press (2007)

    Google Scholar 

  12. Gebser, M., Kaufmann, B., Schaub, T.: Conflict-driven answer set solving: from theory to practice. Artif. Intell. 187–188, 52–89 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  13. Gelfond, M., Lifschitz, V.: The stable model semantics for logic programming. In: Proceedings of the Fifth International Conference and Symposium of Logic Programming (ICLP 1988), pp. 1070–1080. MIT Press (1988)

    Google Scholar 

  14. Gelfond, M., Zhang, Y.: Vicious circle principle and logic programs with aggregates. Theory Pract. Log. Program. 14(4–5), 587–601 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  15. Harrison, A., Lifschitz, V., Truszczynski, M.: On equivalence of infinitary formulas under the stable model semantics. Theory Pract. Log. Program. 15(1), 18–34 (2015)

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  17. Pearce, D.: A new logical characterisation of stable models and answer sets. In: Dix, J., Pereira, L.M., Przymusinski, T.C. (eds.) NMELP 1996. LNCS, vol. 1216, pp. 57–70. Springer, Heidelberg (1997). doi:10.1007/BFb0023801

    Chapter  Google Scholar 

  18. Pearce, D.: Equilibrium logic. Ann. Math. Artif. Intell. 47(1–2), 3–41 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  19. Pelov, N., Denecker, M., Bruynooghe, M.: Well-founded and stable semantics of logic programs with aggregates. Theory Pract. Log. Program. 7(3), 301–353 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  20. Simons, P., Niemel, I., Soininen, T.: Extending and implementing the stable model semantics. Artif. Intell. 138(1–2), 181–234 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  21. Son, T., Pontelli, E.: A constructive semantic characterization of aggregates in answer set programming. Theory Pract. Log. Program. 7(3), 355–375 (2007)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Torsten Schaub .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Cabalar, P., Fandinno, J., Schaub, T., Schellhorn, S. (2017). Gelfond-Zhang Aggregates as Propositional Formulas. In: Balduccini, M., Janhunen, T. (eds) Logic Programming and Nonmonotonic Reasoning. LPNMR 2017. Lecture Notes in Computer Science(), vol 10377. Springer, Cham. https://doi.org/10.1007/978-3-319-61660-5_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-61660-5_12

  • Published:

  • Publisher Name: Springer, Cham

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

  • Online ISBN: 978-3-319-61660-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics