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

Theorem elabrex 7269
Description: Elementhood in an image set. (Contributed by Mario Carneiro, 14-Jan-2014.)
Hypothesis
Ref Expression
elabrex.1 𝐵 ∈ V
Assertion
Ref Expression
elabrex (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
Distinct variable groups:   𝑦,𝐵   𝑥,𝑦,𝐴
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem elabrex
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 tru 1574 . . . 4 ⊤
2 csbeq1a 3865 . . . . . . 7 (𝑥 = 𝑧 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
32equcoms 2055 . . . . . 6 (𝑧 = 𝑥 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
4 trud 1580 . . . . . 6 (𝑧 = 𝑥 → ⊤)
53, 42thd 268 . . . . 5 (𝑧 = 𝑥 → (𝐵 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ⊤))
65rspcev 3580 . . . 4 ((𝑥 ∈ 𝐴 ∧ ⊤) → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
71, 6mpan2 704 . . 3 (𝑥 ∈ 𝐴 → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
8 elabrex.1 . . . 4 𝐵 ∈ V
9 eqeq1 2767 . . . . 5 (𝑦 = 𝐵 → (𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
109rexbidv 3190 . . . 4 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
118, 10elab 3636 . . 3 (𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵} ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
127, 11sylibr 237 . 2 (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵})
13 nfv 1949 . . . 4 Ⅎ𝑧 𝑦 = 𝐵
14 nfcsb1v 3875 . . . . 5 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐵
1514nfeq2 2943 . . . 4 Ⅎ𝑥 𝑦 = ⦋𝑧 / 𝑥⦌𝐵
162eqeq2d 2774 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑦 = ⦋𝑧 / 𝑥⦌𝐵))
1713, 15, 16cbvrexw 3309 . . 3 (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵)
1817abbii 2830 . 2 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵}
1912, 18eleqtrrdi 2875 1 (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570  ⊤wtru 1571   ∈ wcel 2147  {cab 2741  ∃wrex 3090  Vcvv 3454  ⦋csb 3851
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-sbc 3743  df-csb 3852
This theorem is used by:  eusvobj2  7435  lss1d  21268  prdsxmetlem  24717  prdsbl  24840  itg2monolem1  26101  heibor1  38936  dihglblem5  42547
  Copyright terms: Public domain W3C validator