CleverSphere

Checking equivalence and finding counterexamples

Two formulas are equivalent if their truth tables agree in every row. To disprove it, one assignment is enough.

Rules

  • Equivalent: same column in every row
  • One differing row disproves equivalence
  • Common fallacy: confusing A → B with B → A
  • Common fallacy: De Morgan without flipping the operator

Your turn

Three problems on this topic. Any equivalent formula counts.

  1. 1 · Find a counterexample
  2. 2
  3. 3

Someone claims the two formulas are equivalent. Disprove it with a counterexample.

¬(B ∧ A) ≡? ¬B ∧ ¬A

Assignment AB where they differ (e.g. 00)

In how many of the 4 rows do they differ?

Worked example

Someone claims the two formulas are equivalent. Disprove it with a counterexample.

¬(B ⊕ A) ≡? ¬B ⊕ ¬A

Worked solution

  1. 1Left column: 1001
  2. 2Right column: 0110
  3. 3They differ in rows 00, 01, 10, 11

Typical mistake: A single row with different values is enough to prove two formulas are not equivalent.

Common questions

Is one counterexample enough as proof?

To disprove equivalence, yes. To prove it you have to check every row or transform one formula into the other.

Related

More topics