:: Compact Spaces
:: by Agata Darmochwa{\l}
::
:: Received September 19, 1989
:: Copyright (c) 1990 Association of Mizar Users


begin

definition
canceled;
canceled;
let T be TopStruct ;
attr T is compact means :Def3: :: COMPTS_1:def 3
for F being Subset-Family of T st F is Cover of T & F is open holds
ex G being Subset-Family of T st
( G c= F & G is Cover of T & G is finite );
end;

:: deftheorem COMPTS_1:def 1 :
canceled;

:: deftheorem COMPTS_1:def 2 :
canceled;

:: deftheorem Def3 defines compact COMPTS_1:def 3 :
for T being TopStruct holds
( T is compact iff for F being Subset-Family of T st F is Cover of T & F is open holds
ex G being Subset-Family of T st
( G c= F & G is Cover of T & G is finite ) );

definition
let T be non empty TopSpace;
canceled;
redefine attr T is regular means :: COMPTS_1:def 5
for p being Point of T
for P being Subset of T st P <> {} & P is closed & p in P ` holds
ex W, V being Subset of T st
( W is open & V is open & p in W & P c= V & W misses V );
compatibility
( T is regular iff for p being Point of T
for P being Subset of T st P <> {} & P is closed & p in P ` holds
ex W, V being Subset of T st
( W is open & V is open & p in W & P c= V & W misses V ) )
proof end;
redefine attr T is normal means :: COMPTS_1:def 6
for W, V being Subset of T st W <> {} & V <> {} & W is closed & V is closed & W misses V holds
ex P, Q being Subset of T st
( P is open & Q is open & W c= P & V c= Q & P misses Q );
compatibility
( T is normal iff for W, V being Subset of T st W <> {} & V <> {} & W is closed & V is closed & W misses V holds
ex P, Q being Subset of T st
( P is open & Q is open & W c= P & V c= Q & P misses Q ) )
proof end;
end;

:: deftheorem COMPTS_1:def 4 :
canceled;

:: deftheorem defines regular COMPTS_1:def 5 :
for T being non empty TopSpace holds
( T is regular iff for p being Point of T
for P being Subset of T st P <> {} & P is closed & p in P ` holds
ex W, V being Subset of T st
( W is open & V is open & p in W & P c= V & W misses V ) );

:: deftheorem defines normal COMPTS_1:def 6 :
for T being non empty TopSpace holds
( T is normal iff for W, V being Subset of T st W <> {} & V <> {} & W is closed & V is closed & W misses V holds
ex P, Q being Subset of T st
( P is open & Q is open & W c= P & V c= Q & P misses Q ) );

notation
let T be TopStruct ;
synonym Hausdorff T for T_2 ;
end;

definition
let T be TopStruct ;
let P be Subset of T;
attr P is compact means :Def7: :: COMPTS_1:def 7
for F being Subset-Family of T st F is Cover of P & F is open holds
ex G being Subset-Family of T st
( G c= F & G is Cover of P & G is finite );
end;

:: deftheorem Def7 defines compact COMPTS_1:def 7 :
for T being TopStruct
for P being Subset of T holds
( P is compact iff for F being Subset-Family of T st F is Cover of P & F is open holds
ex G being Subset-Family of T st
( G c= F & G is Cover of P & G is finite ) );

registration
let T be TopStruct ;
cluster empty -> compact Element of bool the carrier of T;
coherence
for b1 being Subset of T st b1 is empty holds
b1 is compact
proof end;
end;

theorem :: COMPTS_1:1
canceled;

theorem :: COMPTS_1:2
canceled;

theorem :: COMPTS_1:3
canceled;

theorem :: COMPTS_1:4
canceled;

theorem :: COMPTS_1:5
canceled;

theorem :: COMPTS_1:6
canceled;

theorem :: COMPTS_1:7
canceled;

theorem :: COMPTS_1:8
canceled;

theorem :: COMPTS_1:9
canceled;

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

theorem Th11: :: COMPTS_1:11
for T being TopStruct
for A being SubSpace of T
for Q being Subset of T st Q c= [#] A holds
( Q is compact iff for P being Subset of A st P = Q holds
P is compact )
proof end;

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

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

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

theorem Th15: :: COMPTS_1:15
for TS being TopSpace st TS is Hausdorff holds
for A being Subset of TS st A <> {} & A is compact holds
for p being Point of TS st p in A ` holds
ex PS, QS being Subset of TS st
( PS is open & QS is open & p in PS & A c= QS & PS misses QS )
proof end;

theorem Th16: :: COMPTS_1:16
for TS being TopSpace
for PS being Subset of TS st TS is Hausdorff & PS is compact holds
PS is closed
proof end;

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

theorem Th18: :: COMPTS_1:18
for TS being TopSpace
for PS, QS being Subset of TS st PS is compact & QS c= PS & QS is closed holds
QS is compact
proof end;

theorem :: COMPTS_1:19
for T being TopStruct
for P, Q being Subset of T st P is compact & Q is compact holds
P \/ Q is compact
proof end;

theorem :: COMPTS_1:20
for TS being TopSpace
for PS, QS being Subset of TS st TS is Hausdorff & PS is compact & QS is compact holds
PS /\ QS is compact
proof end;

theorem :: COMPTS_1:21
for TS being non empty TopSpace st TS is Hausdorff & TS is compact holds
TS is regular
proof end;

theorem :: COMPTS_1:22
for TS being non empty TopSpace st TS is Hausdorff & TS is compact holds
TS is normal
proof end;

theorem :: COMPTS_1:23
for T being TopStruct
for S being non empty TopStruct
for f being Function of T,S st T is compact & f is continuous & rng f = [#] S holds
S is compact
proof end;

theorem Th24: :: COMPTS_1:24
for T being TopStruct
for P being Subset of T
for S being non empty TopStruct
for f being Function of T,S st f is continuous & rng f = [#] S & P is compact holds
f .: P is compact
proof end;

theorem Th25: :: COMPTS_1:25
for TS being TopSpace
for SS being non empty TopSpace
for f being Function of TS,SS st TS is compact & SS is Hausdorff & rng f = [#] SS & f is continuous holds
for PS being Subset of TS st PS is closed holds
f .: PS is closed
proof end;

theorem :: COMPTS_1:26
for TS being TopSpace
for SS being non empty TopSpace
for f being Function of TS,SS st TS is compact & SS is Hausdorff & dom f = [#] TS & rng f = [#] SS & f is one-to-one & f is continuous holds
f is being_homeomorphism
proof end;

definition
let D be set ;
func 1TopSp D -> TopStruct equals :: COMPTS_1:def 8
TopStruct(# D,([#] (bool D)) #);
coherence
TopStruct(# D,([#] (bool D)) #) is TopStruct
;
end;

:: deftheorem defines 1TopSp COMPTS_1:def 8 :
for D being set holds 1TopSp D = TopStruct(# D,([#] (bool D)) #);

registration
let D be set ;
cluster 1TopSp D -> strict TopSpace-like ;
coherence
( 1TopSp D is strict & 1TopSp D is TopSpace-like )
proof end;
end;

registration
let D be non empty set ;
cluster 1TopSp D -> non empty ;
coherence
not 1TopSp D is empty
;
end;

registration
let x be set ;
cluster 1TopSp {x} -> T_2 ;
coherence
1TopSp {x} is Hausdorff
proof end;
end;

registration
cluster non empty TopSpace-like T_2 TopStruct ;
existence
ex b1 being TopSpace st
( b1 is Hausdorff & not b1 is empty )
proof end;
end;

registration
let T be non empty T_2 TopSpace;
cluster compact -> closed Element of bool the carrier of T;
coherence
for b1 being Subset of T st b1 is compact holds
b1 is closed
by Th16;
end;

registration
let A be finite set ;
cluster 1TopSp A -> finite ;
coherence
1TopSp A is finite
;
end;

registration
cluster non empty finite strict TopSpace-like TopStruct ;
existence
ex b1 being TopSpace st
( not b1 is empty & b1 is finite & b1 is strict )
proof end;
end;

registration
cluster finite TopSpace-like -> compact TopStruct ;
coherence
for b1 being TopSpace st b1 is finite holds
b1 is compact
proof end;
end;

theorem Th27: :: COMPTS_1:27
for T being TopSpace st the carrier of T is finite holds
T is compact
proof end;

registration
let T be TopSpace;
cluster finite -> compact Element of bool the carrier of T;
coherence
for b1 being Subset of T st b1 is finite holds
b1 is compact
proof end;
end;

registration
let T be non empty TopSpace;
cluster non empty compact Element of bool the carrier of T;
existence
ex b1 being Subset of T st
( not b1 is empty & b1 is compact )
proof end;
end;

registration
cluster empty -> T_2 TopStruct ;
coherence
for b1 being TopStruct st b1 is empty holds
b1 is Hausdorff
proof end;
end;

registration
let T be T_2 TopStruct ;
cluster -> T_2 SubSpace of T;
coherence
for b1 being SubSpace of T holds b1 is Hausdorff
proof end;
end;

theorem Th28: :: COMPTS_1:28
for X being TopStruct
for Y being SubSpace of X
for A being Subset of X
for B being Subset of Y st A = B holds
( A is compact iff B is compact )
proof end;

theorem :: COMPTS_1:29
for T, S being non empty TopSpace
for p being Point of T
for T1, T2 being SubSpace of T
for f being Function of T1,S
for g being Function of T2,S st ([#] T1) \/ ([#] T2) = [#] T & ([#] T1) /\ ([#] T2) = {p} & T1 is compact & T2 is compact & T is Hausdorff & f is continuous & g is continuous & f . p = g . p holds
f +* g is continuous Function of T,S
proof end;

theorem :: COMPTS_1:30
for S, T being non empty TopSpace
for T1, T2 being SubSpace of T
for p1, p2 being Point of T
for f being Function of T1,S
for g being Function of T2,S st ([#] T1) \/ ([#] T2) = [#] T & ([#] T1) /\ ([#] T2) = {p1,p2} & T1 is compact & T2 is compact & T is Hausdorff & f is continuous & g is continuous & f . p1 = g . p1 & f . p2 = g . p2 holds
f +* g is continuous Function of T,S
proof end;

begin

theorem :: COMPTS_1:31
canceled;

registration
let S be TopStruct ;
cluster the topology of S -> open ;
coherence
the topology of S is open
proof end;
end;

registration
let T be TopSpace;
cluster non empty open Element of bool (bool the carrier of T);
existence
ex b1 being Subset-Family of T st
( b1 is open & not b1 is empty )
proof end;
end;

theorem Th32: :: COMPTS_1:32
for T being non empty TopSpace
for F being set holds
( F is open Subset-Family of T iff F is open Subset-Family of TopStruct(# the carrier of T, the topology of T #) )
proof end;

theorem :: COMPTS_1:33
for T being non empty TopSpace
for X being set holds
( X is compact Subset of T iff X is compact Subset of TopStruct(# the carrier of T, the topology of T #) )
proof end;