Left to right: No point repeating the argument to show that you can't get this one by vI, even though that is the first strategy to think of with disjunctions. (In this case, it just won't work). Instead, we have to resort to the indirect approach, which turns out not to be as bad as you might expect. Assume ~(~Pv~Q), then look for a contradictory pair. One nice contradictory pair to look for would be P&Q and ~(P&Q), since we already have ~(P&Q). In order to get P&Q, we need to get P and to get Q. The proof below does each of those indirectly: assume ~P (which at once gives you ~Pv~Q, the denial of (2)), then discharge with RAA; then do the analogous thing with ~Q. This gives P&Q, which is the denial of the premise, and so we can use RAA to discharge the assumption at (2).
1 | (1) | ~(P&Q) | A |
2 | (2) | ~(~Pv~Q) | A |
3 | (3) | ~P | A |
3 | (4) | ~Pv~Q | 3 vI |
2 | (5) | P | 2,4 RAA (3) |
6 | (6) | ~Q | A |
6 | (7) | ~Pv~Q | 6 vI |
2 | (8) | Q | 2,7 RAA (6) |
2 | (9) | P&Q | 5,8 &I |
1 | (10) | ~Pv~Q | 1,9 RAA (2) |
Moral: it's often a good idea to try the indirect approach when proving disjunctions.
Right to left:
1 | (1) | ~Pv~Q | A |
2 | (2) | P&Q | A |
2 | (3) | P | 2 &E |
2 | (4) | Q | 2 &E |
1,2 | (5) | ~Q | 1,3 vE |
1 | (6) | ~(P&Q) | 4,5 RAA (2) |
This requires a little subtlety. To get Q out of (1), we'd need P, and there's no likely way to get it. So, best to try the indirect approach: we assume ~Q, then try to get a contradiction. Here is where it becomes subtle. There are two likely contradictory pairs we could aim for: Q and ~Q or P and ~P. Since we've assumed ~Q, it might be easiest to try to get Q. We could get Q if we had either P (from (1)) or ~P (from (2)). So, we could try to get one of those. I will choose ~P and try to get it with the indirect approach: assume P and look for a contradictory pair. In fact, we can get Q right away, giving us a contradictory pair with (3); ~P then gives us Q, so we have a contradictory pair after discharging the assumption of P, and we can then discharge the first assumption (~Q):
1 | (1) | P->Q | A (premise) |
2 | (2) | ~P->Q | A (premise) |
3 | (3) | ~Q | A |
4 | (4) | P | A |
1,4 | (5) | Q | 1,4 ->E |
1,3 | (6) | ~P | 3,5 RAA (4) |
1,2,3 | (7) | Q | 2,6 ->E |
1,2 | (8) | Q | 3,7 RAA (3) |
Notice that we can't stop at line (7), since its assumption set still includes the undischarged assumption (3). However, since we have contradictory lines (namely, it and that very assumption), we can discharge (3) with RAA.
Left to right: use the indirect approach. After you assume P&~Q, it's relatively quick to get both Q and ~Q, then use RAA. Right to left: what you want is a conditional, so use ->I (assume P and try to get Q). There's no rules for getting at the parts of negated conjunctions, so assume ~Q and look for a contradictory pair (the easiest one to get is ~(P&~Q) and P&~Q).
Left to right: | |||
1 | (1) | P->Q | A (premise) |
2 | (2) | P&~Q | A |
2 | (3) | P | 2 &E |
1,2 | (4) | Q | 1,3 ->E |
2 | (5) | ~Q | 2 &E |
1 | (6) | ~(P&~Q) | 4,5 RAA (2) |
Right to left: | |||
1 | (1) | ~(P&~Q) | A (premise) |
2 | (2) | P | A |
3 | (3) | ~Q | A |
2,3 | (4) | P&~Q | 2,3 &I |
1.2 | (5) | Q | 1,4 RAA (3) |
1 | (6) | P->Q | 5 ->I (2) |
This is easy, but it's important to realize that it does require proof. Here's the left-to-right part:
1 | (1) | P&Q | A (premise) |
1 | (2) | P | 1 &E |
1 | (3) | Q | 1 &E |
1 | (4) | Q&P | 2,3 &I |
Right-to-left bears an extraordinary similarity to this.
Compare this with the previous proof. It's not quite as easy. The only choice here is the indirect approach. After assuming ~(QvP), we need to get a contradictory pair. We can aim for the denial of that very assumption, that is, the thing we want to prove: QvP. To get that, we'd need either P or Q. However, we can get either one of those from (1) if we have the denial of the other. So, we assume one of them (in this case, I chose ~P):
1 | (1) | PvQ | A (premise) |
2 | (2) | ~(QvP) | A |
3 | (3) | ~P | A |
1,3 | (4) | Q | 1,3 vE |
1,3 | (5) | QvP | 4 vI |
1,2 | (6) | P | 2,5 RAA (3) |
1,2 | (7) | QvP | 6 vI |
1 | (8) | QvP | 2,7 RAA (2) |
There's a lot of other exercises in here you could do...
Overall strategy: assume P, get U, use ->I. U occurs on the right side of a biconditional, so we can get it if we can get the other side (use <->E, then ->E), which is T. To get T, we need to get the right side of (2), for which we need its left side Rv~Q. Since that's a disjunction, we can get it if we can get either of its disjuncts R and ~Q. We can get R from the right side of (1) by &E; to get that, we'll need P. But we've already assumed P, so we've found the proof:
1 | (1) | P->Q&R | A (premise) |
2 | (2) | Rv~Q->S&T | A (premise) |
3 | (3) | T<->U | A (premise) |
4 | (4) | P | A |
1,4 | (5) | Q&R | 1,4 ->E |
1,4 | (6) | R | 5 &E |
1,4 | (7) | Rv~Q | 6 vI |
1,2,4 | (8) | S&T | 2,7 ->E |
1,2,4 | (9) | T | 8 &E |
3 | (10) | T->U | 3 <->E |
1,2,3,4 | (11) | U | 9,10 ->E |
1,2,3 | (12) | P->U | 11 ->I (4) |
The conclusion is a conditional, so assume P and try to deduce R->S. Since that's also a conditional, assume R and try to get S. To get S we need Q, and we can get that from the left side of (1) and vE if we can get P; but we've already assumed P. So, we can discharge the two assumptions of R and P, in that order, to get the conclusion.
1 | (1) | (~PvQ)&R | A (premise) |
2 | (2) | Q->S | A (premise) |
3 | (3) | P | A |
4 | (4) | R | A |
1 | (5) | ~PvQ | 1 &E |
1,3 | (6) | Q | 3,5 vE |
1,2,3 | (7) | S | 2,6 ->E |
1,2,3 | (8) | R->S | 7 ->I (4) |
1,2 | (9) | P->(R->S) | 8 ->I (3) |
Notice that this is just a mite sneaky. We didn't actually use the assumption (4) to get anything at all: we got S without using it, then discharged it to get R->S. Sneaky, but legitimate.
Use the indirect approach. Having assumed P, what shall we try to contradict? Since it's hard to think of anything else to do with ~(S&R), let's try for that. We can get its denial, S&R, if we can get both S and R. R is easy (line (1) by &E), so we're halfway there. We could get S if we could get the right side of (2) and use vE (we already have assumed ~P). But Q comes from (1) by &E, so we're home:
1 | (1) | Q&R | A (premise) |
2 | (2) | Q->PvS | A (premise) |
3 | (3) | ~(S&R) | A (premise) |
4 | (4) | ~P | A |
1 | (5) | Q | 1 &E |
1,2 | (6) | PvS | 2,5 ->E |
1,2,4 | (7) | S | 4,6 vE |
1 | (8) | R | 1 &E |
1,2,4 | (9) | S&R | 7,8 &I |
1,2,3 | (10) | P | 3,9 RAA (4) |
1 | (1) | P->R&Q | A (premise) |
2 | (2) | S->~Rv~Q | A (premise) |
3 | (3) | S&P | A |
4 | (4) | ~T | A |
3 | (5) | S | 3 &E |
2,3 | (6) | ~Rv~Q | 2,5 ->E |
3 | (7) | P | 3 &E |
1,3 | (8) | R&Q | 1,7 ->E |
1,3 | (9) | R | 8 &E |
1,2,3 | (10) | ~Q | 6,9 vE |
1,3 | (11) | Q | 8 &E |
1,2,3 | (12) | T | 10,11 RAA (4) |
1,2 | (13) | S&P->T | 12 ->I (3) |
S is a disjunct of the right side of (2), so if we can get that disjunct out (using ->E, requires R) we can get S with vE (this will require ~Q). R we can get from (1) with &E. ~Q is less obvious; we'll need to use the indirect approach. However, notice that if we assume Q and can get P, we can get Q&P, which is the denial of (3): so, there's our contradictory pair. Here's the proof:
1 | (1) | R & P | A (premise) |
2 | (2) | R -> (S v Q) | A (premise) |
3 | (3) | ~(Q & P) | A (premise) |
4 | (4) | Q | A |
1 | (5) | P | 1 &E |
1,4 | (6) | Q&P | 4,5 &I |
1,3 | (7) | ~Q | 3,6 RAA (4) |
1 | (8) | R | 1 &E |
1,2 | (9) | SvQ | 2,8 ->E |
1,2,3 | (10) | S | 7,9 vE |
We could get W using vE, if we could get SvW out of line (4) and get ~S. ~S is available from (2) by &E. However, to get to SvW, we need T and R. R comes from line (2); T would come from the right side of (3), if we had P and Q. But we can get both those from (1), so we're set.
1 | (1) | P & Q | A (premise) |
2 | (2) | R & ~S | A (premise) |
3 | (3) | Q -> (P -> T) | A (premise) |
4 | (4) | T -> (R -> S v W) | A (premise) |
1 | (5) | P | 1 &E |
1 | (6) | Q | 1 &E |
1,3 | (7) | P->T | 3,6 ->E |
1,3 | (8) | T | 5,7 ->E |
1,3,4 | (9) | R->SvW | 4,8 ->E |
2 | (10) | R | 2 &E |
1,2,3,4 | (11) | SvW | 9,10 ->E |
2 | (12) | ~S | 2 &E |
1,2,3,4 | (13) | W | 11,12 vE |
Main strategy: Assume S and try to get ~R, then use ->E. To get ~R, assume R and aim for a contradictory pair, then use RAA. There's an S and a ~S in the premises, so the contradictory pair to try for is S and ~S. We already have S, so it's just a matter of getting ~S. To get that, we need first to get the right side of (3) , for which we need Q; but we already have Q. Then, we need ~P, for which we need R; but we've already assumed that. So, we can do the proof:
1 | (1) | R -> ~P | A |
2 | (2) | Q | A |
3 | (3) | Q -> (P v ~S) | A |
4 | (4) | S | A |
5 | (5) | R | A |
1,5 | (6) | ~P | 1,5 ->E |
2,3 | (7) | Pv~S | 2,3 ->E |
1,2,3,5 | (8) | ~S | 6,7 vE |
1,2,3,4 | (9) | ~R | 4,8 RAA (5) |
1,2,3 | (10) | S->~R | 9, ->I (4) |
This looks hideous, but we can approach it systematically. We want to assume P and aim or a contradictory pair, then use RAA. We have several possibilities hidden in the premises: w and ~W, S and ~S, V and ~V. Since W all by itself is a premise, let's try to get ~W. For that, we need V. We can get V (maybe) if we can get out the right side of the right side of (4), then use ->E twice (for which we will need T and U). We can get T from (5) if we can get Q, and we can get Q from (1) if we have P (but we've assumed it at (9). As for U, we can get that if we can get R and W; W we already have, and R we can get from (2) if we have P (and once again, we've assumed it at (9)). So, we can get ~V->~S. What we needed was V; so, we assume ~V and look for a contradictory pair, which is easy to find (get ~S from ~V->~S, S from (3) and (9)). Or, in its full glory:
1 | (1) | P -> Q | A (premise) |
2 | (2) | P -> R | A (premise) |
3 | (3) | P -> S | A (premise) |
4 | (4) | T -> (U -> (~V -> ~S)) | A (premise) |
5 | (5) | Q -> T | A (premise) |
6 | (6) | R -> (W -> U) | A (premise) |
7 | (7) | V -> ~W | A (premise) |
8 | (8) | W | A (premise) |
9 | (9) | P | A |
1,9 | (10) | Q | 1,9 ->E |
2,9 | (11) | R | 2,9 ->E |
3,9 | (12) | S | 3,9 ->E |
1,5,9 | (13) | T | 5,10 ->E |
1,4,5,9 | (14) | U -> (~V -> ~S) | 4,13 ->E |
2,6,9 | (15) | W -> U | 6,11 ->E |
2,6,8,9 | (16) | U | 8,15 ->E |
1,2,4,5,6,8,9 | (17) | ~V -> ~S | 14,16 ->E |
18 | (18) | V | A |
7,18 | (19) | ~W | 7,18 ->E |
7,8 | (20) | ~V | 8,19 RAA (18) |
1,2,4,5,6,7,8,9 | (21) | ~S | 17,20 ->E |
1,2,3,4,5,6,7,8 | (22) | ~P | 12,21 RAA (9) |
We need to build a conjunction, so we need to get each of its conjuncts. ~Q is available by &E if we can get the right hand side of (1), so we'll want to use <->E and then look for P to use with the resulting conditional and ->E. To get T, we need first to get at the right hand side of P (use &E), then try assuming T for an RAA. The latter is relatively straightforward: we get ~S from ~T->~S, then get S from ~Q&S. Here (after a little tidying up) is the proof:
1 | (1) | P <-> ~Q & S | A (premise) |
2 | (2) | P & (~T -> ~S) | A (premise) |
1 | (3) | P->~Q&S | 1, <->E |
2 | (4) | P | 2 &E |
1,2 | (5) | ~Q&S | 3,4 ->E |
1,2 | (6) | S | 5 &E |
2 | (7) | ~T->~S | 2 &E |
8 | (8) | ~T | A |
2,8 | (9) | ~S | 7,8 ->E |
1,2 | (10) | T | 6,9 RAA (8) |
1,2 | (11) | ~Q | 5 &E |
1,2 | (12) | ~Q & T | 10,11 &I |
This is lengthy but relatively straightforward. Since each side is a biconditional, each of the two proofs will consist of two subproofs, each of which is the proof of a conditional. For left-to-right, we assume P and get Q, then assume Q and get P, then get the biconditional by <->I. In each case, we need only the left-right conditional from the premise.
1 | (1) | P v Q <-> P & Q | A (premise) |
1 | (2) | PvQ -> P&Q | 1 <->E |
3 | (3) | P | A |
3 | (4) | PvQ | 3 vI |
1,3 | (5) | P&Q | 2,4 ->E |
1,3 | (6) | Q | 5 &E |
1 | (7) | P->Q | 6 ->I (3) |
8 | (8) | Q | A |
8 | (9) | PvQ | 8 vI |
1,8 | (10) | P&Q | 2,9 ->E |
1,8 | (11) | P | 10 &E |
1 | (12) | Q->P | 11 ->I (8) |
1 | (13) | P<->Q | 7,12 <->I |
1 | (1) | P<->Q | A (premise) |
1 | (2) | P->Q | 1 <->E |
1 | (3) | Q->P | 1 <->E |
4 | (4) | PvQ | A |
5 | (5) | ~P | A |
4,5 | (6) | Q | 4,5 vE |
1,4,5 | (7) | P | 3,6 ->E |
1,4 | (8) | P | 5,7 RAA (5) |
1,4 | (9) | Q | 2,8 ->E |
1,4 | (10) | P&Q | 8,9 &I |
1 | (11) | PvQ->P&Q | 10 ->I (4) |
12 | (12) | P&Q | A |
12 | (13) | P | 12 &E |
12 | (14) | PvQ | 13 vI |
(15) | P&Q->PvQ | 14 ->I (12) | |
1 | (16) | PvQ<->P&Q | 11,15 <->I |
Notice that the assumption set for line (15) is empty. That's not an error: line 15 is a theorem which can be proved from no assumptions at all.