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

Theorem elabrexg 7191
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 1546 . . . . 5
2 csbeq1a 3864 . . . . . . . 8 (𝑥 = 𝑧𝐵 = 𝑧 / 𝑥𝐵)
32equcoms 2022 . . . . . . 7 (𝑧 = 𝑥𝐵 = 𝑧 / 𝑥𝐵)
4 trud 1552 . . . . . . 7 (𝑧 = 𝑥 → ⊤)
53, 42thd 265 . . . . . 6 (𝑧 = 𝑥 → (𝐵 = 𝑧 / 𝑥𝐵 ↔ ⊤))
65rspcev 3577 . . . . 5 ((𝑥𝐴 ∧ ⊤) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
71, 6mpan2 692 . . . 4 (𝑥𝐴 → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
87adantr 480 . . 3 ((𝑥𝐴𝐵𝑉) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
9 eqeq1 2741 . . . . . 6 (𝑦 = 𝐵 → (𝑦 = 𝑧 / 𝑥𝐵𝐵 = 𝑧 / 𝑥𝐵))
109rexbidv 3161 . . . . 5 (𝑦 = 𝐵 → (∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵 ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1110elabg 3632 . . . 4 (𝐵𝑉 → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1211adantl 481 . . 3 ((𝑥𝐴𝐵𝑉) → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
138, 12mpbird 257 . 2 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵})
14 nfv 1916 . . . 4 𝑧 𝑦 = 𝐵
15 nfcsb1v 3874 . . . . 5 𝑥𝑧 / 𝑥𝐵
1615nfeq2 2917 . . . 4 𝑥 𝑦 = 𝑧 / 𝑥𝐵
172eqeq2d 2748 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵𝑦 = 𝑧 / 𝑥𝐵))
1814, 16, 17cbvrexw 3280 . . 3 (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵)
1918abbii 2804 . 2 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵}
2013, 19eleqtrrdi 2848 1 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1542  wtru 1543  wcel 2114  {cab 2715  wrex 3061  csb 3850
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-tru 1545  df-ex 1782  df-nf 1786  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ral 3053  df-rex 3062  df-sbc 3742  df-csb 3851
This theorem is referenced by:  upbdrech  45589  ssfiunibd  45593
  Copyright terms: Public domain W3C validator