DocumentCode :
2401712
Title :
On transformation of logic specifications into procedural programs
Author :
Lin, Janet M. ; Juang, J.Y. ; Yau, Stephen S.
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Northwestern Univ., Evanston, IL, USA
fYear :
1989
fDate :
23-25 Oct 1989
Firstpage :
274
Lastpage :
281
Abstract :
A method for transforming a source program expressed as a set of Horn clauses into a target program in an Algol-like procedural language is presented. Compared with deterministic execution of a conventional program, the top-down procedural interpretation of a Horn clause program is inherently nondeterministic. This transformation method is aimed at removing certain types of nondeterministic in a Horn clause program via a variable-dependence analysis and a procedure formation scheme. It is assumed that the input/output mode information for each predicate in the Horn clause is known in advance and that each predicate is used unidirectionally, i.e. each argument in the argument list of a predicate is used either as an input or an output, but not both. Therefore, the Horn clauses treated by this method represent only a subclass of the general Horn logic clauses. During the transformation process, the method is also capable of discovering inconsistent or missing information in the source program
Keywords :
formal specification; logic programming; program interpreters; Algol-like procedural language; Horn clauses; logic specifications; missing information; procedural programs; procedure formation scheme; source program; target program; top-down procedural interpretation; variable-dependence analysis; Logic programming; Problem-solving;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Tools for Artificial Intelligence, 1989. Architectures, Languages and Algorithms, IEEE International Workshop on
Conference_Location :
Fairfax, VA
Print_ISBN :
0-8186-1984-8
Type :
conf
DOI :
10.1109/TAI.1989.65331
Filename :
65331
Link To Document :
بازگشت