首页> 外文会议>International Symposium on Programming Languages, Implementation, Logics, and Programs >Decidability of Logic Program Semantics and Applications to Testing
【24h】

Decidability of Logic Program Semantics and Applications to Testing

机译:逻辑程序语义和应用的可辨赖性

获取原文

摘要

We consider the decidability problem of logic program semantics, focusing in particular on the least Herbrand model, the least term model and the S-semantics. A declarative characterization is given for a large class of programs whose semantics are decidable sets. In addition, we show how decidability is strongly related to (black box) testing. In our terminology, the testing problem consists of checking whether or not the formal semantics of a program includes a given finite set of atoms. We show that the testing problem for a program is decidable iff its formal semantics is a decidable set. Interestingly, the decision procedure used to check whether an atom belongs to the 5-semantics of a program has a natural implementation in the logic programming paradigm itself, in the form of a Prolog meta-program. Consequently, this provides us with a basic tool for testing. Theory and tools are refined to consider the use of non-standard predicates, such as arithmetic built-in's and the meta-predicate demo.
机译:我们考虑逻辑程序语义的可解除性问题,特别是在最小的Herbrand模型,术语模型和S语义上的最小性。给出了大类程序给出了声明性格,其语义是可解除的集合。此外,我们展示了脱码性如何与(黑匣子)测试密切相关。在我们的术语中,测试问题包括检查程序的形式语义是否包括给定的有限原子。我们表明,程序的测试问题是可判定的IFF其形式的语义是可解除的集合。有趣的是,用于检查Atom是否属于程序的5语义的决策程序在逻辑编程范例本身中具有自然实现,以Prolog元计划的形式。因此,这为我们提供了一个用于测试的基本工具。理论和工具被精致考虑使用非标准谓词,例如算术内置和元谓词演示。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号