1
$\begingroup$

Which of the following logic is a Tautology ?

  • $S1: (P → (Q ∨ R)) ∧ (P → (Q ∨ ¬R)) → P → Q$
  • $S2: (P → Q) ∧ ((Q ∧ R) → S) → (P ∧ R) → S$

How to solve without using Truth table ?

  • 1
    If you don't like to use truth tables, you can try to prove (deduce) these statements. Completeness of propositional logic means that tautologies are exactly what can be proven.2017-01-28
  • 0
    @hardmath I like truth tables, but here there are $4$ variables which can be overhead .2017-01-28
  • 2
    Okay, how about some parentheses to make the order of operations unambiguous?2017-01-28
  • 0
    @hardmath Actually Its hard for me to understand how is it actually working :-)2017-01-28

2 Answers 2

2

First, let me add some disambiguating parentheses where I suspect they have to go (correct me if I am wrong):

$S1: ((P \rightarrow (Q \lor R)) \land (P \rightarrow (Q \lor \neg R))) \rightarrow (P \rightarrow Q)$ $S2: ((P \rightarrow Q) \land ((Q \land R) \rightarrow S)) \rightarrow ((P \land R) \rightarrow S)$

The first one is fairly easy shown to be a tautology:

$((P \rightarrow (Q \lor R)) \land (P \rightarrow (Q \lor \neg R))) \rightarrow (P \rightarrow Q) \Leftrightarrow$ (Distribution $\rightarrow$ over $\land$)

$(P \rightarrow ((Q \lor R) \land (Q \lor \neg R))) \rightarrow (P \rightarrow Q) \Leftrightarrow$ (Adjacency)

$(P \rightarrow Q) \rightarrow (P \rightarrow Q) \Leftrightarrow$

$\top$

The second one is a bit harder:

$((P \rightarrow Q) \land ((Q \land R) \rightarrow S)) \rightarrow ((P \land R) \rightarrow S) \Leftrightarrow$ (Implication)

$\neg ((P \rightarrow Q) \land ((Q \land R) \rightarrow S)) \lor (\neg (P \land R) \lor S) \Leftrightarrow$ (DeMorgan)

$\neg (P \rightarrow Q) \lor \neg (Q \land R) \rightarrow S) \lor (\neg P \lor \neg R \lor S) \Leftrightarrow$ (Implication)

$(P \land \neg Q) \lor (Q \land R \land \neg S) \lor \neg P \lor \neg R \lor S \Leftrightarrow$ (DeMorgan)

$(P \land \neg Q) \lor (Q \land \neg(\neg R \lor S)) \lor \neg P \lor \neg R \lor S \Leftrightarrow$ (Reduction)

$\neg Q \lor Q \lor \neg P \lor \neg R \lor S \Leftrightarrow$

$\top \lor \neg P \lor \neg R \lor S \Leftrightarrow$

$\top$

1

Hints:

$S1$: This will be a tautology if, given $P \to (Q \lor R)$, $P \to (Q \lor \lnot R)$ and $P$, you can conclude $Q$. Now under any assignment, one of $R$ and $\lnot R$ is false, so one of $P \to (Q \lor R)$ and $P \to (Q \lor \lnot R)$ is equivalent to $P \to Q$. As you are given $P$, you have $Q$.

$S2$: Reason similarly using the fact that if $P \to Q$, then $P \land R \to Q \land R$.