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 39182
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 4235 . 2 ({𝑥𝜑} ∩ (𝐴𝐵)) = (({𝑥𝜑} ∩ 𝐴) ∖ 𝐵)
2 dfrab2 4267 . 2 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = ({𝑥𝜑} ∩ (𝐴𝐵))
3 dfrab2 4267 . . 3 {𝑥𝐴𝜑} = ({𝑥𝜑} ∩ 𝐴)
43difeq1i 4083 . 2 ({𝑥𝐴𝜑} ∖ 𝐵) = (({𝑥𝜑} ∩ 𝐴) ∖ 𝐵)
51, 2, 43eqtr4ri 2855 1 ({𝑥𝐴𝜑} ∖ 𝐵) = {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  {cab 2799  {crab 3142  cdif 3921  cin 3923
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3488  df-dif 3927  df-in 3931
This theorem is referenced by:  prjspeclsp  39337
  Copyright terms: Public domain W3C validator