This past week focussed on conjunction, disjunction, negation, and implication.
While I find conjunction and disjunction pretty straightforward, implication, in this context, doesn't come as readily. I learn best by writing things out and working through them, so that's what I'm going to do for implication.
The truth table for the implication P⇒Q is:
PQP⇒QTTTTFFFTTFFT As given in class, we also have
P⇒Q⇔¬P∨Q
With the above we can check that the contrapositive is the same as the regular implication:
¬Q⇒¬P⇔¬¬Q∨¬P⇔Q∨¬P⇔¬P∨Q
Next, let's translate an equivalence into conjunction and disjunction, starting by splitting the bi-implication into two implications:
P⇔Q⇔(P⇒Q)∧(Q⇒P⇔(¬P∨Q)∧(¬Q∨P)⇔(¬P∧¬Q)∨(¬P∧P)∨(Q∧¬Q)∨(Q∧P)⇔(¬P∧¬Q)∨(P∧Q)What about the transitive property?
((P⇒Q)∧(Q⇒R))⇒(P⇒R)(¬P∨Q)∧(¬Q∨R)⇒(¬P∨R)¬((¬P∨Q)∧(¬Q∨R)∨(¬P∨R)¬(¬P∨Q)∨¬(¬Q∨R)∨(¬P∨R)(P∧¬Q)∨(Q∧¬R)∨(¬P∨R)
as a truth table:
PQR(P∧¬Q)(Q∧¬R)(¬P∨R)(P∧¬Q)∨(Q∧¬R)∨(¬P∨R)TTTFFTTTTFFTFTTFTTFTTTFFTFFTFTTFFTTFTFFTTTFFTFFTTFFFFFTTSo it's a tautology. Great. (It would have been easier to just go straight to a truth table, but let's call it "good practice").
Finally, how does it look for
P⇒(Q⇒R)?
P⇒(Q⇒R)⇔¬P∨(¬Q∨R)⇔(¬P∨¬Q)∨R⇔¬(P∧Q)∨R⇔(P∧Q)⇒R
That's all I can really think of right now. A lot of this stuff is easier to show by just writing up a truth table, but I learn better if I can think about things multiple ways. Also, a
truth table would show that
P⇒(Q⇒R))⇔(P⇒R)∨(Q⇒R) but I haven't figured out how to get there by manipulating terms.