let T, S be non empty TopSpace; :: thesis: 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

let p be Point of T; :: thesis: 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

let T1, T2 be SubSpace of T; :: thesis: 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

let f be Function of T1,S; :: thesis: 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

let g be Function of T2,S; :: thesis: ( ([#] 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 implies f +* g is continuous Function of T,S )
assume that
A1: ([#] T1) \/ ([#] T2) = [#] T and
A2: ([#] T1) /\ ([#] T2) = {p} and
A3: T1 is compact and
A4: T2 is compact and
A5: T is Hausdorff and
A6: f is continuous and
A7: g is continuous and
A8: f . p = g . p ; :: thesis: f +* g is continuous Function of T,S
set h = f +* g;
A9: dom g = [#] T2 by FUNCT_2:def 1;
rng (f +* g) c= (rng f) \/ (rng g) by FUNCT_4:18;
then A10: rng (f +* g) c= the carrier of S by XBOOLE_1:1;
A11: dom f = [#] T1 by FUNCT_2:def 1;
then dom (f +* g) = the carrier of T by A1, A9, FUNCT_4:def 1;
then reconsider h = f +* g as Function of T,S by A10, FUNCT_2:def 1, RELSET_1:11;
for P being Subset of S st P is closed holds
h " P is closed
proof
let P be Subset of S; :: thesis: ( P is closed implies h " P is closed )
[#] T1 c= [#] T by A1, XBOOLE_1:7;
then reconsider P1 = f " P as Subset of T by XBOOLE_1:1;
[#] T2 c= [#] T by A1, XBOOLE_1:7;
then reconsider P2 = g " P as Subset of T by XBOOLE_1:1;
A12: dom h = (dom f) \/ (dom g) by FUNCT_4:def 1;
A13: now
let x be set ; :: thesis: ( ( x in (h " P) /\ ([#] T2) implies x in g " P ) & ( x in g " P implies x in (h " P) /\ ([#] T2) ) )
thus ( x in (h " P) /\ ([#] T2) implies x in g " P ) :: thesis: ( x in g " P implies x in (h " P) /\ ([#] T2) )
proof
assume A14: x in (h " P) /\ ([#] T2) ; :: thesis: x in g " P
then x in h " P by XBOOLE_0:def 4;
then A15: h . x in P by FUNCT_1:def 13;
g . x = h . x by A9, A14, FUNCT_4:14;
hence x in g " P by A9, A14, A15, FUNCT_1:def 13; :: thesis: verum
end;
assume A16: x in g " P ; :: thesis: x in (h " P) /\ ([#] T2)
then A17: x in dom g by FUNCT_1:def 13;
g . x in P by A16, FUNCT_1:def 13;
then A18: h . x in P by A17, FUNCT_4:14;
x in dom h by A12, A17, XBOOLE_0:def 3;
then x in h " P by A18, FUNCT_1:def 13;
hence x in (h " P) /\ ([#] T2) by A16, XBOOLE_0:def 4; :: thesis: verum
end;
A19: for x being set st x in [#] T1 holds
h . x = f . x
proof
let x be set ; :: thesis: ( x in [#] T1 implies h . x = f . x )
assume A20: x in [#] T1 ; :: thesis: h . x = f . x
now
per cases ( x in [#] T2 or not x in [#] T2 ) ;
suppose not x in [#] T2 ; :: thesis: h . x = f . x
hence h . x = f . x by A9, FUNCT_4:12; :: thesis: verum
end;
end;
end;
hence h . x = f . x ; :: thesis: verum
end;
now
let x be set ; :: thesis: ( ( x in (h " P) /\ ([#] T1) implies x in f " P ) & ( x in f " P implies x in (h " P) /\ ([#] T1) ) )
thus ( x in (h " P) /\ ([#] T1) implies x in f " P ) :: thesis: ( x in f " P implies x in (h " P) /\ ([#] T1) )
proof
assume A22: x in (h " P) /\ ([#] T1) ; :: thesis: x in f " P
then x in h " P by XBOOLE_0:def 4;
then A23: h . x in P by FUNCT_1:def 13;
f . x = h . x by A19, A22;
hence x in f " P by A11, A22, A23, FUNCT_1:def 13; :: thesis: verum
end;
assume A24: x in f " P ; :: thesis: x in (h " P) /\ ([#] T1)
then x in dom f by FUNCT_1:def 13;
then A25: x in dom h by A12, XBOOLE_0:def 3;
f . x in P by A24, FUNCT_1:def 13;
then h . x in P by A19, A24;
then x in h " P by A25, FUNCT_1:def 13;
hence x in (h " P) /\ ([#] T1) by A24, XBOOLE_0:def 4; :: thesis: verum
end;
then A26: (h " P) /\ ([#] T1) = f " P by TARSKI:2;
assume A27: P is closed ; :: thesis: h " P is closed
then f " P is closed by A6, PRE_TOPC:def 12;
then f " P is compact by A3, Th17;
then A28: P1 is compact by Th28;
g " P is closed by A7, A27, PRE_TOPC:def 12;
then g " P is compact by A4, Th17;
then A29: P2 is compact by Th28;
h " P = (h " P) /\ (([#] T1) \/ ([#] T2)) by A11, A9, A12, RELAT_1:167, XBOOLE_1:28
.= ((h " P) /\ ([#] T1)) \/ ((h " P) /\ ([#] T2)) by XBOOLE_1:23 ;
then h " P = (f " P) \/ (g " P) by A26, A13, TARSKI:2;
hence h " P is closed by A5, A28, A29; :: thesis: verum
end;
hence f +* g is continuous Function of T,S by PRE_TOPC:def 12; :: thesis: verum