Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elrab2w Structured version   Visualization version   GIF version

Theorem elrab2w 39830
Description: Membership in a restricted class abstraction. This is to elrab2 3594 what elab2gw 39829 is to elab2g 3578. (Contributed by SN, 2-Sep-2024.)
Hypotheses
Ref Expression
elrab2w.1 (𝑥 = 𝑦 → (𝜑𝜓))
elrab2w.2 (𝑦 = 𝐴 → (𝜓𝜒))
elrab2w.3 𝐶 = {𝑥𝐵𝜑}
Assertion
Ref Expression
elrab2w (𝐴𝐶 ↔ (𝐴𝐵𝜒))
Distinct variable groups:   𝑦,𝐴   𝑥,𝐵,𝑦   𝜑,𝑦   𝜒,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑥)   𝐴(𝑥)   𝐶(𝑥,𝑦)

Proof of Theorem elrab2w
StepHypRef Expression
1 elex 3416 . 2 (𝐴𝐶𝐴 ∈ V)
2 elex 3416 . . 3 (𝐴𝐵𝐴 ∈ V)
32adantr 484 . 2 ((𝐴𝐵𝜒) → 𝐴 ∈ V)
4 eleq1w 2813 . . . 4 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
5 elrab2w.1 . . . 4 (𝑥 = 𝑦 → (𝜑𝜓))
64, 5anbi12d 634 . . 3 (𝑥 = 𝑦 → ((𝑥𝐵𝜑) ↔ (𝑦𝐵𝜓)))
7 eleq1 2818 . . . 4 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
8 elrab2w.2 . . . 4 (𝑦 = 𝐴 → (𝜓𝜒))
97, 8anbi12d 634 . . 3 (𝑦 = 𝐴 → ((𝑦𝐵𝜓) ↔ (𝐴𝐵𝜒)))
10 elrab2w.3 . . . 4 𝐶 = {𝑥𝐵𝜑}
11 df-rab 3060 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
1210, 11eqtri 2759 . . 3 𝐶 = {𝑥 ∣ (𝑥𝐵𝜑)}
136, 9, 12elab2gw 39829 . 2 (𝐴 ∈ V → (𝐴𝐶 ↔ (𝐴𝐵𝜒)))
141, 3, 13pm5.21nii 383 1 (𝐴𝐶 ↔ (𝐴𝐵𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2112  {cab 2714  {crab 3055  Vcvv 3398
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1546  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-rab 3060  df-v 3400
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator