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

Theorem class2set 5247
Description: Construct, from any class 𝐴, 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 {𝑥𝐴𝐴 ∈ V} ∈ V
Distinct variable group:   𝑥,𝐴

Proof of Theorem class2set
StepHypRef Expression
1 rabexg 5227 . 2 (𝐴 ∈ V → {𝑥𝐴𝐴 ∈ V} ∈ V)
2 simpl 485 . . . . 5 ((¬ 𝐴 ∈ V ∧ 𝑥𝐴) → ¬ 𝐴 ∈ V)
32nrexdv 3269 . . . 4 𝐴 ∈ V → ¬ ∃𝑥𝐴 𝐴 ∈ V)
4 rabn0 4332 . . . . 5 ({𝑥𝐴𝐴 ∈ V} ≠ ∅ ↔ ∃𝑥𝐴 𝐴 ∈ V)
54necon1bbii 3064 . . . 4 (¬ ∃𝑥𝐴 𝐴 ∈ V ↔ {𝑥𝐴𝐴 ∈ V} = ∅)
63, 5sylib 220 . . 3 𝐴 ∈ V → {𝑥𝐴𝐴 ∈ V} = ∅)
7 0ex 5204 . . 3 ∅ ∈ V
86, 7eqeltrdi 2920 . 2 𝐴 ∈ V → {𝑥𝐴𝐴 ∈ V} ∈ V)
91, 8pm2.61i 184 1 {𝑥𝐴𝐴 ∈ V} ∈ V
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1536  wcel 2113  wrex 3138  {crab 3141  Vcvv 3491  c0 4284
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5196  ax-nul 5203
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-ral 3142  df-rex 3143  df-rab 3146  df-v 3493  df-dif 3932  df-in 3936  df-ss 3945  df-nul 4285
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator