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

Theorem rexrab2 3640
Description: Existential quantification over a class abstraction. (Contributed by Mario Carneiro, 3-Sep-2015.)
Hypothesis
Ref Expression
ralab2.1 (𝑥 = 𝑦 → (𝜓𝜒))
Assertion
Ref Expression
rexrab2 (∃𝑥 ∈ {𝑦𝐴𝜑}𝜓 ↔ ∃𝑦𝐴 (𝜑𝜒))
Distinct variable groups:   𝑥,𝑦   𝑥,𝐴   𝜒,𝑥   𝜑,𝑥   𝜓,𝑦
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑦)

Proof of Theorem rexrab2
StepHypRef Expression
1 df-rab 3074 . . 3 {𝑦𝐴𝜑} = {𝑦 ∣ (𝑦𝐴𝜑)}
21rexeqi 3345 . 2 (∃𝑥 ∈ {𝑦𝐴𝜑}𝜓 ↔ ∃𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)}𝜓)
3 ralab2.1 . . 3 (𝑥 = 𝑦 → (𝜓𝜒))
43rexab2 3638 . 2 (∃𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)}𝜓 ↔ ∃𝑦((𝑦𝐴𝜑) ∧ 𝜒))
5 anass 468 . . . 4 (((𝑦𝐴𝜑) ∧ 𝜒) ↔ (𝑦𝐴 ∧ (𝜑𝜒)))
65exbii 1853 . . 3 (∃𝑦((𝑦𝐴𝜑) ∧ 𝜒) ↔ ∃𝑦(𝑦𝐴 ∧ (𝜑𝜒)))
7 df-rex 3071 . . 3 (∃𝑦𝐴 (𝜑𝜒) ↔ ∃𝑦(𝑦𝐴 ∧ (𝜑𝜒)))
86, 7bitr4i 277 . 2 (∃𝑦((𝑦𝐴𝜑) ∧ 𝜒) ↔ ∃𝑦𝐴 (𝜑𝜒))
92, 4, 83bitri 296 1 (∃𝑥 ∈ {𝑦𝐴𝜑}𝜓 ↔ ∃𝑦𝐴 (𝜑𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wex 1785  wcel 2109  {cab 2716  wrex 3066  {crab 3069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-ral 3070  df-rex 3071  df-rab 3074
This theorem is referenced by:  frminex  5568  sstotbnd3  35913
  Copyright terms: Public domain W3C validator