Math 2.0

Mathematical logic and foundations Proof

Proof of De Morgan's laws for sets

Builds on SetAxiom of extensionalityComplementUnionIntersectionDe Morgan's laws

Proof

We show that each side has the same elements as the other. Two sets with the same elements are equal, by the axiom of extensionality.

  1. Let UU be a set, let A,B⊆UA, B \subseteq U, and write Xc=U∖XX^c = U \setminus X for the complement of X⊆UX \subseteq U.
  2. Let xx be an object. By the definitions of complement and union, x∈(A∪B)cx \in (A \cup B)^c holds exactly when x∈Ux \in U and ¬(x∈A∨x∈B)\neg (x \in A \lor x \in B).
  3. By the first of De Morgan's laws, ¬(x∈A∨x∈B)\neg (x \in A \lor x \in B) is equivalent to x∉A∧x∉Bx \notin A \land x \notin B.
  4. So x∈(A∪B)cx \in (A \cup B)^c holds exactly when x∈Ux \in U, x∉Ax \notin A and x∉Bx \notin B. This says x∈Acx \in A^c and x∈Bcx \in B^c.
  5. By the definition of intersection, step 4 says that x∈(A∪B)cx \in (A \cup B)^c holds exactly when x∈Ac∩Bcx \in A^c \cap B^c. Hence (A∪B)c=Ac∩Bc(A \cup B)^c = A^c \cap B^c.
  6. By the definitions of complement and intersection, x∈(A∩B)cx \in (A \cap B)^c holds exactly when x∈Ux \in U and ¬(x∈A∧x∈B)\neg (x \in A \land x \in B).
  7. By the second of De Morgan's laws, ¬(x∈A∧x∈B)\neg (x \in A \land x \in B) is equivalent to x∉A∨x∉Bx \notin A \lor x \notin B.
  8. So x∈(A∩B)cx \in (A \cap B)^c holds exactly when x∈Ux \in U, and x∉Ax \notin A or x∉Bx \notin B. This says x∈Acx \in A^c or x∈Bcx \in B^c.
  9. By the definition of union, step 8 says that x∈(A∩B)cx \in (A \cap B)^c holds exactly when x∈Ac∪Bcx \in A^c \cup B^c. Hence (A∩B)c=Ac∪Bc(A \cap B)^c = A^c \cup B^c.

Idea

Complement means "not", union means "or" and intersection means "and". Written for one element, each set law becomes one of De Morgan's laws of logic.

Reading path

To understand this page from the ground up, read these 23 pages in order. The foundations come first. The path takes the proof Proof of De Morgan's laws by truth tables.

Show the path as a graph
Element, definition, no evidence levelElementdefinitionProposition, concept, no evidence levelPropositionconceptSet, definition, no evidence levelSetdefinitionConjunction, definition, no evidence levelConjunctiondefinitionDisjunction, definition, no evidence levelDisjunctiondefinitionImplication, definition, no evidence levelImplicationdefinitionNegation, definition, no evidence levelNegationdefinitionPredicate, definition, no evidence levelPredicatedefinitionIntersection, definition, no evidence levelIntersectiondefinitionUnion, definition, no evidence levelUniondefinitionBiconditional, definition, no evidence levelBiconditionaldefinitionTruth table, concept, no evidence levelTruth tableconceptUniversal quantifier, definition, no evidence levelUniversal quantifierdefinitionAxiom of extensionality, statement, no evidence levelAxiom of extensionali…statementSubset, definition, no evidence levelSubsetdefinitionPropositional logic, concept, no evidence levelPropositional logicconceptUniversal set, definition, no evidence levelUniversal setdefinitionTautology, definition, no evidence levelTautologydefinitionComplement, definition, no evidence levelComplementdefinitionLogical equivalence, definition, no evidence levelLogical equivalencedefinitionProof of De Morgan's laws by truth tables, proof, no evidence levelProof of De Morgan's …proofDe Morgan's laws, statement, no evidence levelDe Morgan's lawsstatementProof of De Morgan's laws for sets, proof, no evidence levelProof of De Morgan's …proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Proposition concept
  3. Set definition
  4. Conjunction definition
  5. Disjunction definition
  6. Implication definition
  7. Negation definition
  8. Predicate definition
  9. Intersection definition
  10. Union definition
  11. Biconditional definition
  12. Truth table concept
  13. Universal quantifier definition
  14. Axiom of extensionality statement
  15. Subset definition
  16. Propositional logic concept
  17. Universal set definition
  18. Tautology definition
  19. Complement definition
  20. Logical equivalence definition
  21. Proof of De Morgan's laws by truth tables proof
  22. De Morgan's laws statement
  23. Proof of De Morgan's laws for sets proof

Where this leads

64 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/De_Morgan's_laws, Proof for set theory
About this page
Tag64395G4VWB
URIm2://64395G4VWB
Kindproof
WritingW0 stub
MSC03E20
ProvesDe Morgan's laws for sets
UsesSet, Axiom of extensionality, Complement, Union, Intersection, De Morgan's laws
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.