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 AVxA|AV=A

Proof

Step Hyp Ref Expression
1 elex AVAV
2 ax-1 AVxAAV
3 2 ralrimiv AVxAAV
4 rabid2 A=xA|AVxAAV
5 3 4 sylibr AVA=xA|AV
6 5 eqcomd AVxA|AV=A
7 1 6 syl AVxA|AV=A