Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-08T20:11:34.613Z Has data issue: false hasContentIssue false

Parametric Modular Answer Set Programs Made Declarative

Published online by Cambridge University Press:  29 June 2026

JORGE FANDINNO
Affiliation:
Computer Science, University of Nebraska Omaha, USA (e-mails: jfandinno@unomaha.edu, ylierler@unomaha.edu)
YULIYA LIERLER
Affiliation:
Computer Science, University of Nebraska Omaha, USA (e-mails: jfandinno@unomaha.edu, ylierler@unomaha.edu)
TORSTEN SCHAUB
Affiliation:
Institut für Informatik und Computational Science, University of Potsdam, Germany (e-mail: torsten@cs.uni-potsdam.de)
Rights & Permissions [Opens in a new window]

Abstract

In this paper, we explore the concept of modularity in first-order answer set programming (ASP). We introduce a new formalism called parametric modular logic programs, which allows defining subprograms with parameters and intensionality statements. We demonstrate how this formalism can capture the semantics of clingo-programs with collective control, a feature that enables structuring and instantiating subprograms. We provide theoretical foundations for modular ASP, illustrate its usefulness, and connect to traditional non-modular ASP.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Listing 1. The property parametric-program

Figure 1

Listing 2. The implementation of control (A)