Metamath Proof Explorer


Theorem bj-elsn0

Description: If the intersection of two classes is a set, then these classes are equal if and only if one is an element of the singleton formed on the other. Stronger form of elsng and elsn2g (which could be proved from it). (Contributed by BJ, 20-Jan-2024)

Ref Expression
Assertion bj-elsn0 ABVABA=B

Proof

Step Hyp Ref Expression
1 elsni ABA=B
2 bj-inexeqex ABVA=BAVBV
3 simpl AVBVAV
4 elsng AVABA=B
5 4 biimprd AVA=BAB
6 2 3 5 3syl ABVA=BA=BAB
7 6 ex ABVA=BA=BAB
8 7 pm2.43d ABVA=BAB
9 1 8 impbid2 ABVABA=B