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

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

Proof of Theorem enp1ilem
StepHypRef Expression
1 uneq1 4170 . . 3 ((𝐴 ∖ {𝑥}) = 𝑆 → ((𝐴 ∖ {𝑥}) ∪ {𝑥}) = (𝑆 ∪ {𝑥}))
2 undif1 4440 . . 3 ((𝐴 ∖ {𝑥}) ∪ {𝑥}) = (𝐴 ∪ {𝑥})
3 uncom 4167 . . . 4 (𝑆 ∪ {𝑥}) = ({𝑥} ∪ 𝑆)
4 enp1ilem.1 . . . 4 𝑇 = ({𝑥} ∪ 𝑆)
53, 4eqtr4i 2800 . . 3 (𝑆 ∪ {𝑥}) = 𝑇
61, 2, 53eqtr3g 2832 . 2 ((𝐴 ∖ {𝑥}) = 𝑆 → (𝐴 ∪ {𝑥}) = 𝑇)
7 snssi 4756 . . . 4 (𝑥 ∈ 𝐴 → {𝑥} ⊆ 𝐴)
8 ssequn2 4197 . . . 4 ({𝑥} ⊆ 𝐴 ↔ (𝐴 ∪ {𝑥}) = 𝐴)
97, 8sylib 221 . . 3 (𝑥 ∈ 𝐴 → (𝐴 ∪ {𝑥}) = 𝐴)
109eqeq1d 2776 . 2 (𝑥 ∈ 𝐴 → ((𝐴 ∪ {𝑥}) = 𝑇 ↔ 𝐴 = 𝑇))
116, 10imbitrid 247 1 (𝑥 ∈ 𝐴 → ((𝐴 ∖ {𝑥}) = 𝑆 → 𝐴 = 𝑇))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2156   ⊆ wss 3907   ∖ cdif 4055   ∪ cun 4159  {csn 4595
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-sn 4596
This theorem is used by:  en2  9328  en3  9329  en4  9330
  Copyright terms: Public domain W3C validator