English

SM-based Semantics for Answer Set Programs Containing Conditional Literals and Arithmetic

Logic in Computer Science 2025-11-04 v1 Artificial Intelligence Programming Languages

Abstract

Modern answer set programming solvers such as CLINGO support advanced language constructs that improve the expressivity and conciseness of logic programs. Conditional literals are one such construct. They form "subformulas" that behave as nested implications within the bodies of logic rules. Their inclusion brings the form of rules closer to the less restrictive syntax of first-order logic. These qualities make conditional literals useful tools for knowledge representation. In this paper, we propose a semantics for logic programs with conditional literals and arithmetic based on the SM operator. These semantics do not require grounding, unlike the established semantics for such programs that relies on a translation to infinitary propositional logic. The main result of this paper establishes the precise correspondence between the proposed and existing semantics.

Keywords

Cite

@article{arxiv.2511.01753,
  title  = {SM-based Semantics for Answer Set Programs Containing Conditional Literals and Arithmetic},
  author = {Zachary Hansen and Yuliya Lierler},
  journal= {arXiv preprint arXiv:2511.01753},
  year   = {2025}
}

Comments

This version corrects the review of tau for negated atoms, and clarifies the distinction between global and local variables in conditional literals (the supporting proofs are also updated accordingly)