Calculating modules in contextual logic program refinement
-
Published:2007-05-15
Issue:01
Volume:8
Page:1-31
-
ISSN:1471-0684
-
Container-title:Theory and Practice of Logic Programming
-
language:en
-
Short-container-title:Theory and Practice of Logic Programming
Author:
COLVIN ROBERT,HAYES IAN J.,STROOPER PAUL
Abstract
AbstractThe refinement calculus for logic programs is a framework for deriving logic programs from specifications. It is based on a wide-spectrum language that can express both specifications and code, and a refinement relation that models the notion of correct implementation. In this paper we extend and generalise earlier work oncontextual refinement. Contextual refinement simplifies the refinement process by abstractly capturing the context of a subcomponent of a program, which typically includes information about the values of the free variables. This paper also extends and generalisesmodule refinement. Amoduleis a collection of procedures that operate on a common data type; module refinement between a specification moduleAand an implementation moduleCallows calls to the procedures ofAto be systematically replaced with calls to the corresponding procedures ofC. Based on the conditions for module refinement, we present a method forcalculatingan implementation module from a specification module. Both contextual and module refinement within the refinement calculus have been generalised from earlier work and the results are presented in a unified framework.
Publisher
Cambridge University Press (CUP)
Subject
Artificial Intelligence,Computational Theory and Mathematics,Hardware and Architecture,Theoretical Computer Science,Software
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献