A.1 Proofs for Chapter 4 — Theory Reasoning 235
selected branch in D in Q
i
. Since D is a refutation, at some stage j>i
the instance [p
i
σ
i
···σ
j−1
] must be selected in D, where σ
i
···σ
j−1
are the
substitutions used in the intermediate inferences. By applying the Switching
Lemma (Lemma A.1.11) j − i times, the branch [p
i
σ
i
···σ
j−1
] can stepwisely
be moved backwards until it is selected as [p
i
]inQ
i
.
Concerning the stated property of the computed answer recall that the
members of the computed answer consists of (1) the literals of the start
clause and (2) of the literals of the query used as extending clauses. Now,
the switching lemma gives us a δ
0
such that Q
0
l
δ
0
= Q
l
, where Q
0
l
is the
concluding (closed) tableau in the switched refutation, say D
0
. Hence, in
particular Q
0
1
δ
0
= Q
1
where Q
1
(resp. Q
0
1
is (without loss of generality) the
start clause in D (resp. D
0
). Concerning the usage of ← Q as extending
clauses we also learn from the switching lemma that the extending clauses in
D
0
are the same as those of D, and their final instantiations along D
0
can be
mapped by δ into the respective final instantiations in D (in fact, these are
variants). Hence, in particular {Q
0
1
,... ,Q
0
l
}δ
0
= {Q
1
,... ,Q
l
}.
Notice that D
0
is one more step in accordance with c as D. Further, since
the Switching Lemma preserves the length of derivations, repeated applica-
tion of this procedure terminates and finally results in the desired refutation
wrt. c.
A.1.2 Ground Completeness of PTME-I
This section is devoted to the critical lemma in the proof of Theorem 4.5.3.
The crucial point is how to transform a single TTME-MSR-Ext step into a
sequence of PTME-I steps.
Lemma A.1.12. Let I be a ground complete inference system wrt. a theory
T (cf. Def. 4.5.6). Suppose a ground TTME-MSR-Ext inference
P`
[q],K,{|C
1
,... ,C
n
|}
P
0
as given, where P and P
0
are ground branch sets and C
1
,... ,C
n
are ground
clauses from M . Furthermore suppose there are continuations (cf. Def. A.1.1)
C
P
and C
P
0
wrt. M of P and P
0
, respectively, with C
P
C
P
0
.
Then there is a sequence (P
0
= P) `···`P
l
of ground branch sets such
that for j =1...l, P
j
is obtained by a PTME-I
g
step from P
j−1
, where I
g
consists of all ground instances of all inference rules in I.
The extending clauses in these steps are all taken from {C
1
,... ,C
n
}, and
furthermore there is a continuation C
P
l
of P
l
with C
P
C
P
l
C
P
0
.
It is possible that the branch set P
l
consists of more branches than the
corresponding P
0
, but every branch in P
0
is contained with possibly some
extra branch literals in P
l
.