English

On the Foundations of Grounding in Answer Set Programming

Artificial Intelligence 2022-07-26 v3

Abstract

We provide a comprehensive elaboration of the theoretical foundations of variable instantiation, or grounding, in Answer Set Programming (ASP). Building on the semantics of ASP's modeling language, we introduce a formal characterization of grounding algorithms in terms of (fixed point) operators. A major role is played by dedicated well-founded operators whose associated models provide semantic guidance for delineating the result of grounding along with on-the-fly simplifications. We address an expressive class of logic programs that incorporates recursive aggregates and thus amounts to the scope of existing ASP modeling languages. This is accompanied with a plain algorithmic framework detailing the grounding of recursive aggregates. The given algorithms correspond essentially to the ones used in the ASP grounder gringo.

Keywords

Cite

@article{arxiv.2108.04769,
  title  = {On the Foundations of Grounding in Answer Set Programming},
  author = {Roland Kaminski and Torsten Schaub},
  journal= {arXiv preprint arXiv:2108.04769},
  year   = {2022}
}

Comments

unpublished draft

R2 v1 2026-06-24T04:59:44.623Z