Metamath Proof Explorer


Theorem elprg

Description: A member of a pair of classes is one or the other of them, and conversely as soon as it is a set. Exercise 1 of TakeutiZaring p. 15, generalized. (Contributed by NM, 13-Sep-1995)

Ref Expression
Assertion elprg AVABCA=BA=C

Proof

Step Hyp Ref Expression
1 eqeq1 x=Ax=BA=B
2 eqeq1 x=Ax=CA=C
3 1 2 orbi12d x=Ax=Bx=CA=BA=C
4 dfpr2 BC=x|x=Bx=C
5 3 4 elab2g AVABCA=BA=C