首页> 外文期刊>Journal of Logic and Algebraic Programming >Semantics of structured normal logic programs
【24h】

Semantics of structured normal logic programs

机译:结构化普通逻辑程序的语义

获取原文
获取原文并翻译 | 示例

摘要

In this paper we provide semantics for normal logic programs enriched with structuring mechanisms and scoping rules. Specifically, we consider constructive negation and expressions of the form Q (>) G in goals, where Q is a program unit, G is a goal and (>) stands for the so-called embedded implication. Allowing the use of these expressions can be seen as adding block structuring to logic programs. In this context, we consider static and dynamic rules for visibility in blocks. In particular, we provide new semantic definitions for the class of normal logic programs with both visibility rules. For the dynamic case we follow a standard approach. We first propose an operational semantics. Then, we define a model-theoretic semantics in terms of ordered structures which are a kind of intuitionistic Beth structures. Finally, an (effective) fixpoint semantics is provided and we prove the equivalence of these three definitions. In order to deal with the static case, we first define an operational semantics and then we present an alternative semantics in terms of a transformation of the given structured programs into flat ones. We finish by showing that this transformation preserves the computed answers of the given static program.
机译:在本文中,我们为普通逻辑程序提供了语义,这些逻辑程序丰富了结构化机制和作用域规则。具体来说,我们考虑目标中形式为Q(>)G的构造式否定和表达式,其中Q是程序单位,G是目标,(>)代表所谓的嵌入式含义。允许使用这些表达式可以看作是向逻辑程序添加了块结构。在这种情况下,我们考虑块的可见性的静态和动态规则。特别是,我们为具有两种可见性规则的常规逻辑程序类提供了新的语义定义。对于动态情况,我们遵循标准方法。我们首先提出一种操作语义。然后,我们根据有序结构定义了模型理论语义,其中有序结构是一种直觉的贝丝结构。最后,提供了(有效的)定点语义,我们证明了这三个定义的等效性。为了处理静态情况,我们首先定义一个操作语义,然后在将给定的结构化程序转换为平面程序方面提出一种替代语义。我们通过显示此转换保留给定静态程序的计算得出的答案来完成操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号