For predicate logic, we need several additional axioms and rules. The axioms are all fairly straightforward. We have, first of all, three axioms (actually axiom schemata) for identity:
Notice that the first axiom corresponds to B&E's rule of
Intro, and the other two axioms correspond to B&E's rule of
Elim. Given the way the quantifier rules work, we will be able to get from
to
, and from there to
for any term
(subject to certain substitutability requirements), so the first axiom gives results as general as
Intro even though it only explicitly concerns variables. Similarly, the second and third axioms only explicitly allow substitution of variables, and then only into terms consisting of function symbols followed by terms, and into relation symbols followed by terms. In fact, however, the effect will be to allow substition of any term
for any term
if we have the identity statement
, and to allow this in any formula.
We also have two quantifier axioms. These are also quite straightforward.
The first of these quantifier axioms corresponds to the rule
Elim, and the second corresponds to the rule
Intro. You will recall that of the four quantifier rules in B&E, these are the two that have no restrictions and are easy to understand. To fully understand the axioms, we need to recall some definitions from Chapter 1.
is the result of substituting
for all free occurrences of
in the formula
.
is substitutable for
provided that it does not contain any free variables that would be bound by quantifiers in
. (Here again we see how complicated everything needs to be in order to accommodate nonsentential formulas.) For instance, if
is the term
, then it is not substitutable for
in the formula
. [Note to self: find a better example. Need a reasonable formula which would become unreasonable if the substitution were allowed. This one doesn't really qualify because it can't be true to start with, since free variables are essentially treated as though they were universally quantified.]
This leaves us with two quantifier rules of inference, which we may anticipate will correspond to
Intro and
Elim, the more complicated quantifier rules in B&E's system (as well as most others). And so they do, but at first glance they are a bit mysterious.
First, we have a rule corresponding to
Intro, namely the rule
provided that
is not free in
. (A minor point:
can be any variable. So it might be better to say that, for any variable
,
is a rule of inference.)
We also have a rule corresponding to
Elim, namely this:
provided, again, that
is not free in
.
It requires some thought to see that these rules amount to
Intro and
Elim, and Leary really doesn't help all that much, as his entire discussion of these two rules consists of about half a page. (He also doesn't have any exercises that require using the rules!)
It may help to look at how these rules might actually be used in a deduction. Let's consider a couple of easy quantifier proofs and compare how they work in B&E's system and in Leary's system. [Actually I only had time to type one of these up for the time being.]
To begin with, suppose we want to prove, from the premises that
and
, the conclusion
. This should be a fairly straightforward deduction. Here is a proof in B&E's system:
And now, for comparison, here is a proof in Leary's system:
That's all for now . . .