let p be Point of (TOP-REAL 2); :: thesis: for C being Simple_closed_curve
for P, B being Subset of (TOP-REAL 2)
for U, V being Subset of ((TOP-REAL 2) | (C ` ))
for A being non empty Subset of (TOP-REAL 2) st U <> V holds
for r being positive real number st A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P holds
for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

let C be Simple_closed_curve; :: thesis: for P, B being Subset of (TOP-REAL 2)
for U, V being Subset of ((TOP-REAL 2) | (C ` ))
for A being non empty Subset of (TOP-REAL 2) st U <> V holds
for r being positive real number st A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P holds
for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

let P, B be Subset of (TOP-REAL 2); :: thesis: for U, V being Subset of ((TOP-REAL 2) | (C ` ))
for A being non empty Subset of (TOP-REAL 2) st U <> V holds
for r being positive real number st A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P holds
for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

let U, V be Subset of ((TOP-REAL 2) | (C ` )); :: thesis: for A being non empty Subset of (TOP-REAL 2) st U <> V holds
for r being positive real number st A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P holds
for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

let A be non empty Subset of (TOP-REAL 2); :: thesis: ( U <> V implies for r being positive real number st A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P holds
for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) ) )

assume A1: U <> V ; :: thesis: for r being positive real number st A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P holds
for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

let r be positive real number ; :: thesis: ( A c= C & C c= Ball p,r & p in V & (Cl P) /\ (P ` ) c= A & Ball p,r meets P implies for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) ) )

set D = Tdisk p,r;
assume that
A2: A c= C and
A3: C c= Ball p,r and
A4: p in V and
A5: (Cl P) /\ (P ` ) c= A and
A6: Ball p,r meets P ; :: thesis: for f being Function of (Tdisk p,r),((TOP-REAL 2) | A) st f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} holds
ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

let f be Function of (Tdisk p,r),((TOP-REAL 2) | A); :: thesis: ( f is continuous & f | A = id A & U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) & V is_a_component_of (TOP-REAL 2) | (C ` ) & B = (cl_Ball p,r) \ {p} implies ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) ) )

assume that
A7: f is continuous and
A8: f | A = id A and
A9: U = P and
A10: U is_a_component_of (TOP-REAL 2) | (C ` ) and
A11: V is_a_component_of (TOP-REAL 2) | (C ` ) and
A12: B = (cl_Ball p,r) \ {p} ; :: thesis: ex g being Function of (Tdisk p,r),((TOP-REAL 2) | B) st
( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

reconsider B1 = B as non empty Subset of (TOP-REAL 2) by A12;
reconsider T2B1 = (TOP-REAL 2) | B1 as non empty SubSpace of TOP-REAL 2 ;
A13: the carrier of ((TOP-REAL 2) | (C ` )) = C ` by PRE_TOPC:29;
A14: the carrier of ((TOP-REAL 2) | A) = A by PRE_TOPC:29;
A15: the carrier of (Tdisk p,r) = cl_Ball p,r by BROUWER:3;
A16: Ball p,r c= cl_Ball p,r by TOPREAL9:16;
A17: not p in C by A4, A13, XBOOLE_0:def 5;
|.(p - p).| = 0 by TOPRNS_1:29;
then A18: p in [#] (Tdisk p,r) by A15, TOPREAL9:8;
A19: P c= Cl P by PRE_TOPC:48;
ex j being set st
( j in Ball p,r & j in P ) by A6, XBOOLE_0:3;
then reconsider F1 = (Cl P) /\ ([#] (Tdisk p,r)) as non empty Subset of (Tdisk p,r) by A15, A16, A19, XBOOLE_0:def 4;
now end;
then p in P ` by SUBSET_1:50;
then reconsider F3 = (P ` ) /\ ([#] (Tdisk p,r)) as non empty Subset of (Tdisk p,r) by A18, XBOOLE_0:def 4;
set T1 = (Tdisk p,r) | F1;
set T3 = (Tdisk p,r) | F3;
A21: the carrier of ((Tdisk p,r) | F1) = F1 by PRE_TOPC:29;
A22: the carrier of ((Tdisk p,r) | F3) = F3 by PRE_TOPC:29;
A23: the carrier of ((TOP-REAL 2) | B1) = B1 by PRE_TOPC:29;
A24: A c= B
proof
let a be set ; :: according to TARSKI:def 3 :: thesis: ( not a in A or a in B )
assume a in A ; :: thesis: a in B
then A25: a in C by A2;
then a in Ball p,r by A3;
hence a in B by A12, A16, A17, A25, ZFMISC_1:64; :: thesis: verum
end;
A26: F1 c= B
proof
let a be set ; :: according to TARSKI:def 3 :: thesis: ( not a in F1 or a in B )
assume A27: a in F1 ; :: thesis: a in B
then A28: a in Cl P by XBOOLE_0:def 4;
now
assume A29: p in Cl P ; :: thesis: contradiction
Cl P misses V by A1, A9, A10, A11, Th68;
hence contradiction by A4, A29, XBOOLE_0:3; :: thesis: verum
end;
hence a in B by A12, A15, A27, A28, ZFMISC_1:64; :: thesis: verum
end;
then reconsider f1 = id F1 as Function of ((Tdisk p,r) | F1),T2B1 by A21, A23, FUNCT_2:9;
f | F3 is Function of F3,A by A14, FUNCT_2:38;
then reconsider g1 = f | F3 as Function of ((Tdisk p,r) | F3),T2B1 by A22, A23, A24, FUNCT_2:9;
A30: ( F1 = [#] ((Tdisk p,r) | F1) & F3 = [#] ((Tdisk p,r) | F3) ) by PRE_TOPC:29;
A31: ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3)) = [#] (Tdisk p,r)
proof
thus ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3)) c= [#] (Tdisk p,r) by A30, XBOOLE_1:8; :: according to XBOOLE_0:def 10 :: thesis: [#] (Tdisk p,r) c= ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3))
let p be set ; :: according to TARSKI:def 3 :: thesis: ( not p in [#] (Tdisk p,r) or p in ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3)) )
assume A32: p in [#] (Tdisk p,r) ; :: thesis: p in ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3))
per cases ( p in P or not p in P ) ;
suppose p in P ; :: thesis: p in ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3))
then p in F1 by A19, A32, XBOOLE_0:def 4;
hence p in ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3)) by A30, XBOOLE_0:def 3; :: thesis: verum
end;
suppose not p in P ; :: thesis: p in ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3))
then p in P ` by A15, A32, SUBSET_1:50;
then p in F3 by A32, XBOOLE_0:def 4;
hence p in ([#] ((Tdisk p,r) | F1)) \/ ([#] ((Tdisk p,r) | F3)) by A30, XBOOLE_0:def 3; :: thesis: verum
end;
end;
end;
reconsider DT = [#] (Tdisk p,r) as closed Subset of (TOP-REAL 2) by BORSUK_1:def 14, TSEP_1:1;
DT /\ (Cl P) is closed by TOPS_1:35;
then A33: F1 is closed by TSEP_1:8;
P is_a_component_of C `
proof
take U ; :: according to CONNSP_1:def 6 :: thesis: ( U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) )
thus ( U = P & U is_a_component_of (TOP-REAL 2) | (C ` ) ) by A9, A10; :: thesis: verum
end;
then P is open by SPRECT_3:18;
then P ` is closed ;
then DT /\ (P ` ) is closed by TOPS_1:35;
then A34: F3 is closed by TSEP_1:8;
A35: id ((Tdisk p,r) | F1) = id F1 by PRE_TOPC:29;
(Tdisk p,r) | F1 is SubSpace of TOP-REAL 2 by TSEP_1:7;
then (Tdisk p,r) | F1 is SubSpace of T2B1 by A21, A23, A26, TSEP_1:4;
then A36: f1 is continuous by A35, PRE_TOPC:56;
A37: (TOP-REAL 2) | A is SubSpace of T2B1 by A14, A23, A24, TSEP_1:4;
reconsider g2 = g1 as Function of ((Tdisk p,r) | F3),((TOP-REAL 2) | A) by A22, FUNCT_2:38;
g2 is continuous by A7, TOPMETR:10;
then A38: g1 is continuous by A37, PRE_TOPC:56;
A39: for x being set st x in Cl P & x in P ` holds
f . x = x
proof
let x be set ; :: thesis: ( x in Cl P & x in P ` implies f . x = x )
assume ( x in Cl P & x in P ` ) ; :: thesis: f . x = x
then A40: x in (Cl P) /\ (P ` ) by XBOOLE_0:def 4;
then (id A) . x = x by A5, FUNCT_1:35;
hence f . x = x by A5, A8, A40, FUNCT_1:72; :: thesis: verum
end;
for x being set st x in ([#] ((Tdisk p,r) | F1)) /\ ([#] ((Tdisk p,r) | F3)) holds
f1 . x = g1 . x
proof
let x be set ; :: thesis: ( x in ([#] ((Tdisk p,r) | F1)) /\ ([#] ((Tdisk p,r) | F3)) implies f1 . x = g1 . x )
assume A41: x in ([#] ((Tdisk p,r) | F1)) /\ ([#] ((Tdisk p,r) | F3)) ; :: thesis: f1 . x = g1 . x
then A42: ( x in [#] ((Tdisk p,r) | F1) & x in [#] ((Tdisk p,r) | F3) ) by XBOOLE_0:def 4;
then ( x in Cl P & x in P ` ) by A30, XBOOLE_0:def 4;
then A43: f . x = x by A39;
thus f1 . x = x by A30, A42, FUNCT_1:35
.= g1 . x by A30, A41, A43, FUNCT_1:72 ; :: thesis: verum
end;
then consider g being Function of (Tdisk p,r),((TOP-REAL 2) | B) such that
A44: g = f1 +* g1 and
A45: g is continuous by A30, A31, A33, A34, A36, A38, JGRAPH_2:9;
take g ; :: thesis: ( g is continuous & ( for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) ) ) )

thus g is continuous by A45; :: thesis: for x being Point of (Tdisk p,r) holds
( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) )

let x be Point of (Tdisk p,r); :: thesis: ( ( x in Cl P implies g . x = x ) & ( x in P ` implies g . x = f . x ) )
A46: dom g1 = the carrier of ((Tdisk p,r) | F3) by FUNCT_2:def 1;
hereby :: thesis: ( x in P ` implies g . x = f . x )
assume A47: x in Cl P ; :: thesis: g . x = x
then A48: x in F1 by XBOOLE_0:def 4;
per cases ( not x in dom g1 or x in dom g1 ) ;
suppose not x in dom g1 ; :: thesis: g . x = x
hence g . x = f1 . x by A44, FUNCT_4:12
.= x by A48, FUNCT_1:35 ;
:: thesis: verum
end;
suppose A49: x in dom g1 ; :: thesis: g . x = x
then A50: ( x in Cl P & x in P ` ) by A22, A47, XBOOLE_0:def 4;
thus g . x = g1 . x by A44, A49, FUNCT_4:14
.= f . x by A22, A49, FUNCT_1:72
.= x by A39, A50 ; :: thesis: verum
end;
end;
end;
assume x in P ` ; :: thesis: g . x = f . x
then A51: x in F3 by XBOOLE_0:def 4;
hence g . x = g1 . x by A22, A44, A46, FUNCT_4:14
.= f . x by A51, FUNCT_1:72 ;
:: thesis: verum