Pure Lean 4 · No Mathlib
MediumSet Theory
59. De Morgan's Law for Set Union
Representing sets over `α` as predicates `α → Prop`, prove De Morgan's law for complements of unions: `(A ∪ B)ᶜ = Aᶜ ∩ Bᶜ`. Combine function extensionality (`funext`) and propositional extensionality (`propext`) without classical axioms.
Target Theorem
theorem set_de_morgan_union (α : Type) (A B : α → Prop) : (fun x => ¬(A x ∨ B x)) = (fun x => ¬A x ∧ ¬B x)Hints (0/3)
Stuck? Reveal hints one step at a time without spoiling the full proof.
Symbols:
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).