{log}: A language for programming in logic with finite sets

被引:51
|
作者
Dovier, A [1 ]
Omodeo, EG [1 ]
Pontelli, E [1 ]
Rossi, G [1 ]
机构
[1] UNIV PARMA,DIPARTIMENTO MATEMAT,I-43100 PARMA,ITALY
来源
JOURNAL OF LOGIC PROGRAMMING | 1996年 / 28卷 / 01期
基金
美国国家科学基金会;
关键词
D O I
10.1016/0743-1066(95)00147-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An extended logic programming language is presented, that embodies the fundamental form of set designation based on the (nesting) element insertion operator. The kind of sets to be handled is characterized both by adaptation of a suitable Herbrand universe and via axioms. Predicates is an element of and = designating set membership and equality are included in the base language, along with their negative counterparts is not an element of and not equal. A unification algorithm that can cope with set terms is developed and proved correct and terminating. It is proved that by incorporating this new algorithm into SLD resolution and providing suitable treatment of is an element of, not equal, and is not an element of as constraints, one obtains a correct management of the distinguished set predicates. Restricted universal quantifiers are shown to be programmable directly in the extended language and thus are added to the language as a convenient syntactic extension. A similar solution is shown to be applicable to intensional set-formers, provided either a built-in set collection mechanism-or some form of negation in goals and clause bodies is made available.
引用
收藏
页码:1 / 44
页数:44
相关论文
共 50 条
  • [1] {log}: a language for programming in logic with finite sets
    Universita di Parma, Parma, Italy
    J Logic Program, 1 (1-44):
  • [2] A language for programming logic with finite sets
    Dovier, Agostino
    Omodeo, Eugenio G.
    Pontelli, Enrico
    Rossi, Gianfranco
    Journal of Logic Programming, 1996, 28 (01):
  • [3] LOGIC PROGRAMMING WITH SETS
    KUPER, GM
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1990, 41 (01) : 44 - 64
  • [4] Logic programming with infinite sets
    Cenzer, D
    Remmel, JB
    Marek, VW
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2005, 44 (04) : 309 - 339
  • [5] Sets and constraint logic programming
    Dovier, A
    Piazza, C
    Pontelli, E
    Rossi, G
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2000, 22 (05): : 861 - 931
  • [6] Logic programming with infinite sets
    Douglas Cenzer
    Jeffrey B Remmel
    Victor W. Marek
    Annals of Mathematics and Artificial Intelligence, 2005, 44 : 309 - 339
  • [7] LOGIC ON FINITE STRUCTURES AND LOGIC PROGRAMMING
    DEROUGEMONT, M
    COMPUTERS AND ARTIFICIAL INTELLIGENCE, 1986, 5 (06): : 465 - 477
  • [8] LOGIC META-PROGRAMMING FACILITIES IN LOG
    CERVESATO, I
    ROSSI, GF
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 649 : 148 - 161
  • [9] A logic programming framework for rough sets
    Vitória, A
    Maluszynski, J
    ROUGH SETS AND CURRENT TRENDS IN COMPUTING, PROCEEDINGS, 2002, 2475 : 205 - 212
  • [10] ENGLISH AS A LOGIC PROGRAMMING LANGUAGE
    KOWALSKI, R
    NEW GENERATION COMPUTING, 1990, 8 (02) : 91 - 93