首页> 外文OA文献 >Relating logic programs via program maps
【2h】

Relating logic programs via program maps

机译:通过程序映射关联逻辑程序

摘要

This paper presents a mathematical theory underlying a systematic method for constructing Prolog programs called stepwise enhancement. Stepwise enhancement dictates building a program starting with a skeleton program which constitutes the basic control flow for the problem to be solved, and adding extra computations to the skeleton program by using well-understood programming techniques. Each extra computation can be developed independently, and the separate enhancements combined to produce the final program. While intuition and motivation have focused on Prolog, the methods are applicable to logic programming languages more generally. The central concept in our mathematical theory for stepwise enhancement is that of a program map between two logic programs. Our definition of a program map from an enhancement to its skeleton guarantees the lifting of computations, the essence of the enhancement methodology. In this paper, we give definitions of program map and extensions, show that the definitions preserve the property of computations lifting, give examples of extensions and programming techniques which generate them, and point to directions for future work.
机译:本文介绍了一种数学理论,该理论为构建Prolog程序的系统方法(称为逐步增强)奠定了基础。逐步增强要求从框架程序开始构建程序,该程序构成要解决的问题的基本控制流程,并通过使用易于理解的编程技术为框架程序添加额外的计算。可以独立开发每个额外的计算,并且可以组合单独的增强功能以​​生成最终程序。尽管直觉和动机集中在Prolog上,但是这些方法更普遍地适用于逻辑编程语言。在我们的数学理论中,逐步增强的核心概念是两个逻辑程序之间的程序映射。我们从增强功能到其框架的程序映射定义保证了计算的提升,这是增强方法的本质。在本文中,我们给出了程序映射和扩展的定义,表明了这些定义保留了计算提升的属性,给出了生成扩展的示例和扩展技术,并指出了未来工作的方向。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号