The distributive property is very simple and it says p ∧ ( q ∨ r ) ≡ ( p ∧ q ) ∨ ( p ∧ r ), but here how is (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ ¬r) ≡ (p ∧ ¬r) ∨ (¬q ∧ q) which someone told me is according to the distributive property, but I didn't get it.
In simple words, can someone please tell me in parallel & exactly how this proposition (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ ¬r) ≡ (p ∧ ¬r) ∨ (¬q ∧ q) matches the distributive property p ∧ ( q ∨ r ) ≡ ( p ∧ q ) ∨ ( p ∧ r )? What each variable in distributive property means in that proposition. Million Thanks!
In (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ ¬r) ≡ (p ∧ ¬r) ∨ (¬q ∧ q), let s = p ∧ ¬r.
Then this becomes (s ∧ q) ∨ (s ∧ ¬q) ≡ s ∨ (¬q ∧ q), for which the distributive property is clear.
Of course you also need the commutative and associative properties.