Proving ((p->~q)∧q)->~p as a Tautology - Abdullah's FB Question

  • Context: MHB 
  • Thread starter Thread starter alyafey22
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving that the logical expression $$((p \to \neg q) \land q) \to \neg p$$ is a tautology. By applying the commutative law, the expression is rewritten as $$(q \land (p \to \neg q)) \to \neg p$$. Utilizing the equivalence $$p \to q \equiv \neg p \lor q$$, the expression simplifies to $$(q \land \neg p) \lor (q \land \neg q) \to \neg p$$. The final conclusion is reached using De Morgan's law, confirming that the expression evaluates to true, thus establishing it as a tautology.

PREREQUISITES
  • Understanding of propositional logic and tautologies
  • Familiarity with logical equivalences, specifically $$p \to q \equiv \neg p \lor q$$
  • Knowledge of De Morgan's laws in logic
  • Ability to apply the commutative and distributive laws in logical expressions
NEXT STEPS
  • Study the principles of propositional logic and tautologies
  • Learn more about logical equivalences and their applications
  • Explore De Morgan's laws in greater detail
  • Practice rewriting complex logical expressions using commutative and distributive laws
USEFUL FOR

Students of mathematics, logic enthusiasts, and anyone interested in understanding logical proofs and tautologies will benefit from this discussion.

alyafey22
Gold Member
MHB
Messages
1,556
Reaction score
2
Abdullah asked the following question

prove that $$((p\to \neg q) \land q) \to \neg p$$

is a Tautology .
 
Physics news on Phys.org
By the commutative law we can rewrite as

$$(q \land (p\to \neg q) ) \to \neg p$$

First we need to know that

$$\tag{1}p\to q \equiv \, \neg p \lor q$$

Using this we get

$$q \land (\neg p \lor \neg q)\to \neg p $$

By distributive law

$$ (q \land \neg p) \lor (q \land \neg q)\to \neg p $$

Since

$$q \land \neg q \equiv F \,\,\, , \,\,\, q \lor F \equiv q$$

So we have

$$ (q \land \neg p)\to \neg p $$

Using (1) again

$$ \neg (q \land \neg p) \lor \neg p \equiv \neg q \lor p \lor \neg p\equiv T$$

Using De Morgan law .
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K