reconsider cf = COMPLEX --> 0c as Function of COMPLEX,COMPLEX ;
set R = cf;
reconsider L = id COMPLEX as PartFunc of COMPLEX,COMPLEX ;
A1:
COMPLEX c= COMPLEX
;
for b being Complex holds L /. b = 1r * b
then reconsider L = L as C_LinearFunc by Def4;
then reconsider R = cf as C_RestFunc by Def3;
let f be PartFunc of COMPLEX,COMPLEX; for Z being open Subset of COMPLEX st Z c= dom f & f | Z = id Z holds
( f is_differentiable_on Z & ( for x being Complex st x in Z holds
(f `| Z) /. x = 1r ) )
let Z be open Subset of COMPLEX; ( Z c= dom f & f | Z = id Z implies ( f is_differentiable_on Z & ( for x being Complex st x in Z holds
(f `| Z) /. x = 1r ) ) )
assume that
A4:
Z c= dom f
and
A5:
f | Z = id Z
; ( f is_differentiable_on Z & ( for x being Complex st x in Z holds
(f `| Z) /. x = 1r ) )
hence A13:
f is_differentiable_on Z
by A4, Th15; for x being Complex st x in Z holds
(f `| Z) /. x = 1r
let x0 be Complex; ( x0 in Z implies (f `| Z) /. x0 = 1r )
assume A14:
x0 in Z
; (f `| Z) /. x0 = 1r
then consider N1 being Neighbourhood of x0 such that
A15:
N1 c= Z
by Th9;
A16:
f is_differentiable_in x0
by A8, A14;
then
ex N being Neighbourhood of x0 st
( N c= dom f & ex L being C_LinearFunc ex R being C_RestFunc st
for x being Complex st x in N holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0)) )
;
then consider N being Neighbourhood of x0 such that
A17:
N c= dom f
;
consider N2 being Neighbourhood of x0 such that
A18:
N2 c= N1
and
A19:
N2 c= N
by Lm1;
A20:
N2 c= dom f
by A17, A19;
A21:
for x being Complex st x in N2 holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0))
thus (f `| Z) /. x0 =
diff (f,x0)
by A13, A14, Def12
.=
L /. 1r
by A16, A20, A21, Def7
.=
1r
; verum