Logic program diagnosis from specifications:

Abstract: "This paper presents a framework for locating bugs of Prolog programs from specifications. To be debugged, each predicate is specified by a set of universal formulas either of the form [formula] or of the form [formula]. The system generates each test case by executing the antecedant...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Format: Buch
Sprache:English
Veröffentlicht: Tokyo, Japan 1989
Schriftenreihe:Shin-Sedai-Konpyūta-Gijutsu-Kaihatsu-Kikō <Tōkyō>: ICOT technical report 447
Schlagworte:
Zusammenfassung:Abstract: "This paper presents a framework for locating bugs of Prolog programs from specifications. To be debugged, each predicate is specified by a set of universal formulas either of the form [formula] or of the form [formula]. The system generates each test case by executing the antecedant [sic] part of such a formula and checks the test case by executing the consequence part under the answer substitution just obtained. If the latter execution cannot succeed without instantiating the variables, it turns out that either the execution of atom A (in the consequence part) under the answer substitution has failed unexpectedly, or the execution of atom A (in the antecedant [sic] part) under the answer substitution has succeeded unexpectedly
Then, the system locates the bug using the specifications by checking whether each subcomputation has proceeded as intended while tracing the execution of the atom in a top-down manner. Our approach is a generalization of both the bug location algorithm in Shapiro's 'Algorithmic Debugging' and that in Dershowitz-Lee's 'Deductive Debugging.' The relation between the generation of test cases and the verification of logic programs is discussed as well.
Beschreibung:40 S.