Proving Equality with Membership Tests

Two sets are equal when every allowed element belongs to either both or neither. This can be proved with two subset directions.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Verify a distribution law
  2. Use a counterexample for failed claims
  3. Test a candidate by translating operations into logic
  4. Search for a single differing assignment when a claim looks doubtful

Verify a distribution law

A value in \(A\cap(B\cup C)\) lies in A and at least one of B or C. It therefore lies in \((A\cap B)\cup(A\cap C)\). Reversing those implications proves containment back. The union and intersection rules justify each step.

Use a counterexample for failed claims

To refute equality, exhibit one member appearing only on one side. A symmetric difference identifies exactly this set of witnesses.[1]

Test a candidate by translating operations into logic

To show \(A\cap(B\cup C)=(A\cap B)\cup(A\cap C)\), let \(x\) be arbitrary. Membership on the left is \(a\land(b\lor c)\), where each letter records membership in the corresponding set. Distributing conjunction gives the right membership test. See Boolean truth tables.

a,b,c = 0,1,1: both sides false
a,b,c = 1,0,1: both sides true
a,b,c = 1,0,0: both sides false
The distributive law covers all remaining assignments

Search for a single differing assignment when a claim looks doubtful

The proposed equality of intersection and union already fails at an element belonging only to A. A counterexample can use the smallest universe containing a witness. A few matching tests help check translation but do not establish equivalence.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩