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

Theorem rabdif 39184
Description: Move difference in and out of a restricted class abstraction. (Contributed by Steven Nguyen, 6-Jun-2023.)
Assertion
Ref Expression
rabdif ({𝑥𝐴𝜑} ∖ 𝐵) = {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem rabdif
StepHypRef Expression
1 indif2 4240 . 2 ({𝑥𝜑} ∩ (𝐴𝐵)) = (({𝑥𝜑} ∩ 𝐴) ∖ 𝐵)
2 dfrab2 4272 . 2 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = ({𝑥𝜑} ∩ (𝐴𝐵))
3 dfrab2 4272 . . 3 {𝑥𝐴𝜑} = ({𝑥𝜑} ∩ 𝐴)
43difeq1i 4088 . 2 ({𝑥𝐴𝜑} ∖ 𝐵) = (({𝑥𝜑} ∩ 𝐴) ∖ 𝐵)
51, 2, 43eqtr4ri 2854 1 ({𝑥𝐴𝜑} ∖ 𝐵) = {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1536  {cab 2798  {crab 3141  cdif 3926  cin 3928
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-rab 3146  df-v 3493  df-dif 3932  df-in 3936
This theorem is referenced by:  prjspeclsp  39339
  Copyright terms: Public domain W3C validator