English

Grounding Recursive Aggregates: Preliminary Report

Artificial Intelligence 2016-03-15 v1 Databases

Abstract

Problem solving in Answer Set Programming consists of two steps, a first grounding phase, systematically replacing all variables by terms, and a second solving phase computing the stable models of the obtained ground program. An intricate part of both phases is the treatment of aggregates, which are popular language constructs that allow for expressing properties over sets. In this paper, we elaborate upon the treatment of aggregates during grounding in Gringo series 4. Consequently, our approach is applicable to grounding based on semi-naive database evaluation techniques. In particular, we provide a series of algorithms detailing the treatment of recursive aggregates and illustrate this by a running example.

Keywords

Cite

@article{arxiv.1603.03884,
  title  = {Grounding Recursive Aggregates: Preliminary Report},
  author = {Martin Gebser and Roland Kaminski and Torsten Schaub},
  journal= {arXiv preprint arXiv:1603.03884},
  year   = {2016}
}

Comments

21 pages, 7 figures, preliminary version appeared at GTTV'15

R2 v1 2026-06-22T13:09:26.326Z