Semantics hold transformation for prolog

被引:0
|
作者
Yu, J. [1 ]
机构
[1] College of Info. Sci. and Eng., Huaqiao Univ., 362011, Quanzhou, China
来源
Huaqiao Daxue Xuebao/Journal of Huaqiao University | 2001年 / 22卷 / 01期
关键词
D O I
暂无
中图分类号
学科分类号
摘要
The application of program transformation method to logic program is mainly based on such theory, namely, Fold/Unfold transformation holds the least Herbrand model semantics and the semantics of answer substitution set of logic program. However, when the leftmost computing rule and depth-first searching rule of standard Prolog systems are adopted for implementing logic programs, the semantics of original program cannot necessarily be held by transformed program. Moreover, the proof of semantic equivalence of the program is often difficult to understand and to read. By the style of algorithm for computing answer substitution sequence relating to the node of leaves in SLD-tree, the author puts forward a semantics definition of Prolog which is not difficult to understand; and then, gives the rules for semantics hold transformation and offers proof.
引用
收藏
页码:100 / 104
相关论文
共 50 条
  • [1] SEMANTICS PRESERVING TRANSFORMATION RULES FOR PROLOG
    PROIETTI, M
    PETTOROSSI, A
    SIGPLAN NOTICES, 1991, 26 (09): : 274 - 284
  • [2] Resultants semantics for Prolog
    Gabbrielli, M
    Levi, G
    Meo, MC
    JOURNAL OF LOGIC AND COMPUTATION, 1996, 6 (04) : 491 - 521
  • [3] ORACLE SEMANTICS FOR PROLOG
    BARBUTI, R
    CODISH, M
    GIACOBAZZI, R
    MAHER, MJ
    INFORMATION AND COMPUTATION, 1995, 122 (02) : 178 - 200
  • [4] The Semantics of Metaprogramming in Prolog
    Warren, David scott
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2024, 24 (04) : 885 - 900
  • [5] A DENOTATIONAL SEMANTICS FOR PROLOG
    NICHOLSON, T
    FOO, N
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1989, 11 (04): : 650 - 665
  • [6] ORACLE SEMANTICS FOR PROLOG
    BARBUTI, R
    CODISH, M
    GIACOBAZZI, R
    MAHER, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 632 : 100 - 114
  • [7] LOGICAL SEMANTICS AND DENOTATIONAL SEMANTICS OF PROLOG INTERPRETERS
    DELAHAYE, JP
    RAIRO-INFORMATIQUE THEORIQUE ET APPLICATIONS-THEORETICAL INFORMATICS AND APPLICATIONS, 1988, 22 (01): : 3 - 42
  • [8] A SEMANTICS FOR LAMBDA-PROLOG
    WOLFRAM, DA
    THEORETICAL COMPUTER SCIENCE, 1994, 136 (01) : 277 - 289
  • [9] Semantics for Prolog with Cut - Revisited
    Kriener, Jael
    King, Andy
    FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2014, 2014, 8475 : 270 - 284
  • [10] DENOTATIONAL AND OPERATIONAL SEMANTICS FOR PROLOG
    DEBRAY, SK
    MISHRA, P
    JOURNAL OF LOGIC PROGRAMMING, 1988, 5 (01): : 61 - 91