Affiliation:
1. Computer Science Department, Stony Brook University. Stony Brook, NY 11794-2424 USA
Abstract
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.
Publisher
Oxford University Press (OUP)
Subject
Logic,Hardware and Architecture,Arts and Humanities (miscellaneous),Software,Theoretical Computer Science
Reference25 articles.
1. Logic programming and negation: a survey;Apt;Journal of Logic Programming,1994
2. Towards a theory of declarative knowledge;Apt,1988
3. Logic Programming and Databases
4. Constructive negation based on the completed database;Chan,1988
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Convergence of datalog over (Pre-) Semirings;Journal of the ACM;2024-04-10
2. Incremental Computation: What Is the Essence? (Invited Contribution);Proceedings of the 2024 ACM SIGPLAN International Workshop on Partial Evaluation and Program Manipulation;2024-01-11
3. Integrating Logic Rules with Everything Else, Seamlessly;Theory and Practice of Logic Programming;2023-07
4. Convergence of Datalog over (Pre-) Semirings;ACM SIGMOD Record;2023-06-07
5. Proof-Theoretic Foundations of Normal Logic Programs;Analysis, Verification and Transformation for Declarative Programming and Intelligent Systems;2023