Abstract
Logic rules and inference are fundamental in computer science and have been studied extensively. However, prior semantics of logic languages can have subtle implications and can disagree significantly, on even very simple programs, including in attempting to solve the well-known Russell's paradox. These semantics are often non-intuitive and hard-to-understand when unrestricted negation is used in recursion. This paper describes a simple new semantics for logic rules, founded semantics, and its straightforward extension to another simple new semantics, constraint semantics, that unify the core of different prior semantics. The new semantics support unrestricted negation, as well as unrestricted existential and universal quantifications. They are uniquely expressive and intuitive by allowing assumptions about the predicates, rules and reasoning to be specified explicitly, as simple and precise binary choices. They are completely declarative and relate cleanly to prior semantics. In addition, founded semantics can be computed in linear time in the size of the ground program.
| Original language | English |
|---|---|
| Pages (from-to) | 1609-1668 |
| Number of pages | 60 |
| Journal | Journal of Logic and Computation |
| Volume | 30 |
| Issue number | 8 |
| DOIs | |
| State | Published - Dec 1 2020 |
Keywords
- Constraints
- Datalog
- Existential and universal quantifications
- Fixed-point semantics
- Recursion
- Stable model semantics
- Unrestricted negation
- Well-founded semantics
Fingerprint
Dive into the research topics of 'Founded semantics and constraint semantics of logic rules'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver