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

Theorem enp1ilem 8981
Description: Lemma for uses of enp1i 8982. (Contributed by Mario Carneiro, 5-Jan-2016.)
Hypothesis
Ref Expression
enp1ilem.1 𝑇 = ({𝑥} ∪ 𝑆)
Assertion
Ref Expression
enp1ilem (𝑥𝐴 → ((𝐴 ∖ {𝑥}) = 𝑆𝐴 = 𝑇))

Proof of Theorem enp1ilem
StepHypRef Expression
1 uneq1 4086 . . 3 ((𝐴 ∖ {𝑥}) = 𝑆 → ((𝐴 ∖ {𝑥}) ∪ {𝑥}) = (𝑆 ∪ {𝑥}))
2 undif1 4406 . . 3 ((𝐴 ∖ {𝑥}) ∪ {𝑥}) = (𝐴 ∪ {𝑥})
3 uncom 4083 . . . 4 (𝑆 ∪ {𝑥}) = ({𝑥} ∪ 𝑆)
4 enp1ilem.1 . . . 4 𝑇 = ({𝑥} ∪ 𝑆)
53, 4eqtr4i 2769 . . 3 (𝑆 ∪ {𝑥}) = 𝑇
61, 2, 53eqtr3g 2802 . 2 ((𝐴 ∖ {𝑥}) = 𝑆 → (𝐴 ∪ {𝑥}) = 𝑇)
7 snssi 4738 . . . 4 (𝑥𝐴 → {𝑥} ⊆ 𝐴)
8 ssequn2 4113 . . . 4 ({𝑥} ⊆ 𝐴 ↔ (𝐴 ∪ {𝑥}) = 𝐴)
97, 8sylib 217 . . 3 (𝑥𝐴 → (𝐴 ∪ {𝑥}) = 𝐴)
109eqeq1d 2740 . 2 (𝑥𝐴 → ((𝐴 ∪ {𝑥}) = 𝑇𝐴 = 𝑇))
116, 10syl5ib 243 1 (𝑥𝐴 → ((𝐴 ∖ {𝑥}) = 𝑆𝐴 = 𝑇))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2108  cdif 3880  cun 3881  wss 3883  {csn 4558
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
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
This theorem is referenced by:  en2  8983  en3  8984  en4  8985
  Copyright terms: Public domain W3C validator