Counterexample Generation
Counterexample Generation problems ask you to find a truth assignment to variables that makes a given logical statement false. This disproves the statement's claim of logical truth (tautology) or equivalence. These problems test your ability to find falsifying assignments.
What You'll Learn
Introduction to Counterexample Generation
Counterexample Generation problems ask you to find a truth assignment to variables that makes a given logical statement false. This disproves the statement's claim of logical truth (tautology) or equivalence. These problems test your ability to find falsifying assignments.
Prerequisites
How to Solve Counterexample Generation Problems
Step 1: Identify the claim being made (usually an equivalence or tautology)
Step 2: To disprove an equivalence, find inputs where outputs differ
Step 3: To disprove a tautology, find inputs where expression is false
Step 4: Work backwards from the desired false output
Step 5: Choose truth values that make the expression false
Step 6: Verify that the chosen values indeed make the expression false
Step 7: Present the counterexample truth assignment
Example Problem
Example: Find a counterexample to show p → q is NOT equivalent to q → p. Solution: Step 1: Claim: p→q ≡ q→p Step 2: Find inputs where truth values differ Step 3: Try p=T, q=F: p→q = F, q→p = T → different Step 4: Counterexample: p=True, q=False Answer: p=True, q=False
Pro Tips & Tricks
- For p→q, the only false case is T→F
- For p↔q, false cases are T,F and F,T
- For p∧q, false when at least one is false
- For p∨q, false only when both false
- For ¬p, false when p is true
- To disprove an equivalence, find a row where truth values differ
Shortcut Methods to Solve Faster
Common Mistakes to Avoid
Practice Worksheets
Practice makes perfect! Work through these worksheets to master Counterexample Generation. Each worksheet contains 20 questions with detailed explanations. Start from Worksheet 1 and progress through increasing difficulty levels.
Exam Importance
Counterexample Generation is an important topic for various competitive exams. Here's how frequently it appears:
Ready to Master Counterexample Generation?
Start with Worksheet 1 and work your way up to expert level! Each worksheet includes: