| Kaustuv Chaudhuri INRIA Futurs and École Polytechnique France |
| Editor: Enrico Pontelli |
(
is the linear sequent arrow), corresponds to proving the two neutral sequents
and
,
-right rules. The allowable derived rules are as follows, where R is some (positive) proposition.

is a right-positive (resp. right-negative) atom and the square
brackets indicate focus. In the above derived rules, for example, if a is positive on the right, then the derived rules for
are:
is instead replaced with a.
where each pi and q are atoms, is interpreted as a linear implication
Consider a left focus on this implication. If all the atoms are
given negative polarity, then we obtain the following derived inference
rule:
Thus, any derivation constructed from such axioms would have an empty
collection of hypotheses except to have a number of copies of the
Horn-clauses themselves, which may all be derelicted and contracted
with the unrestricted copy of the Horn-clause of the logic program. We
thus end up with just the rule:


g then each R in the derived rules would have to be g, and the initial axiom would be of the form
Reading top-down, we see a strategy that starts with the desired
goal in the context, and in each derived rule selects a literal from
among the current goals in the context that is the head of a
Horn-clause, and replaces it with the body of the clause. This is the
famous SLD-resolution, familiar from top-down logic programming (such
as in Prolog).



there will be exactly i − 1 generated facts about fib.
Sub-derivations will be shared as a matter of course. so the
computational complexity will be linear in length of the answer
substitution.