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

Theorem notrab 4277
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 4265 . 2 ({𝑥 ∣ 𝑥 ∈ 𝐴} ∖ {𝑥 ∣ 𝜑}) = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝜑)}
2 difin 4227 . . 3 (𝐴 ∖ (𝐴 ∩ {𝑥 ∣ 𝜑})) = (𝐴 ∖ {𝑥 ∣ 𝜑})
3 dfrab3 4274 . . . 4 {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∣ 𝜑})
43difeq2i 4070 . . 3 (𝐴 ∖ {𝑥 ∈ 𝐴 ∣ 𝜑}) = (𝐴 ∖ (𝐴 ∩ {𝑥 ∣ 𝜑}))
5 abid2 2912 . . . 4 {𝑥 ∣ 𝑥 ∈ 𝐴} = 𝐴
65difeq1i 4069 . . 3 ({𝑥 ∣ 𝑥 ∈ 𝐴} ∖ {𝑥 ∣ 𝜑}) = (𝐴 ∖ {𝑥 ∣ 𝜑})
72, 4, 63eqtr4i 2807 . 2 (𝐴 ∖ {𝑥 ∈ 𝐴 ∣ 𝜑}) = ({𝑥 ∣ 𝑥 ∈ 𝐴} ∖ {𝑥 ∣ 𝜑})
8 df-rab 3424 . 2 {𝑥 ∈ 𝐴 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝜑)}
91, 7, 83eqtr4i 2807 1 (𝐴 ∖ {𝑥 ∈ 𝐴 ∣ 𝜑}) = {𝑥 ∈ 𝐴 ∣ ¬ 𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {cab 2752  {crab 3423   ∖ cdif 4055   ∩ cin 4099
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-dif 4057  df-in 4101
This theorem is used by:  rlimrege0  15811  mhpmulcl  22572  ordtcld1  23623  ordtcld2  23624  lhop1lem  26441  rpvmasumlem  27962  finsumvtxdg2ssteplem1  30290  frgrwopreglem3  31079  zarcls  34708  hasheuni  34919  braew  35077  satfv1  36435
  Copyright terms: Public domain W3C validator