First-order tableaux
Just like our first-order syntax and semantics is an extension of zeroth-order syntax and semantics, our first-order tableau system will be an extension of our zeroth-order one. In particular, and again paralleling the syntactic and semantic treatment, the only additional rules we need to introduce for our system are the ones which will allow us to deal with quantified sentences.
Our tableau system only deals with first-order sentences, that is, closed formulas. Accordingly, open formulas will not occur at any part of any of the deductions to follow.
Accordingly, we still have the same rules for the connectives as introduced for zeroth-order tableau. In particular, we have:
-
the premise rule Pr;
-
the double negation rule ;
-
the conjunctiom rule and the negated conjunction rule ;
-
the disjunction rule and the negated disjunction rule ;
-
the conditional rule and the negated conditional rule .
We also retain the general approach to how we construct our trees. So in particular, if we want to show that , we put the formula (the negation of ) as the starting point. Then, if the argument is indeed syntactically valid, we should be able to close each branch of the tree (sooner or later) by finding some formula and its negation for each branch.
Again, the only change is that we need rules to deal with certain additional formula forms. In particular:
-
a rule for universally quantified sentences of form ;
-
a rule for negated universally quantified sentences of form ;
-
a rule for existentially quantified sentences of form ;
-
a rule for negated existentially quantified sentences of form .
Accordingly, our definition of what it means for something to constitute a proof of validity is as follows:
Definition 8.3. Let be any set of sentences and let be any sentence of . Then, the set of premises syntactically entails , or is a syntactic consequence of , iff there is a closed tree with at its origin using the zeroth-order rules, plus the rules , , , and . In such cases, we write , and call the closed tree a (first-order) proof of from the premise set (or simply, premises) . If there is a closed tableau with at its origin and without the use of the rule Pr, we say is a first-order theorem and write .
The rule
We start with the simplest first-order tableau rule, . What the rule captures, in semantic terms, is that if for some structure , , then if we take by itself and replace each variable originally bound by the quantifier in front of the formula with an arbitrary name , then the resulting sentence will also be true in the structure. Remember that we have a particular notation for this. Namely, what we claim is that if , then for any name , we have that . Unsurprisingly, this is a semantically valid inference in first-order logic. Moreover, it is intuitively quite simple.
For example, it is true of every natural number that it is either less than or equal 5, or larger than 5. That is, . But then we can substitute for any specific number, and the resulting sentence will also be true. For example, it is true that , since . But it is also true that , since . And the sentence will also be true if we substitute , , or for in .
Accordingly, we get the following non-branching rule:
The following example is an application of the rule:
As you can see, we simply took the universally quantified sentence , and using the rule, derived from it the sentence , which results from taking off the quantifier expression and substituting the name for every occurrence of bound by . And since the rule works with any name whatsoever, we could also use it like this:
Of course, in practice, which name we choose is not quite this arbitrary, since we are always aiming to close the branches of the tree. And this is usually only possible with some specific choice for a name to be substituted in.
For example, take . We can prove this as follows:
As you can see, the only reason we were able to close the branches of the tree is because we substituted for when applying on line . If we substituted any other name for , the branches would not have closed. Thus, when you are using the rule , you need to be mindful which name you choose. Remember that the goal is always to be able to close each branch of the tree.
The rule
Just like the rules and function similarly, the rule functions similar to the rule. This is no accident given the negation push-through result we showed earlier. In particular, if , then . And as noted above, from , it follows that for any name . So from , we should be able to immediately derive .
Again, intuitively, this is easy to see. For example, it is true at this point in time at least that there is no one taller than 10 feet. From this, it follows that everyone is not taller than 10 feet. So substituting any person’s name, it will also be true that, e.g., ‘Dwayne Johnson is not taller than 10 feet’, ‘Donald Trump is not taller than 10 feet’, and ‘Beyonce is not taller than 10 feet’. In symbols, from , it follows that , from which it follows that for any name . This is precisely the type of reasoning the rule codifies.
For example, take . We can prove this as follows:
Once again, it was important when using the rule that we substituted for , since it was that occurred in the conclusion, and hence was necessary to close both branches of the tree.
The rule
The rule comes with an important caveat that you should always keep in mind. Semantically speaking, a sentence like gives us some information, but in some sense, that information is quite limited. Namely, it tells us that there exists an such that it is , but it does not tell us which thing is the one that is . Accordingly, unlike with , you cannot just substitute any name for in to get a sentence that is true. In fact, you cannot be sure that you can substitute any name for in , for it might be the case that the object that makes true does not have a name (that is, no name is interpreted such that its value is the object that is ).
For example, suppose you are in a classroom the first day of classes at your college, and there are 20 other students with you. However, you only know two of them by name, your friends Jade and Ali. Then, the professor tells you: ‘There is a senior in this classroom’. Can you infer that ‘Jade is a senior’, or that ‘Ali is the senior’, based on this information alone? The answer is ‘no’, since you do not know who the senior is, only that there is one. And the situation is not much better if the professor gives you the names of every person in the room, for again, you still do not know which name is the name of the senior.
However, sometimes you do want to have a name for an object in the domain that makes an existential statement true, and to then reason about that specific object. For example, the professor might tell you later on that every person who received an A was a senior, from which you can reason that the person who is a senior got an A. Now what you can do in this case is simple; introduce a new name with the explicit intention that it refer to that specific object. In the above example, we could introduce a new name like ‘Senior’, and say that that person is a senior. The important thing is that ‘Senior’ must be an entirely new name, not shared by anyone in the class. Then, you can infer that ‘Senior is a senior’, and from then, that ‘Senior got an A’, and so on.
Based on the above, our rule is specified as follows:
Existential quantification rule
We are now in the position to show Proposition 8.7 syntactically, namely, that
The proof goes like this:
Notice the interplay between our three rules, , , and above. First, we used the rule on . For this, we needed to find a new name that did not occur on any of the branches or in the premise set. This was trivial, since no name occurred in either. So we chose a random one, . So we deduced that is . Next, we considered . With , we can substitute for any name whatsoever, but of course, we chose specifically. So we got that if is , then must be . With , this left us two options: either is not , or must be . But we already knew that is , so that branch closed. Moreover, from , with the rule , we can substitute for any name whatsoever. So in particular, we again substituted for , getting , and closed the other branch.
The rule
Given the above, it is now easy to understand the rule . First, we can again refer to negation push-through. In particular, semantically, if , then . That is, if it is not true of everything that , then there is something for which it is false that . But then again, we can use the reasoning we provided for the rule , and derive from the sentence provided is a new name introduced specifically for the object that makes true. Thus, we simply have:
Existential quantification rule
Here is an illustration of how this works in practice. Take the following:
We can show that this is indeed the case as follows:
Notice something extremely important above. As noted, the name introduced with either or must always be one that does not occur in the premise set or on the branch that we are working on. On line 4, we introduced the name , using on . Then, on the left branch, at line 6, we came across . This meant that we needed a new name to apply . But now there was a name already occurring on the branch, namely, the name . So was off limits, and we needed to find a new one. So we chose . Notice also that when it came to and , we chose the names and , respectively. There is no mystery here. We could have chosen any name whatsoever, including the inverse selection. But since we wanted to close both branches, we chose the names in accordance with that goal.
Exercise 8.8. Show that the following hold in first-order logic:
Here is the first one:
Exercise 8.9. Show that the following hold in first-order logic: