Founded semantics and constraint semantics of logic rules

被引:7
作者
Liu, Yanhong A. [1 ]
Stoller, Scott D. [1 ]
机构
[1] SUNY Stony Brook, Comp Sci Dept, Stony Brook, NY 11794 USA
关键词
Datalog; recursion; unrestricted negation; existential and universal quantifications; fixed-point semantics; constraints; well-founded semantics; stable model semantics;
D O I
10.1093/logcom/exaa056
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:1609 / 1638
页数:30
相关论文
共 25 条
  • [1] [Anonymous], 1995, FDN DATABASES LOGICA
  • [2] Apt K.R., 1988, THEORY DECLARATIVE K, P89
  • [3] LOGIC PROGRAMMING AND NEGATION - A SURVEY
    APT, KR
    BOL, RN
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1994, 20 (1-3): : 9 - 71
  • [4] Ceri S., 1990, Logic Programming and Databases, DOI [10.1007/978-3-642-83952-8, DOI 10.1007/978-3-642-83952-8_6]
  • [5] Chan D., 1988, Logic Programming: Proceedings of the Fifth International Conference and Symposium, P111
  • [6] HILOG - A FOUNDATION FOR HIGHER-ORDER LOGIC PROGRAMMING
    CHEN, WD
    KIFER, M
    WARREN, DS
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1993, 15 (03): : 187 - 230
  • [7] Clark K. L., 1978, Logic and data bases, P293
  • [8] A logic of nonmonotone inductive definitions
    Denecker, Marc
    Ternovska, Eugenia
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2008, 9 (02)
  • [9] ON THE RELATIONS BETWEEN STABLE AND WELL-FOUNDED SEMANTICS OF LOGIC PROGRAMS
    DUNG, PM
    [J]. THEORETICAL COMPUTER SCIENCE, 1992, 105 (01) : 7 - 25
  • [10] Fixpoint semantics for logic programming a survey
    Fitting, M
    [J]. THEORETICAL COMPUTER SCIENCE, 2002, 278 (1-2) : 25 - 51