Trying to understand how to simplify more complex formula's, for example
$ \lnot ([(\lnot \lor ) \land (\lnot \land \land )] \lor \lnot)$
I've started with this:
$= ¬ [(¬ ∨ ) ∧ (¬ ∧ ∧ )] ∧ ¬¬ $ (de Morgans Law)
$= ¬ [(¬ ∨ ) ∧ (¬ ∧ ∧ )] ∧ $ (double negation)
$= (¬ (¬ ∨ ) ∨ ¬ (¬ ∧ ∧ )) ∧ $ (de Morgans law)
$= ((¬¬ ∧ ¬) ∨ (¬¬ ∨ ¬ ∨ ¬)) ∧ $ (de Morgans law)
$= (( ∧ ¬) ∨ ( ∨ ¬ ∨ ¬)) ∧ $ (double negation)
$= (( ∧ ¬) ∧ ) ∨ (( ∨ ¬ ∨ ¬) ∧ )$ (Distributive)
$= (( ∧ ¬) ∧ ) ∨ ( ∧ ) ∨ (¬ ∧ ) ∨ (¬ ∧ ) $ (Distributive)
However I think I'm going down the wrong track and would appreciate some help. Thanks
It might become easier to manipulate such logical expression, if you use another way of writing it as shown below. Then, logical manipulations become mere algebraic manipulation:
That way, the transformation of your expression becomes quite short and easy to read:
$$ \overline{ (\overline{Q} + R)(\overline{P} Q R) + \overline{R} } \stackrel{de Morgan}{=} \overline{ (\overline{Q} + R)(\overline{P} Q R) }R \stackrel{Distr.\;\&\; Q\bar Q=0}{=} \overline{ ( \overline{P} Q R) } R \stackrel{de Morgan}{=} (P + \overline{Q} + \overline{R})R \stackrel{Distr.\;\&\; R\bar R=0}{=} (P + \overline{Q})R$$