MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  class2set Unicode version

Theorem class2set 4177
Description: Construct, from any class  A, a set equal to it when the class exists and equal to the empty set when the class is proper. This theorem shows that the constructed set always exists. (Contributed by NM, 16-Oct-2003.)
Assertion
Ref Expression
class2set  |-  { x  e.  A  |  A  e.  _V }  e.  _V
Distinct variable group:    x, A

Proof of Theorem class2set
StepHypRef Expression
1 rabexg 4165 . 2  |-  ( A  e.  _V  ->  { x  e.  A  |  A  e.  _V }  e.  _V )
2 simpl 443 . . . . 5  |-  ( ( -.  A  e.  _V  /\  x  e.  A )  ->  -.  A  e.  _V )
32nrexdv 2647 . . . 4  |-  ( -.  A  e.  _V  ->  -. 
E. x  e.  A  A  e.  _V )
4 rabn0 3475 . . . . 5  |-  ( { x  e.  A  |  A  e.  _V }  =/=  (/)  <->  E. x  e.  A  A  e.  _V )
54necon1bbii 2499 . . . 4  |-  ( -. 
E. x  e.  A  A  e.  _V  <->  { x  e.  A  |  A  e.  _V }  =  (/) )
63, 5sylib 188 . . 3  |-  ( -.  A  e.  _V  ->  { x  e.  A  |  A  e.  _V }  =  (/) )
7 0ex 4151 . . 3  |-  (/)  e.  _V
86, 7syl6eqel 2372 . 2  |-  ( -.  A  e.  _V  ->  { x  e.  A  |  A  e.  _V }  e.  _V )
91, 8pm2.61i 156 1  |-  { x  e.  A  |  A  e.  _V }  e.  _V
Colors of variables: wff set class
Syntax hints:   -. wn 3    = wceq 1623    e. wcel 1685   E.wrex 2545   {crab 2548   _Vcvv 2789   (/)c0 3456
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1636  ax-8 1644  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1868  ax-ext 2265  ax-sep 4142  ax-nul 4150
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1631  df-clab 2271  df-cleq 2277  df-clel 2280  df-nfc 2409  df-ne 2449  df-ral 2549  df-rex 2550  df-rab 2553  df-v 2791  df-dif 3156  df-in 3160  df-ss 3167  df-nul 3457
  Copyright terms: Public domain W3C validator