Proving Set Identities
How do you know that is really the same set as ? This must hold for every choice of sets . You cannot check this by drawing one Venn diagram and declaring victory. A picture only shows one configuration of overlaps. A set identity claims something about all sets, including infinite ones with no sensible picture at all. What is needed is a method. It turns the informal idea "these two sets have exactly the same members" into a chain of logically airtight steps. That method is element-chasing: to show two sets are equal, pick an arbitrary element. Then chase it through the definitions of the set operations on each side. Show it lands in the other set. This single technique rests on nothing more than Set Equality and Extensionality and the definitions of Union and Intersection and Set Difference and Complement. It is the workhorse that proves every identity in the algebra of sets. The importance of this technique goes beyond bookkeeping. It is the first place many students encounter a genuinely general proof. Such a proof must work uniformly over an infinite universe of possible sets. It is verified by reasoning about an unspecified but fixed object . The discipline of element-chasing is a direct descendant of the discipline of predicate logic. Each set-builder expression hides a logical formula. So "prove the sets are equal" becomes "prove the formulas are logically equivalent." This connects set theory tightly to propositional and predicate logic. It explains why the same identity (say, De Morgan's law) appears wearing different clothes. It shows up in logic, set theory, and Boolean algebra. The big picture this article delivers is a completely general method. It is stated as a theorem about how to prove set equality. Alongside it is a fully worked derivation of a nontrivial identity. There is also a companion proof of the inclusion version of the same idea, since is often the finer unit of reasoning. Finally, there is a counterexample showing exactly which step of the method cannot be skipped. Along the way we build a habit. This includes quantifier discipline, one direction at a time, and no hidden assumptions about finiteness or disjointness. This habit will be reused verbatim when proving De Morgan's Laws for Sets and the rest of The Algebra of Sets. By the end, "prove a set identity" should feel like a completely mechanical (if sometimes clever) two-part argument. Show each way, using nothing but definitions and logic. Do this one element at a time.
- To prove , prove and separately, by Set Equality and Extensionality.
- To prove , fix an arbitrary and prove , using only the definitions of the operations in and .
- Each set operation (, complement) unfolds membership into a logical statement (), so element-chasing is predicate logic in disguise.
- The two directions of an inclusion are logically independent proofs; do not silently assume the argument reverses.
- A single "let be arbitrary" variable must be threaded through the whole chain — switching which you mean partway through invalidates the proof.
- Key idea: a set identity is really a universally quantified biconditional about membership, and element-chasing is just unpacking that quantifier and biconditional, definition by definition.
Where this lives today
Element-chasing is the direct ancestor of the reasoning used in Boolean algebra and digital logic design, where the same identities (distributivity, De Morgan's laws) justify simplifying circuits, with replaced by OR, AND, NOT gates acting on bits. In database theory, query optimizers rely on set-theoretic identities among relational operations (union, intersection, difference of tuples) to rewrite queries into equivalent but cheaper forms — correctness of every rewrite rule is, at bottom, an element-chasing proof. In topology, proofs that a space is Hausdorff, or that an intersection of closed sets is closed, routinely reduce to chasing a point through set-builder definitions of open and closed sets. In probability theory, identities among events (e.g. ) are typically first justified by exactly the set-theoretic identity for , proved by element-chasing, before probabilities are assigned. In formal verification and type theory (used in proof assistants such as Coq, Lean, and Agda), statements about sets or types are literally encoded as predicates, and "element-chasing" becomes the literal mechanized proof term: introduce a variable, destructure the hypothesis, construct the conclusion — the exact skeleton of the arguments given above. Finally, in cryptography, set-difference and intersection identities among key spaces or event sets in security proofs (e.g., bounding the probability that an adversary's guesses intersect a secret set) are verified with the same technique before any probability bound is computed.
Ask the tutor: Can you walk me through element-chasing both directions of ?
Let and be sets (built from other sets by the operations , and complement relative to some universe ). An element-chasing proof that consists of two sub-proofs: 1. () A proof of the universally quantified statement
carried out by fixing an arbitrary object , assuming , unfolding this assumption via the definitions of the operations used to build into an equivalent logical formula , and then deriving from (by propositional/predicate logic) the formula obtained by unfolding , thereby concluding . 2. () The symmetric argument: fix arbitrary , assume , unfold to , derive , conclude . By the Set Equality and Extensionality axiom — two sets are equal exactly when they have the same elements — steps (1) and (2) together establish . More generally, an element-chasing proof of a single inclusion consists of step (1) alone: fix arbitrary , unfold, and derive . The key unfoldings, valid for all sets and all in the ambient universe , are the membership rules:
Intuition
Think of membership in a set as a predicate — a statement that can be true or false of a given . Then is nothing but the disjunction " or ," and is the conjunction " and ." Set operations are a picture-language for logical connectives. An identity like is, underneath the notation, the logical equivalence
which is a fact about truth values that can be checked (in the finite propositional case) by a truth table, and which generalizes, via quantifiers, to arbitrary sets. Element-chasing is the bridge that lets you transport a fact about the logical connectives into a fact about — for every , not just the ones you can draw. The Venn diagram below is not a proof, but it is exactly the right picture to guess the identity before chasing elements to confirm it holds in full generality (including cases the diagram cannot depict, such as overlapping in complicated infinite ways).
The diagram suggests the equality; the theorem below proves it holds for all sets, drawable or not.
Let be a universe of discourse and let be sets, each definable by an expression built from other sets using , and complement relative to . Suppose: 1. There is a proof of , i.e. . 2. There is a proof of , i.e. . Then . Conversely, if , then both (1) and (2) hold.
We prove both directions. The technique used throughout is direct proof via the Axiom of Extensionality, combined with universal generalization (to establish a statement, argue about an arbitrary, unspecified ) and universal instantiation (to use a statement, apply it to a specific ).
(, sufficiency of (1) and (2)). Assume (1) and (2) hold. By Set Equality and Extensionality, two sets are equal if and only if they have exactly the same elements, i.e.
So it suffices to prove . Let be an arbitrary object in (arbitrary, not otherwise constrained). We prove the biconditional by proving both conditionals.
- ( direction of the biconditional) Suppose . By hypothesis (1), the statement holds; instantiating this universal statement at our particular gives . Combined with the assumption , modus ponens yields .
- ( direction of the biconditional) Suppose . By hypothesis (2), instantiate at this to get ; modus ponens with yields .
Since was arbitrary, both conditionals hold for every , so holds for every , i.e. . By Extensionality, .
(, necessity of (1) and (2)). Assume . By Extensionality, . Let be arbitrary. Instantiating gives , from which both conditionals and follow immediately (a biconditional entails each of its two conditionals, by the truth table for , or directly: assume the antecedent of each conditional and use the appropriate direction of the biconditional to conclude the consequent). Since was arbitrary, both (1) and (2) follow by universal generalization.
∎This theorem licenses the two-inclusion strategy; the actual work in any specific identity is producing the proofs of (1) and (2), and that work is where the membership-unfolding rules from the definition come in. We now record, as a lemma, the precise unfolding rules used in every such proof — these are themselves immediate consequences of how are defined, so they require no further proof beyond restating the definitions.
For all sets (subsets of a universe ) and all :
These hold by definition of , , , and complement (as given in Union and Intersection and Set Difference and Complement); no further proof is required, but every element-chasing argument invokes them explicitly at each unfolding step.
Worked examples
Example 1 (an asymmetric identity: one distributive law with three distinct roles for ). Claim:
Proof. By Method of Element-Chasing it suffices to prove both inclusions. () Let be an arbitrary element with . By the membership unfolding rule for ,
So and . Unfolding via the rule for ,
we get . By De Morgan's law for propositions (a fact of propositional logic, not yet the set-theoretic De Morgan law we are foreshadowing — that one is proved using this technique, not assumed by it), this is logically equivalent to
i.e. and . Combining with (which we still have, unused so far in this branch), we get two facts:
(Here we use twice: propositional logic permits reusing a conjunct, since entails both and .) By the unfolding rule for read in reverse, , and similarly . So and ; by the unfolding rule for (in reverse), . Since was arbitrary, . () Let be an arbitrary element with . Unfolding : and . Unfolding each : and . In particular (from either conjunct), and , and . So and , which by propositional De Morgan gives , i.e. by the -rule. Combined with : , i.e. by the -rule. Since was arbitrary, . Both inclusions hold, so by Method of Element-Chasing, . Notice the identity used no special assumption about — not disjointness, not one containing another, not finiteness. That generality is exactly the point of the method: the proof only used the four unfolding rules and propositional logic.
Example 2 (an inclusion, not an equality, with unequal roles — illustrating that the two directions of the theorem's method genuinely can fail to be symmetric). Claim: for all sets ,
Proof. Let be an arbitrary element of . Unfolding : and . Unfolding : and . So we have three atomic facts:
We must show , i.e. by the -rule, that and . The first conjunct, , is already in hand. For the second, unfold : this means . We must show the negation of this, i.e. , equivalently (propositional De Morgan again) . We already know (one of our three atomic facts), so the disjunction holds trivially (a disjunction holds whenever either disjunct does). Hence , i.e. . Combined with , we conclude . Since was an arbitrary element of , we have shown . It is worth noting explicitly that the reverse inclusion is false in general: take , , . Then , while , so — equal here. Try instead , , : then , but , so , which properly contains and is not a subset of it. This confirms the claim really is a one-directional inclusion, not a disguised equality — a fact one only discovers by attempting (and failing) to element-chase the reverse direction, which is itself part of the discipline of the method.
Consider the false claim: "for all sets , if then ." A tempting but illegitimate "proof" picks a specific element to chase instead of an arbitrary one: "Let (such exists since ). Then and . Since , and represents a generic element, every element of is in , so ." This argument silently swaps a particular witness (one element known to lie in both sets) for an arbitrary one (standing for every element of ), and that swap is the entire error — the Method of Element-Chasing requires the chased element to be genuinely arbitrary in , not merely known to exist in . A concrete instance shows the conclusion is false: let , . Then , so the (false) hypothesis-implication's antecedent holds, yet because but . The witness used in the flawed argument really does satisfy , but the flawed step "since ... every element of is in " illegitimately promotes a fact about the one witness to a universal claim about all elements of , including , which was never chased at all. The lesson: in a correct element-chasing proof of , the variable must be introduced by "let be an arbitrary element of " — meaning is fixed but unconstrained beyond — and the entire chain of unfoldings must apply to that under no assumption beyond membership in . Using a witness pulled from a smaller or differently-defined set (here, ) is not a proof about all of .
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| Empty set involved, e.g. | Unfold as usual: , and is always true, so this reduces correctly to . No special-casing needed. |
| Universe not specified | Complement is only meaningful relative to a fixed ambient universe ; state explicitly before unfolding . |
| Infinite sets, indexed unions/intersections | Element-chasing works unchanged; only the unfolding rule for indexed operations () is used instead of the binary rule. |
| Proving only when equality is claimed | Both inclusions must be proved; one direction never automatically gives the other (see Example 2 and the counterexample). |
| Reusing the "same" across the two inclusion proofs | Each inclusion proof introduces its own arbitrary ; they are logically separate arguments even though written with the same symbol. |
| Confusing " arbitrary in " with " a specific witness" | The most common student error — see the counterexample above. |
The mathematician behind it
Origins · 1 minGeorg Cantor and how this was discovered
Cantor developed set theory as a rigorous framework for reasoning about infinite collections, motivated by problems in real analysis (the convergence behavior of Fourier series) that forced him to classify infinite sets of exceptional points. His insistence that two sets are identical exactly when they have the same elements — the principle now called Extensionality — underlies every element-chasing proof: it is precisely what licenses "show the same elements are in both sets" as a complete method for proving equality, rather than merely suggestive evidence.
Why do I need to prove both and — isn't one direction usually "the same argument backwards"?
Sometimes the backward direction really does use the same steps in reverse (as in Example 1, where every unfolding rule is a biconditional and hence reversible). But this is not guaranteed: many set-theoretic claims are only inclusions, and attempting to reverse the argument will fail at a specific step — usually where a conjunction is weakened to one of its conjuncts, or a disjunction is derived from just one disjunct, since those steps are not reversible. Example 2 shows a genuine one-directional inclusion: reversing the given proof breaks down (and the reverse inclusion is in fact false, as the numeric counterexample there shows). Always attempt the reverse direction as an independent proof; do not assume symmetry.
Is element-chasing the only way to prove a set identity?
No. Once foundational identities (like De Morgan's laws and the distributive laws) are established, many later identities can be proved algebraically — substituting known identities into an expression and simplifying, much like algebra with numbers — without re-chasing elements from scratch. Truth tables can verify identities among finitely many named sets in general position (treating membership as a Boolean variable per set). But element-chasing is the foundational method: it is how the base identities are established in the first place, and it always works, even when no algebraic shortcut is visible.
Does element-chasing require the sets to be finite?
No, and this is one of its main virtues. The proofs above never assumed were finite, listable, or even well-orderable — they used only the logical unfolding rules for , which hold for arbitrary sets, including infinite and even uncountable ones. This is precisely why element-chasing (rather than, say, checking a picture or a finite list of cases) is the correct general-purpose method; a Venn diagram only illustrates a typical finite configuration and cannot certify a claim about all sets.
What exactly is being "unfolded" when we write ?
The set is defined as (relative to a universe , or simply as if already live in a common universe). Membership in a set defined by a set-builder predicate is, by the defining property of set-builder notation, logically equivalent to the predicate itself holding: . So "unfolding" is just invoking this defining equivalence for the particular predicate .
Can element-chasing prove a claim is false, or only that it is true?
Element-chasing directly proves inclusions and equalities. To refute a claimed inclusion , you do not chase an arbitrary element; instead you exhibit one specific element that is in but not in — a genuine counterexample, as in Example 2's numeric refutation of the reverse inclusion. This is the logical dual of the method: proving false requires only one witness with , since is equivalent to .
How does this connect to De Morgan's Laws for Sets?
De Morgan's Laws for Sets — and — are themselves proved by exactly this element-chasing method, unfolding into and then invoking De Morgan's law for propositions to rewrite this as , i.e. . This article's Example 1 already uses propositional De Morgan as an ingredient; the set-theoretic version is the direct next application of the same machinery.
Why does the method work at all — what guarantees it's not missing hidden cases?
Because the unfolding rules for , and complement are stated as biconditionals covering every element of the universe, and because the arbitrary element introduced at the start of the proof is genuinely unconstrained beyond its hypothesized membership. Universal generalization — the logical principle that a fact proved about a wholly arbitrary holds for every — is what licenses concluding from a single argument about one unspecified . As long as no extra, unstated assumption about sneaks into the proof (the error illustrated in the counterexample), no case is missed.