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

Theorem elabrexg 7280
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 1541 . . . . 5
2 csbeq1a 3935 . . . . . . . 8 (𝑥 = 𝑧𝐵 = 𝑧 / 𝑥𝐵)
32equcoms 2019 . . . . . . 7 (𝑧 = 𝑥𝐵 = 𝑧 / 𝑥𝐵)
4 trud 1547 . . . . . . 7 (𝑧 = 𝑥 → ⊤)
53, 42thd 265 . . . . . 6 (𝑧 = 𝑥 → (𝐵 = 𝑧 / 𝑥𝐵 ↔ ⊤))
65rspcev 3635 . . . . 5 ((𝑥𝐴 ∧ ⊤) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
71, 6mpan2 690 . . . 4 (𝑥𝐴 → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
87adantr 480 . . 3 ((𝑥𝐴𝐵𝑉) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
9 eqeq1 2744 . . . . . 6 (𝑦 = 𝐵 → (𝑦 = 𝑧 / 𝑥𝐵𝐵 = 𝑧 / 𝑥𝐵))
109rexbidv 3185 . . . . 5 (𝑦 = 𝐵 → (∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵 ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1110elabg 3690 . . . 4 (𝐵𝑉 → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1211adantl 481 . . 3 ((𝑥𝐴𝐵𝑉) → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
138, 12mpbird 257 . 2 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵})
14 nfv 1913 . . . 4 𝑧 𝑦 = 𝐵
15 nfcsb1v 3946 . . . . 5 𝑥𝑧 / 𝑥𝐵
1615nfeq2 2926 . . . 4 𝑥 𝑦 = 𝑧 / 𝑥𝐵
172eqeq2d 2751 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵𝑦 = 𝑧 / 𝑥𝐵))
1814, 16, 17cbvrexw 3313 . . 3 (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵)
1918abbii 2812 . 2 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵}
2013, 19eleqtrrdi 2855 1 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wtru 1538  wcel 2108  {cab 2717  wrex 3076  csb 3921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-tru 1540  df-ex 1778  df-nf 1782  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ral 3068  df-rex 3077  df-sbc 3805  df-csb 3922
This theorem is referenced by:  upbdrech  45220  ssfiunibd  45224
  Copyright terms: Public domain W3C validator