Metamath Proof Explorer


Theorem elpr2g

Description: A member of a pair of sets is one or the other of them, and conversely. Exercise 1 of TakeutiZaring p. 15. (Contributed by NM, 14-Oct-2005) Generalize from sethood hypothesis to sethood antecedent. (Revised by BJ, 25-May-2024)

Ref Expression
Assertion elpr2g BVCWABCA=BA=C

Proof

Step Hyp Ref Expression
1 elex ABCAV
2 1 a1i BVCWABCAV
3 elex BVBV
4 eleq1a BVA=BAV
5 3 4 syl BVA=BAV
6 elex CWCV
7 eleq1a CVA=CAV
8 6 7 syl CWA=CAV
9 5 8 jaao BVCWA=BA=CAV
10 elprg AVABCA=BA=C
11 10 a1i BVCWAVABCA=BA=C
12 2 9 11 pm5.21ndd BVCWABCA=BA=C