let Z be open Subset of REAL; for f being PartFunc of REAL,REAL st Z c= dom f & f | Z is constant 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; ( Z c= dom f & f | Z is constant implies ( f is_differentiable_on Z & ( for x being Real st x in Z holds
(f `| Z) . x = 0 ) ) )
reconsider cf = REAL --> (In (0,REAL)) as Function of REAL,REAL ;
set R = cf;
then reconsider R = cf as RestFunc by Def2;
set L = cf;
for p being Real holds cf . p = 0 * p
;
then reconsider L = cf as LinearFunc by Def3;
assume that
A7:
Z c= dom f
and
A8:
f | Z is constant
; ( f is_differentiable_on Z & ( for x being Real st x in Z holds
(f `| Z) . x = 0 ) )
consider r being Element of REAL such that
A9:
for x being Element of REAL st x in Z /\ (dom f) holds
f . x = r
by A8, PARTFUN2:57;
hence A15:
f is_differentiable_on Z
by A7, Th9; for x being Real st x in Z holds
(f `| Z) . x = 0
let x0 be Real; ( x0 in Z implies (f `| Z) . x0 = 0 )
assume A16:
x0 in Z
; (f `| Z) . x0 = 0
then consider N being Neighbourhood of x0 such that
A17:
N c= Z
by RCOMP_1:18;
A18:
N c= dom f
by A7, A17;
A19:
x0 in Z /\ (dom f)
by A7, A16, XBOOLE_0:def 4;
A20:
for x being Real st x in N holds
(f . x) - (f . x0) = (L . (x - x0)) + (R . (x - x0))
A21:
f is_differentiable_in x0
by A10, A16;
reconsider j = 1 as Element of REAL by XREAL_0:def 1;
thus (f `| Z) . x0 =
diff (f,x0)
by A15, A16, Def7
.=
L . j
by A21, A18, A20, Def5
.=
0
; verum