User Manual Privacy Policy Disclaimer Contact us
  Advanced SearchBrowse





Logic program synthesis via proof planning


Basin,  David A.
Programming Logics, MPI for Informatics, Max Planck Society;


Bundy,  Alan
Programming Logics, MPI for Informatics, Max Planck Society;

External Ressource
No external resources are shared
Fulltext (public)

(Any fulltext), 102KB

Supplementary Material (public)
There is no public supplementary material available

Kraan, I., Basin, D. A., & Bundy, A.(1992). Logic program synthesis via proof planning (MPI-I-92-244). Saarbrücken: Max-Planck-Institut für Informatik.

Cite as: http://hdl.handle.net/11858/00-001M-0000-0014-B325-D
We propose a novel approach to automating the synthesis of logic programs: Logic programs are synthesized as a by-product of the planning of a verification proof. The approach is a two-level one: At the object level, we prove program verification conjectures in a sorted, first-order theory. The conjectures are of the form $\forall \vec{args}. \; prog(\vec{args}) \leftrightarrow spec(\vec{args})$. At the meta-level, we plan the object-level verification with an unspecified program definition. The definition is represented with a (second-order) meta-level variable, which becomes instantiated in the course of the planning. This technique is an application of the Clam proof planning system. Clam is currently powerful enough to plan verification proofs for given programs. We show that, if Clam's use of middle-out reasoning is extended, it will also be able to synthesize programs.