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

Theorem notrab 4267
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 4255 . 2 ({𝑥 ∣ 𝑥 ∈ 𝐴} ∖ {𝑥 ∣ 𝜑}) = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝜑)}
2 difin 4217 . . 3 (𝐴 ∖ (𝐴 ∩ {𝑥 ∣ 𝜑})) = (𝐴 ∖ {𝑥 ∣ 𝜑})
3 dfrab3 4264 . . . 4 {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∣ 𝜑})
43difeq2i 4060 . . 3 (𝐴 ∖ {𝑥 ∈ 𝐴 ∣ 𝜑}) = (𝐴 ∖ (𝐴 ∩ {𝑥 ∣ 𝜑}))
5 abid2 2897 . . . 4 {𝑥 ∣ 𝑥 ∈ 𝐴} = 𝐴
65difeq1i 4059 . . 3 ({𝑥 ∣ 𝑥 ∈ 𝐴} ∖ {𝑥 ∣ 𝜑}) = (𝐴 ∖ {𝑥 ∣ 𝜑})
72, 4, 63eqtr4i 2793 . 2 (𝐴 ∖ {𝑥 ∈ 𝐴 ∣ 𝜑}) = ({𝑥 ∣ 𝑥 ∈ 𝐴} ∖ {𝑥 ∣ 𝜑})
8 df-rab 3413 . 2 {𝑥 ∈ 𝐴 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝜑)}
91, 7, 83eqtr4i 2793 1 (𝐴 ∖ {𝑥 ∈ 𝐴 ∣ 𝜑}) = {𝑥 ∈ 𝐴 ∣ ¬ 𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {cab 2738  {crab 3412   ∖ cdif 4045   ∩ cin 4089
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-dif 4047  df-in 4091
This theorem is used by:  rlimrege0  15746  mhpmulcl  22470  ordtcld1  23515  ordtcld2  23516  lhop1lem  26333  rpvmasumlem  27814  finsumvtxdg2ssteplem1  30126  frgrwopreglem3  30915  zarcls  34548  hasheuni  34759  braew  34917  satfv1  36170
  Copyright terms: Public domain W3C validator