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 45768
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 2932 . . . 4 Ⅎ𝑧V
2 nfab1 2934 . . . 4 Ⅎ𝑧{𝑧 ∣ 𝜑}
31, 2nfdif 4071 . . 3 Ⅎ𝑧(V ∖ {𝑧 ∣ 𝜑})
4 nfab1 2934 . . 3 Ⅎ𝑧{𝑧 ∣ ¬ 𝜑}
53, 4cleqf 2960 . 2 ((V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑} ↔ ∀𝑧(𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑}))
6 abid 2751 . . . 4 (𝑧 ∈ {𝑧 ∣ 𝜑} ↔ 𝜑)
76notbii 323 . . 3 (¬ 𝑧 ∈ {𝑧 ∣ 𝜑} ↔ ¬ 𝜑)
8 velcomp 4059 . . 3 (𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ ¬ 𝑧 ∈ {𝑧 ∣ 𝜑})
9 abid 2751 . . 3 (𝑧 ∈ {𝑧 ∣ ¬ 𝜑} ↔ ¬ 𝜑)
107, 8, 93bitr4i 306 . 2 (𝑧 ∈ (V ∖ {𝑧 ∣ 𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑})
115, 10mpgbir 1834 1 (V ∖ {𝑧 ∣ 𝜑}) = {𝑧 ∣ ¬ 𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   = wceq 1572   ∈ wcel 2151  {cab 2747  Vcvv 3456   ∖ cdif 4050
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-v 3458  df-dif 4052
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator