next up previous contents index
Next: The Intuition behind Stratified Up: Using Tabling in XSB: Previous: Table Directives and Declarations   Contents   Index


Stratified Normal Programs

Normal programs extend definite programs to include default negation, which posits a fact as false if all attempts to prove it fail. As shown in Example 1.0.1, which presented one of Russell's paradoxes as a logic program, the addition of default negation allows logic programs to express contradictions. As a result, some assertions, such as shaves(barber,barber) may be undefined, although other facts, such as shaves(barber,mayor) may be true. Formally, the meaning of normal programs may be given using the well-founded semantics and it is this semantics that XSB adopts for negation.



Subsections

Baoqiu Cui
2000-04-23