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

Theorem class2set 5312
Description: The class of elements of 𝐴 "such that 𝐴 is a set" is a set. That class is equal to 𝐴 when 𝐴 is a set (see class2seteq 3668) and to the empty set when 𝐴 is a proper class. (Contributed by NM, 16-Oct-2003.)
Assertion
Ref Expression
class2set {𝑥𝐴𝐴 ∈ V} ∈ V
Distinct variable group:   𝑥,𝐴

Proof of Theorem class2set
StepHypRef Expression
1 rabexg 5294 . 2 (𝐴 ∈ V → {𝑥𝐴𝐴 ∈ V} ∈ V)
2 simpl 486 . . . . 5 ((¬ 𝐴 ∈ V ∧ 𝑥𝐴) → ¬ 𝐴 ∈ V)
32nrexdv 3158 . . . 4 𝐴 ∈ V → ¬ ∃𝑥𝐴 𝐴 ∈ V)
4 rabn0 4344 . . . . 5 ({𝑥𝐴𝐴 ∈ V} ≠ ∅ ↔ ∃𝑥𝐴 𝐴 ∈ V)
54necon1bbii 3007 . . . 4 (¬ ∃𝑥𝐴 𝐴 ∈ V ↔ {𝑥𝐴𝐴 ∈ V} = ∅)
63, 5sylib 220 . . 3 𝐴 ∈ V → {𝑥𝐴𝐴 ∈ V} = ∅)
7 0ex 5258 . . 3 ∅ ∈ V
86, 7eqeltrdi 2871 . 2 𝐴 ∈ V → {𝑥𝐴𝐴 ∈ V} ∈ V)
91, 8pm2.61i 183 1 {𝑥𝐴𝐴 ∈ V} ∈ V
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1561  wcel 2143  wrex 3087  {crab 3415  Vcvv 3455  c0 4286
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1816  ax-4 1830  ax-5 1931  ax-6 1988  ax-7 2029  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-sep 5247  ax-nul 5257
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1564  df-fal 1574  df-ex 1801  df-nf 1805  df-sb 2092  df-clab 2742  df-cleq 2755  df-clel 2838  df-ne 2959  df-ral 3078  df-rex 3088  df-rab 3416  df-v 3457  df-dif 3908  df-in 3912  df-ss 3922  df-nul 4287  df-pw 4558
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator