let Z be open Subset of REAL ; :: thesis: for f being PartFunc of REAL ,REAL st Z c= dom f & f | Z is V8() holds
( f is_differentiable_on Z & ( for x being Real st x in Z holds
(f `| Z) . x = 0 ) )
let f be PartFunc of REAL ,REAL ; :: thesis: ( Z c= dom f & f | Z is V8() implies ( f is_differentiable_on Z & ( for x being Real st x in Z holds
(f `| Z) . x = 0 ) ) )
assume A1:
( Z c= dom f & f | Z is V8() )
; :: thesis: ( f is_differentiable_on Z & ( for x being Real st x in Z holds
(f `| Z) . x = 0 ) )
then consider r being Real such that
A2:
for x being Real st x in Z /\ (dom f) holds
f . x = r
by PARTFUN2:76;
set L = cf;
for p being Real holds cf . p = 0 * p
by FUNCOP_1:13;
then reconsider L = cf as LINEAR by Def4;
set R = cf;
A3:
dom cf = REAL
by FUNCOP_1:19;
then reconsider R = cf as REST by Def3;
hence A12:
f is_differentiable_on Z
by A1, Th16; :: thesis: for x being Real st x in Z holds
(f `| Z) . x = 0
let x0 be Real; :: thesis: ( x0 in Z implies (f `| Z) . x0 = 0 )
assume A13:
x0 in Z
; :: thesis: (f `| Z) . x0 = 0
then A14:
x0 in Z /\ (dom f)
by A1, XBOOLE_0:def 4;
A15:
f is_differentiable_in x0
by A7, A13;
consider N being Neighbourhood of x0 such that
A16:
N c= Z
by A13, RCOMP_1:39;
A17:
N c= dom f
by A1, A16, XBOOLE_1:1;
A18:
for x being Real st x in N holds
(f . x) - (f . x0) = (L . (x - x0)) + (R . (x - x0))
thus (f `| Z) . x0 =
diff f,x0
by A12, A13, Def8
.=
L . 1
by A15, A17, A18, Def6
.=
0
by FUNCOP_1:13
; :: thesis: verum