A counterexample is a specific input that breaks a claim. For a claimed identity between two expressions, it is a row where the two sides disagree.
The logic is lopsided:
- To prove two expressions are equivalent, you must cover every row, or use the laws.
- To disprove it, one row is enough.
That makes counterexamples the fastest tool for checking your own work. If you suspect a step, try an input that makes the changed part matter.
How to find one quickly: look at what differs between the two sides and choose values that make that part decide the output. For versus , the difference only shows when A = 0 (otherwise both are 1), and then B = 1 makes true but false.
Counterexamples also explain the common myths. Cancelling fails because A = 1, B = 0, C = 1 makes = while B ≠ C.