Let us determine whether each pair of propositions are logically equivalent or not.
1) Since ¬(p∨(¬p∧q))=¬((p∨¬p)∧(p∨q)))=¬(T∧(p∨q))=¬(p∨q)=¬p∧¬q, we conclude that ¬(p∨(¬p∧q)) and ¬p∧¬q are logically equivalent.
2) Since ¬(p↔q)=¬((p→q)∧(q→p))=¬((¬p∨q)∧(¬q∨p))=¬(¬p∨q)∨¬(¬q∨p)=(p∧¬q)∨(q∧¬p)=(p∨q)∧(¬q∨¬p)=(¬q→p)∧(p→¬q)=p↔¬q, we conclude that ¬(p↔q) and p↔¬q are logically equivalent.
3) Since for p=r=0, q=1 we have that p↔(q∧r)=F↔(T∧F)=F↔F=T but (p↔q)∧(p↔r)=(F↔T)∧(F↔F)=F∧T=F, we conclude that the formulas are not logically equivalent.
4) Since ¬(p↔q)=¬((p→q)∧(q→p))=¬((¬p∨q)∧(¬q∨p))=¬(¬(p∧¬q)∧¬(q∧¬p))=(p(q⊕1)⊕1)(q(p⊕1)⊕1)⊕1=(pq⊕p⊕1)(qp⊕q⊕1)⊕1=pq⊕pq⊕pq⊕pq⊕pq⊕p⊕pq⊕q⊕1⊕1=p⊕q,
we conclude that the formulas ¬(p↔q) and p⊕q are logically equivalent.
Comments