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

Theorem rabxfr 5350
Description: Membership in a restricted class abstraction after substituting an expression 𝐴 (containing 𝑦) for 𝑥 in the the formula defining the class abstraction. (Contributed by NM, 10-Jun-2005.)
Hypotheses
Ref Expression
rabxfr.1 𝑦𝐵
rabxfr.2 𝑦𝐶
rabxfr.3 (𝑦𝐷𝐴𝐷)
rabxfr.4 (𝑥 = 𝐴 → (𝜑𝜓))
rabxfr.5 (𝑦 = 𝐵𝐴 = 𝐶)
Assertion
Ref Expression
rabxfr (𝐵𝐷 → (𝐶 ∈ {𝑥𝐷𝜑} ↔ 𝐵 ∈ {𝑦𝐷𝜓}))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐷   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐴(𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)

Proof of Theorem rabxfr
StepHypRef Expression
1 tru 1543 . 2
2 rabxfr.1 . . 3 𝑦𝐵
3 rabxfr.2 . . 3 𝑦𝐶
4 rabxfr.3 . . . 4 (𝑦𝐷𝐴𝐷)
54adantl 483 . . 3 ((⊤ ∧ 𝑦𝐷) → 𝐴𝐷)
6 rabxfr.4 . . 3 (𝑥 = 𝐴 → (𝜑𝜓))
7 rabxfr.5 . . 3 (𝑦 = 𝐵𝐴 = 𝐶)
82, 3, 5, 6, 7rabxfrd 5349 . 2 ((⊤ ∧ 𝐵𝐷) → (𝐶 ∈ {𝑥𝐷𝜑} ↔ 𝐵 ∈ {𝑦𝐷𝜓}))
91, 8mpan 688 1 (𝐵𝐷 → (𝐶 ∈ {𝑥𝐷𝜑} ↔ 𝐵 ∈ {𝑦𝐷𝜓}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wtru 1540  wcel 2104  wnfc 2885  {crab 3284
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-tru 1542  df-ex 1780  df-nf 1784  df-sb 2066  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-rab 3287  df-v 3439
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator