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

Theorem elabrex 7277
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 1576 . . . 4 ⊤
2 csbeq1a 3864 . . . . . . 7 (𝑥 = 𝑧 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
32equcoms 2057 . . . . . 6 (𝑧 = 𝑥 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
4 trud 1582 . . . . . 6 (𝑧 = 𝑥 → ⊤)
53, 42thd 268 . . . . 5 (𝑧 = 𝑥 → (𝐵 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ⊤))
65rspcev 3579 . . . 4 ((𝑥 ∈ 𝐴 ∧ ⊤) → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
71, 6mpan2 704 . . 3 (𝑥 ∈ 𝐴 → ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
8 elabrex.1 . . . 4 𝐵 ∈ V
9 eqeq1 2770 . . . . 5 (𝑦 = 𝐵 → (𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
109rexbidv 3193 . . . 4 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵 ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵))
118, 10elab 3635 . . 3 (𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵} ↔ ∃𝑧 ∈ 𝐴 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
127, 11sylibr 237 . 2 (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵})
13 nfv 1951 . . . 4 Ⅎ𝑧 𝑦 = 𝐵
14 nfcsb1v 3874 . . . . 5 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐵
1514nfeq2 2946 . . . 4 Ⅎ𝑥 𝑦 = ⦋𝑧 / 𝑥⦌𝐵
162eqeq2d 2777 . . . 4 (𝑥 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑦 = ⦋𝑧 / 𝑥⦌𝐵))
1713, 15, 16cbvrexw 3309 . . 3 (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵)
1817abbii 2833 . 2 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑦 ∣ ∃𝑧 ∈ 𝐴 𝑦 = ⦋𝑧 / 𝑥⦌𝐵}
1912, 18eleqtrrdi 2878 1 (𝑥 ∈ 𝐴 → 𝐵 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572  ⊤wtru 1573   ∈ wcel 2150  {cab 2744  ∃wrex 3093  Vcvv 3453  ⦋csb 3850
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ral 3084  df-rex 3094  df-sbc 3742  df-csb 3851
This theorem is used by:  eusvobj2  7443  lss1d  21292  prdsxmetlem  24745  prdsbl  24868  itg2monolem1  26129  heibor1  39012  dihglblem5  42623
  Copyright terms: Public domain W3C validator