let f be PartFunc of COMPLEX,COMPLEX; for Z being open Subset of COMPLEX st Z c= dom f & f | Z is constant holds
( f is_differentiable_on Z & ( for x being Complex st x in Z holds
(f `| Z) /. x = 0c ) )
let Z be open Subset of COMPLEX; ( Z c= dom f & f | Z is constant implies ( f is_differentiable_on Z & ( for x being Complex st x in Z holds
(f `| Z) /. x = 0c ) ) )
reconsider cf = COMPLEX --> 0c as Function of COMPLEX,COMPLEX ;
set R = cf;
then reconsider R = cf as C_RestFunc by Def3;
set L = cf;
for x being Complex holds cf /. x = 0c * x
by XCMPLX_0:def 2, FUNCOP_1:7;
then reconsider L = cf as C_LinearFunc by Def4;
assume that
A3:
Z c= dom f
and
A4:
f | Z is constant
; ( f is_differentiable_on Z & ( for x being Complex st x in Z holds
(f `| Z) /. x = 0c ) )
consider a1 being Element of COMPLEX such that
A5:
for x being Element of COMPLEX st x in Z /\ (dom f) holds
f /. x = a1
by A4, PARTFUN2:35;
hence A12:
f is_differentiable_on Z
by A3, Th15; for x being Complex st x in Z holds
(f `| Z) /. x = 0c
let x0 be Complex; ( x0 in Z implies (f `| Z) /. x0 = 0c )
assume A13:
x0 in Z
; (f `| Z) /. x0 = 0c
then consider N being Neighbourhood of x0 such that
A14:
N c= Z
by Th9;
A15:
N c= dom f
by A3, A14;
A16:
x0 in Z /\ (dom f)
by A3, A13, XBOOLE_0:def 4;
A17:
for x being Complex st x in N holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0))
A19:
f is_differentiable_in x0
by A6, A13;
thus (f `| Z) /. x0 =
diff (f,x0)
by A12, A13, Def12
.=
L /. 1r
by A19, A15, A17, Def7
.=
0c
; verum