The synthesis of logic programs from inductive proofs:

Abstract: "We describe a technique for synthesising logic (Prolog) programs from non-executable specifications. This technique is adapted from one for synthesising functional programs as total functions. Logic programs, on the other hand, define predicates. They can be run in different input mo...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Bundy, Alan (VerfasserIn), Smaill, Alan (VerfasserIn), Wiggins, Geraint (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Edinburgh 1990.
Schriftenreihe:University <Edinburgh> / Department of Artificial Intelligence: DAI research paper 501
Schlagworte:
Zusammenfassung:Abstract: "We describe a technique for synthesising logic (Prolog) programs from non-executable specifications. This technique is adapted from one for synthesising functional programs as total functions. Logic programs, on the other hand, define predicates. They can be run in different input modes, they sometimes produce multiple outputs and sometimes none. They may not terminate. The key idea of the adaptation is that a predicate is a total function in the all-ground mode, i.e. when all its arguments are inputs (pred(+,...,+) in Prolog notation). The program is synthesised as a function in this mode and then run in other modes
To make the technique work it is necessary to synthesise pure logic programs, without the closed world assumption, and then compile these into Prolog programs. The technique has been tested on the OYSTER (functional) program development system.
Beschreibung:13 S.