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

Theorem elabrexg 7194
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 1551 . . . . 5
2 csbeq1a 3852 . . . . . . . 8 (𝑥 = 𝑧𝐵 = 𝑧 / 𝑥𝐵)
32equcoms 2027 . . . . . . 7 (𝑧 = 𝑥𝐵 = 𝑧 / 𝑥𝐵)
4 trud 1557 . . . . . . 7 (𝑧 = 𝑥 → ⊤)
53, 42thd 266 . . . . . 6 (𝑧 = 𝑥 → (𝐵 = 𝑧 / 𝑥𝐵 ↔ ⊤))
65rspcev 3567 . . . . 5 ((𝑥𝐴 ∧ ⊤) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
71, 6mpan2 697 . . . 4 (𝑥𝐴 → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
87adantr 481 . . 3 ((𝑥𝐴𝐵𝑉) → ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵)
9 eqeq1 2744 . . . . . 6 (𝑦 = 𝐵 → (𝑦 = 𝑧 / 𝑥𝐵𝐵 = 𝑧 / 𝑥𝐵))
109rexbidv 3164 . . . . 5 (𝑦 = 𝐵 → (∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵 ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1110elabg 3621 . . . 4 (𝐵𝑉 → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
1211adantl 482 . . 3 ((𝑥𝐴𝐵𝑉) → (𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵} ↔ ∃𝑧𝐴 𝐵 = 𝑧 / 𝑥𝐵))
138, 12mpbird 258 . 2 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵})
14 nfv 1921 . . . 4 𝑧 𝑦 = 𝐵
15 nfcsb1v 3862 . . . . 5 𝑥𝑧 / 𝑥𝐵
1615nfeq2 2919 . . . 4 𝑥 𝑦 = 𝑧 / 𝑥𝐵
172eqeq2d 2751 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵𝑦 = 𝑧 / 𝑥𝐵))
1814, 16, 17cbvrexw 3283 . . 3 (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵)
1918abbii 2807 . 2 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧𝐴 𝑦 = 𝑧 / 𝑥𝐵}
2013, 19eleqtrrdi 2851 1 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1547  wtru 1548  wcel 2119  {cab 2718  wrex 3064  csb 3838
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2712
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-tru 1550  df-ex 1787  df-nf 1791  df-sb 2074  df-clab 2719  df-cleq 2732  df-clel 2815  df-nfc 2889  df-ral 3055  df-rex 3065  df-sbc 3731  df-csb 3839
This theorem is referenced by:  upbdrech  45754  ssfiunibd  45758
  Copyright terms: Public domain W3C validator