TY - GEN
T1 - SLWV - A theorem prover for logic programming
AU - Pereira, Luís Moniz
AU - Caires, Luis
AU - Alferes, José Júlio
N1 - Publisher Copyright:
© Springer-Verlag Berlin Heidelberg 1993.
PY - 1993
Y1 - 1993
N2 - The purpose of this work is to define a theorem prover that retains the procedural aspects of logic programing. The proof system we propose (SLWV-resolution, for Selected Linear Without contrapositive clause Variants)) is defined for a set of clauses in the hnplicational form (keeping to the form of logic programs), not requiring contrapositives, and has an execution method that respects the execution order of literals in a clause, preserving the procedural flavor of logic programming. SLWV-resolution can be seen as a combination of SL-resolution and case-analysis, which admits a form of linear derivation. We show its soundness and completeness by establishing a one-toone mapping between SLWV and SL derivations which also clarifies the motivation and the method.Our work can be seen as an extension to logic programs that goes beyond normal programs, and thus beyond (positive) definite clause programming, by allowing also definite negative heads. Thus we admit program clauses with both positive and (classically) negated atoms conjoined in the body, and at. most one literal as its head (clauses with disjunctions of literals in the head are transformed into a single clause of that form). As this approach doe.s not require clause contrapositives and admits a leftmost selection function, the implementation can and does preserve the pragmatic procedural reading explicitly provided by the programmer. The implementation, not described here. relies on the source program being preprocessed into directly executable Prolog. Preprocessing keeps the overall program structure untouched, and thus a directly recognizable execution pattern that mimics Prolog is obtained: this is useful in debugging. Additionally, the preprocessing is such that Prolog programs run with negligible overhead. Various program examples and attending derivations are proffered.
AB - The purpose of this work is to define a theorem prover that retains the procedural aspects of logic programing. The proof system we propose (SLWV-resolution, for Selected Linear Without contrapositive clause Variants)) is defined for a set of clauses in the hnplicational form (keeping to the form of logic programs), not requiring contrapositives, and has an execution method that respects the execution order of literals in a clause, preserving the procedural flavor of logic programming. SLWV-resolution can be seen as a combination of SL-resolution and case-analysis, which admits a form of linear derivation. We show its soundness and completeness by establishing a one-toone mapping between SLWV and SL derivations which also clarifies the motivation and the method.Our work can be seen as an extension to logic programs that goes beyond normal programs, and thus beyond (positive) definite clause programming, by allowing also definite negative heads. Thus we admit program clauses with both positive and (classically) negated atoms conjoined in the body, and at. most one literal as its head (clauses with disjunctions of literals in the head are transformed into a single clause of that form). As this approach doe.s not require clause contrapositives and admits a leftmost selection function, the implementation can and does preserve the pragmatic procedural reading explicitly provided by the programmer. The implementation, not described here. relies on the source program being preprocessed into directly executable Prolog. Preprocessing keeps the overall program structure untouched, and thus a directly recognizable execution pattern that mimics Prolog is obtained: this is useful in debugging. Additionally, the preprocessing is such that Prolog programs run with negligible overhead. Various program examples and attending derivations are proffered.
UR - http://www.scopus.com/inward/record.url?scp=84936088127&partnerID=8YFLogxK
U2 - 10.1007/3-540-56454-3_1
DO - 10.1007/3-540-56454-3_1
M3 - Conference contribution
AN - SCOPUS:84936088127
SN - 978-3-540-56454-6
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 1
EP - 23
BT - Extensions of Logic Programming - 3rd International Workshop, ELP 1992, Proceedings
A2 - Lamina, Evelina
A2 - Mello, Paola
PB - Springer
CY - Berlin, Heidelberg
T2 - 3rd International Workshop on Extensions of Logic Programming, ELP 1992
Y2 - 26 February 1992 through 28 February 1992
ER -