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

Theorem difex2 7761
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 5302 . 2 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
2 ssun2 4132 . . . . 5 𝐴 ⊆ (𝐵𝐴)
3 uncom 4112 . . . . . 6 ((𝐴𝐵) ∪ 𝐵) = (𝐵 ∪ (𝐴𝐵))
4 undif2 4438 . . . . . 6 (𝐵 ∪ (𝐴𝐵)) = (𝐵𝐴)
53, 4eqtr2i 2789 . . . . 5 (𝐵𝐴) = ((𝐴𝐵) ∪ 𝐵)
62, 5sseqtri 3986 . . . 4 𝐴 ⊆ ((𝐴𝐵) ∪ 𝐵)
7 unexg 7747 . . . 4 (((𝐴𝐵) ∈ V ∧ 𝐵𝐶) → ((𝐴𝐵) ∪ 𝐵) ∈ V)
8 ssexg 5292 . . . 4 ((𝐴 ⊆ ((𝐴𝐵) ∪ 𝐵) ∧ ((𝐴𝐵) ∪ 𝐵) ∈ V) → 𝐴 ∈ V)
96, 7, 8sylancr 599 . . 3 (((𝐴𝐵) ∈ V ∧ 𝐵𝐶) → 𝐴 ∈ V)
109expcom 419 . 2 (𝐵𝐶 → ((𝐴𝐵) ∈ V → 𝐴 ∈ V))
111, 10impbid2 229 1 (𝐵𝐶 → (𝐴 ∈ V ↔ (𝐴𝐵) ∈ V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401  wcel 2146  Vcvv 3457  cdif 3903  cun 3904  wss 3906
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-8 2148  ax-9 2156  ax-ext 2737  ax-sep 5259  ax-pr 5406  ax-un 7738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2744  df-cleq 2757  df-clel 2840  df-rab 3419  df-v 3459  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-sn 4592  df-pr 4594  df-uni 4875
This theorem is used by:  elpwun  7770
  Copyright terms: Public domain W3C validator