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

Theorem rabswap 3110
 Description: Swap with a membership relation in a restricted class abstraction. (Contributed by NM, 4-Jul-2005.)
Assertion
Ref Expression
rabswap {𝑥𝐴𝑥𝐵} = {𝑥𝐵𝑥𝐴}

Proof of Theorem rabswap
StepHypRef Expression
1 ancom 466 . . 3 ((𝑥𝐴𝑥𝐵) ↔ (𝑥𝐵𝑥𝐴))
21abbii 2736 . 2 {𝑥 ∣ (𝑥𝐴𝑥𝐵)} = {𝑥 ∣ (𝑥𝐵𝑥𝐴)}
3 df-rab 2916 . 2 {𝑥𝐴𝑥𝐵} = {𝑥 ∣ (𝑥𝐴𝑥𝐵)}
4 df-rab 2916 . 2 {𝑥𝐵𝑥𝐴} = {𝑥 ∣ (𝑥𝐵𝑥𝐴)}
52, 3, 43eqtr4i 2653 1 {𝑥𝐴𝑥𝐵} = {𝑥𝐵𝑥𝐴}
 Colors of variables: wff setvar class Syntax hints:   ∧ wa 384   = wceq 1480   ∈ wcel 1987  {cab 2607  {crab 2911 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-clab 2608  df-cleq 2614  df-clel 2617  df-rab 2916 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator