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

Theorem ssdifim 4221
Description: Implication of a class difference with a subclass. (Contributed by AV, 3-Jan-2022.)
Assertion
Ref Expression
ssdifim ((𝐴 ⊆ 𝑉 ∧ 𝐵 = (𝑉 ∖ 𝐴)) → 𝐴 = (𝑉 ∖ 𝐵))

Proof of Theorem ssdifim
StepHypRef Expression
1 dfss4 4217 . . 3 (𝐴 ⊆ 𝑉 ↔ (𝑉 ∖ (𝑉 ∖ 𝐴)) = 𝐴)
2 eqcom 2770 . . 3 ((𝑉 ∖ (𝑉 ∖ 𝐴)) = 𝐴 ↔ 𝐴 = (𝑉 ∖ (𝑉 ∖ 𝐴)))
31, 2sylbb 222 . 2 (𝐴 ⊆ 𝑉 → 𝐴 = (𝑉 ∖ (𝑉 ∖ 𝐴)))
4 difeq2 4060 . . 3 (𝐵 = (𝑉 ∖ 𝐴) → (𝑉 ∖ 𝐵) = (𝑉 ∖ (𝑉 ∖ 𝐴)))
54eqcomd 2769 . 2 (𝐵 = (𝑉 ∖ 𝐴) → (𝑉 ∖ (𝑉 ∖ 𝐴)) = (𝑉 ∖ 𝐵))
63, 5sylan9eq 2818 1 ((𝐴 ⊆ 𝑉 ∧ 𝐵 = (𝑉 ∖ 𝐴)) → 𝐴 = (𝑉 ∖ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ⊆ wss 3900   ∖ cdif 4048
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094
This theorem is used by:  ssdifsym  4222  frgrwopregbsn  30975
  Copyright terms: Public domain W3C validator