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

Theorem rabxfr 5379
Description: Membership in a restricted class abstraction after substituting an expression 𝐴 (containing 𝑦) for 𝑥 in 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 1574 . 2 ⊤
2 rabxfr.1 . . 3 Ⅎ𝑦𝐵
3 rabxfr.2 . . 3 Ⅎ𝑦𝐶
4 rabxfr.3 . . . 4 (𝑦 ∈ 𝐷 → 𝐴 ∈ 𝐷)
54adantl 487 . . 3 ((⊤ ∧ 𝑦 ∈ 𝐷) → 𝐴 ∈ 𝐷)
6 rabxfr.4 . . 3 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
7 rabxfr.5 . . 3 (𝑦 = 𝐵 → 𝐴 = 𝐶)
82, 3, 5, 6, 7rabxfrd 5378 . 2 ((⊤ ∧ 𝐵 ∈ 𝐷) → (𝐶 ∈ {𝑥 ∈ 𝐷 ∣ 𝜑} ↔ 𝐵 ∈ {𝑦 ∈ 𝐷 ∣ 𝜓}))
91, 8mpan 703 1 (𝐵 ∈ 𝐷 → (𝐶 ∈ {𝑥 ∈ 𝐷 ∣ 𝜑} ↔ 𝐵 ∈ {𝑦 ∈ 𝐷 ∣ 𝜓}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570  ⊤wtru 1571   ∈ wcel 2145  Ⅎwnfc 2907  {crab 3412
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-rab 3413  df-v 3452
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator