Metamath Proof Explorer


Theorem eltg3

Description: Membership in a topology generated by a basis. (Contributed by NM, 15-Jul-2006) (Proof shortened by Mario Carneiro, 30-Aug-2015)

Ref Expression
Assertion eltg3 BVAtopGenBxxBA=x

Proof

Step Hyp Ref Expression
1 elfvdm AtopGenBBdomtopGen
2 inex1g BdomtopGenB𝒫AV
3 1 2 syl AtopGenBB𝒫AV
4 eltg4i AtopGenBA=B𝒫A
5 inss1 B𝒫AB
6 sseq1 x=B𝒫AxBB𝒫AB
7 5 6 mpbiri x=B𝒫AxB
8 7 biantrurd x=B𝒫AA=xxBA=x
9 unieq x=B𝒫Ax=B𝒫A
10 9 eqeq2d x=B𝒫AA=xA=B𝒫A
11 8 10 bitr3d x=B𝒫AxBA=xA=B𝒫A
12 3 4 11 spcedv AtopGenBxxBA=x
13 eltg3i BVxBxtopGenB
14 eleq1 A=xAtopGenBxtopGenB
15 13 14 syl5ibrcom BVxBA=xAtopGenB
16 15 expimpd BVxBA=xAtopGenB
17 16 exlimdv BVxxBA=xAtopGenB
18 12 17 impbid2 BVAtopGenBxxBA=x