2.5.6: Derivations with Quantifiers
When dealing with quantifiers, we have to make sure not to violate the eigenvariable condition, and sometimes this requires us to play around with the order of carrying out certain inferences. In general, it helps to try and take care of rules subject to the eigenvariable condition first (they will be lower down in the finished proof).
Let’s see how we’d give a derivation of the formula \(\lexists{x}{\lnot A(x)} \lif \lnot \lforall{x}{A(x)}\) . Starting as usual, we write
We start by writing down what it would take to justify that last step using the \(\Intro{\lif}\) rule.
Since there is no obvious rule to apply to \(\lnot \lforall{x}{A(x)}\) , we will proceed by setting up the derivation so we can use the \(\Elim{\lexists{}{}}\) rule. Here we must pay attention to the eigenvariable condition, and choose a constant that does not appear in \(\lexists{x}{A(x)}\) or any assumptions that it depends on. (Since no constant symbols appear, however, any choice will do fine.)
In order to derive \(\lnot \lforall{x}{A(x)}\) , we will attempt to use the \(\Intro{\lnot}\) rule: this requires that we derive a contradiction, possibly using \(\lforall{x}{A(x)}\) as an additional assumption. Of course, this contradiction may involve the assumption \(\lnot A(a)\) which will be discharged by the \(\Intro{\lif}\) inference. We can set it up as follows:
It looks like we are close to getting a contradiction. The easiest rule to apply is the \(\Elim{\lforall{}{}}\) , which has no eigenvariable conditions. Since we can use any term we want to replace the universally quantified \(x\) , it makes the most sense to continue using \(a\) so we can reach a contradiction.
It is important, especially when dealing with quantifiers, to double check at this point that the eigenvariable condition has not been violated. Since the only rule we applied that is subject to the eigenvariable condition was \(\Elim{\exists}\) , and the eigenvariable \(a\) does not occur in any assumptions it depends on, this is a correct derivation.
Sometimes we may derive a formula from other formulas. In these cases, we may have undischarged assumptions. It is important to keep track of our assumptions as well as the end goal.
Let’s see how we’d give a derivation of the formula \(\lexists{x}{C(x,b)}\) from the assumptions \(\lexists{x}{(A(x) \land B(x))}\) and \(\lforall{x}{(B(x) \lif C(x,b))}\) . Starting as usual, we write the conclusion at the bottom.
We have two premises to work with. To use the first, i.e., try to find a derivation of \(\lexists{x}{C(x, b)}\) from \(\lexists{x}{(A(x) \land B(x))}\) we would use the \(\Elim{\lexists{}{}}\) rule. Since it has an eigenvariable condition, we will apply that rule first. We get the following:
The two assumptions we are working with share \(B\) . It may be useful at this point to apply \(\Elim{\land}\) to separate out \(B(a)\) .
The second assumption we have to work with is \(\lforall{x}{(B(x) \lif C(x,b))}\) . Since there is no eigenvariable condition we can instantiate \(x\) with the constant symbol \(a\) using \(\Elim{\lforall{}{}}\) to get \(B(a) \lif C(a, b)\) . We now have both \(B(a) \lif C(a,b)\) and \(B(a)\) . Our next move should be a straightforward application of the \(\Elim{\lif}\) rule.
We are so close! One application of \(\Intro{\lexists{}{}}\) and we have reached our goal.
Since we ensured at each step that the eigenvariable conditions were not violated, we can be confident that this is a correct derivation.
Give a derivation of the formula \(\lnot\lforall{x}{A(x)}\) from the assumptions \(\lforall{x}{A(x)} \lif \lexists{y}{B(y)}\) and \(\lnot\lexists{y}{B(y)}\) . Starting as usual, we write the target formula at the bottom.
The last line of the derivation is a negation, so let’s try using \(\Intro{\lnot}\) . This will require that we figure out how to derive a contradiction.
So far so good. We can use \(\Elim{\lforall{}{}}\) but it’s not obvious if that will help us get to our goal. Instead, let’s use one of our assumptions. \(\lforall{x}{A(x)} \lif \lexists{y}{B(y)}\) together with \(\lforall{x}{A(x)}\) will allow us to use the \(\Elim{\lif}\) rule.
We now have one final assumption to work with, and it looks like this will help us reach a contradiction by using \(\Elim{\lnot}\) .
Give derivations of the following:
- \(\lexists{y}{A(y)} \lif B\) from the assumption \(\lforall{x}{(A(x) \lif B)}\)
- \(\lexists{x}{(A(x) \lif \lforall{y}{A(y)})}\)