let p be Point of (TOP-REAL 2); :: thesis: for C being Simple_closed_curve
for B, P 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 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 & V is a_component & 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 B, P 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 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 & V is a_component & 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 B, P 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 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 & V is a_component & 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 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 & V is a_component & 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 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 & V is a_component & 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 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 & V is a_component & 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; :: 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 & V is a_component & 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 & V is a_component & 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 & V is a_component & 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 and
A11: V is a_component 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:8;
A14: the carrier of ((TOP-REAL 2) | A) = A by PRE_TOPC:8;
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:28;
then A18: p in [#] (Tdisk (p,r)) by A15, TOPREAL9:8;
A19: P c= Cl P by PRE_TOPC:18;
ex j being object 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;
not p in P by A1, A10, A11, CONNSP_1:35, A4, A9, XBOOLE_0:3;
then p in P ` by SUBSET_1:29;
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;
A20: the carrier of ((Tdisk (p,r)) | F1) = F1 by PRE_TOPC:8;
A21: the carrier of ((Tdisk (p,r)) | F3) = F3 by PRE_TOPC:8;
A22: the carrier of ((TOP-REAL 2) | B1) = B1 by PRE_TOPC:8;
A23: A c= B
proof
let a be object ; :: according to TARSKI:def 3 :: thesis: ( not a in A or a in B )
assume a in A ; :: thesis: a in B
then A24: a in C by A2;
then a in Ball (p,r) by A3;
hence a in B by A12, A16, A17, A24, ZFMISC_1:56; :: thesis: verum
end;
A25: F1 c= B
proof
let a be object ; :: according to TARSKI:def 3 :: thesis: ( not a in F1 or a in B )
assume A26: a in F1 ; :: thesis: a in B
then A27: a in Cl P by XBOOLE_0:def 4;
not p in Cl P by A4, XBOOLE_0:3, A1, A9, A10, A11, Th68;
hence a in B by A12, A15, A26, A27, ZFMISC_1:56; :: thesis: verum
end;
then reconsider f1 = id F1 as Function of ((Tdisk (p,r)) | F1),T2B1 by A20, A22, FUNCT_2:7;
f | F3 is Function of F3,A by A14;
then reconsider g1 = f | F3 as Function of ((Tdisk (p,r)) | F3),T2B1 by A21, A22, A23, FUNCT_2:7;
A28: F1 = [#] ((Tdisk (p,r)) | F1) by PRE_TOPC:8;
A29: F3 = [#] ((Tdisk (p,r)) | F3) by PRE_TOPC:8;
A30: ([#] ((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 A28, A29, 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 object ; :: according to TARSKI:def 3 :: thesis: ( not p in [#] (Tdisk (p,r)) or p in ([#] ((Tdisk (p,r)) | F1)) \/ ([#] ((Tdisk (p,r)) | F3)) )
assume A31: 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, A31, XBOOLE_0:def 4;
hence p in ([#] ((Tdisk (p,r)) | F1)) \/ ([#] ((Tdisk (p,r)) | F3)) by A28, 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, A31, SUBSET_1:29;
then p in F3 by A31, XBOOLE_0:def 4;
hence p in ([#] ((Tdisk (p,r)) | F1)) \/ ([#] ((Tdisk (p,r)) | F3)) by A29, 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 11, TSEP_1:1;
DT /\ (Cl P) is closed ;
then A32: F1 is closed by TSEP_1:8;
P is_a_component_of C ` by A9, A10;
then P is open by SPRECT_3:8;
then DT /\ (P `) is closed ;
then A33: F3 is closed by TSEP_1:8;
A34: id ((Tdisk (p,r)) | F1) = id F1 by PRE_TOPC:8;
(Tdisk (p,r)) | F1 is SubSpace of TOP-REAL 2 by TSEP_1:7;
then (Tdisk (p,r)) | F1 is SubSpace of T2B1 by A20, A22, A25, TSEP_1:4;
then A35: f1 is continuous by A34, PRE_TOPC:26;
A36: (TOP-REAL 2) | A is SubSpace of T2B1 by A14, A22, A23, TSEP_1:4;
reconsider g2 = g1 as Function of ((Tdisk (p,r)) | F3),((TOP-REAL 2) | A) by A21;
g2 is continuous by A7, TOPMETR:7;
then A37: g1 is continuous by A36, PRE_TOPC:26;
A38: 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 that
A39: x in Cl P and
A40: x in P ` ; :: thesis: f . x = x
A41: x in (Cl P) /\ (P `) by A39, A40, XBOOLE_0:def 4;
then (id A) . x = x by A5, FUNCT_1:18;
hence f . x = x by A5, A8, A41, FUNCT_1:49; :: thesis: verum
end;
for x being object st x in ([#] ((Tdisk (p,r)) | F1)) /\ ([#] ((Tdisk (p,r)) | F3)) holds
f1 . x = g1 . x
proof
let x be object ; :: thesis: ( x in ([#] ((Tdisk (p,r)) | F1)) /\ ([#] ((Tdisk (p,r)) | F3)) implies f1 . x = g1 . x )
assume A42: x in ([#] ((Tdisk (p,r)) | F1)) /\ ([#] ((Tdisk (p,r)) | F3)) ; :: thesis: f1 . x = g1 . x
then A43: x in [#] ((Tdisk (p,r)) | F1) by XBOOLE_0:def 4;
then A44: x in Cl P by A28, XBOOLE_0:def 4;
x in P ` by A29, A42, XBOOLE_0:def 4;
then A45: f . x = x by A38, A44;
thus f1 . x = x by A28, A43, FUNCT_1:18
.= g1 . x by A29, A42, A45, FUNCT_1:49 ; :: thesis: verum
end;
then consider g being Function of (Tdisk (p,r)),((TOP-REAL 2) | B) such that
A46: g = f1 +* g1 and
A47: g is continuous by A28, A29, A30, A32, A33, A35, A37, JGRAPH_2:1;
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 A47; :: 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 ) )
A48: 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 A49: x in Cl P ; :: thesis: g . x = x
then A50: 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 A46, FUNCT_4:11
.= x by A50, FUNCT_1:18 ;
:: thesis: verum
end;
suppose A51: x in dom g1 ; :: thesis: g . x = x
then A52: x in P ` by A21, XBOOLE_0:def 4;
thus g . x = g1 . x by A46, A51, FUNCT_4:13
.= f . x by A21, A51, FUNCT_1:49
.= x by A38, A49, A52 ; :: thesis: verum
end;
end;
end;
assume x in P ` ; :: thesis: g . x = f . x
then A53: x in F3 by XBOOLE_0:def 4;
hence g . x = g1 . x by A21, A46, A48, FUNCT_4:13
.= f . x by A53, FUNCT_1:49 ;
:: thesis: verum