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 ) ) )
set R = cf;
A1:
dom cf = REAL
by FUNCOP_1:13;
then reconsider R = cf as REST by Def3;
set L = cf;
for p being Real holds cf . p = 0 * p
by FUNCOP_1:7;
then reconsider L = cf as LINEAR by Def4;
assume that
A6:
Z c= dom f
and
A7:
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 Real such that
A8:
for x being Real st x in Z /\ (dom f) holds
f . x = r
by A7, PARTFUN2:57;
hence A14:
f is_differentiable_on Z
by A6, Th16; 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 A15:
x0 in Z
; (f `| Z) . x0 = 0
then consider N being Neighbourhood of x0 such that
A16:
N c= Z
by RCOMP_1:18;
A17:
N c= dom f
by A6, A16, XBOOLE_1:1;
A18:
x0 in Z /\ (dom f)
by A6, A15, XBOOLE_0:def 4;
A19:
for x being Real st x in N holds
(f . x) - (f . x0) = (L . (x - x0)) + (R . (x - x0))
A20:
f is_differentiable_in x0
by A9, A15;
thus (f `| Z) . x0 =
diff (f,x0)
by A14, A15, Def8
.=
L . 1
by A20, A17, A19, Def6
.=
0
by FUNCOP_1:7
; verum