RECURRENCE DOMAINS - THEIR UNIFICATION AND APPLICATION TO LOGIC PROGRAMMING

被引:4
|
作者
CHEN, H
HSIANG, J
机构
[1] NATL TAIWAN UNIV, DEPT COMP SCI, TAIPEI 10764, TAIWAN
[2] SUNY STONY BROOK, DEPT COMP SCI, STONY BROOK, NY 11794 USA
关键词
D O I
10.1006/inco.1995.1140
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we present a formalism for finitely representing infinite sets of terms. This formalism, called rho-terms, enables us to reason finitely about certain recursive types. We present an extension of Horn logic programs, called rho-Prolog, which allows a finite schematization of infinitely many clauses via predicates with rho-terms as arguments. We show that for every rho-Prolog program there is an equivalent Horn logic program. That is, incorporating rho-terms into first order logic programming does not change its denotational semantics. Computationally, however, rho-Prolog has the advantages of (1) representing infinitely many answers finitely, (2) avoiding repetition in computation and thus achieving better efficiency, (3) allowing infinite queries, and (4) avoiding certain kinds of non-termination of Prolog programs. The rho-terms play a similar role to regular-trees and sort-expressions in explicitly defining abstract data types. It differs from the others in that it allows us to define certain non-regular-tree sets such as {(a(n), b(n), c(n)): n epsilon N}. We present a finite and complete algorithm for unification between rho-terms, with which we can also compute the intersections of the sets defined by rho-terms. (C) 1995 Academic Press, Inc.
引用
收藏
页码:45 / 69
页数:25
相关论文
共 50 条
  • [1] LOGIC PROGRAMMING WITH RECURRENCE DOMAINS
    CHEN, H
    JIEH, HN
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1991, 510 : 20 - 34
  • [2] NARROWER - A NEW ALGORITHM FOR UNIFICATION AND ITS APPLICATION TO LOGIC PROGRAMMING
    RETY, P
    KIRCHNER, C
    KIRCHNER, H
    LESCANNE, P
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1985, 202 : 141 - 157
  • [3] DOMAINS FOR LOGIC PROGRAMMING
    FILIPPENKO, I
    MORRIS, FL
    [J]. THEORETICAL COMPUTER SCIENCE, 1992, 94 (01) : 63 - 99
  • [4] Unification of arrays in spreadsheets with logic programming
    Cox, Philip T.
    Nicholson, Patrick
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PROCEEDINGS, 2008, 4902 : 100 - 115
  • [5] Selective Unification in (Constraint) Logic Programming
    Mesnard, Fred
    Payet, Etienne
    Vidal, German
    [J]. FUNDAMENTA INFORMATICAE, 2020, 177 (3-4) : 359 - 383
  • [6] Selective Unification in Constraint Logic Programming
    Mesnard, Fred
    Payet, Etienne
    Vidal, German
    [J]. PROCEEDINGS OF THE 19TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING (PPDP 2017), 2017, : 115 - 126
  • [7] UNIFICATION AS A COMPLEXITY MEASURE FOR LOGIC PROGRAMMING
    ITAI, A
    MAKOWSKY, JA
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1987, 4 (02): : 105 - 117
  • [8] Constraint Logic Programming over Infinite Domains with an Application to Proof
    Krings, Sebastian
    Leuschel, Michael
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (234): : 73 - 87
  • [9] Logic programming in knowledge domains
    Mantsivoda, Andrei
    Lipovchenko, Vladimir
    Malykh, Anton
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 : 451 - 452
  • [10] EXTENDED UNIFICATION ALGORITHMS FOR THE INTEGRATION OF FUNCTIONAL PROGRAMMING INTO LOGIC PROGRAMMING
    DINCBAS, M
    VANHENTENRYCK, P
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1987, 4 (03): : 199 - 227