ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  rabxfrd GIF version

Theorem rabxfrd 4201
Description: Class builder membership after substituting an expression 𝐴 (containing 𝑦) for 𝑥 in the class expression 𝜒. (Contributed by NM, 16-Jan-2012.)
Hypotheses
Ref Expression
rabxfrd.1 𝑦𝐵
rabxfrd.2 𝑦𝐶
rabxfrd.3 ((𝜑𝑦𝐷) → 𝐴𝐷)
rabxfrd.4 (𝑥 = 𝐴 → (𝜓𝜒))
rabxfrd.5 (𝑦 = 𝐵𝐴 = 𝐶)
Assertion
Ref Expression
rabxfrd ((𝜑𝐵𝐷) → (𝐶 ∈ {𝑥𝐷𝜓} ↔ 𝐵 ∈ {𝑦𝐷𝜒}))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐷   𝜑,𝑦   𝜓,𝑦   𝜒,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)

Proof of Theorem rabxfrd
StepHypRef Expression
1 rabxfrd.3 . . . . . . . . . . 11 ((𝜑𝑦𝐷) → 𝐴𝐷)
21ex 108 . . . . . . . . . 10 (𝜑 → (𝑦𝐷𝐴𝐷))
3 ibibr 235 . . . . . . . . . 10 ((𝑦𝐷𝐴𝐷) ↔ (𝑦𝐷 → (𝐴𝐷𝑦𝐷)))
42, 3sylib 127 . . . . . . . . 9 (𝜑 → (𝑦𝐷 → (𝐴𝐷𝑦𝐷)))
54imp 115 . . . . . . . 8 ((𝜑𝑦𝐷) → (𝐴𝐷𝑦𝐷))
65anbi1d 438 . . . . . . 7 ((𝜑𝑦𝐷) → ((𝐴𝐷𝜒) ↔ (𝑦𝐷𝜒)))
7 rabxfrd.4 . . . . . . . 8 (𝑥 = 𝐴 → (𝜓𝜒))
87elrab 2698 . . . . . . 7 (𝐴 ∈ {𝑥𝐷𝜓} ↔ (𝐴𝐷𝜒))
9 rabid 2485 . . . . . . 7 (𝑦 ∈ {𝑦𝐷𝜒} ↔ (𝑦𝐷𝜒))
106, 8, 93bitr4g 212 . . . . . 6 ((𝜑𝑦𝐷) → (𝐴 ∈ {𝑥𝐷𝜓} ↔ 𝑦 ∈ {𝑦𝐷𝜒}))
1110rabbidva 2548 . . . . 5 (𝜑 → {𝑦𝐷𝐴 ∈ {𝑥𝐷𝜓}} = {𝑦𝐷𝑦 ∈ {𝑦𝐷𝜒}})
1211eleq2d 2107 . . . 4 (𝜑 → (𝐵 ∈ {𝑦𝐷𝐴 ∈ {𝑥𝐷𝜓}} ↔ 𝐵 ∈ {𝑦𝐷𝑦 ∈ {𝑦𝐷𝜒}}))
13 rabxfrd.1 . . . . 5 𝑦𝐵
14 nfcv 2178 . . . . 5 𝑦𝐷
15 rabxfrd.2 . . . . . 6 𝑦𝐶
1615nfel1 2188 . . . . 5 𝑦 𝐶 ∈ {𝑥𝐷𝜓}
17 rabxfrd.5 . . . . . 6 (𝑦 = 𝐵𝐴 = 𝐶)
1817eleq1d 2106 . . . . 5 (𝑦 = 𝐵 → (𝐴 ∈ {𝑥𝐷𝜓} ↔ 𝐶 ∈ {𝑥𝐷𝜓}))
1913, 14, 16, 18elrabf 2696 . . . 4 (𝐵 ∈ {𝑦𝐷𝐴 ∈ {𝑥𝐷𝜓}} ↔ (𝐵𝐷𝐶 ∈ {𝑥𝐷𝜓}))
20 nfrab1 2489 . . . . . 6 𝑦{𝑦𝐷𝜒}
2113, 20nfel 2186 . . . . 5 𝑦 𝐵 ∈ {𝑦𝐷𝜒}
22 eleq1 2100 . . . . 5 (𝑦 = 𝐵 → (𝑦 ∈ {𝑦𝐷𝜒} ↔ 𝐵 ∈ {𝑦𝐷𝜒}))
2313, 14, 21, 22elrabf 2696 . . . 4 (𝐵 ∈ {𝑦𝐷𝑦 ∈ {𝑦𝐷𝜒}} ↔ (𝐵𝐷𝐵 ∈ {𝑦𝐷𝜒}))
2412, 19, 233bitr3g 211 . . 3 (𝜑 → ((𝐵𝐷𝐶 ∈ {𝑥𝐷𝜓}) ↔ (𝐵𝐷𝐵 ∈ {𝑦𝐷𝜒})))
25 pm5.32 426 . . 3 ((𝐵𝐷 → (𝐶 ∈ {𝑥𝐷𝜓} ↔ 𝐵 ∈ {𝑦𝐷𝜒})) ↔ ((𝐵𝐷𝐶 ∈ {𝑥𝐷𝜓}) ↔ (𝐵𝐷𝐵 ∈ {𝑦𝐷𝜒})))
2624, 25sylibr 137 . 2 (𝜑 → (𝐵𝐷 → (𝐶 ∈ {𝑥𝐷𝜓} ↔ 𝐵 ∈ {𝑦𝐷𝜒})))
2726imp 115 1 ((𝜑𝐵𝐷) → (𝐶 ∈ {𝑥𝐷𝜓} ↔ 𝐵 ∈ {𝑦𝐷𝜒}))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98   = wceq 1243  wcel 1393  wnfc 2165  {crab 2310
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rab 2315  df-v 2559
This theorem is referenced by:  rabxfr  4202
  Copyright terms: Public domain W3C validator