...
【24h】

Modelling Prolog Control

机译:建模 Prolog 控件

获取原文

摘要

The goal of this paper is to construct a semantic basis for the abstract interpretation of Prolog programs. Prolog is a well-known logic programming language which applies a depth-first search strategy in order to provide a practical approximation of Horn clause logic. While pure logic programming has clean fixpoint, model-theoretic and operational semantics the situation for Prolog is different. Difficulties in capturing the declarative meaning of Prolog programs have led to various semantic definitions which attempt to encode the search strategy in different mathematical frameworks. However, semantic based analyses of Prolog are typically achieved by abstracting the more simple but less precise declarative semantics of pure logic programs. We propose instead to model Prolog control in a simple constraint logic language which is presented together with its declarative and operational semantics. This enables us to maintain the usual approach to declarative semantics of logic programs while capturing control aspects such as search strategy and selection rule.
机译:本文的目的是为Prolog程序的抽象解释构建语义基础。Prolog 是一种著名的逻辑编程语言,它应用深度优先搜索策略,以提供 Horn 子句逻辑的实际近似值。虽然纯逻辑编程具有明确的固定点、模型理论和操作语义,但 Prolog 的情况有所不同。难以捕获Prolog程序的声明性含义导致了各种语义定义,这些定义试图在不同的数学框架中对搜索策略进行编码。然而,基于语义的Prolog分析通常是通过抽象纯逻辑程序中更简单但不太精确的声明性语义来实现的。我们建议用一种简单的约束逻辑语言对Prolog控制进行建模,该语言与其声明性和操作语义一起呈现。这使我们能够保持逻辑程序声明语义的常用方法,同时捕获搜索策略和选择规则等控制方面。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号