Abstract
This paper presents a mathematical theory underlying a systematic method for constructingProlog programs calledstepwise enhancement. Stepwise enhancement dictates building a program starting with askeleton 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 onProlog, 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.
Similar content being viewed by others
References
L. Sterling and R. Beer, Meta-interpreters for expert systems, J. Logic Progr. 6(1989)163–178.
A. Lakhotia and L. Sterling, A method for incremental programming,Proc. Skokie Conf. on Software Engineering, Skokie, IL, (June 1990).
A.J. Power and L. Sterling, A notion of map between logic programs,Proc. 7th Int. Conf. on Logic Programming, ed. D.H.D. Warren and P. Szeredi (MIT Press, 1990) pp. 390–404.
J.W. Lloyd,Foundations of Logic Programming (Springer, 1984).
M. Kirschenbaum and L. Sterling, Refinement strategies for inductive learning of simple Prolog programs,Proc. 12th IJCAI, Australia (1991).
L. Sterling and A. Lakhotia, Composing Prolog meta-interpreters,Proc. 5th Int. Conf. on Logic Programming, ed. K. Bowen and R. Kowalski (MIT Press, 1988) pp. 386–403.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Kirschenbaum, M., Sterling, L. & Jain, A. Relating logic programs via program maps. Ann Math Artif Intell 8, 229–245 (1993). https://doi.org/10.1007/BF01530791
Issue Date:
DOI: https://doi.org/10.1007/BF01530791