Users' Mathboxes Mathbox for Andrew Salmon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  compab Structured version   Visualization version   GIF version

Theorem compab 45518
Description: Two ways of saying "the complement of a class abstraction". (Contributed by Andrew Salmon, 15-Jul-2011.) (Proof shortened by Mario Carneiro, 11-Dec-2016.)
Assertion
Ref Expression
compab (V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑}

Proof of Theorem compab
StepHypRef Expression
1 nfcv 2922 . . . 4 Ⅎ𝑧V
2 nfab1 2924 . . . 4 Ⅎ𝑧{𝑧 ∣ 𝜑}
31, 2nfdif 4066 . . 3 Ⅎ𝑧(V ∖ {𝑧 ∣ 𝜑})
4 nfab1 2924 . . 3 Ⅎ𝑧{𝑧 ∣ ¬ 𝜑}
53, 4cleqf 2950 . 2 ((V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑} ↔ ∀𝑧(𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑}))
6 abid 2742 . . . 4 (𝑧 ∈ {𝑧 ∣ 𝜑} ↔ 𝜑)
76notbii 323 . . 3 (¬ 𝑧 ∈ {𝑧 ∣ 𝜑} ↔ ¬ 𝜑)
8 velcomp 4054 . . 3 (𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ ¬ 𝑧 ∈ {𝑧 ∣ 𝜑})
9 abid 2742 . . 3 (𝑧 ∈ {𝑧 ∣ ¬ 𝜑} ↔ ¬ 𝜑)
107, 8, 93bitr4i 306 . 2 (𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑})
115, 10mpgbir 1831 1 (V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   = wceq 1569   ∈ wcel 2144  {cab 2738  Vcvv 3450   ∖ cdif 4045
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-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-v 3452  df-dif 4047
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator