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 30832
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 866 . 2 ((𝐴 = 𝐵 ∨ ¬ ∃𝑧(𝑧𝐴𝑧𝐵)) ↔ (¬ ∃𝑧(𝑧𝐴𝑧𝐵) ∨ 𝐴 = 𝐵))
2 df-in 3890 . . . . . 6 (𝐴𝐵) = {𝑧 ∣ (𝑧𝐴𝑧𝐵)}
32neeq1i 3007 . . . . 5 ((𝐴𝐵) ≠ ∅ ↔ {𝑧 ∣ (𝑧𝐴𝑧𝐵)} ≠ ∅)
4 abn0 4311 . . . . 5 ({𝑧 ∣ (𝑧𝐴𝑧𝐵)} ≠ ∅ ↔ ∃𝑧(𝑧𝐴𝑧𝐵))
53, 4bitr2i 275 . . . 4 (∃𝑧(𝑧𝐴𝑧𝐵) ↔ (𝐴𝐵) ≠ ∅)
65necon2bbii 2994 . . 3 ((𝐴𝐵) = ∅ ↔ ¬ ∃𝑧(𝑧𝐴𝑧𝐵))
76orbi2i 909 . 2 ((𝐴 = 𝐵 ∨ (𝐴𝐵) = ∅) ↔ (𝐴 = 𝐵 ∨ ¬ ∃𝑧(𝑧𝐴𝑧𝐵)))
8 imor 849 . 2 ((∃𝑧(𝑧𝐴𝑧𝐵) → 𝐴 = 𝐵) ↔ (¬ ∃𝑧(𝑧𝐴𝑧𝐵) ∨ 𝐴 = 𝐵))
91, 7, 83bitr4ri 303 1 ((∃𝑧(𝑧𝐴𝑧𝐵) → 𝐴 = 𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐴𝐵) = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wne 2942  cin 3882  c0 4253
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-ne 2943  df-dif 3886  df-in 3890  df-nul 4254
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator