MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  disjeq0 Structured version   Visualization version   GIF version

Theorem disjeq0 4412
Description: Two disjoint sets are equal iff both are empty. (Contributed by AV, 19-Jun-2022.)
Assertion
Ref Expression
disjeq0 ((𝐴 ∩ 𝐵) = ∅ → (𝐴 = 𝐵 ↔ (𝐴 = ∅ ∧ 𝐵 = ∅)))

Proof of Theorem disjeq0
StepHypRef Expression
1 ineq1 4113 . . . . . 6 (𝐴 = 𝐵 → (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐵))
2 inidm 4126 . . . . . 6 (𝐵 ∩ 𝐵) = 𝐵
31, 2eqtrdi 2814 . . . . 5 (𝐴 = 𝐵 → (𝐴 ∩ 𝐵) = 𝐵)
43eqeq1d 2765 . . . 4 (𝐴 = 𝐵 → ((𝐴 ∩ 𝐵) = ∅ ↔ 𝐵 = ∅))
5 eqtr 2783 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝐵 = ∅) → 𝐴 = ∅)
6 simpr 490 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝐵 = ∅) → 𝐵 = ∅)
75, 6jca 521 . . . . 5 ((𝐴 = 𝐵 ∧ 𝐵 = ∅) → (𝐴 = ∅ ∧ 𝐵 = ∅))
87ex 418 . . . 4 (𝐴 = 𝐵 → (𝐵 = ∅ → (𝐴 = ∅ ∧ 𝐵 = ∅)))
94, 8sylbid 243 . . 3 (𝐴 = 𝐵 → ((𝐴 ∩ 𝐵) = ∅ → (𝐴 = ∅ ∧ 𝐵 = ∅)))
109com12 33 . 2 ((𝐴 ∩ 𝐵) = ∅ → (𝐴 = 𝐵 → (𝐴 = ∅ ∧ 𝐵 = ∅)))
11 eqtr3 2785 . 2 ((𝐴 = ∅ ∧ 𝐵 = ∅) → 𝐴 = 𝐵)
1210, 11impbid1 228 1 ((𝐴 ∩ 𝐵) = ∅ → (𝐴 = 𝐵 ↔ (𝐴 = ∅ ∧ 𝐵 = ∅)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∩ cin 4092  ∅c0 4281
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-in 4094
This theorem is used by:  epnsym  9634  erscottd  35842
  Copyright terms: Public domain W3C validator