首页> 外文会议>Australasian Computer Science Conference >A three-valued semantic for horn clause programs
【24h】

A three-valued semantic for horn clause programs

机译:一个三维语义的喇叭子句程序

获取原文
获取外文期刊封面目录资料

摘要

The study of semantics of logic programs has shown strong links between the model theoretic semantics (truth and falsity of atoms in the program flier's interpretation of a program), procedural semantics (for example, SLD resolution) and fixpoint semantics (which is useful for program analysis and alternative execution mechanisms). Nearly all of this work assumes that intended interpretations are two-valued: a ground atom is true (and should succeed according to the procedural semantics) or false (and should not succeed). In reality, in tended interpretations are less precise. Programmers consider that some atoms "should not occur" or are "ill-typed" or "inadmissible". Programmers don't know and don't care whether such atoms succeed. In this paper we propose a three-valued semantics for (essentially) Horn clause programs which reflects this. It is simpler and more flexible than previously proposed type schemes which implicitly recognise this third truth value. It provides tools to reason about correctness of programs without the need for unnatural precision or undue restrictions on programming style. This work has been motivated by work on declarative debugging, where it has been recognised that inadmissible calls are important.
机译:逻辑程序语义的研究表明了模型理论语义(在程序飞行员解释中原子的真实性和原子的真实性)之间的强烈联系,程序语义(例如,SLD分辨率)和FixPoint语义(这对程序很有用)分析和替代执行机制)。几乎所有这项工作都假定预期的解释是双重的:地面原子是真实的(并且应该根据程序语义成功)或假(并且不应该成功)。实际上,在倾向的解释中缺乏精确。程序员认为一些原子“不应发生”或“不可键入”或“不允许”。程序员不知道,并不关心这些原子是否成功。在本文中,我们提出了一种(基本上)的三个有价值的语义,用于反映这一点。它比以前提出的类型方案更简单,更灵活,隐含地识别出这个第三个真值值。它提供了有关计划的正确性的推理,而无需对编程风格的不自然精度或过度限制。这项工作受到宣言调试的工作,据认识到,不允许的电话是重要的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号