let TS be non empty TopSpace; :: thesis: ( TS is Hausdorff & TS is compact implies TS is normal )
assume that
A1: TS is Hausdorff and
A2: TS is compact ; :: thesis: TS is normal
let A, B be Subset of TS; :: according to COMPTS_1:def 6 :: thesis: ( A <> {} & B <> {} & A is closed & B is closed & A misses B implies ex P, Q being Subset of TS st
( P is open & Q is open & A c= P & B c= Q & P misses Q ) )

assume that
A3: A <> {} and
A4: B <> {} and
A5: A is closed and
A6: B is closed and
A7: A /\ B = {} ; :: according to XBOOLE_0:def 7 :: thesis: ex P, Q being Subset of TS st
( P is open & Q is open & A c= P & B c= Q & P misses Q )

A8: A is compact by A2, A5, Th17;
defpred S1[ set , set , set ] means ex P, Q being Subset of TS st
( $2 = P & $3 = Q & P is open & Q is open & $1 in P & B c= Q & P /\ Q = {} );
A10: for x being set st x in A holds
ex y, z being set st
( y in the topology of TS & z in the topology of TS & S1[x,y,z] )
proof
let x be set ; :: thesis: ( x in A implies ex y, z being set st
( y in the topology of TS & z in the topology of TS & S1[x,y,z] ) )

assume A11: x in A ; :: thesis: ex y, z being set st
( y in the topology of TS & z in the topology of TS & S1[x,y,z] )

then reconsider p = x as Point of TS ;
not p in B by A7, A11, XBOOLE_0:def 4;
then p in B ` by SUBSET_1:50;
then consider W, V being Subset of TS such that
A12: W is open and
A13: V is open and
A14: p in W and
A15: B c= V and
A16: W misses V by A1, A4, A2, A6, Th17, Th15;
reconsider X = W, Y = V as set ;
take X ; :: thesis: ex z being set st
( X in the topology of TS & z in the topology of TS & S1[x,X,z] )

take Y ; :: thesis: ( X in the topology of TS & Y in the topology of TS & S1[x,X,Y] )
thus ( X in the topology of TS & Y in the topology of TS ) by A12, A13, PRE_TOPC:def 5; :: thesis: S1[x,X,Y]
W /\ V = {} by A16, XBOOLE_0:def 7;
hence S1[x,X,Y] by A12, A13, A14, A15; :: thesis: verum
end;
consider f, g being Function such that
A17: ( dom f = A & dom g = A ) and
A18: for x being set st x in A holds
S1[x,f . x,g . x] from WELLORD2:sch 2(A10);
f .: A c= bool the carrier of TS
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in f .: A or x in bool the carrier of TS )
assume x in f .: A ; :: thesis: x in bool the carrier of TS
then consider y being set such that
y in dom f and
A19: y in A and
A20: f . y = x by FUNCT_1:def 12;
ex P, Q being Subset of TS st
( f . y = P & g . y = Q & P is open & Q is open & y in P & B c= Q & P /\ Q = {} ) by A18, A19;
hence x in bool the carrier of TS by A20; :: thesis: verum
end;
then reconsider Cf = f .: A as Subset-Family of TS ;
A c= union Cf
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in A or x in union Cf )
assume A21: x in A ; :: thesis: x in union Cf
then consider P, Q being Subset of TS such that
A22: f . x = P and
g . x = Q and
P is open and
Q is open and
A23: x in P and
( B c= Q & P /\ Q = {} ) by A18;
P in Cf by A17, A21, A22, FUNCT_1:def 12;
hence x in union Cf by A23, TARSKI:def 4; :: thesis: verum
end;
then A24: Cf is Cover of A by SETFAM_1:def 12;
A25: Cf is open
proof
let G be Subset of TS; :: according to TOPS_2:def 1 :: thesis: ( not G in Cf or G is open )
assume G in Cf ; :: thesis: G is open
then consider x being set such that
x in dom f and
A26: x in A and
A27: G = f . x by FUNCT_1:def 12;
ex P, Q being Subset of TS st
( f . x = P & g . x = Q & P is open & Q is open & x in P & B c= Q & P /\ Q = {} ) by A18, A26;
hence G is open by A27; :: thesis: verum
end;
then consider C being Subset-Family of TS such that
A28: C c= Cf and
A29: C is Cover of A and
A30: C is finite by A8, A24, Def7;
C c= rng f by A17, A28, RELAT_1:146;
then consider H' being set such that
A31: H' c= dom f and
A32: H' is finite and
A33: f .: H' = C by A30, ORDERS_1:195;
g .: H' c= bool the carrier of TS
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in g .: H' or x in bool the carrier of TS )
assume x in g .: H' ; :: thesis: x in bool the carrier of TS
then consider y being set such that
y in dom g and
A34: y in H' and
A35: g . y = x by FUNCT_1:def 12;
ex P, Q being Subset of TS st
( f . y = P & g . y = Q & P is open & Q is open & y in P & B c= Q & P /\ Q = {} ) by A17, A18, A31, A34;
hence x in bool the carrier of TS by A35; :: thesis: verum
end;
then reconsider Bk = g .: H' as Subset-Family of TS ;
take W = union C; :: thesis: ex Q being Subset of TS st
( W is open & Q is open & A c= W & B c= Q & W misses Q )

take V = meet Bk; :: thesis: ( W is open & V is open & A c= W & B c= V & W misses V )
thus W is open by A25, A28, TOPS_2:18, TOPS_2:26; :: thesis: ( V is open & A c= W & B c= V & W misses V )
Bk is open
proof
let G be Subset of TS; :: according to TOPS_2:def 1 :: thesis: ( not G in Bk or G is open )
assume G in Bk ; :: thesis: G is open
then consider x being set such that
A37: x in dom g and
x in H' and
A38: G = g . x by FUNCT_1:def 12;
ex P, Q being Subset of TS st
( f . x = P & g . x = Q & P is open & Q is open & x in P & B c= Q & P /\ Q = {} ) by A17, A18, A37;
hence G is open by A38; :: thesis: verum
end;
hence V is open by A32, TOPS_2:27; :: thesis: ( A c= W & B c= V & W misses V )
thus A c= W by A29, SETFAM_1:def 12; :: thesis: ( B c= V & W misses V )
consider z being Element of A;
A c= union C by A29, SETFAM_1:def 12;
then z in union C by A3, TARSKI:def 3;
then consider D being set such that
A39: ( z in D & D in C ) by TARSKI:def 4;
consider y being set such that
A40: y in dom f and
A41: y in H' and
D = f . y by A33, A39, FUNCT_1:def 12;
consider P, Q being Subset of TS such that
f . y = P and
A42: g . y = Q and
P is open and
Q is open and
y in P and
B c= Q and
P /\ Q = {} by A17, A18, A40;
A43: Bk <> {} by A17, A40, A41, A42, FUNCT_1:def 12;
for X being set st X in Bk holds
B c= X
proof
let X be set ; :: thesis: ( X in Bk implies B c= X )
assume A44: X in Bk ; :: thesis: B c= X
then reconsider X' = X as Subset of TS ;
consider x being set such that
A45: x in dom g and
x in H' and
A46: X' = g . x by A44, FUNCT_1:def 12;
ex P, Q being Subset of TS st
( f . x = P & g . x = Q & P is open & Q is open & x in P & B c= Q & P /\ Q = {} ) by A17, A18, A45;
hence B c= X by A46; :: thesis: verum
end;
hence B c= V by A43, SETFAM_1:6; :: thesis: W misses V
thus W /\ V = {} :: according to XBOOLE_0:def 7 :: thesis: verum
proof
assume A47: W /\ V <> {} ; :: thesis: contradiction
consider x being Element of (union C) /\ (meet Bk);
A48: ( x in union C & x in meet Bk ) by A47, XBOOLE_0:def 4;
then consider D being set such that
A49: x in D and
A50: D in C by TARSKI:def 4;
consider z being set such that
A51: z in dom f and
A52: z in H' and
A53: D = f . z by A33, A50, FUNCT_1:def 12;
consider P, Q being Subset of TS such that
A54: f . z = P and
A55: g . z = Q and
P is open and
Q is open and
z in P and
B c= Q and
A56: P /\ Q = {} by A17, A18, A51;
Q in Bk by A17, A51, A52, A55, FUNCT_1:def 12;
then x in Q by A48, SETFAM_1:def 1;
hence contradiction by A49, A53, A54, A56, XBOOLE_0:def 4; :: thesis: verum
end;