STRUCTURING LOGIC PROGRAMS - A MODAL APPROACH

被引:12
|
作者
GIORDANO, L [1 ]
MARTELLI, A [1 ]
机构
[1] UNIV TORINO,DIPARTIMENTO INFORMAT,I-10149 TURIN,ITALY
来源
JOURNAL OF LOGIC PROGRAMMING | 1994年 / 21卷 / 02期
关键词
Clause bodies - Dynamic visibility rules - Lexical visibility rules - Structuring constructs;
D O I
10.1016/0743-1066(94)90001-9
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Extensions of logic programming languages with structuring constructs have been extensively studied in the last years. A particularly clean approach consists in allowing implication goals to occur in goals and in clause bodies. Implication goals are implications of the form D double-line arrow pointing right G, where D is a set of clauses and G is a goal. The clauses in D are intended to be local to G, as they can be used only in the proof of G. So implication goals can be regarded as blocks of conventional programming languages and such an extension provides different kinds of block structured languages according to the visibility rules chosen for the local clauses. The choices are mainly two: either lexical (static) visibility rules or dynamic visibility rules. A further distinction can be made between closed and open blocks. In this paper we aim at showing that modal logic provides a unifying framework in which different logical languages with blocks and modules can be expressed. We show this by interpreting the different block languages within modal logic S4. Moreover, we will consider different kinds of modules that can be defined from blocks by introducing some syntactic sugar and compare them to other proposals in the literature.
引用
收藏
页码:59 / 94
页数:36
相关论文
共 50 条
  • [21] A FIXPOINT APPROACH TO DECLARATIVE SEMANTICS OF LOGIC PROGRAMS
    DUNG, PM
    KANCHANASUT, K
    LOGIC PROGRAMMING : PROCEEDINGS OF THE NORTH AMERICAN CONFERENCE, 1989, VOL 1-2, 1989, : 604 - 625
  • [22] An algebraic approach to sharing analysis of logic programs
    Codish, M
    Lagoon, V
    Bueno, F
    JOURNAL OF LOGIC PROGRAMMING, 2000, 42 (02): : 111 - 149
  • [23] Anonymity, Privacy, Onymity, and Identity: A Modal Logic Approach
    Tsukada, Yasuyuki
    Mano, Ken
    Sakurada, Hideki
    Kawabe, Yoshinobu
    TRANSACTIONS ON DATA PRIVACY, 2010, 3 (03) : 177 - 198
  • [24] A new approach to hybrid probabilistic logic programs
    Emad Saad
    Enrico Pontelli
    Annals of Mathematics and Artificial Intelligence, 2007, 50 : 417 - 418
  • [25] An abstract interpretation approach to termination of logic programs
    Gori, R
    LOGIC FOR PROGRAMMING AND AUTOMATED REASONING, PROCEEDINGS, 2000, 1955 : 362 - 380
  • [26] A new approach to hybrid probabilistic logic programs
    Saad, Emad
    Pontelli, Enrico
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2007, 50 (3-4) : 417 - 418
  • [27] A new approach to hybrid probabilistic logic programs
    Emad Saad
    Enrico Pontelli
    Annals of Mathematics and Artificial Intelligence, 2006, 48 : 187 - 243
  • [28] A new approach to hybrid probabilistic logic programs
    Saad, Emad
    Pontelli, Enrico
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2006, 48 (3-4) : 187 - 243
  • [29] On a Graded Modal Logic Approach to Reason with Fuzzy Preferences
    Esteva, Francesc
    Godo, Lluis
    Vidal, Amanda
    RECENT ADVANCES IN ARTIFICIAL INTELLIGENCE RESEARCH AND DEVELOPMENT, 2017, 300 : 86 - 95
  • [30] A NEW FOUR-VALUED APPROACH TO MODAL LOGIC
    Beziau, Jean-Yves
    LOGIQUE ET ANALYSE, 2011, (213) : 109 - 121