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 45627
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 2926 . . . 4 Ⅎ𝑧V
2 nfab1 2928 . . . 4 Ⅎ𝑧{𝑧 ∣ 𝜑}
31, 2nfdif 4069 . . 3 Ⅎ𝑧(V ∖ {𝑧 ∣ 𝜑})
4 nfab1 2928 . . 3 Ⅎ𝑧{𝑧 ∣ ¬ 𝜑}
53, 4cleqf 2954 . 2 ((V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑} ↔ ∀𝑧(𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑}))
6 abid 2745 . . . 4 (𝑧 ∈ {𝑧 ∣ 𝜑} ↔ 𝜑)
76notbii 323 . . 3 (¬ 𝑧 ∈ {𝑧 ∣ 𝜑} ↔ ¬ 𝜑)
8 velcomp 4057 . . 3 (𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ ¬ 𝑧 ∈ {𝑧 ∣ 𝜑})
9 abid 2745 . . 3 (𝑧 ∈ {𝑧 ∣ ¬ 𝜑} ↔ ¬ 𝜑)
107, 8, 93bitr4i 306 . 2 (𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑})
115, 10mpgbir 1832 1 (V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   = wceq 1570   ∈ wcel 2147  {cab 2741  Vcvv 3454   ∖ cdif 4048
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-v 3456  df-dif 4050
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator