Metamath Proof Explorer


Theorem class2seteq

Description: Writing a set as a class abstraction. This theorem looks artificial but was added to characterize the class abstraction whose existence is proved in class2set . (Contributed by NM, 13-Dec-2005) (Proof shortened by Raph Levien, 30-Jun-2006)

Ref Expression
Assertion class2seteq ⊢ A ∈ V → x ∈ A | A ∈ V = A

Proof

Step Hyp Ref Expression
1 elex ⊢ A ∈ V → A ∈ V
2 ax-1 ⊢ A ∈ V → x ∈ A → A ∈ V
3 2 ralrimiv ⊢ A ∈ V → ∀ x ∈ A A ∈ V
4 rabid2im ⊢ ∀ x ∈ A A ∈ V → A = x ∈ A | A ∈ V
5 4 eqcomd ⊢ ∀ x ∈ A A ∈ V → x ∈ A | A ∈ V = A
6 1 3 5 3syl ⊢ A ∈ V → x ∈ A | A ∈ V = A