let f be PartFunc of REAL , REAL ; :: thesis: for x0 being Real st f is_left_differentiable_in x0 & ex r0 being Real st
( r0 > 0 & ( for g being Real st g in dom f & g in [.(x0 - r0),x0.] holds
f . g <> 0 ) ) holds
( f ^ is_left_differentiable_in x0 & Ldiff (f ^ ),x0 = - ((Ldiff f,x0) / ((f . x0) ^2 )) )
let x0 be Real; :: thesis: ( f is_left_differentiable_in x0 & ex r0 being Real st
( r0 > 0 & ( for g being Real st g in dom f & g in [.(x0 - r0),x0.] holds
f . g <> 0 ) ) implies ( f ^ is_left_differentiable_in x0 & Ldiff (f ^ ),x0 = - ((Ldiff f,x0) / ((f . x0) ^2 )) ) )
assume A1:
f is_left_differentiable_in x0
; :: thesis: ( for r0 being Real holds
( not r0 > 0 or ex g being Real st
( g in dom f & g in [.(x0 - r0),x0.] & not f . g <> 0 ) ) or ( f ^ is_left_differentiable_in x0 & Ldiff (f ^ ),x0 = - ((Ldiff f,x0) / ((f . x0) ^2 )) ) )
given r0 being Real such that A2:
( r0 > 0 & ( for g being Real st g in dom f & g in [.(x0 - r0),x0.] holds
f . g <> 0 ) )
; :: thesis: ( f ^ is_left_differentiable_in x0 & Ldiff (f ^ ),x0 = - ((Ldiff f,x0) / ((f . x0) ^2 )) )
consider r2 being Real such that
A3:
( 0 < r2 & [.(x0 - r2),x0.] c= dom f )
by A1, Def4;
set r3 = min r0,r2;
A4:
0 < min r0,r2
by A2, A3, XXREAL_0:15;
then A5:
x0 - (min r0,r2) <= x0
by XREAL_1:45;
then A6:
x0 in [.(x0 - (min r0,r2)),x0.]
by XXREAL_1:1;
min r0,r2 <= r0
by XXREAL_0:17;
then A7:
x0 - r0 <= x0 - (min r0,r2)
by XREAL_1:15;
then
x0 - (min r0,r2) in { g where g is Real : ( x0 - r0 <= g & g <= x0 ) }
by A5;
then A8:
x0 - (min r0,r2) in [.(x0 - r0),x0.]
by RCOMP_1:def 1;
x0 - r0 <= x0
by A5, A7, XXREAL_0:2;
then A9:
x0 in [.(x0 - r0),x0.]
by XXREAL_1:1;
then A10:
[.(x0 - (min r0,r2)),x0.] c= [.(x0 - r0),x0.]
by A8, XXREAL_2:def 12;
min r0,r2 <= r2
by XXREAL_0:17;
then A11:
x0 - r2 <= x0 - (min r0,r2)
by XREAL_1:15;
then
x0 - (min r0,r2) in { g where g is Real : ( x0 - r2 <= g & g <= x0 ) }
by A5;
then A12:
x0 - (min r0,r2) in [.(x0 - r2),x0.]
by RCOMP_1:def 1;
x0 - r2 <= x0
by A5, A11, XXREAL_0:2;
then A13:
x0 in [.(x0 - r2),x0.]
by XXREAL_1:1;
then
[.(x0 - (min r0,r2)),x0.] c= [.(x0 - r2),x0.]
by A12, XXREAL_2:def 12;
then A14:
[.(x0 - (min r0,r2)),x0.] c= dom f
by A3, XBOOLE_1:1;
A15:
[.(x0 - (min r0,r2)),x0.] c= dom (f ^ )
for h being convergent_to_0 Real_Sequence
for c being V6 Real_Sequence st rng c = {x0} & rng (h + c) c= dom (f ^ ) & ( for n being Element of NAT holds h . n < 0 ) holds
( (h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c)) is convergent & lim ((h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c))) = - ((Ldiff f,x0) / ((f . x0) ^2 )) )
proof
let h be
convergent_to_0 Real_Sequence;
:: thesis: for c being V6 Real_Sequence st rng c = {x0} & rng (h + c) c= dom (f ^ ) & ( for n being Element of NAT holds h . n < 0 ) holds
( (h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c)) is convergent & lim ((h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c))) = - ((Ldiff f,x0) / ((f . x0) ^2 )) )let c be
V6 Real_Sequence;
:: thesis: ( rng c = {x0} & rng (h + c) c= dom (f ^ ) & ( for n being Element of NAT holds h . n < 0 ) implies ( (h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c)) is convergent & lim ((h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c))) = - ((Ldiff f,x0) / ((f . x0) ^2 )) ) )
assume that A18:
rng c = {x0}
and A19:
rng (h + c) c= dom (f ^ )
and A20:
for
n being
Element of
NAT holds
h . n < 0
;
:: thesis: ( (h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c)) is convergent & lim ((h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c))) = - ((Ldiff f,x0) / ((f . x0) ^2 )) )
A21:
rng (h + c) c= (dom f) \ (f " {0 })
by A19, RFUNCT_1:def 8;
A22:
(
h is
convergent &
lim h = 0 &
h is
non-zero )
by FDIFF_1:def 1;
(dom f) \ (f " {0 }) c= dom f
by XBOOLE_1:36;
then A23:
rng (h + c) c= dom f
by A21, XBOOLE_1:1;
Ldiff f,
x0 = Ldiff f,
x0
;
then A24:
(
(h " ) (#) ((f /* (h + c)) - (f /* c)) is
convergent &
lim ((h " ) (#) ((f /* (h + c)) - (f /* c))) = Ldiff f,
x0 )
by A1, A18, A20, A23, Th9;
A25:
f /* (h + c) is
non-zero
by A19, RFUNCT_2:26;
A26:
for
m being
Element of
NAT holds
c . m = x0
x0 in dom (f ^ )
by A6, A15;
then A27:
x0 in (dom f) \ (f " {0 })
by RFUNCT_1:def 8;
rng c c= (dom f) \ (f " {0 })
then A28:
rng c c= dom (f ^ )
by RFUNCT_1:def 8;
then A29:
f /* c is
non-zero
by RFUNCT_2:26;
then A30:
(f /* (h + c)) (#) (f /* c) is
non-zero
by A25, SEQ_1:43;
dom (f ^ ) = (dom f) \ (f " {0 })
by RFUNCT_1:def 8;
then A31:
dom (f ^ ) c= dom f
by XBOOLE_1:36;
A32:
for
g being
real number st
0 < g holds
ex
n being
Element of
NAT st
for
m being
Element of
NAT st
n <= m holds
abs (((f /* c) . m) - (f . x0)) < g
then A34:
f /* c is
convergent
by SEQ_2:def 6;
then A35:
lim (f /* c) = f . x0
by A32, SEQ_2:def 7;
A36:
h (#) ((h " ) (#) ((f /* (h + c)) - (f /* c))) is
convergent
by A22, A24, SEQ_2:28;
A37:
h (#) ((h " ) (#) ((f /* (h + c)) - (f /* c))) = (f /* (h + c)) - (f /* c)
(f /* c) + ((f /* (h + c)) - (f /* c)) = f /* (h + c)
then A39:
f /* (h + c) is
convergent
by A34, A36, A37, SEQ_2:19;
lim (h (#) ((h " ) (#) ((f /* (h + c)) - (f /* c)))) =
(lim h) * (lim ((h " ) (#) ((f /* (h + c)) - (f /* c))))
by A22, A24, SEQ_2:29
.=
0
by A22
;
then A40:
0 = (lim (f /* (h + c))) - (f . x0)
by A34, A35, A37, A39, SEQ_2:26;
A41:
(f /* (h + c)) (#) (f /* c) is
convergent
by A34, A39, SEQ_2:28;
A42:
lim ((f /* (h + c)) (#) (f /* c)) = (f . x0) ^2
by A34, A35, A39, A40, SEQ_2:29;
A43:
lim ((f /* (h + c)) (#) (f /* c)) <> 0
A44:
- ((h " ) (#) ((f /* (h + c)) - (f /* c))) is
convergent
by A24, SEQ_2:23;
then A47:
(h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c)) = (- ((h " ) (#) ((f /* (h + c)) - (f /* c)))) /" ((f /* (h + c)) (#) (f /* c))
by FUNCT_2:113;
then lim ((h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c))) =
(lim (- ((h " ) (#) ((f /* (h + c)) - (f /* c))))) / ((f . x0) ^2 )
by A30, A41, A42, A43, A44, SEQ_2:38
.=
(- (Ldiff f,x0)) / ((f . x0) ^2 )
by A24, SEQ_2:24
.=
- ((Ldiff f,x0) / ((f . x0) ^2 ))
by XCMPLX_1:188
;
hence
(
(h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c)) is
convergent &
lim ((h " ) (#) (((f ^ ) /* (h + c)) - ((f ^ ) /* c))) = - ((Ldiff f,x0) / ((f . x0) ^2 )) )
by A30, A41, A43, A44, A47, SEQ_2:37;
:: thesis: verum
end;
hence
( f ^ is_left_differentiable_in x0 & Ldiff (f ^ ),x0 = - ((Ldiff f,x0) / ((f . x0) ^2 )) )
by A4, A15, Th9; :: thesis: verum