:: YELLOW_8 semantic presentation

theorem Th1: :: YELLOW_8:1
for b1, b2, b3 being set st b2 in Fin b1 & b3 c= b2 holds
b3 in Fin b1
proof end;

theorem Th2: :: YELLOW_8:2
for b1 being set
for b2 being Subset-Family of b1 st b2 c= Fin b1 holds
meet b2 in Fin b1
proof end;

definition
let c1 be non empty set ;
redefine attr a1 is trivial means :Def1: :: YELLOW_8:def 1
for b1, b2 being Element of a1 holds b1 = b2;
compatibility
( c1 is trivial iff for b1, b2 being Element of c1 holds b1 = b2 )
proof end;
end;

:: deftheorem Def1 defines trivial YELLOW_8:def 1 :
for b1 being non empty set holds
( b1 is trivial iff for b2, b3 being Element of b1 holds b2 = b3 );

theorem Th3: :: YELLOW_8:3
canceled;

theorem Th4: :: YELLOW_8:4
for b1 being set
for b2 being Subset-Family of b1 holds b2, COMPLEMENT b2 are_equipotent
proof end;

theorem Th5: :: YELLOW_8:5
for b1, b2 being set st b1,b2 are_equipotent & b1 is countable holds
b2 is countable
proof end;

theorem Th6: :: YELLOW_8:6
canceled;

theorem Th7: :: YELLOW_8:7
canceled;

theorem Th8: :: YELLOW_8:8
canceled;

theorem Th9: :: YELLOW_8:9
canceled;

theorem Th10: :: YELLOW_8:10
canceled;

theorem Th11: :: YELLOW_8:11
canceled;

theorem Th12: :: YELLOW_8:12
canceled;

theorem Th13: :: YELLOW_8:13
canceled;

theorem Th14: :: YELLOW_8:14
for b1 being 1-sorted
for b2 being Subset-Family of b1
for b3 being Subset of b1 holds
( b3 ` in COMPLEMENT b2 iff b3 in b2 )
proof end;

theorem Th15: :: YELLOW_8:15
for b1 being 1-sorted
for b2 being Subset-Family of b1 holds Intersect (COMPLEMENT b2) = (union b2) `
proof end;

theorem Th16: :: YELLOW_8:16
for b1 being 1-sorted
for b2 being Subset-Family of b1 holds union (COMPLEMENT b2) = (Intersect b2) `
proof end;

theorem Th17: :: YELLOW_8:17
for b1 being non empty TopSpace
for b2, b3 being Subset of b1 st b3 c= b2 & b2 is closed & ( for b4 being Subset of b1 st b3 c= b4 & b4 is closed holds
b2 c= b4 ) holds
b2 = Cl b3
proof end;

theorem Th18: :: YELLOW_8:18
for b1 being TopStruct
for b2 being Basis of b1
for b3 being Subset of b1 st b3 is open holds
b3 = union { b4 where B is Subset of b1 : ( b4 in b2 & b4 c= b3 ) }
proof end;

theorem Th19: :: YELLOW_8:19
for b1 being TopStruct
for b2 being Basis of b1
for b3 being Subset of b1 st b3 in b2 holds
b3 is open
proof end;

theorem Th20: :: YELLOW_8:20
for b1 being non empty TopSpace
for b2 being Basis of b1
for b3 being Subset of b1 holds Int b3 = union { b4 where B is Subset of b1 : ( b4 in b2 & b4 c= b3 ) }
proof end;

definition
let c1 be non empty TopStruct ;
let c2 be Point of c1;
mode Basis of c2 -> Subset-Family of a1 means :Def2: :: YELLOW_8:def 2
( a3 c= the topology of a1 & a2 in Intersect a3 & ( for b1 being Subset of a1 st b1 is open & a2 in b1 holds
ex b2 being Subset of a1 st
( b2 in a3 & b2 c= b1 ) ) );
existence
ex b1 being Subset-Family of c1 st
( b1 c= the topology of c1 & c2 in Intersect b1 & ( for b2 being Subset of c1 st b2 is open & c2 in b2 holds
ex b3 being Subset of c1 st
( b3 in b1 & b3 c= b2 ) ) )
proof end;
end;

:: deftheorem Def2 defines Basis YELLOW_8:def 2 :
for b1 being non empty TopStruct
for b2 being Point of b1
for b3 being Subset-Family of b1 holds
( b3 is Basis of b2 iff ( b3 c= the topology of b1 & b2 in Intersect b3 & ( for b4 being Subset of b1 st b4 is open & b2 in b4 holds
ex b5 being Subset of b1 st
( b5 in b3 & b5 c= b4 ) ) ) );

theorem Th21: :: YELLOW_8:21
for b1 being non empty TopStruct
for b2 being Point of b1
for b3 being Basis of b2
for b4 being Subset of b1 st b4 in b3 holds
( b4 is open & b2 in b4 )
proof end;

theorem Th22: :: YELLOW_8:22
for b1 being non empty TopStruct
for b2 being Point of b1
for b3 being Basis of b2
for b4 being Subset of b1 st b2 in b4 & b4 is open holds
ex b5 being Subset of b1 st
( b5 in b3 & b5 c= b4 ) by Def2;

theorem Th23: :: YELLOW_8:23
for b1 being non empty TopStruct
for b2 being Subset-Family of b1 st b2 c= the topology of b1 & ( for b3 being Point of b1 ex b4 being Basis of b3 st b4 c= b2 ) holds
b2 is Basis of b1
proof end;

definition
let c1 be non empty TopSpace;
attr a1 is Baire means :Def3: :: YELLOW_8:def 3
for b1 being Subset-Family of a1 st b1 is countable & ( for b2 being Subset of a1 st b2 in b1 holds
b2 is everywhere_dense ) holds
ex b2 being Subset of a1 st
( b2 = Intersect b1 & b2 is dense );
end;

:: deftheorem Def3 defines Baire YELLOW_8:def 3 :
for b1 being non empty TopSpace holds
( b1 is Baire iff for b2 being Subset-Family of b1 st b2 is countable & ( for b3 being Subset of b1 st b3 in b2 holds
b3 is everywhere_dense ) holds
ex b3 being Subset of b1 st
( b3 = Intersect b2 & b3 is dense ) );

theorem Th24: :: YELLOW_8:24
for b1 being non empty TopSpace holds
( b1 is Baire iff for b2 being Subset-Family of b1 st b2 is countable & ( for b3 being Subset of b1 st b3 in b2 holds
b3 is nowhere_dense ) holds
union b2 is boundary )
proof end;

definition
let c1 be TopStruct ;
let c2 be Subset of c1;
attr a2 is irreducible means :Def4: :: YELLOW_8:def 4
( not a2 is empty & a2 is closed & ( for b1, b2 being Subset of a1 st b1 is closed & b2 is closed & a2 = b1 \/ b2 & not b1 = a2 holds
b2 = a2 ) );
end;

:: deftheorem Def4 defines irreducible YELLOW_8:def 4 :
for b1 being TopStruct
for b2 being Subset of b1 holds
( b2 is irreducible iff ( not b2 is empty & b2 is closed & ( for b3, b4 being Subset of b1 st b3 is closed & b4 is closed & b2 = b3 \/ b4 & not b3 = b2 holds
b4 = b2 ) ) );

registration
let c1 be TopStruct ;
cluster irreducible -> non empty Element of bool the carrier of a1;
coherence
for b1 being Subset of c1 st b1 is irreducible holds
not b1 is empty
by Def4;
end;

definition
let c1 be non empty TopSpace;
let c2 be Subset of c1;
let c3 be Point of c1;
pred c3 is_dense_point_of c2 means :Def5: :: YELLOW_8:def 5
( a3 in a2 & a2 c= Cl {a3} );
end;

:: deftheorem Def5 defines is_dense_point_of YELLOW_8:def 5 :
for b1 being non empty TopSpace
for b2 being Subset of b1
for b3 being Point of b1 holds
( b3 is_dense_point_of b2 iff ( b3 in b2 & b2 c= Cl {b3} ) );

theorem Th25: :: YELLOW_8:25
for b1 being non empty TopSpace
for b2 being Subset of b1 st b2 is closed holds
for b3 being Point of b1 st b3 is_dense_point_of b2 holds
b2 = Cl {b3}
proof end;

theorem Th26: :: YELLOW_8:26
for b1 being non empty TopSpace
for b2 being Point of b1 holds Cl {b2} is irreducible
proof end;

registration
let c1 be non empty TopSpace;
cluster non empty irreducible Element of bool the carrier of a1;
existence
ex b1 being Subset of c1 st b1 is irreducible
proof end;
end;

definition
let c1 be non empty TopSpace;
attr a1 is sober means :Def6: :: YELLOW_8:def 6
for b1 being irreducible Subset of a1 ex b2 being Point of a1 st
( b2 is_dense_point_of b1 & ( for b3 being Point of a1 st b3 is_dense_point_of b1 holds
b2 = b3 ) );
end;

:: deftheorem Def6 defines sober YELLOW_8:def 6 :
for b1 being non empty TopSpace holds
( b1 is sober iff for b2 being irreducible Subset of b1 ex b3 being Point of b1 st
( b3 is_dense_point_of b2 & ( for b4 being Point of b1 st b4 is_dense_point_of b2 holds
b3 = b4 ) ) );

theorem Th27: :: YELLOW_8:27
for b1 being non empty TopSpace
for b2 being Point of b1 holds b2 is_dense_point_of Cl {b2}
proof end;

theorem Th28: :: YELLOW_8:28
for b1 being non empty TopSpace
for b2 being Point of b1 holds b2 is_dense_point_of {b2}
proof end;

theorem Th29: :: YELLOW_8:29
for b1 being non empty TopSpace
for b2, b3 being Subset of b1 st b2 is open & b3 is closed holds
b3 \ b2 is closed
proof end;

theorem Th30: :: YELLOW_8:30
for b1 being non empty Hausdorff TopSpace
for b2 being irreducible Subset of b1 holds b2 is trivial
proof end;

registration
let c1 be non empty Hausdorff TopSpace;
cluster irreducible -> trivial Element of bool the carrier of a1;
coherence
for b1 being Subset of c1 st b1 is irreducible holds
b1 is trivial
by Th30;
end;

theorem Th31: :: YELLOW_8:31
for b1 being non empty Hausdorff TopSpace holds b1 is sober
proof end;

registration
cluster non empty Hausdorff -> non empty sober TopStruct ;
coherence
for b1 being non empty TopSpace st b1 is being_T2 holds
b1 is sober
by Th31;
end;

registration
cluster non empty sober TopStruct ;
existence
ex b1 being non empty TopSpace st b1 is sober
proof end;
end;

theorem Th32: :: YELLOW_8:32
for b1 being non empty TopSpace holds
( b1 is T_0 iff for b2, b3 being Point of b1 st Cl {b2} = Cl {b3} holds
b2 = b3 )
proof end;

theorem Th33: :: YELLOW_8:33
for b1 being non empty sober TopSpace holds b1 is T_0
proof end;

registration
cluster non empty sober -> non empty T_0 TopStruct ;
coherence
for b1 being non empty TopSpace st b1 is sober holds
b1 is T_0
by Th33;
end;

definition
let c1 be set ;
func CofinTop c1 -> strict TopStruct means :Def7: :: YELLOW_8:def 7
( the carrier of a2 = a1 & COMPLEMENT the topology of a2 = {a1} \/ (Fin a1) );
existence
ex b1 being strict TopStruct st
( the carrier of b1 = c1 & COMPLEMENT the topology of b1 = {c1} \/ (Fin c1) )
proof end;
uniqueness
for b1, b2 being strict TopStruct st the carrier of b1 = c1 & COMPLEMENT the topology of b1 = {c1} \/ (Fin c1) & the carrier of b2 = c1 & COMPLEMENT the topology of b2 = {c1} \/ (Fin c1) holds
b1 = b2
by SETFAM_1:53;
end;

:: deftheorem Def7 defines CofinTop YELLOW_8:def 7 :
for b1 being set
for b2 being strict TopStruct holds
( b2 = CofinTop b1 iff ( the carrier of b2 = b1 & COMPLEMENT the topology of b2 = {b1} \/ (Fin b1) ) );

registration
let c1 be non empty set ;
cluster CofinTop a1 -> non empty strict ;
coherence
not CofinTop c1 is empty
proof end;
end;

registration
let c1 be set ;
cluster CofinTop a1 -> strict TopSpace-like ;
coherence
CofinTop c1 is TopSpace-like
proof end;
end;

theorem Th34: :: YELLOW_8:34
for b1 being non empty set
for b2 being Subset of (CofinTop b1) holds
( b2 is closed iff ( b2 = b1 or b2 is finite ) )
proof end;

theorem Th35: :: YELLOW_8:35
for b1 being non empty TopSpace st b1 is_T1 holds
for b2 being Point of b1 holds Cl {b2} = {b2}
proof end;

registration
let c1 be non empty set ;
cluster CofinTop a1 -> non empty strict TopSpace-like being_T1 ;
coherence
CofinTop c1 is being_T1
proof end;
end;

registration
let c1 be infinite set ;
cluster CofinTop a1 -> non empty strict TopSpace-like being_T1 non sober ;
coherence
not CofinTop c1 is sober
proof end;
end;

registration
cluster non empty being_T1 non sober TopStruct ;
existence
ex b1 being non empty TopSpace st
( b1 is being_T1 & not b1 is sober )
proof end;
end;

theorem Th36: :: YELLOW_8:36
for b1 being non empty TopSpace holds
( b1 is_T3 iff for b2 being Point of b1
for b3 being Subset of b1 st b2 in Int b3 holds
ex b4 being Subset of b1 st
( b4 is closed & b4 c= b3 & b2 in Int b4 ) )
proof end;

theorem Th37: :: YELLOW_8:37
for b1 being non empty TopSpace st b1 is_T3 holds
( b1 is locally-compact iff for b2 being Point of b1 ex b3 being Subset of b1 st
( b2 in Int b3 & b3 is compact ) )
proof end;