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 28787
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 401 . 2 ((𝐴 = 𝐵 ∨ ¬ ∃𝑧(𝑧𝐴𝑧𝐵)) ↔ (¬ ∃𝑧(𝑧𝐴𝑧𝐵) ∨ 𝐴 = 𝐵))
2 df-in 3547 . . . . . 6 (𝐴𝐵) = {𝑧 ∣ (𝑧𝐴𝑧𝐵)}
32neeq1i 2846 . . . . 5 ((𝐴𝐵) ≠ ∅ ↔ {𝑧 ∣ (𝑧𝐴𝑧𝐵)} ≠ ∅)
4 abn0 3908 . . . . 5 ({𝑧 ∣ (𝑧𝐴𝑧𝐵)} ≠ ∅ ↔ ∃𝑧(𝑧𝐴𝑧𝐵))
53, 4bitr2i 264 . . . 4 (∃𝑧(𝑧𝐴𝑧𝐵) ↔ (𝐴𝐵) ≠ ∅)
65necon2bbii 2833 . . 3 ((𝐴𝐵) = ∅ ↔ ¬ ∃𝑧(𝑧𝐴𝑧𝐵))
76orbi2i 540 . 2 ((𝐴 = 𝐵 ∨ (𝐴𝐵) = ∅) ↔ (𝐴 = 𝐵 ∨ ¬ ∃𝑧(𝑧𝐴𝑧𝐵)))
8 imor 427 . 2 ((∃𝑧(𝑧𝐴𝑧𝐵) → 𝐴 = 𝐵) ↔ (¬ ∃𝑧(𝑧𝐴𝑧𝐵) ∨ 𝐴 = 𝐵))
91, 7, 83bitr4ri 292 1 ((∃𝑧(𝑧𝐴𝑧𝐵) → 𝐴 = 𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐴𝐵) = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383   = wceq 1475  wex 1695  wcel 1977  {cab 2596  wne 2780  cin 3539  c0 3874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-v 3175  df-dif 3543  df-in 3547  df-nul 3875
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator