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

Theorem notrab 3863
Description: Complementation of restricted class abstractions. (Contributed by Mario Carneiro, 3-Sep-2015.)
Assertion
Ref Expression
notrab (𝐴 ∖ {𝑥𝐴𝜑}) = {𝑥𝐴 ∣ ¬ 𝜑}
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem notrab
StepHypRef Expression
1 difab 3855 . 2 ({𝑥𝑥𝐴} ∖ {𝑥𝜑}) = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝜑)}
2 difin 3823 . . 3 (𝐴 ∖ (𝐴 ∩ {𝑥𝜑})) = (𝐴 ∖ {𝑥𝜑})
3 dfrab3 3861 . . . 4 {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝜑})
43difeq2i 3687 . . 3 (𝐴 ∖ {𝑥𝐴𝜑}) = (𝐴 ∖ (𝐴 ∩ {𝑥𝜑}))
5 abid2 2732 . . . 4 {𝑥𝑥𝐴} = 𝐴
65difeq1i 3686 . . 3 ({𝑥𝑥𝐴} ∖ {𝑥𝜑}) = (𝐴 ∖ {𝑥𝜑})
72, 4, 63eqtr4i 2642 . 2 (𝐴 ∖ {𝑥𝐴𝜑}) = ({𝑥𝑥𝐴} ∖ {𝑥𝜑})
8 df-rab 2905 . 2 {𝑥𝐴 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝜑)}
91, 7, 83eqtr4i 2642 1 (𝐴 ∖ {𝑥𝐴𝜑}) = {𝑥𝐴 ∣ ¬ 𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 383   = wceq 1475  wcel 1977  {cab 2596  {crab 2900  cdif 3537  cin 3539
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rab 2905  df-v 3175  df-dif 3543  df-in 3547
This theorem is referenced by:  rlimrege0  14158  ordtcld1  20811  ordtcld2  20812  lhop1lem  23580  rpvmasumlem  24976  hasheuni  29474  braew  29632
  Copyright terms: Public domain W3C validator