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

Theorem elrab2w 3658
Description: Membership in a restricted class abstraction. This is to elrab2 3657 what elab2gw 3640 is to elab2g 3642. (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 3479 . 2 (𝐴𝐶𝐴 ∈ V)
2 elex 3479 . . 3 (𝐴𝐵𝐴 ∈ V)
32adantr 486 . 2 ((𝐴𝐵𝜒) → 𝐴 ∈ V)
4 eleq1w 2849 . . . 4 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
5 elrab2w.1 . . . 4 (𝑥 = 𝑦 → (𝜑𝜓))
64, 5anbi12d 644 . . 3 (𝑥 = 𝑦 → ((𝑥𝐵𝜑) ↔ (𝑦𝐵𝜓)))
7 eleq1 2854 . . . 4 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
8 elrab2w.2 . . . 4 (𝑦 = 𝐴 → (𝜓𝜒))
97, 8anbi12d 644 . . 3 (𝑦 = 𝐴 → ((𝑦𝐵𝜓) ↔ (𝐴𝐵𝜒)))
10 elrab2w.3 . . . 4 𝐶 = {𝑥𝐵𝜑}
11 df-rab 3420 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
1210, 11eqtri 2789 . . 3 𝐶 = {𝑥 ∣ (𝑥𝐵𝜑)}
136, 9, 12elab2gw 3640 . 2 (𝐴 ∈ V → (𝐴𝐶 ↔ (𝐴𝐵𝜒)))
141, 3, 13pm5.21nii 381 1 (𝐴𝐶 ↔ (𝐴𝐵𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401   = wceq 1570  wcel 2146  {cab 2744  {crab 3419  Vcvv 3458
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 2148  ax-9 2156  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-rab 3420  df-v 3460
This theorem is used by:  uspgrlimlem2  48787
  Copyright terms: Public domain W3C validator