We investigate the properties of logic programs with aggregates. We mainly focus on programs with monotone and antimonotone aggregates (LPAma programs). We define a new notion of unfounded set for LPAma programs, and prove that it is a sound generalization of the standard notion of unfounded set for aggregate-free programs. We show that the answer sets of an LPAma program are precisely its unfounded-free models.We define a well-founded operator WP for LPAma programs; we prove that its total fixpoints are precisely the answer sets of P, and its least fixpoint WP() is contained in the intersection of all answer sets (if P admits an answer set). WP() is efficiently computable, and for aggregate-free programs it coincides with the well-founded model.We carry out an in-depth complexity analysis in the general framework, including also nonmonotone aggregates. We prove that monotone and antimonotone aggregates do not increase the complexity of cautious reasoning, which remains in co-NP. Nonmonotone aggregates, instead, do increase the complexity by one level in the polynomial hierarchy. Our results allow also to generalize and speedup ASP systems with aggregates.

Declarative and Computational Properties of Logic Programs with Aggregates

CALIMERI, Francesco;FABER, WOLFGANG;LEONE, Nicola;PERRI, Simona
2005-01-01

Abstract

We investigate the properties of logic programs with aggregates. We mainly focus on programs with monotone and antimonotone aggregates (LPAma programs). We define a new notion of unfounded set for LPAma programs, and prove that it is a sound generalization of the standard notion of unfounded set for aggregate-free programs. We show that the answer sets of an LPAma program are precisely its unfounded-free models.We define a well-founded operator WP for LPAma programs; we prove that its total fixpoints are precisely the answer sets of P, and its least fixpoint WP() is contained in the intersection of all answer sets (if P admits an answer set). WP() is efficiently computable, and for aggregate-free programs it coincides with the well-founded model.We carry out an in-depth complexity analysis in the general framework, including also nonmonotone aggregates. We prove that monotone and antimonotone aggregates do not increase the complexity of cautious reasoning, which remains in co-NP. Nonmonotone aggregates, instead, do increase the complexity by one level in the polynomial hierarchy. Our results allow also to generalize and speedup ASP systems with aggregates.
2005
0938075934
answer set programming; aggregates; artificial intelligence; nonmonotonic reasoning
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11770/180027
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 31
  • ???jsp.display-item.citation.isi??? 13
social impact