:: COMPTS_1 semantic presentation

definition
let c1 be 1-sorted ;
let c2 be Subset-Family of c1;
let c3 be Subset of c1;
pred c2 is_a_cover_of c3 means :Def1: :: COMPTS_1:def 1
a3 c= union a2;
end;

:: deftheorem Def1 defines is_a_cover_of COMPTS_1:def 1 :
for b1 being 1-sorted
for b2 being Subset-Family of b1
for b3 being Subset of b1 holds
( b2 is_a_cover_of b3 iff b3 c= union b2 );

definition
let c1 be set ;
attr a1 is centered means :Def2: :: COMPTS_1:def 2
( a1 <> {} & ( for b1 being set st b1 <> {} & b1 c= a1 & b1 is finite holds
meet b1 <> {} ) );
end;

:: deftheorem Def2 defines centered COMPTS_1:def 2 :
for b1 being set holds
( b1 is centered iff ( b1 <> {} & ( for b2 being set st b2 <> {} & b2 c= b1 & b2 is finite holds
meet b2 <> {} ) ) );

definition
let c1 be TopStruct ;
attr a1 is compact means :Def3: :: COMPTS_1:def 3
for b1 being Subset-Family of a1 st b1 is_a_cover_of a1 & b1 is open holds
ex b2 being Subset-Family of a1 st
( b2 c= b1 & b2 is_a_cover_of a1 & b2 is finite );
attr a1 is being_T2 means :Def4: :: COMPTS_1:def 4
for b1, b2 being Point of a1 st b1 <> b2 holds
ex b3, b4 being Subset of a1 st
( b3 is open & b4 is open & b1 in b3 & b2 in b4 & b3 misses b4 );
attr a1 is being_T3 means :: COMPTS_1:def 5
for b1 being Point of a1
for b2 being Subset of a1 st b2 <> {} & b2 is closed & b1 in b2 ` holds
ex b3, b4 being Subset of a1 st
( b3 is open & b4 is open & b1 in b3 & b2 c= b4 & b3 misses b4 );
attr a1 is being_T4 means :: COMPTS_1:def 6
for b1, b2 being Subset of a1 st b1 <> {} & b2 <> {} & b1 is closed & b2 is closed & b1 misses b2 holds
ex b3, b4 being Subset of a1 st
( b3 is open & b4 is open & b1 c= b3 & b2 c= b4 & b3 misses b4 );
end;

:: deftheorem Def3 defines compact COMPTS_1:def 3 :
for b1 being TopStruct holds
( b1 is compact iff for b2 being Subset-Family of b1 st b2 is_a_cover_of b1 & b2 is open holds
ex b3 being Subset-Family of b1 st
( b3 c= b2 & b3 is_a_cover_of b1 & b3 is finite ) );

:: deftheorem Def4 defines being_T2 COMPTS_1:def 4 :
for b1 being TopStruct holds
( b1 is being_T2 iff for b2, b3 being Point of b1 st b2 <> b3 holds
ex b4, b5 being Subset of b1 st
( b4 is open & b5 is open & b2 in b4 & b3 in b5 & b4 misses b5 ) );

:: deftheorem Def5 defines being_T3 COMPTS_1:def 5 :
for b1 being TopStruct holds
( b1 is being_T3 iff for b2 being Point of b1
for b3 being Subset of b1 st b3 <> {} & b3 is closed & b2 in b3 ` holds
ex b4, b5 being Subset of b1 st
( b4 is open & b5 is open & b2 in b4 & b3 c= b5 & b4 misses b5 ) );

:: deftheorem Def6 defines being_T4 COMPTS_1:def 6 :
for b1 being TopStruct holds
( b1 is being_T4 iff for b2, b3 being Subset of b1 st b2 <> {} & b3 <> {} & b2 is closed & b3 is closed & b2 misses b3 holds
ex b4, b5 being Subset of b1 st
( b4 is open & b5 is open & b2 c= b4 & b3 c= b5 & b4 misses b5 ) );

notation
let c1 be TopStruct ;
synonym Hausdorff c1 for being_T2 c1;
synonym c1 is_T2 for being_T2 c1;
synonym c1 is_T3 for being_T3 c1;
synonym c1 is_T4 for being_T4 c1;
end;

definition
let c1 be TopStruct ;
let c2 be Subset of c1;
attr a2 is compact means :Def7: :: COMPTS_1:def 7
for b1 being Subset-Family of a1 st b1 is_a_cover_of a2 & b1 is open holds
ex b2 being Subset-Family of a1 st
( b2 c= b1 & b2 is_a_cover_of a2 & b2 is finite );
end;

:: deftheorem Def7 defines compact COMPTS_1:def 7 :
for b1 being TopStruct
for b2 being Subset of b1 holds
( b2 is compact iff for b3 being Subset-Family of b1 st b3 is_a_cover_of b2 & b3 is open holds
ex b4 being Subset-Family of b1 st
( b4 c= b3 & b4 is_a_cover_of b2 & b4 is finite ) );

theorem Th1: :: COMPTS_1:1
canceled;

theorem Th2: :: COMPTS_1:2
canceled;

theorem Th3: :: COMPTS_1:3
canceled;

theorem Th4: :: COMPTS_1:4
canceled;

theorem Th5: :: COMPTS_1:5
canceled;

theorem Th6: :: COMPTS_1:6
canceled;

theorem Th7: :: COMPTS_1:7
canceled;

theorem Th8: :: COMPTS_1:8
canceled;

theorem Th9: :: COMPTS_1:9
for b1 being TopStruct holds {} b1 is compact
proof end;

theorem Th10: :: COMPTS_1:10
for b1 being TopStruct holds
( b1 is compact iff [#] b1 is compact )
proof end;

theorem Th11: :: COMPTS_1:11
for b1 being TopStruct
for b2 being SubSpace of b1
for b3 being Subset of b1 st b3 c= [#] b2 holds
( b3 is compact iff for b4 being Subset of b2 st b4 = b3 holds
b4 is compact )
proof end;

theorem Th12: :: COMPTS_1:12
for b1 being TopStruct
for b2 being Subset of b1 holds
( ( b2 = {} implies ( b2 is compact iff b1 | b2 is compact ) ) & ( b1 is TopSpace-like & b2 <> {} implies ( b2 is compact iff b1 | b2 is compact ) ) )
proof end;

theorem Th13: :: COMPTS_1:13
for b1 being non empty TopSpace holds
( b1 is compact iff for b2 being Subset-Family of b1 st b2 is centered & b2 is closed holds
meet b2 <> {} )
proof end;

theorem Th14: :: COMPTS_1:14
for b1 being non empty TopSpace holds
( b1 is compact iff for b2 being Subset-Family of b1 st b2 <> {} & b2 is closed & meet b2 = {} holds
ex b3 being Subset-Family of b1 st
( b3 <> {} & b3 c= b2 & b3 is finite & meet b3 = {} ) )
proof end;

theorem Th15: :: COMPTS_1:15
for b1 being TopSpace st b1 is_T2 holds
for b2 being Subset of b1 st b2 <> {} & b2 is compact holds
for b3 being Point of b1 st b3 in b2 ` holds
ex b4, b5 being Subset of b1 st
( b4 is open & b5 is open & b3 in b4 & b2 c= b5 & b4 misses b5 )
proof end;

theorem Th16: :: COMPTS_1:16
for b1 being TopSpace
for b2 being Subset of b1 st b1 is_T2 & b2 is compact holds
b2 is closed
proof end;

theorem Th17: :: COMPTS_1:17
for b1 being TopStruct
for b2 being Subset of b1 st b1 is compact & b2 is closed holds
b2 is compact
proof end;

theorem Th18: :: COMPTS_1:18
for b1 being TopSpace
for b2, b3 being Subset of b1 st b2 is compact & b3 c= b2 & b3 is closed holds
b3 is compact
proof end;

theorem Th19: :: COMPTS_1:19
for b1 being TopStruct
for b2, b3 being Subset of b1 st b2 is compact & b3 is compact holds
b2 \/ b3 is compact
proof end;

theorem Th20: :: COMPTS_1:20
for b1 being TopSpace
for b2, b3 being Subset of b1 st b1 is_T2 & b2 is compact & b3 is compact holds
b2 /\ b3 is compact
proof end;

theorem Th21: :: COMPTS_1:21
for b1 being TopSpace st b1 is_T2 & b1 is compact holds
b1 is_T3
proof end;

theorem Th22: :: COMPTS_1:22
for b1 being TopSpace st b1 is_T2 & b1 is compact holds
b1 is_T4
proof end;

theorem Th23: :: COMPTS_1:23
for b1 being TopStruct
for b2 being non empty TopStruct
for b3 being Function of b1,b2 st b1 is compact & b3 is continuous & rng b3 = [#] b2 holds
b2 is compact
proof end;

theorem Th24: :: COMPTS_1:24
for b1 being TopStruct
for b2 being Subset of b1
for b3 being non empty TopStruct
for b4 being Function of b1,b3 st b4 is continuous & rng b4 = [#] b3 & b2 is compact holds
b4 .: b2 is compact
proof end;

theorem Th25: :: COMPTS_1:25
for b1 being TopSpace
for b2 being non empty TopSpace
for b3 being Function of b1,b2 st b1 is compact & b2 is_T2 & rng b3 = [#] b2 & b3 is continuous holds
for b4 being Subset of b1 st b4 is closed holds
b3 .: b4 is closed
proof end;

theorem Th26: :: COMPTS_1:26
for b1 being TopSpace
for b2 being non empty TopSpace
for b3 being Function of b1,b2 st b1 is compact & b2 is_T2 & dom b3 = [#] b1 & rng b3 = [#] b2 & b3 is one-to-one & b3 is continuous holds
b3 is being_homeomorphism
proof end;