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 1538 . . . . 5
2 csbeq1a 3903 . . . . . . . 8 (𝑥 = 𝑧𝐵 = 𝑧 / 𝑥𝐵)
32equcoms 2016 . . . . . . 7 (𝑧 = 𝑥𝐵 = 𝑧 / 𝑥𝐵)
4 trud 1544 . . . . . . 7 (𝑧 = 𝑥 → ⊤)
53, 42thd 265 . . . . . 6 (𝑧 = 𝑥 → (𝐵 = 𝑧 / 𝑥𝐵 ↔ ⊤))
65rspcev 3607 . . . . 5 ((𝑥𝐴 ∧ ⊤) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
71, 6mpan2 690 . . . 4 (𝑥𝐴 → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
87adantr 480 . . 3 ((𝑥𝐴𝐵𝑉) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
9 eqeq1 2731 . . . . . 6 (𝑦 = 𝐵 → (𝑦 = 𝑧 / 𝑥𝐵𝐵 = 𝑧 / 𝑥𝐵))
109rexbidv 3173 . . . . 5 (𝑦 = 𝐵 → (∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵 ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1110elabg 3663 . . . 4 (𝐵𝑉 → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1211adantl 481 . . 3 ((𝑥𝐴𝐵𝑉) → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
138, 12mpbird 257 . 2 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵})
14 nfv 1910 . . . 4 𝑧 𝑦 = 𝐵
15 nfcsb1v 3914 . . . . 5 𝑥𝑧 / 𝑥𝐵
1615nfeq2 2915 . . . 4 𝑥 𝑦 = 𝑧 / 𝑥𝐵
172eqeq2d 2738 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵𝑦 = 𝑧 / 𝑥𝐵))
1814, 16, 17cbvrexw 3299 . . 3 (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵)
1918abbii 2797 . 2 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵}
2013, 19eleqtrrdi 2839 1 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1534  wtru 1535  wcel 2099  {cab 2704  wrex 3065  csb 3889
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2164  ax-ext 2698
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-tru 1537  df-ex 1775  df-nf 1779  df-sb 2061  df-clab 2705  df-cleq 2719  df-clel 2805  df-nfc 2880  df-ral 3057  df-rex 3066  df-sbc 3775  df-csb 3890
This theorem is referenced by:  upbdrech  44610  ssfiunibd  44614
  Copyright terms: Public domain W3C validator