Metamath Proof Explorer


Theorem bj-elpwg

Description: If the intersection of two classes is a set, then inclusion among these classes is equivalent to membership in the powerclass. Common generalization of elpwg and elpw2g (the latter of which could be proved from it). (Contributed by BJ, 31-Dec-2023)

Ref Expression
Assertion bj-elpwg A B V A 𝒫 B A B

Proof

Step Hyp Ref Expression
1 elpwi A 𝒫 B A B
2 ssidd A B A A
3 id A B A B
4 2 3 ssind A B A A B
5 ssexg A A B A B V A V
6 4 5 sylan A B A B V A V
7 elpwg A V A 𝒫 B A B
8 7 biimparc A B A V A 𝒫 B
9 6 8 syldan A B A B V A 𝒫 B
10 9 expcom A B V A B A 𝒫 B
11 1 10 impbid2 A B V A 𝒫 B A B