Abstract
The logical semantics of normal logic programs has traditionally been based on the notions of Clark’s completion and two-valued or three-valued canonical models, including supported, stable, regular, and well-founded models. Two-valued interpretations can also be seen as states evolving under a program’s update operator, producing a transition graph whose fixed points and cycles capture stable and oscillatory behaviors, respectively. We refer to this view as dynamical semantics since it characterizes the program’s meaning in terms of state-space trajectories, as first introduced in the stable (supported) class semantics. Recently, we have established a formal connection between Datalog¬ programs (i.e., normal logic programs without function symbols) and Boolean networks, leading to the introduction of the trap space concept for Datalog¬ programs. In this paper, we generalize the trap space concept to arbitrary normal logic programs, introducing trap space semantics as a new approach to their interpretation. This new semantics admits both model-theoretic and dynamical characterizations, providing a comprehensive approach to understanding program behavior. We establish the foundational properties of the trap space semantics and systematically relate it to the established model-theoretic semantics, including the stable (supported), stable (supported) partial, regular, and L-stable model semantics, as well as to the dynamical stable (supported) class semantics. Our results demonstrate that the trap space semantics offers a unified and precise framework for proving the existence of supported classes, strict stable (supported) classes, and regular models, in addition to uncovering and formalizing deeper relationships among the existing semantics of normal logic programs.
| Original language | English |
|---|---|
| Pages (from-to) | 294-319 |
| Number of pages | 26 |
| Journal | Electronic Proceedings in Theoretical Computer Science, EPTCS |
| Volume | 439 |
| DOIs | |
| Publication status | Published - 1 Jan 2025 |
| Externally published | Yes |
| Event | 41st International Conference on Logic Programming, ICLP 2025 - Rende, Italy Duration: 12 Sept 2025 → 19 Sept 2025 |
Keywords
- Boolean network
- Clark’s completion
- dynamical semantics
- infinite structure
- logic programming
- model-theoretic semantics
- normal logic program
- trap space