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

Theorem elabrex 7234
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 3860 . . . . . . 7 (𝑥 = 𝑧 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
32equcoms 2053 . . . . . 6 (𝑧 = 𝑥 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
4 trud 1580 . . . . . 6 (𝑧 = 𝑥 → ⊤)
53, 42thd 268 . . . . 5 (𝑧 = 𝑥 → (𝐵 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ⊤))
65rspcev 3576 . . . 4 ((𝑥 ∈ 𝐴 ∧ ⊤) → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
71, 6mpan2 704 . . 3 (𝑥 ∈ 𝐴 → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
8 elabrex.1 . . . 4 𝐵 ∈ V
9 eqeq1 2764 . . . . 5 (𝑦 = 𝐵 → (𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
109rexbidv 3186 . . . 4 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
118, 10elab 3632 . . 3 (𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵} ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
127, 11sylibr 237 . 2 (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵})
13 nfv 1947 . . . 4 Ⅎ𝑧 𝑦 = 𝐵
14 nfcsb1v 3870 . . . . 5 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐵
1514nfeq2 2939 . . . 4 Ⅎ𝑥 𝑦 = ⦋𝑧 / 𝑥⦌𝐵
162eqeq2d 2771 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑦 = ⦋𝑧 / 𝑥⦌𝐵))
1713, 15, 16cbvrexw 3305 . . 3 (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵)
1817abbii 2827 . 2 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵}
1912, 18eleqtrrdi 2871 1 (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570  ⊤wtru 1571   ∈ wcel 2145  {cab 2738  ∃wrex 3086  Vcvv 3450  ⦋csb 3846
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732
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 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-sbc 3739  df-csb 3847
This theorem is used by:  eusvobj2  7400  lss1d  21199  prdsxmetlem  24648  prdsbl  24771  itg2monolem1  26032  heibor1  38664  dihglblem5  42275
  Copyright terms: Public domain W3C validator