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

Theorem notrab 4105
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 4097 . 2 ({𝑥𝑥𝐴} ∖ {𝑥𝜑}) = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝜑)}
2 difin 4063 . . 3 (𝐴 ∖ (𝐴 ∩ {𝑥𝜑})) = (𝐴 ∖ {𝑥𝜑})
3 dfrab3 4103 . . . 4 {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝜑})
43difeq2i 3924 . . 3 (𝐴 ∖ {𝑥𝐴𝜑}) = (𝐴 ∖ (𝐴 ∩ {𝑥𝜑}))
5 abid2 2929 . . . 4 {𝑥𝑥𝐴} = 𝐴
65difeq1i 3923 . . 3 ({𝑥𝑥𝐴} ∖ {𝑥𝜑}) = (𝐴 ∖ {𝑥𝜑})
72, 4, 63eqtr4i 2838 . 2 (𝐴 ∖ {𝑥𝐴𝜑}) = ({𝑥𝑥𝐴} ∖ {𝑥𝜑})
8 df-rab 3105 . 2 {𝑥𝐴 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝜑)}
91, 7, 83eqtr4i 2838 1 (𝐴 ∖ {𝑥𝐴𝜑}) = {𝑥𝐴 ∣ ¬ 𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 384   = wceq 1637  wcel 2156  {cab 2792  {crab 3100  cdif 3766  cin 3768
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2068  ax-7 2104  ax-9 2165  ax-10 2185  ax-11 2201  ax-12 2214  ax-13 2420  ax-ext 2784
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2061  df-clab 2793  df-cleq 2799  df-clel 2802  df-nfc 2937  df-ral 3101  df-rab 3105  df-v 3393  df-dif 3772  df-in 3776
This theorem is referenced by:  rlimrege0  14533  ordtcld1  21215  ordtcld2  21216  lhop1lem  23990  rpvmasumlem  25390  finsumvtxdg2ssteplem1  26669  frgrwopreglem3  27489  hasheuni  30472  braew  30630
  Copyright terms: Public domain W3C validator