:: CANTOR_1 semantic presentation

registration
let c1 be set ;
let c2 be non empty set ;
cluster a1 --> a2 -> non-empty ;
coherence
c1 --> c2 is non-empty
;
end;

definition
let c1 be set ;
let c2 be Subset-Family of c1;
func UniCl c2 -> Subset-Family of a1 means :E1: :: CANTOR_1:def 1
for b1 being Subset of a1 holds
( b1 in a3 iff ex b2 being Subset-Family of a1 st
( b2 c= a2 & b1 = union b2 ) );
existence
ex b1 being Subset-Family of c1 st
for b2 being Subset of c1 holds
( b2 in b1 iff ex b3 being Subset-Family of c1 st
( b3 c= c2 & b2 = union b3 ) )
proof
defpred S1[ set ] means ex b1 being Subset-Family of c1 st
( b1 c= c2 & a1 = union b1 );
ex b1 being Subset-Family of c1 st
for b2 being Subset of c1 holds
( b2 in b1 iff S1[b2] ) from SUBSET_1:sch 3();
hence ex b1 being Subset-Family of c1 st
for b2 being Subset of c1 holds
( b2 in b1 iff ex b3 being Subset-Family of c1 st
( b3 c= c2 & b2 = union b3 ) ) ;
end;
uniqueness
for b1, b2 being Subset-Family of c1 holds
( ( ( for b3 being Subset of c1 holds
( b3 in b1 iff ex b4 being Subset-Family of c1 st
( b4 c= c2 & b3 = union b4 ) ) ) & ( for b3 being Subset of c1 holds
( b3 in b2 iff ex b4 being Subset-Family of c1 st
( b4 c= c2 & b3 = union b4 ) ) ) ) implies ( b1 = b2 ) )
proof
let c3, c4 be Subset-Family of c1;
assume that
E1: for b1 being Subset of c1 holds
( b1 in c3 iff ex b2 being Subset-Family of c1 st
( b2 c= c2 & b1 = union b2 ) ) and
E2: for b1 being Subset of c1 holds
( b1 in c4 iff ex b2 being Subset-Family of c1 st
( b2 c= c2 & b1 = union b2 ) ) ;
now
let c5 be Subset of c1;
( c5 in c3 iff ex b1 being Subset-Family of c1 st
( b1 c= c2 & c5 = union b1 ) ) by E1;
hence ( c5 in c3 iff c5 in c4 ) by E2;
end;
hence c3 = c4 by SUBSET_1:8;
end;
end;

:: deftheorem E1 defines UniCl CANTOR_1:def 1 :
for b1 being set
for b2, b3 being Subset-Family of b1 holds
( b3 = UniCl b2 iff for b4 being Subset of b1 holds
( b4 in b3 iff ex b5 being Subset-Family of b1 st
( b5 c= b2 & b4 = union b5 ) ) );

definition
let c1 be TopStruct ;
mode Basis of c1 -> Subset-Family of a1 means :E2: :: CANTOR_1:def 2
( a2 c= the topology of a1 & the topology of a1 c= UniCl a2 );
existence
ex b1 being Subset-Family of c1 st
( b1 c= the topology of c1 & the topology of c1 c= UniCl b1 )
proof
reconsider c2 = the topology of c1 as Subset-Family of c1 ;
take c2 ;
thus c2 c= the topology of c1 ;
now
let c3 be Subset of c1;
{c3} is Subset-Family of c1 by SUBSET_1:63;
then reconsider c4 = {c3} as Subset-Family of c1 ;
assume c3 in the topology of c1 ;
then E2: c4 c= c2 by ZFMISC_1:37;
c3 = union c4 by ZFMISC_1:31;
hence c3 in UniCl c2 by E2, E1;
end;
hence the topology of c1 c= UniCl c2 by SUBSET_1:7;
end;
end;

:: deftheorem E2 defines Basis CANTOR_1:def 2 :
for b1 being TopStruct
for b2 being Subset-Family of b1 holds
( b2 is Basis of b1 iff ( b2 c= the topology of b1 & the topology of b1 c= UniCl b2 ) );

theorem E3: :: CANTOR_1:1
for b1 being set
for b2 being Subset-Family of b1 holds b2 c= UniCl b2
proof
let c1 be set ;
let c2 be Subset-Family of c1;
let c3 be set ; :: according to TARSKI:def 3
assume E4: c3 in c2 ;
then reconsider c4 = c3 as Subset of c1 ;
reconsider c5 = {c4} as Subset-Family of c1 by SUBSET_1:63;
reconsider c6 = c5 as Subset-Family of c1 ;
( c6 c= c2 & c3 = union c6 ) by E4, ZFMISC_1:31, ZFMISC_1:37;
hence c3 in UniCl c2 by E1;
end;

theorem E4: :: CANTOR_1:2
for b1 being TopStruct holds
the topology of b1 is Basis of b1
proof
let c1 be TopStruct ;
the topology of c1 c= UniCl the topology of c1 by E3;
hence the topology of c1 is Basis of c1 by E2;
end;

theorem :: CANTOR_1:3
for b1 being TopStruct holds the topology of b1 is open
proof
let c1 be TopStruct ;
let c2 be Subset of c1; :: according to TOPS_2:def 1
assume c2 in the topology of c1 ;
hence c2 is open by PRE_TOPC:def 5;
end;

definition
let c1 be set ;
let c2 be Subset-Family of c1;
canceled;
func FinMeetCl c2 -> Subset-Family of a1 means :E5: :: CANTOR_1:def 4
for b1 being Subset of a1 holds
( b1 in a3 iff ex b2 being Subset-Family of a1 st
( b2 c= a2 & b2 is finite & b1 = Intersect b2 ) );
existence
ex b1 being Subset-Family of c1 st
for b2 being Subset of c1 holds
( b2 in b1 iff ex b3 being Subset-Family of c1 st
( b3 c= c2 & b3 is finite & b2 = Intersect b3 ) )
proof
defpred S1[ set ] means ex b1 being Subset-Family of c1 st
( b1 c= c2 & b1 is finite & a1 = Intersect b1 );
ex b1 being Subset-Family of c1 st
for b2 being Subset of c1 holds
( b2 in b1 iff S1[b2] ) from SUBSET_1:sch 3();
hence ex b1 being Subset-Family of c1 st
for b2 being Subset of c1 holds
( b2 in b1 iff ex b3 being Subset-Family of c1 st
( b3 c= c2 & b3 is finite & b2 = Intersect b3 ) ) ;
end;
uniqueness
for b1, b2 being Subset-Family of c1 holds
( ( ( for b3 being Subset of c1 holds
( b3 in b1 iff ex b4 being Subset-Family of c1 st
( b4 c= c2 & b4 is finite & b3 = Intersect b4 ) ) ) & ( for b3 being Subset of c1 holds
( b3 in b2 iff ex b4 being Subset-Family of c1 st
( b4 c= c2 & b4 is finite & b3 = Intersect b4 ) ) ) ) implies ( b1 = b2 ) )
proof
let c3, c4 be Subset-Family of c1;
assume that
E5: for b1 being Subset of c1 holds
( b1 in c3 iff ex b2 being Subset-Family of c1 st
( b2 c= c2 & b2 is finite & b1 = Intersect b2 ) ) and
E6: for b1 being Subset of c1 holds
( b1 in c4 iff ex b2 being Subset-Family of c1 st
( b2 c= c2 & b2 is finite & b1 = Intersect b2 ) ) ;
now
let c5 be Subset of c1;
( c5 in c4 iff ex b1 being Subset-Family of c1 st
( b1 c= c2 & b1 is finite & c5 = Intersect b1 ) ) by E6;
hence ( c5 in c4 iff c5 in c3 ) by E5;
end;
hence c3 = c4 by SUBSET_1:8;
end;
end;

:: deftheorem CANTOR_1:def 3 :
canceled;

:: deftheorem E5 defines FinMeetCl CANTOR_1:def 4 :
for b1 being set
for b2, b3 being Subset-Family of b1 holds
( b3 = FinMeetCl b2 iff for b4 being Subset of b1 holds
( b4 in b3 iff ex b5 being Subset-Family of b1 st
( b5 c= b2 & b5 is finite & b4 = Intersect b5 ) ) );

theorem E6: :: CANTOR_1:4
for b1 being set
for b2 being Subset-Family of b1 holds b2 c= FinMeetCl b2
proof
let c1 be set ;
let c2 be Subset-Family of c1;
let c3 be set ; :: according to TARSKI:def 3
assume E7: c3 in c2 ;
then reconsider c4 = c3 as Subset of c1 ;
reconsider c5 = {c4} as Subset-Family of c1 by SUBSET_1:63;
reconsider c6 = c5 as Subset-Family of c1 ;
E8: ( c6 is finite & c6 c= c2 & c3 = meet c6 ) by E7, SETFAM_1:11, ZFMISC_1:37;
then c3 = Intersect c6 by SETFAM_1:def 10;
hence c3 in FinMeetCl c2 by E8, E5;
end;

registration
let c1 be non empty TopSpace;
cluster the topology of a1 -> non empty ;
coherence
not the topology of c1 is empty
;
end;

theorem E7: :: CANTOR_1:5
for b1 being non empty TopSpace holds the topology of b1 = FinMeetCl the topology of b1
proof
let c1 be non empty TopSpace;
thus the topology of c1 c= FinMeetCl the topology of c1 by E6; :: according to XBOOLE_0:def 10
set c2 = the topology of c1;
defpred S1[ set ] means meet a1 in the topology of c1;
E8: S1[ {}. the topology of c1] by PRE_TOPC:5, SETFAM_1:2;
E9: for b1 being Element of Fin the topology of c1
for b2 being Element of the topology of c1 holds
( S1[b1] implies S1[b1 \/ {b2}] )
proof
let c3 be Element of Fin the topology of c1;
let c4 be Element of the topology of c1;
E10: meet {c4} = c4 by SETFAM_1:11;
assume E11: meet c3 in the topology of c1 ;
per cases not ( not c3 <> {} & not c3 = {} ) ;
suppose c3 <> {} ;
then meet (c3 \/ {c4}) = (meet c3) /\ (meet {c4}) by SETFAM_1:10;
hence meet (c3 \/ {c4}) in the topology of c1 by E10, E11, PRE_TOPC:def 1;
end;
suppose c3 = {} ;
hence meet (c3 \/ {c4}) in the topology of c1 by E10;
end;
end;
end;
E10: for b1 being Element of Fin the topology of c1 holds
S1[b1] from SETWISEO:sch 4(E8, E9);
now
let c3 be Subset of c1;
assume c3 in FinMeetCl the topology of c1 ;
then consider c4 being Subset-Family of c1 such that
E11: ( c4 c= the topology of c1 & c4 is finite & c3 = Intersect c4 ) by E5;
reconsider c5 = c4 as Subset-Family of c1 ;
per cases not ( not c5 <> {} & not c5 = {} ) ;
suppose c5 <> {} ;
then E12: c3 = meet c5 by E11, SETFAM_1:def 10;
c5 in Fin the topology of c1 by E11, FINSUB_1:def 5;
hence c3 in the topology of c1 by E10, E12;
end;
suppose E12: c5 = {} ;
reconsider c6 = {} (bool the carrier of c1) as Subset-Family of the carrier of c1 ;
Intersect c6 = the carrier of c1 by SETFAM_1:def 10;
hence c3 in the topology of c1 by E11, E12, PRE_TOPC:def 1;
end;
end;
end;
hence FinMeetCl the topology of c1 c= the topology of c1 by SUBSET_1:7;
end;

theorem E8: :: CANTOR_1:6
for b1 being TopSpace holds the topology of b1 = UniCl the topology of b1
proof
let c1 be TopSpace;
thus the topology of c1 c= UniCl the topology of c1 by E3; :: according to XBOOLE_0:def 10
let c2 be set ; :: according to TARSKI:def 3
assume E9: c2 in UniCl the topology of c1 ;
then reconsider c3 = c2 as Subset of c1 ;
ex b1 being Subset-Family of c1 st
( b1 c= the topology of c1 & c3 = union b1 ) by E9, E1;
hence c2 in the topology of c1 by PRE_TOPC:def 1;
end;

theorem E9: :: CANTOR_1:7
for b1 being non empty TopSpace holds the topology of b1 = UniCl (FinMeetCl the topology of b1)
proof
let c1 be non empty TopSpace;
the topology of c1 = FinMeetCl the topology of c1 by E7;
hence the topology of c1 = UniCl (FinMeetCl the topology of c1) by E8;
end;

theorem E10: :: CANTOR_1:8
for b1 being set
for b2 being Subset-Family of b1 holds b1 in FinMeetCl b2
proof
let c1 be set ;
let c2 be Subset-Family of c1;
{} is Subset-Family of c1 by XBOOLE_1:2;
then {} is Subset-Family of c1 ;
then consider c3 being Subset-Family of c1 such that
E11: c3 = {} ;
( c3 c= c2 & c3 is finite & Intersect c3 = c1 ) by E11, SETFAM_1:def 10, XBOOLE_1:2;
hence c1 in FinMeetCl c2 by E5;
end;

theorem E11: :: CANTOR_1:9
for b1 being set
for b2, b3 being Subset-Family of b1 holds
( b2 c= b3 implies UniCl b2 c= UniCl b3 )
proof
let c1 be set ;
let c2, c3 be Subset-Family of c1;
assume E12: c2 c= c3 ;
let c4 be set ; :: according to TARSKI:def 3
assume E13: c4 in UniCl c2 ;
then reconsider c5 = c4 as Subset of c1 ;
consider c6 being Subset-Family of c1 such that
E14: ( c6 c= c2 & c5 = union c6 ) by E13, E1;
c6 c= c3 by E12, E14, XBOOLE_1:1;
hence c4 in UniCl c3 by E14, E1;
end;

theorem :: CANTOR_1:10
canceled;

theorem :: CANTOR_1:11
canceled;

theorem E12: :: CANTOR_1:12
for b1 being set
for b2 being non empty Subset-Family of (bool b1)
for b3 being Subset-Family of b1 holds
( b3 = { (Intersect b4) where B is Element of b2 : verum } implies Intersect b3 = Intersect (union b2) )
proof
let c1 be set ;
let c2 be non empty Subset-Family of (bool c1);
let c3 be Subset-Family of c1;
assume E13: c3 = { (Intersect b1) where B is Element of c2 : verum } ;
hereby :: according to TARSKI:def 3,XBOOLE_0:def 10
let c4 be set ;
assume E14: c4 in Intersect c3 ;
for b1 being set holds
( b1 in union c2 implies c4 in b1 )
proof
let c5 be set ;
assume c5 in union c2 ;
then consider c6 being set such that
E15: c5 in c6 and
E16: c6 in c2 by TARSKI:def 4;
reconsider c7 = c6 as Subset-Family of c1 by E16;
reconsider c8 = c7 as Subset-Family of c1 ;
Intersect c8 in c3 by E13, E16;
then c4 in Intersect c8 by E14, SETFAM_1:58;
hence c4 in c5 by E15, SETFAM_1:58;
end;
hence c4 in Intersect (union c2) by E14, SETFAM_1:58;
end;
let c4 be set ; :: according to TARSKI:def 3
assume E14: c4 in Intersect (union c2) ;
for b1 being set holds
( b1 in c3 implies c4 in b1 )
proof
let c5 be set ;
assume c5 in c3 ;
then consider c6 being Element of c2 such that
E15: c5 = Intersect c6 by E13;
c6 c= union c2 by ZFMISC_1:92;
then Intersect (union c2) c= Intersect c6 by SETFAM_1:59;
hence c4 in c5 by E14, E15;
end;
hence c4 in Intersect c3 by E14, SETFAM_1:58;
end;

definition
let c1, c2 be set ;
let c3 be Subset-Family of c1;
let c4 be Function of c2, bool c3;
let c5 be set ;
redefine func . as c4 . c5 -> Subset-Family of a1;
coherence
c4 . c5 is Subset-Family of c1
proof
per cases not ( not c5 in dom c4 & c5 in dom c4 ) ;
suppose c5 in dom c4 ;
then ( c4 . c5 in rng c4 & rng c4 c= bool c3 ) by FUNCT_1:def 5, RELSET_1:12;
then E13: c4 . c5 in bool c3 ;
bool c3 c= bool (bool c1) by ZFMISC_1:79;
hence c4 . c5 is Subset-Family of c1 by E13;
end;
suppose not c5 in dom c4 ;
then c4 . c5 = {} by FUNCT_1:def 4;
then c4 . c5 is Subset-Family of c1 by XBOOLE_1:2;
hence c4 . c5 is Subset-Family of c1 ;
end;
end;
end;
end;

theorem E13: :: CANTOR_1:13
for b1 being set
for b2 being Subset-Family of b1 holds FinMeetCl b2 = FinMeetCl (FinMeetCl b2)
proof
let c1 be set ;
let c2 be Subset-Family of c1;
thus FinMeetCl c2 c= FinMeetCl (FinMeetCl c2) by E6; :: according to XBOOLE_0:def 10
let c3 be set ; :: according to TARSKI:def 3
assume E14: c3 in FinMeetCl (FinMeetCl c2) ;
then reconsider c4 = c3 as Subset of c1 ;
consider c5 being Subset-Family of c1 such that
E15: ( c5 c= FinMeetCl c2 & c5 is finite & c4 = Intersect c5 ) by E14, E5;
defpred S1[ set , set ] means ex b1 being Subset-Family of c1 st
( a1 = Intersect b1 & b1 = a2 & a2 is finite );
E16: for b1 being set holds
not ( b1 in c5 & ( for b2 being set holds
not ( b2 in bool c2 & S1[b1,b2] ) ) )
proof
let c6 be set ;
assume E17: c6 in c5 ;
then reconsider c7 = c6 as Subset of c1 ;
consider c8 being Subset-Family of c1 such that
E18: ( c8 c= c2 & c8 is finite & c7 = Intersect c8 ) by E15, E17, E5;
take c8 ;
thus ( c8 in bool c2 & S1[c6,c8] ) by E18;
end;
consider c6 being Function of c5, bool c2 such that
E17: for b1 being set holds
( b1 in c5 implies S1[b1,c6 . b1] ) from FUNCT_2:sch 1(E16);
dom c6 is finite by E15, FUNCT_2:def 1;
then E18: rng c6 is finite by FINSET_1:26;
for b1 being set holds
( b1 in rng c6 implies b1 is finite )
proof
let c7 be set ;
assume c7 in rng c6 ;
then consider c8 being set such that
E19: ( c8 in dom c6 & c7 = c6 . c8 ) by FUNCT_1:def 5;
c8 in c5 by E19, FUNCT_2:def 1;
then reconsider c9 = c8 as Subset of c1 ;
reconsider c10 = c6 . c9 as Subset-Family of c1 ;
c9 in c5 by E19, FUNCT_2:def 1;
then S1[c9,c10] by E17;
hence c7 is finite by E19;
end;
then E19: union (rng c6) is finite by E18, FINSET_1:25;
rng c6 c= bool c2 by RELSET_1:12;
then union (rng c6) c= union (bool c2) by ZFMISC_1:95;
then E20: union (rng c6) c= c2 by ZFMISC_1:99;
then reconsider c7 = union (rng c6) as Subset-Family of c1 by XBOOLE_1:1;
reconsider c8 = c7 as Subset-Family of c1 ;
set c9 = { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } ;
E21: c5 = { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 }
proof
E22: c5 c= { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 }
proof
let c10 be set ; :: according to TARSKI:def 3
assume E23: c10 in c5 ;
then consider c11 being Subset-Family of c1 such that
E24: ( c10 = Intersect c11 & c11 = c6 . c10 & c6 . c10 is finite ) by E17;
c10 in dom c6 by E23, FUNCT_2:def 1;
then c11 in rng c6 by E24, FUNCT_1:def 5;
hence c10 in { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } by E24;
end;
{ (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } c= c5
proof
let c10 be set ; :: according to TARSKI:def 3
assume c10 in { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } ;
then consider c11 being Subset-Family of c1 such that
E23: c10 = Intersect c11 and
E24: c11 in rng c6 ;
consider c12 being set such that
E25: ( c12 in dom c6 & c11 = c6 . c12 ) by E24, FUNCT_1:def 5;
c12 in c5 by E25, FUNCT_2:def 1;
then S1[c12,c6 . c12] by E17;
hence c10 in c5 by E23, E25, FUNCT_2:def 1;
end;
hence c5 = { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } by E22, XBOOLE_0:def 10;
end;
c3 = Intersect c8
proof
per cases not ( not rng c6 <> {} & not rng c6 = {} ) ;
suppose E22: rng c6 <> {} ;
E23: rng c6 c= bool c2 by RELSET_1:12;
bool c2 c= bool (bool c1) by ZFMISC_1:79;
then reconsider c10 = rng c6 as non empty Subset-Family of (bool c1) by E22, E23, XBOOLE_1:1;
reconsider c11 = c10 as non empty Subset-Family of (bool c1) ;
{ (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } = { (Intersect b1) where B is Element of c11 : verum }
proof
hereby :: according to TARSKI:def 3,XBOOLE_0:def 10
let c12 be set ;
assume c12 in { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } ;
then ex b1 being Subset-Family of c1 st
( c12 = Intersect b1 & b1 in rng c6 ) ;
hence c12 in { (Intersect b1) where B is Element of c11 : verum } ;
end;
let c12 be set ; :: according to TARSKI:def 3
assume c12 in { (Intersect b1) where B is Element of c11 : verum } ;
then ex b1 being Element of c11 st c12 = Intersect b1 ;
hence c12 in { (Intersect b1) where B is Subset-Family of c1 : b1 in rng c6 } ;
end;
hence c3 = Intersect c8 by E15, E21, E12;
end;
suppose E22: rng c6 = {} ;
c5 = dom c6 by FUNCT_2:def 1;
hence c3 = Intersect c8 by E15, E22, RELAT_1:60, RELAT_1:64, ZFMISC_1:2;
end;
end;
end;
hence c3 in FinMeetCl c2 by E19, E20, E5;
end;

theorem :: CANTOR_1:14
for b1 being set
for b2 being Subset-Family of b1
for b3, b4 being set holds
( ( b3 in FinMeetCl b2 & b4 in FinMeetCl b2 ) implies ( b3 /\ b4 in FinMeetCl b2 ) )
proof
let c1 be set ;
let c2 be Subset-Family of c1;
let c3, c4 be set ;
assume E14: ( c3 in FinMeetCl c2 & c4 in FinMeetCl c2 ) ;
then reconsider c5 = {c3,c4} as Subset-Family of c1 by ZFMISC_1:38;
reconsider c6 = c5 as Subset-Family of c1 ;
c3 /\ c4 = meet c6 by SETFAM_1:12;
then E15: c3 /\ c4 = Intersect c6 by SETFAM_1:def 10;
( c6 is non empty Subset-Family of c1 & c6 c= FinMeetCl c2 ) by E14, ZFMISC_1:38;
then Intersect c6 in FinMeetCl (FinMeetCl c2) by E5;
hence c3 /\ c4 in FinMeetCl c2 by E15, E13;
end;

theorem E14: :: CANTOR_1:15
for b1 being set
for b2 being Subset-Family of b1
for b3, b4 being set holds
( ( b3 c= FinMeetCl b2 & b4 c= FinMeetCl b2 ) implies ( INTERSECTION b3,b4 c= FinMeetCl b2 ) )
proof
let c1 be set ;
let c2 be Subset-Family of c1;
let c3, c4 be set ;
assume E15: ( c3 c= FinMeetCl c2 & c4 c= FinMeetCl c2 ) ;
let c5 be set ; :: according to TARSKI:def 3
assume c5 in INTERSECTION c3,c4 ;
then consider c6, c7 being set such that
E16: c6 in c3 and
E17: c7 in c4 and
E18: c5 = c6 /\ c7 by SETFAM_1:def 5;
( c6 in FinMeetCl c2 & c7 in FinMeetCl c2 ) by E15, E16, E17;
then reconsider c8 = {c6,c7} as Subset-Family of c1 by ZFMISC_1:38;
reconsider c9 = c8 as Subset-Family of c1 ;
c6 /\ c7 = meet c9 by SETFAM_1:12;
then E19: c6 /\ c7 = Intersect c9 by SETFAM_1:def 10;
( c9 is non empty Subset-Family of c1 & c9 c= FinMeetCl c2 ) by E15, E16, E17, ZFMISC_1:38;
then Intersect c9 in FinMeetCl (FinMeetCl c2) by E5;
hence c5 in FinMeetCl c2 by E18, E19, E13;
end;

theorem E15: :: CANTOR_1:16
for b1 being set
for b2, b3 being Subset-Family of b1 holds
( b2 c= b3 implies FinMeetCl b2 c= FinMeetCl b3 )
proof
let c1 be set ;
let c2, c3 be Subset-Family of c1;
assume E16: c2 c= c3 ;
let c4 be set ; :: according to TARSKI:def 3
assume E17: c4 in FinMeetCl c2 ;
then reconsider c5 = c4 as Subset of c1 ;
consider c6 being Subset-Family of c1 such that
E18: ( c6 c= c2 & c6 is finite & c5 = Intersect c6 ) by E17, E5;
c6 c= c3 by E16, E18, XBOOLE_1:1;
hence c4 in FinMeetCl c3 by E18, E5;
end;

registration
let c1 be set ;
let c2 be Subset-Family of c1;
cluster FinMeetCl a2 -> non empty ;
coherence
not FinMeetCl c2 is empty
by E10;
end;

theorem E16: :: CANTOR_1:17
for b1 being non empty set
for b2 being Subset-Family of b1 holds TopStruct(# b1,(UniCl (FinMeetCl b2)) #) is TopSpace-like
proof
let c1 be non empty set ;
let c2 be Subset-Family of c1;
set c3 = TopStruct(# c1,(UniCl (FinMeetCl c2)) #);
E17: [#] TopStruct(# c1,(UniCl (FinMeetCl c2)) #) in FinMeetCl c2 by E10;
now
reconsider c4 = {([#] TopStruct(# c1,(UniCl (FinMeetCl c2)) #))} as Subset-Family of c1 by ZFMISC_1:80;
reconsider c5 = c4 as Subset-Family of c1 ;
take c6 = c5;
thus c6 c= FinMeetCl c2 by E17, ZFMISC_1:37;
thus [#] TopStruct(# c1,(UniCl (FinMeetCl c2)) #) = union c6 by ZFMISC_1:31;
end;
hence the carrier of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) in the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) by E1; :: according to PRE_TOPC:def 1
thus for b1 being Subset-Family of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) holds
( b1 c= the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) implies union b1 in the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) )
proof
let c4 be Subset-Family of TopStruct(# c1,(UniCl (FinMeetCl c2)) #);
assume E18: c4 c= the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ;
defpred S1[ set ] means ex b1 being Subset of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) st
( b1 in c4 & b1 = union a1 );
consider c5 being Subset-Family of (FinMeetCl c2) such that
E19: for b1 being Subset of (FinMeetCl c2) holds
( b1 in c5 iff S1[b1] ) from SUBSET_1:sch 3();
E20: union (union c5) = union { (union b1) where B is Subset of (FinMeetCl c2) : b1 in c5 } by BORSUK_1:17;
E21: c4 = { (union b1) where B is Subset of (FinMeetCl c2) : b1 in c5 }
proof
set c6 = { (union b1) where B is Subset of (FinMeetCl c2) : b1 in c5 } ;
hereby :: according to TARSKI:def 3,XBOOLE_0:def 10
let c7 be set ;
assume E22: c7 in c4 ;
then reconsider c8 = c7 as Subset of c1 ;
consider c9 being Subset-Family of c1 such that
E23: c9 c= FinMeetCl c2 and
E24: c8 = union c9 by E18, E22, E1;
c9 in c5 by E19, E22, E23, E24;
hence c7 in { (union b1) where B is Subset of (FinMeetCl c2) : b1 in c5 } by E24;
end;
let c7 be set ; :: according to TARSKI:def 3
assume c7 in { (union b1) where B is Subset of (FinMeetCl c2) : b1 in c5 } ;
then consider c8 being Subset of (FinMeetCl c2) such that
E22: c7 = union c8 and
E23: c8 in c5 ;
consider c9 being Subset of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) such that
E24: c9 in c4 and
E25: c9 = union c8 by E19, E23;
thus c7 in c4 by E22, E24, E25;
end;
union c5 c= bool c1 by XBOOLE_1:1;
then union c5 is Subset-Family of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ;
hence union c4 in the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) by E20, E21, E1;
end;
let c4, c5 be Subset of TopStruct(# c1,(UniCl (FinMeetCl c2)) #);
assume c4 in the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ;
then consider c6 being Subset-Family of c1 such that
E18: c6 c= FinMeetCl c2 and
E19: c4 = union c6 by E1;
assume c5 in the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ;
then consider c7 being Subset-Family of c1 such that
E20: c7 c= FinMeetCl c2 and
E21: c5 = union c7 by E1;
E22: INTERSECTION c6,c7 c= FinMeetCl c2 by E18, E20, E14;
then INTERSECTION c6,c7 is Subset-Family of c1 by XBOOLE_1:1;
then E23: INTERSECTION c6,c7 is Subset-Family of c1 ;
union (INTERSECTION c6,c7) = c4 /\ c5 by E19, E21, SETFAM_1:39;
hence c4 /\ c5 in the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) by E22, E23, E1;
end;

definition
let c1 be TopStruct ;
mode prebasis of c1 -> Subset-Family of a1 means :E17: :: CANTOR_1:def 5
( a2 c= the topology of a1 & ex b1 being Basis of a1 st b1 c= FinMeetCl a2 );
existence
ex b1 being Subset-Family of c1 st
( b1 c= the topology of c1 & ex b2 being Basis of c1 st b2 c= FinMeetCl b1 )
proof
reconsider c2 = the topology of c1 as Subset-Family of c1 ;
take c2 ;
thus c2 c= the topology of c1 ;
reconsider c3 = the topology of c1 as Basis of c1 by E4;
take c3 ;
thus c3 c= FinMeetCl c2 by E6;
end;
end;

:: deftheorem E17 defines prebasis CANTOR_1:def 5 :
for b1 being TopStruct
for b2 being Subset-Family of b1 holds
( b2 is prebasis of b1 iff ( b2 c= the topology of b1 & ex b3 being Basis of b1 st b3 c= FinMeetCl b2 ) );

theorem E18: :: CANTOR_1:18
for b1 being non empty set
for b2 being Subset-Family of b1 holds
b2 is Basis of TopStruct(# b1,(UniCl b2) #)
proof
let c1 be non empty set ;
let c2 be Subset-Family of c1;
c2 c= UniCl c2 by E3;
hence c2 is Basis of TopStruct(# c1,(UniCl c2) #) by E2;
end;

theorem E19: :: CANTOR_1:19
for b1, b2 being non empty strict TopSpace
for b3 being prebasis of b1 holds
( ( the carrier of b1 = the carrier of b2 & b3 is prebasis of b2 ) implies ( b1 = b2 ) )
proof
let c1, c2 be non empty strict TopSpace;
let c3 be prebasis of c1;
assume that
E20: the carrier of c1 = the carrier of c2 and
E21: c3 is prebasis of c2 ;
consider c4 being Basis of c1 such that
E22: c4 c= FinMeetCl c3 by E17;
E23: the topology of c1 c= UniCl c4 by E2;
UniCl c4 c= UniCl (FinMeetCl c3) by E22, E11;
then E24: the topology of c1 c= UniCl (FinMeetCl c3) by E23, XBOOLE_1:1;
reconsider c5 = c3 as prebasis of c2 by E21;
consider c6 being Basis of c2 such that
E25: c6 c= FinMeetCl c5 by E17;
E26: the topology of c2 c= UniCl c6 by E2;
E27: the topology of c2 = UniCl (FinMeetCl the topology of c2) by E9;
E28: the topology of c1 = UniCl (FinMeetCl the topology of c1) by E9;
UniCl c6 c= UniCl (FinMeetCl c5) by E25, E11;
then E29: the topology of c2 c= UniCl (FinMeetCl c5) by E26, XBOOLE_1:1;
c5 c= the topology of c2 by E17;
then FinMeetCl c5 c= FinMeetCl the topology of c2 by E15;
then UniCl (FinMeetCl c5) c= UniCl (FinMeetCl the topology of c2) by E11;
then E30: UniCl (FinMeetCl c5) = the topology of c2 by E27, E29, XBOOLE_0:def 10;
c3 c= the topology of c1 by E17;
then FinMeetCl c3 c= FinMeetCl the topology of c1 by E15;
then UniCl (FinMeetCl c3) c= UniCl (FinMeetCl the topology of c1) by E11;
hence c1 = c2 by E20, E24, E28, E30, XBOOLE_0:def 10;
end;

theorem E20: :: CANTOR_1:20
for b1 being non empty set
for b2 being Subset-Family of b1 holds
b2 is prebasis of TopStruct(# b1,(UniCl (FinMeetCl b2)) #)
proof
let c1 be non empty set ;
let c2 be Subset-Family of c1;
set c3 = TopStruct(# c1,(UniCl (FinMeetCl c2)) #);
reconsider c4 = c2 as Subset-Family of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ;
c4 is prebasis of TopStruct(# c1,(UniCl (FinMeetCl c2)) #)
proof
( c4 c= FinMeetCl c2 & FinMeetCl c2 c= the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ) by E3, E6;
hence c4 c= the topology of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) by XBOOLE_1:1; :: according to CANTOR_1:def 5
reconsider c5 = FinMeetCl c4 as Basis of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) by E18;
take c5 ;
thus c5 c= FinMeetCl c4 ;
end;
hence c2 is prebasis of TopStruct(# c1,(UniCl (FinMeetCl c2)) #) ;
end;

definition
func the_Cantor_set -> non empty strict TopSpace means :: CANTOR_1:def 6
( the carrier of a1 = product (NAT --> {0,1}) & ex b1 being prebasis of a1 st
for b2 being Subset of (product (NAT --> {0,1})) holds
( b2 in b1 iff ex b3, b4 being Nat st
for b5 being Element of product (NAT --> {0,1}) holds
( b5 in b2 iff b5 . b3 = b4 ) ) );
existence
ex b1 being non empty strict TopSpace st
( the carrier of b1 = product (NAT --> {0,1}) & ex b2 being prebasis of b1 st
for b3 being Subset of (product (NAT --> {0,1})) holds
( b3 in b2 iff ex b4, b5 being Nat st
for b6 being Element of product (NAT --> {0,1}) holds
( b6 in b3 iff b6 . b4 = b5 ) ) )
proof
defpred S1[ set ] means ex b1, b2 being Nat st
for b3 being Element of product (NAT --> {0,1}) holds
( b3 in a1 iff b3 . b1 = b2 );
consider c1 being Subset-Family of (product (NAT --> {0,1})) such that
E21: for b1 being Subset of (product (NAT --> {0,1})) holds
( b1 in c1 iff S1[b1] ) from SUBSET_1:sch 3();
reconsider c2 = TopStruct(# (product (NAT --> {0,1})),(UniCl (FinMeetCl c1)) #) as non empty strict TopSpace by E16;
take c2 ;
thus the carrier of c2 = product (NAT --> {0,1}) ;
reconsider c3 = c1 as prebasis of c2 by E20;
take c3 ;
thus for b1 being Subset of (product (NAT --> {0,1})) holds
( b1 in c3 iff ex b2, b3 being Nat st
for b4 being Element of product (NAT --> {0,1}) holds
( b4 in b1 iff b4 . b2 = b3 ) ) by E21;
end;
uniqueness
for b1, b2 being non empty strict TopSpace holds
( ( the carrier of b1 = product (NAT --> {0,1}) & the carrier of b2 = product (NAT --> {0,1}) ) implies ( ( for b3 being prebasis of b1 holds
not for b4 being Subset of (product (NAT --> {0,1})) holds
( b4 in b3 iff ex b5, b6 being Nat st
for b7 being Element of product (NAT --> {0,1}) holds
( b7 in b4 iff b7 . b5 = b6 ) ) ) or ( for b3 being prebasis of b2 holds
not for b4 being Subset of (product (NAT --> {0,1})) holds
( b4 in b3 iff ex b5, b6 being Nat st
for b7 being Element of product (NAT --> {0,1}) holds
( b7 in b4 iff b7 . b5 = b6 ) ) ) or b1 = b2 ) )
proof
let c1, c2 be non empty strict TopSpace;
assume that
E21: ( the carrier of c1 = product (NAT --> {0,1}) & ex b1 being prebasis of c1 st
for b2 being Subset of (product (NAT --> {0,1}))