






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The rules for boolean logic in the fitch proof system, focusing on conjunction, disjunction, and negation. It covers the elimination and introduction rules for each connective, as well as default and generous uses of these rules.
Typology: Study notes
1 / 10
This page cannot be seen from the preview
Don't miss anything!







The Fitch program, like the system F, uses “introduction” and “elimination” rules. The ones we’ve seen so far deal with the logical symbol =. The next group of rules deals with the Boolean connectives ∧, ∨, and ¬.
§ 6.1 Conjunction rules Conjunction Elimination ( ∧∧∧∧ Elim) P 1 ∧ ∧ P i ∧ ∧ P n ! P i This rule tells you that if you have a conjunction in a proof, you may enter, on a new line, any of its conjuncts. (P i here represents any of the conjuncts, including the first or the last.) Notice this important point: the conjunction to which you apply ∧∧∧∧ Elim must appear by itself on a line in the proof. You cannot apply this rule to a conjunction that is embedded as part of a larger sentence. For example, this is not a valid use of ∧∧∧∧ Elim :
The reason this is not valid use of the rule is that ∧∧∧∧ Elim can only be applied to conjunctions, and the line that this “proof” purports to apply it to is a negation. And it’s a good thing that this move is not allowed, for the inference above is not valid—from the premise that a is not a large cube it does not follow that a is not a cube. a might well be a small cube (and hence not a large cube, but still a cube). This same restriction—the rule applies to the sentence on the entire line, and not to an embedded sentence—holds for all of the rules of F, by the way. And so Fitch will not let you apply ∧∧∧∧ Elim or any of the rules of inference to sentences that are embedded within larger sentences. Conjunction Introduction ( ∧∧∧∧ Intro) P 1 ⇓ P n ! P 1 ∧ ∧ P n This rule tells you that if you have a number of sentences in a proof, you may enter, on a new line, their conjunction. Each conjunct must appear individually on its own line, although they may occur in any order. Thus, if you have A on line 1 and B on line 3, you may enter B ∧ A on a subsequent line. (Note that the lines need not be consecutive.) You may, of course, also enter A ∧ B.
Default and generous uses of rules Unlike system F, Fitch has both default and generous uses of its rules. A default use of a rule is what will happen if you cite a rule and a previous line (or lines) as justification, but do not enter any new sentence. If you ask Fitch to check out the step, it will enter a sentence for you. A generous use of a rule is one that is not is not strictly in accordance with the rule as stated in F (i.e., F would not allow you to derive it in a single step), but is still a valid inference. Fitch will often let you do this in one step. Default and generous uses of the ∧∧∧∧ rules
§ 6.2 Disjunction rules
Disjunction Introduction ( ∨∨∨∨ Intro) P i ! P 1 ∨ ∨ P i ∨ ∨ P n
This rule tells you that if you have a sentence on a line in a proof, you may enter, on a new line, any disjunction of which it is a disjunct. (P i here represents any of the disjuncts, including the first or the last.)
Note also that the use of Reit is strictly optional. For example, in the proof on p. 151, step 5 is not required. The proof might look like the one in Page 151.prf (on Supplementary Exercises page) and it will check out.
Default and generous uses of the ∨∨∨∨ rules
§ 6.3 Negation rules
Negation Elimination ( ¬¬¬¬ Elim) This simple rule allows us to eliminate “double negations.”
¬¬P ! P
Negation Introduction ( ¬¬¬¬ Intro) This is our formal version of the method of indirect proof, or proof by contradiction. It requires the use of a subproof. The idea is this: if an assumption made in a subproof leads to ⊥, you may close the subproof and derive as a conclusion the negation of the sentence that was the assumption. P ⊥ ! ¬P
To use this rule, we will need a way of getting the contradiction symbol, ⊥, into a proof. We will have a special rule for that, one which allows us to enter a ⊥ if we have, on separate lines in our proof (or subproof) both a sentence and its negation. ⊥⊥⊥⊥ Introduction ( ⊥⊥⊥⊥ Intro) P ¬P
! ⊥
Note that the cited lines must be explicit contradictories, i.e., sentences of the form P and ¬P. This means that the two sentences must be symbol-for-symbol identical, except for the negation sign at the beginning of one of them. It is not enough that the two sentences be TT- inconsistent with one another, such as A ∨ B and ¬A ∧ ¬B. Although these two are contradictories (semantically speaking) since they must always have opposite truth-values, they are not explicit contradictories (syntactically speaking) since they are not written in the form P and ¬P.
To try out these two rules, do the You try it on p. 156.
Other kinds of contradictions The rule of ⊥⊥⊥⊥ Intro lets us derive ⊥ whenever we have a pair of sentences that are explicit contradictories. But there are other kinds of contradictory pairs: non-explicit TT- contradictories, FO-contradictories that are TT-consistent, logical contradictories that are FO- consistent, and TW-contradictories that are logically consistent. Here are some examples of these other types of contradictory pairs:
The rule of ⊥⊥⊥⊥ Intro does not apply directly in any of these examples. In each case it takes a bit of maneuvering first before we come up with an explicitly contradictory pair of sentences, as required by the rule. Example 1
⊥⊥⊥⊥ Elimination ( ⊥⊥⊥⊥ Elim) ⊥ ! P
The rule of ⊥ elimination is added to our system strictly as a convenience—we do not really need it. It allows us, once we have a ⊥ in a proof, to enter any sentence we like. (We’ve already seen that every sentence follows from a contradiction.) As p. 161 shows, we can easily do without this rule with a four step “workaround.”
Default and generous uses of the ¬¬¬¬ rules Note the default and generous uses of these rules in Fitch (p. 161). With (^) ¬¬¬¬ Elim , you don’t need two steps to get from ¬¬¬¬P to P (passing through the intermediate step ¬¬P). You can do it in one step. In fact, this is also the default use of the rule (if you cite the rule and ask Fitch to fill in the derived line).
In the case of ¬¬¬¬ Intro , where the subproof assumption is a negation , ¬P, and the subproof ends with a ⊥:
§ 6.4 The proper use of subproofs
Once a subproof has ended, none of the lines in that subproof may be cited in any subsequent part of the proof. Look at the “proof” on p. 163 to see what can happen if this restriction is violated. How Fitch keeps you out of trouble When you are working in system F, you can enter erroneous lines like line 8 on p. 163 and never be aware of it. But Fitch won’t let you do this! To see what happens, look at Page163.prf. Notice that when we try to justify line 8 by means of ∧∧∧∧ Intro , Fitch will not let us cite the line that occurs inside the subproof that has already been closed. When a subproof ends , we say that its assumption has been discharged. After an assumption is discharged, one may not cite any line that depended on that assumption. Note that it is permissible , while within a subproof, to cite lines that occur outside that subproof. So, for example, one may, while within a subproof, refer back to the original premises, or conclusions derived from them. One must just take care not to cite lines that occur in subproofs whose assumptions have been discharged.
Subproofs may be nested —one subproof may begin before another is ended. In such cases, the last subproof begun must be ended first. The example on p. 165 illustrates such a nested subproof.
§ 6.5 Strategy and tactics
Keep in mind what the sentences in your proof mean Don’t just look at the sentences in your proof as meaningless collections of symbols. Remember what the sentences mean as you try to discover whether the argument is valid.
If you’re not told whether the argument is valid, you can use Fitch’s Taut Con mechanism to check it out. If you discover that the argument is not valid, you should not waste time trying to find a proof.
Try to sketch out an informal proof
This will often give you a good formal proof strategy. An informal indirect proof can be turned into a use of ¬¬¬¬ Intro in F. An informal proof by cases can be turned into a use of ∨∨∨∨ Elim in F.
Try “working backwards”
This is a very basic strategy. It involves figuring out what intermediate conclusion you might reach that would enable you to obtain your ultimate conclusion, and then taking that intermediate conclusion as your new goal. You can then work backwards to achieve this new goal: figure out what other intermediate conclusion you might reach that would enable you to obtain your first intermediate conclusion, and so on. Working backward in this way, you may discover that it is obvious to you how to obtain one of those intermediate conclusions. You then have all the pieces you need to assemble the proof. Fitch is very helpful to you in using this strategy, for you can work from the “bottom up” as well as from the “top down.” To see this, do the You try it on p. 168 (open the file Strategy 1 ). You will note that you can cite a line, or a subproof, as part of a justification even before you have justified the line itself. This shows up with the two innermost subproofs (3-5 and 6-
An example
(A ∧ ¬B) ∨ (C ∨ D) ¬C ∧ B ¬¬D Open Ch6Ex2a – you’ll find this problem on the Supplementary Exercises page of the web site. We can start by working backwards. We can get ¬¬D from D by assuming ¬D and using ¬¬¬¬ Intro. So our goal will be to get D. Our first premise is a disjunction, so that suggests a proof by cases. We will have a separate subproof for each case, deriving D at the end of each subproof. Open Ch6Ex2b Notice that our strategy checks out when we apply ∨∨∨∨ Elim , and that our strategy for obtaining ¬¬D also checks out.
Case 1: A ∧∧∧∧ ¬¬¬¬ B The second conjunct, ¬B, contradicts the second conjunct of premise 2. So we can derive ⊥ by ⊥⊥⊥⊥ Intro and then derive D by ⊥⊥⊥⊥ Elim. Case 2: C
The first conjunct, C, contradicts the first conjunct of premise 2. So we can derive ⊥ by ⊥⊥⊥⊥ Intro and then derive D by ⊥⊥⊥⊥ Elim.
Our strategy is to assume ¬A, reach a ⊥, and deduce A. Then we do the same for B. So we have three questions to answer. (1) How do we show that ¬A leads to a contradiction? (2) How do we show that ¬B leads to a contradiction? (3) Having established both A and B, how do we show that that in turn leads to a contradiction? The answer is the same in every case: by using judiciously chosen applications of ∨∨∨∨ Intro. Our two (inner) assumptions (¬A and ¬B) are, in fact, disjuncts of the theorem we’re trying to prove. Hence, we can get from each of those assumptions to the theorem in one application of ∨∨∨∨ Intro. That won’t prove the theorem (we still have an open assumption), but it will give us a sentence that contradicts our assumption, which is exactly what we want. To see the complete proof, open Proof 6.41c.
An alternative strategy for 6.41: proof by cases
Notice that a different strategy might yield an equally correct, but much more complicated proof. To see the alternative strategy, open Proof 6.41d. The idea here is to do a proof by cases: Case 1 Assume (A ∧ B) and derive the theorem. Case 2
Assume ¬(A ∧ B) and derive the theorem. We can use Taut Con to obtain the disjunction (A ∧ B) ∨ ¬(A ∧ B) that we need. Then we can apply rule ∨∨∨∨ Elim and complete the proof by cases. Note that both of these rule applications check out in Fitch. Case 1 is easy: it takes only one step of ∨∨∨∨ Intro. But case 2 is complicated. To develop the alternative strategy further, open Proof 6.41e. The idea is to try to obtain the right-most disjunction, ¬A ∨ ¬B, by indirect proof. So we assume its negation, viz., ¬(¬A ∨ ¬B). Note what this sentence says: neither not A nor not B , which is equivalent to A and B. But (A ∧ B) contradicts our assumption line, so once we have it in our proof, we can obtain ⊥. (Note that our use of ⊥⊥⊥⊥ Intro will check out in Fitch.) Our next task will be to obtain the conjunction (A ∧ B) from our indirect proof assumption. We know that it follows, because it’s an instance of one of DeMorgan’s laws. But those laws are not part of system F, so we will need a different strategy. We will obtain each of A and B separately, and then use ∧∧∧∧ Intro to get A ∧ B. To obtain A we use an indirect proof; then we do the same for B. To see how the strategy now looks, open Proof 6.41f. The remaining steps are simple. We assume ¬A for indirect proof. The line we need to contradict is ¬(¬A ∨ ¬B). But ¬A is one of the disjuncts of our negated disjunction. So we use ∨∨∨∨ Intro to get the disjunction ¬A ∨ ¬B, and we have our contra- diction. This lets us obtain A by means of a generous use of ¬¬¬¬ Intro. We repeat this for B. To see the complete proof, open Proof 6.41g.