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

Theorem elabrexg 7247
Description: Elementhood in an image set. (Contributed by Glauco Siliprandi, 11-Dec-2019.)
Assertion
Ref Expression
elabrexg ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
Distinct variable groups:   𝑥,𝐴,𝑦   𝑦,𝐵
Allowed substitution hints:   𝐵(𝑥)   𝑉(𝑥, 𝑦)

Proof of Theorem elabrexg
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 tru 1573 . . . . 5 ⊤
2 csbeq1a 3860 . . . . . . . 8 (𝑥 = 𝑧 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
32equcoms 2052 . . . . . . 7 (𝑧 = 𝑥 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
4 trud 1579 . . . . . . 7 (𝑧 = 𝑥 → ⊤)
53, 42thd 268 . . . . . 6 (𝑧 = 𝑥 → (𝐵 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ⊤))
65rspcev 3576 . . . . 5 ((𝑥 ∈ 𝐴 ∧ ⊤) → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
71, 6mpan2 704 . . . 4 (𝑥 ∈ 𝐴 → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
87adantr 486 . . 3 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
9 eqeq1 2764 . . . . . 6 (𝑦 = 𝐵 → (𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
109rexbidv 3186 . . . . 5 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
1110elabg 3629 . . . 4 (𝐵 ∈ 𝑉 → (𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵} ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
1211adantl 487 . . 3 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → (𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵} ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
138, 12mpbird 260 . 2 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵})
14 nfv 1946 . . . 4 Ⅎ𝑧 𝑦 = 𝐵
15 nfcsb1v 3870 . . . . 5 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐵
1615nfeq2 2939 . . . 4 Ⅎ𝑥 𝑦 = ⦋𝑧 / 𝑥⦌𝐵
172eqeq2d 2771 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑦 = ⦋𝑧 / 𝑥⦌𝐵))
1814, 16, 17cbvrexw 3305 . . 3 (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵)
1918abbii 2827 . 2 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵}
2013, 19eleqtrrdi 2871 1 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ⊤wtru 1570   ∈ wcel 2144  {cab 2738  ∃wrex 3086  ⦋csb 3846
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-sbc 3739  df-csb 3847
This theorem is used by:  upbdrech  46414  ssfiunibd  46418
  Copyright terms: Public domain W3C validator