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 33168
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 3906 . . . . . 6 (𝐴 ∩ 𝐵) = {𝑧 ∣ (𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)}
32neeq1i 3020 . . . . 5 ((𝐴 ∩ 𝐵) ≠ ∅ ↔ {𝑧 ∣ (𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)} ≠ ∅)
4 abn0 4334 . . . . 5 ({𝑧 ∣ (𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)} ≠ ∅ ↔ ∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵))
53, 4bitr2i 279 . . . 4 (∃𝑧(𝑧 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) ↔ (𝐴 ∩ 𝐵) ≠ ∅)
65necon2bbii 3007 . . 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 2145  {cab 2739   ≠ wne 2956   ∩ cin 3898  ∅c0 4279
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 1943  ax-6 2000  ax-7 2041  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
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 2100  df-clab 2740  df-cleq 2753  df-ne 2957  df-dif 3902  df-in 3906  df-nul 4280
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator