Definition 1578
A term is defined inductively as follows:
Definition 1579
A formula is defined inductively as follows:
Definition 1580
A literal is an atom or the negation of an atom. A positive literal is an atom. A negative literal is the negation of an atom.
Definition 1587
If q is a positive literal, p1, p2, ..., pn are literals, , then
q :- p1, p2, ..., pn.
is a rule. Atom q is called the head, and p1, p2, ..., pn combined is called the body of this rule.