Metamath Proof Explorer


Theorem topfneec

Description: A cover is equivalent to a topology iff it is a base for that topology. (Contributed by Jeff Hankins, 8-Oct-2009) (Proof shortened by Mario Carneiro, 11-Sep-2015)

Ref Expression
Hypothesis topfneec.1 ˙=FneFne-1
Assertion topfneec JTopAJ˙topGenA=J

Proof

Step Hyp Ref Expression
1 topfneec.1 ˙=FneFne-1
2 1 fneer ˙ErV
3 errel ˙ErVRel˙
4 2 3 ax-mp Rel˙
5 relelec Rel˙AJ˙J˙A
6 4 5 ax-mp AJ˙J˙A
7 4 brrelex2i J˙AAV
8 7 a1i JTopJ˙AAV
9 eleq1 topGenA=JtopGenATopJTop
10 9 biimparc JToptopGenA=JtopGenATop
11 tgclb ATopBasestopGenATop
12 10 11 sylibr JToptopGenA=JATopBases
13 elex ATopBasesAV
14 12 13 syl JToptopGenA=JAV
15 14 ex JToptopGenA=JAV
16 1 fneval JTopAVJ˙AtopGenJ=topGenA
17 tgtop JToptopGenJ=J
18 17 eqeq1d JToptopGenJ=topGenAJ=topGenA
19 eqcom J=topGenAtopGenA=J
20 18 19 bitrdi JToptopGenJ=topGenAtopGenA=J
21 20 adantr JTopAVtopGenJ=topGenAtopGenA=J
22 16 21 bitrd JTopAVJ˙AtopGenA=J
23 22 ex JTopAVJ˙AtopGenA=J
24 8 15 23 pm5.21ndd JTopJ˙AtopGenA=J
25 6 24 bitrid JTopAJ˙topGenA=J