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 45192
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 2928 . . . 4 𝑧V
2 nfab1 2930 . . . 4 𝑧{𝑧𝜑}
31, 2nfdif 4087 . . 3 𝑧(V ∖ {𝑧𝜑})
4 nfab1 2930 . . 3 𝑧{𝑧 ∣ ¬ 𝜑}
53, 4cleqf 2956 . 2 ((V ∖ {𝑧𝜑}) = {𝑧 ∣ ¬ 𝜑} ↔ ∀𝑧(𝑧 ∈ (V ∖ {𝑧𝜑}) ↔ 𝑧 ∈ {𝑧 ∣ ¬ 𝜑}))
6 abid 2748 . . . 4 (𝑧 ∈ {𝑧𝜑} ↔ 𝜑)
76notbii 323 . . 3 𝑧 ∈ {𝑧𝜑} ↔ ¬ 𝜑)
8 velcomp 3923 . . 3 (𝑧 ∈ (V ∖ {𝑧𝜑}) ↔ ¬ 𝑧 ∈ {𝑧𝜑})
9 abid 2748 . . 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 2146  {cab 2744  Vcvv 3458  cdif 3905
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 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738
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 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-v 3460  df-dif 3911
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator