Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  disjex Structured version   Visualization version   GIF version

Theorem disjex 33261
Description: Two ways to say that two classes are disjoint (or equal). (Contributed by Thierry Arnoux, 4-Oct-2016.)
Assertion
Ref Expression
disjex ((∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝐴 = 𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐴 ∩ 𝐵) = ∅))
Distinct variable groups:   𝑧,𝐴   𝑧,𝐵

Proof of Theorem disjex
StepHypRef Expression
1 orcom 884 . 2 ((𝐴 = 𝐵 ∨ ¬ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) ↔ (¬ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) ∨ 𝐴 = 𝐵))
2 df-in 4094 . . . . . 6 (𝐴 ∩ 𝐵) = {𝑧 ∣ (𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)}
32neeq1i 3023 . . . . 5 ((𝐴 ∩ 𝐵) ≠ ∅ ↔ {𝑧 ∣ (𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)} ≠ ∅)
4 abn0 4337 . . . . 5 ({𝑧 ∣ (𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)} ≠ ∅ ↔ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵))
53, 4bitr2i 279 . . . 4 (∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) ↔ (𝐴 ∩ 𝐵) ≠ ∅)
65necon2bbii 3010 . . 3 ((𝐴 ∩ 𝐵) = ∅ ↔ ¬ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵))
76orbi2i 926 . 2 ((𝐴 = 𝐵 ∨ (𝐴 ∩ 𝐵) = ∅) ↔ (𝐴 = 𝐵 ∨ ¬ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)))
8 imor 867 . 2 ((∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝐴 = 𝐵) ↔ (¬ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) ∨ 𝐴 = 𝐵))
91, 7, 83bitr4ri 307 1 ((∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝐴 = 𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐴 ∩ 𝐵) = ∅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {cab 2741   ≠ wne 2959   ∩ 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-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-ne 2960  df-dif 4050  df-in 4094  df-nul 4282
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator