A semantics for modular general logic programs

被引:1
|
作者
Etalle, S
机构
[1] Univ Amsterdam, Fac WINS, NL-1098 SJ Amsterdam, Netherlands
[2] Univ Genoa, Dept Comp Sci, I-16126 Genoa, Italy
关键词
logic programming; modularity; open programs; negation; semantics; constraint logic programming;
D O I
10.1016/S0304-3975(97)00191-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Modular programs are built as a combination of separate modules, which may be developed and verified separately. Therefore, in order to reason over such programs, compositionality plays a crucial role: the semantics of the whole program must be obtainable as a simple function from the semantics of its individual modules. In the field of logic programming, the need for a compositional semantics has been long recognized, however, while for definite (i.e. negation-free) logic programs a few such semantics have been proposed, in the literature of normal logic programs (programs which employ the negation operator), compositionality has received scarce attention. This is mainly due to the fact that normal programs typically have a nonmonotonic behavior, which is difficult to fit in a compositional framework. Here we propose a declarative compositional semantics for general logic programs. First, a compositional semantics for first-order modules is presented and proved correct wrt the set of logical consequences of the module in three-valued logic. In a second stage, the obtained results are applied to modular normal logic programs, obtaining a semantics which is correct with respect to the set of logical consequences of the completion of the program and - in contrast with the other approaches - which is always computable. This semantics might be regarded as a compositional counterpart of Kunen's semantics. Finally we discuss and show how these results have to be modified in order to be applied to normal constraint logic programs. (C) 1998-Elsevier Science B.V. All rights reserved.
引用
收藏
页码:51 / 80
页数:30
相关论文
共 50 条
  • [21] On the semantics of logic programs with preferences
    Greco, Sergio
    Trubitsyna, Irina
    Zumpano, Ester
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2007, 30 : 501 - 523
  • [22] Disjunctive logic and semantics of disjunctive logic programs
    Yidong Shen
    Science in China Series E: Technological Sciences, 1997, 40 : 44 - 53
  • [23] Disjunctive logic and semantics of disjunctive logic programs
    Shen, YD
    SCIENCE IN CHINA SERIES E-TECHNOLOGICAL SCIENCES, 1997, 40 (01): : 44 - 53
  • [24] Disjunctive logic and semantics of disjunctive logic programs
    沈一栋
    Science in China(Series E:Technological Sciences), 1997, (01) : 44 - 53
  • [25] UNFOLD FOLD TRANSFORMATION OF GENERAL LOGIC PROGRAMS FOR THE WELL-FOUNDED SEMANTICS
    SEKI, H
    JOURNAL OF LOGIC PROGRAMMING, 1993, 16 (1-2): : 5 - 23
  • [26] THE RELATIONSHIP BETWEEN STABLE, SUPPORTED, DEFAULT AND AUTOEPISTEMIC SEMANTICS FOR GENERAL LOGIC PROGRAMS
    MAREK, W
    SUBRAHMANIAN, VS
    THEORETICAL COMPUTER SCIENCE, 1992, 103 (02) : 365 - 386
  • [27] FLP answer set semantics without circular justifications for general logic programs
    Shen, Yi-Dong
    Wang, Kewen
    Eiter, Thomas
    Fink, Michael
    Redl, Christoph
    Krennwallner, Thomas
    Deng, Jun
    ARTIFICIAL INTELLIGENCE, 2014, 213 : 1 - 41
  • [28] PROOF THEORY AND SEMANTICS OF LOGIC PROGRAMS
    GAIFMAN, H
    SHAPIRO, E
    FOURTH ANNUAL SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, 1989, : 50 - 62
  • [29] A Logical Semantics for Description Logic Programs
    Fink, Michael
    Pearce, David
    LOGICS IN ARTIFICIAL INTELLIGENCE, JELIA 2010, 2010, 6341 : 156 - 168
  • [30] A NATURAL SEMANTICS FOR LOGIC PROGRAMS WITH NEGATION
    DUNG, PM
    KANCHANASUT, K
    FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE ////, 1989, 405 : 78 - 88