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

Theorem difex2 7476
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 5223 . 2 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
2 ssun2 4148 . . . . 5 𝐴 ⊆ (𝐵𝐴)
3 uncom 4128 . . . . . 6 ((𝐴𝐵) ∪ 𝐵) = (𝐵 ∪ (𝐴𝐵))
4 undif2 4424 . . . . . 6 (𝐵 ∪ (𝐴𝐵)) = (𝐵𝐴)
53, 4eqtr2i 2845 . . . . 5 (𝐵𝐴) = ((𝐴𝐵) ∪ 𝐵)
62, 5sseqtri 4002 . . . 4 𝐴 ⊆ ((𝐴𝐵) ∪ 𝐵)
7 unexg 7466 . . . 4 (((𝐴𝐵) ∈ V ∧ 𝐵𝐶) → ((𝐴𝐵) ∪ 𝐵) ∈ V)
8 ssexg 5219 . . . 4 ((𝐴 ⊆ ((𝐴𝐵) ∪ 𝐵) ∧ ((𝐴𝐵) ∪ 𝐵) ∈ V) → 𝐴 ∈ V)
96, 7, 8sylancr 589 . . 3 (((𝐴𝐵) ∈ V ∧ 𝐵𝐶) → 𝐴 ∈ V)
109expcom 416 . 2 (𝐵𝐶 → ((𝐴𝐵) ∈ V → 𝐴 ∈ V))
111, 10impbid2 228 1 (𝐵𝐶 → (𝐴 ∈ V ↔ (𝐴𝐵) ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wcel 2110  Vcvv 3494  cdif 3932  cun 3933  wss 3935
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-sn 4561  df-pr 4563  df-uni 4832
This theorem is referenced by:  elpwun  7485
  Copyright terms: Public domain W3C validator