Homework 10 - courses.psu.edu

advertisement
Homework 10
Problem 23
Give formal proofs corresponding to the valid steps discussedn Problem 16, page 103
1. Modus Tollens: From A  B and B infer A
1. A  B
2. B
3. A
4. B
5. B  B
6. A
/ A
 Elim 1, 3
 Intro 4, 2
 Intro 3-5
2. Strengthening the Antecedent: From B  C infer (A  B)  C
1. B  C
2. A  B
3. B
4. C
5. (A  B)  C
/  (A  B)  C
 Elim 2
 Elim 1, 3
 Intro 2-4
3. Weakening the Consequent: From A  B infer A  (B  C)
1. A  B
2. A
3. B
4. B  C
5. A  (B  C)
 Elim 1, 2
 Intro 3
 Intro 2-4
4. Constructive Dilemma: From A  B, A  C, and B  D infer C  D
1. A  B
2. A  C
3. B  D
4. A
5. C
6. C  D
7. B
8. D
9. C  D
10. C  D
 Elim 2, 4
 Intro 5
 Elim 3, 7
 Intro 8
 Elim 1, 4-6, 7-9
5. Transitivity of the biconditional: From A  B and B  C infer A  C
1. A  B
2. B  C
3. A
4. B
5. C
6. A  C
7. C
8. B
9. A
10. C  A
11. A  C
 Elim 1, 3
 Elim 2, 4
 Intro 3-5
 Elim 2, 7
 Elim 1, 8
 Intro 7-9
 Intro 3-6, 7-10
Problem 24
Give formal proofs of the following
1. A  (B  A) from no premises
1. A
2. B
3. A
4. B  A
5. A  (B  A)
Reit 1
 Intro 2-3
 Intro 1-4
To prove something with no premises means that we must start off with an assumption.
We work this problem by noticing that the main connective is a . Given that, we know
that we can use a  Intro to prove the main connective and therefore introduce the
antecedent as our assumption. The second step of the proof is done by noticing that the
other connective is a  and can be solved in the same way. Having assumed B (the
antecedent in the inside ), all we have to do is restate A to show that A follows from B.
having shown that A follows from B, we have shown B  A. Because we were able to
get this only by assuming A, we have shown that A  (B  A).
2. (A  (B  C))  ((A  B)  C) from no premises
1. (A  (B  C))
2. A  B
3. A
4. B  C
5. B
6. C
7. (A  B)  C
8. (A  (B  C))  ((A  B)  C)
9. (A  B)  C
10. A
11. B
12. A  B
13 C
14. B  C
15. A  (B  C)
16. ((A  B)  C)  (A  (B  C))
17. (A  (B  C))  ((A  B)  C)
 Elim 2
 Elim 1, 3
 Elim 2
 Elim 4, 5
 Intro 2-6
 Intro 1-7
 Intro 10, 11
 Elim 9, 12
 Intro 11-13
 Intro 10-14
 Intro 9-15
 Intro 1-8, 9-16
The major connective here is a biconditional, so we know that we need to use a  Intro.
The way a  Intro works is by proving first that the left side implies the right side (by
using a  Intro, assuming the left side, and proving the right side) and then by proving
that the right side implies the left side (by using a  Intro, assuming the right side, and
proving the left side). From here, it’s a pretty straightforward proof that it similar to the
last one.
3. C  D from premises A  (B  C), E, (A  B)  (D  E), and A
A  (B  C)
E
(A  B)  (D  E)
A
5. A
6. (B  C)
7. A  A
8. B  C
9. B  C
10. B  C
11. B  C
12. C
13. B
14. A  B
15. D  E
16. D
17. D   E
18. (D  E)
19. (D  E)  (D  E)
20. D
21. C  D
1.
2.
3.
4.
 Intro 5, 4
 Intro 6-7
Reit 9
 Elim 1, 5-8, 9-10
 Elim 11
 Elim 11
 Intro 13
 Elim 3, 14
 Intro 16, 2
DeM 17
 Intro 15, 18
 Intro 16-19
 Intro 12, 20
There are a couple of ways of doing this proof. What I have done here is to use a  Elim
to prove that B  C follows from A  (B  C). [This is because A is a premise, so we
know that B  C must be true.] So, line 5 is the left side of the  from line 1 and I use a
 Elim to prove that B  C follows from it (lines 6-7), and line 9 is the right side of the 
from line 1. Now that we’ve shown that B  C (line 11), we know that C follows (
Elim). This is half of what we want in our conclusion. Now all we need to do is to get
D, which I have done by using a  Intro (lines 16-19). Finally, now that we have gotten
C by itself (line 12) and D by itself (line 20), we know that C  D (by  Intro).
Problem 25
The book wants you to prove two equivalences, which you will be able to cite in later
homework using our method of citing previous theorms. Once you know them, you can
then use them in  Elim (in system F and F’) and in Gen Sub (in system F’).
1. Prove (P  Q)  (P  Q)
1. P  Q
2. (P  Q)
3. P  Q
4. P
5. Q
6. Q
7. Q  Q
8. P  Q
9. (P  Q)  (P  Q)
10. P  Q
11. P
12. Q
13. P  Q
14. (P  Q)
15. (P  Q)  (P  Q)
16. Q
17. P  Q
18. (P  Q)  (P  Q)
19. (P  Q)  (P  Q)
DeM 2
 Elim 3
 Elim 3
 Elim 1, 4
 Intro 5, 6
 Intro 2-7
 Intro 1-8
 Intro 11, 12
DeM 13
 Intro 10, 14
 Intro 12-15
 Intro 11-16
 Intro 10-17
 Intro 1-9, 10-18
This is a biconditional introduction so we will need two conditional introductions, one
in which we prove that the right follows from the assumption of the left and another in
which we prove that the left follows from the assumption of the right. The first half is
taken care of by means of a  Intro. I assume the opposite of what I want to prove (P
 Q), prove a contradiction (Q  Q), and therefore conclude P  Q.
The second half involves proving a conditional (P  Q), so I use a conditional
introduction, which involves assuming the antecedent (P) and proving the consequent
(Q). I actually prove Q by using a  Intro. Thus, I assume the opposite of what I want to
prove (Q), prove a contradiction, and therefore conclude Q. Having shown that (P 
Q)  (P  Q) and (P  Q)  (P  Q), we know that (P  Q)  (P  Q), by 
Intro.
Problem 25, #2
1. (P  Q)
2. (P  Q)
3. P  Q
4. P
5. P
6. Q
7. P  P
8. Q
9. P  Q
10. Q
11. P
12. Q
13. P  Q
14. P  Q
15. (P  Q)  (P  Q)
16. P  Q
17. (P  Q)  (P  Q)
18. P  Q
19. P  Q
20. P
21. Q
22. Q
23. Q  Q
24. (P  Q)
25. (P  Q)  (P  Q)
26. (P  Q)  (P  Q)
 Intro 5, 4
 Intro 6-7
 Intro 5-8
Reit 10
 Intro 11-12
 Elim 3, 4-9, 10-13
 Intro 14, 1
 Intro 2-15
 Intro 1-11
 Elim 18
 Elim 19, 20
 Elim 18
 Intro 21, 22
 Intro 19-23
 Intro 18-24
 Intro 1-17, 18-26
Problem 26
Give a formal proof of Cube(a)  Small(a) from the following set of premises:
To make this proof simpler, I’m going to cite a previous theorem. Rather than referring
you to the book, I’ll just prove it.
1. P  Q  R
2. P
3. (Q  R)
4. P  (Q  R)
5. (P  (Q  R))
6. (P  Q  R)
7. (P  Q  R)  (P  Q  R)
8. Q  R
 Intro 2, 3
DeM 4
(Assoc ) It is unnecessary to state this rule
 Intro 1, 6
 Intro 3-7
Cube(a)  Dodec(a)  Tet(a)
Small(a)  Medium(a)  Large(a)
Medium(a)  Dodec(a)
Tet(a)  Large(a)
5. Cube(a)
6. Small(a)
7. Medium(a)  Large(a)
8. Medium(a)
9. Dodec(a)
10. Dodec(a)  Tet(a)
11. Large(a)
12. Tet(a)
13. Dodec(a)  Tet(a)
14. Dodec(a)  Tet(a)
15. Cube(a)  (Dodec(a)  Tet(a))
16. Small(a)
17. Cube(a)  Small(a)
18. Small(a)
19. Cube(a)
20. Dodec(a)  Tet(a)
21. Dodec(a)
22. Medium(a)
23. Medium(a)  Large(a)
24. Tet(a)
25. Large(a)
26. Medium(a)  Large(a)
27. Medium(a)  Large(a)
28. Small(a)  Medium(a)  Large(a)
29. Cube(a)
30. Small(a)  Cube(a)
31. Cube(a)  Small(a)
1.
2.
3.
4.
Prev Thm (See above)
 Elim 3, 8
 Intro 9
 Elim 4, 11
 Intro 12
 Elim 7, 8-10, 11-13
 Intro 5, 14 [Note that this is a contradiction in the general sense]
 Intro 6-15
 Intro 5-16
Prev Thm (See above)
 Elim 3, 21
 Intro 22
 Elim 4, 24
 Intro 25
 Elim 20, 21-23, 24-26
 Intro 18, 27 [Note that this is a contradiction]
 Intro 19-28
 Intro 18-29
 Intro 5-17, 18-30
Note that lines 15 and 28 use the more general form of a contradiction discussed on page 72 of the
book and used in problem 45 from the previous chapter. The form is not quite the same, although
we can make it explicit using distribution.
Problem 27
F’ modified proof by contradiction to allow multiple assumptions. We can also do this with
conditional introduction. Give the statement of conditional introduction and use it to prove (A 
B)  C from A  C.
First, the rule:
Conditional Introduction ( Intro)
P
Q
.
.
.
S
> (P  Q)  S
What we have done here is we’ve taken the statement of Conditional Introduction (see page 306)
and modified it to state a rule that if we can prove R by assuming P and Q, we will have shown
that (P  Q)  S
Now we’ll use it in a proof
1. A  C
2. A
3. B
4. C
5. (A  B)  C
 Elim 1, 2
 Intro 2-4
What’s going on here is that because we modified our rule, A and B can both be assumptions,
indicated by the fact that they are above the Fitch bar. (The first horizontal Fitch bar indicates that
A  C is a premise.) We prove C in the same way we did in a previous problem. Thus, by having
proven C by assuming A and B, we have shown (A  B)  C by citing our modified rule.
Problem 28
State a valid rule for Disjunction Elimination that allows for subproofs with multiple premises.
Problem 29
Give formal proofs of the following in system F’.
1. Prove A  B from premises A  B  C, B  (A  C), and A  C.
1. A  B
2. B  (A  C)
3. A  C
4. A
5. B  (A  A)
6. B
7. A  A
8. A
9. 
10. B
11. B
12. A  B
13. A
14. A  B
15. (A  B)
16. 
17. A
18. A  B
Gen Sub 2, 3
 Elim 5, 6
 Elim 7, 4
 Intro 4, 8
 Intro 6-9
 Intro 13, 11
DeM 14
 Intro 13-16
 Intro 13-16
#2
A  B
C  (D  E)
D  C
A  E
5. C
6. D  E
7. D
8. C
9. 
10. D
11. E
12. D  E
13. (D  E)
14. 
15. E
16. A
17. E
18. 
19. A
20. B
21. C  B
1.
2.
3.
4.
/CB
 Elim 2, 5
 Elim 3, 7
 Intro 5, 8
 Intro 7-9
 Intro 10, 11
DeM 12
 Intro 6, 13
 Intro 4, 16
 Intro 15, 17
 Intro 16-18
 Elim 1, 19
 Intro 5-20
Download