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

Theorem difex2 7588
Description: If the subtrahend of a class difference exists, then the minuend exists iff the difference exists. (Contributed by NM, 12-Nov-2003.) (Proof shortened by Andrew Salmon, 12-Aug-2011.)
Assertion
Ref Expression
difex2 (𝐵𝐶 → (𝐴 ∈ V ↔ (𝐴𝐵) ∈ V))

Proof of Theorem difex2
StepHypRef Expression
1 difexg 5246 . 2 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
2 ssun2 4103 . . . . 5 𝐴 ⊆ (𝐵𝐴)
3 uncom 4083 . . . . . 6 ((𝐴𝐵) ∪ 𝐵) = (𝐵 ∪ (𝐴𝐵))
4 undif2 4407 . . . . . 6 (𝐵 ∪ (𝐴𝐵)) = (𝐵𝐴)
53, 4eqtr2i 2767 . . . . 5 (𝐵𝐴) = ((𝐴𝐵) ∪ 𝐵)
62, 5sseqtri 3953 . . . 4 𝐴 ⊆ ((𝐴𝐵) ∪ 𝐵)
7 unexg 7577 . . . 4 (((𝐴𝐵) ∈ V ∧ 𝐵𝐶) → ((𝐴𝐵) ∪ 𝐵) ∈ V)
8 ssexg 5242 . . . 4 ((𝐴 ⊆ ((𝐴𝐵) ∪ 𝐵) ∧ ((𝐴𝐵) ∪ 𝐵) ∈ V) → 𝐴 ∈ V)
96, 7, 8sylancr 586 . . 3 (((𝐴𝐵) ∈ V ∧ 𝐵𝐶) → 𝐴 ∈ V)
109expcom 413 . 2 (𝐵𝐶 → ((𝐴𝐵) ∈ V → 𝐴 ∈ V))
111, 10impbid2 225 1 (𝐵𝐶 → (𝐴 ∈ V ↔ (𝐴𝐵) ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wcel 2108  Vcvv 3422  cdif 3880  cun 3881  wss 3883
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-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-sn 4559  df-pr 4561  df-uni 4837
This theorem is referenced by:  elpwun  7597
  Copyright terms: Public domain W3C validator