Metamath Proof Explorer


Theorem bj-inexeqex

Description: Lemma for bj-opelid (but not specific to the identity relation): if the intersection of two classes is a set and the two classes are equal, then both are sets (all three classes are equal, so they all belong to V , but it is more convenient to have _V in the consequent for theorems using it). (Contributed by BJ, 27-Dec-2023)

Ref Expression
Assertion bj-inexeqex ABVA=BAVBV

Proof

Step Hyp Ref Expression
1 eqimss A=BAB
2 df-ss ABAB=A
3 1 2 sylib A=BAB=A
4 eleq1 AB=AABVAV
5 4 biimpac ABVAB=AAV
6 3 5 sylan2 ABVA=BAV
7 6 elexd ABVA=BAV
8 eqimss2 A=BBA
9 sseqin2 BAAB=B
10 8 9 sylib A=BAB=B
11 eleq1 AB=BABVBV
12 11 biimpac ABVAB=BBV
13 10 12 sylan2 ABVA=BBV
14 13 elexd ABVA=BBV
15 7 14 jca ABVA=BAVBV