let f1, f2 be PartFunc of REAL ,REAL ; for x0 being Real st f1 is_left_differentiable_in x0 & f2 is_left_differentiable_in x0 & ex r0 being Real st
( r0 > 0 & ( for g being Real st g in dom f2 & g in [.(x0 - r0),x0.] holds
f2 . g <> 0 ) ) holds
( f1 / f2 is_left_differentiable_in x0 & Ldiff (f1 / f2),x0 = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )
let x0 be Real; ( f1 is_left_differentiable_in x0 & f2 is_left_differentiable_in x0 & ex r0 being Real st
( r0 > 0 & ( for g being Real st g in dom f2 & g in [.(x0 - r0),x0.] holds
f2 . g <> 0 ) ) implies ( f1 / f2 is_left_differentiable_in x0 & Ldiff (f1 / f2),x0 = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) ) )
assume that
A1:
f1 is_left_differentiable_in x0
and
A2:
f2 is_left_differentiable_in x0
; ( for r0 being Real holds
( not r0 > 0 or ex g being Real st
( g in dom f2 & g in [.(x0 - r0),x0.] & not f2 . g <> 0 ) ) or ( f1 / f2 is_left_differentiable_in x0 & Ldiff (f1 / f2),x0 = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) ) )
consider r1 being Real such that
A3:
0 < r1
and
A4:
[.(x0 - r1),x0.] c= dom f1
by A1, Def4;
given r0 being Real such that A5:
r0 > 0
and
A6:
for g being Real st g in dom f2 & g in [.(x0 - r0),x0.] holds
f2 . g <> 0
; ( f1 / f2 is_left_differentiable_in x0 & Ldiff (f1 / f2),x0 = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )
consider r2 being Real such that
A7:
0 < r2
and
A8:
[.(x0 - r2),x0.] c= dom f2
by A2, Def4;
set r3 = min r0,r2;
A9:
0 < min r0,r2
by A5, A7, XXREAL_0:15;
then A10:
x0 - (min r0,r2) <= x0
by XREAL_1:45;
min r0,r2 <= r2
by XXREAL_0:17;
then A11:
x0 - r2 <= x0 - (min r0,r2)
by XREAL_1:15;
then
x0 - r2 <= x0
by A10, XXREAL_0:2;
then A12:
x0 in [.(x0 - r2),x0.]
by XXREAL_1:1;
x0 - (min r0,r2) in { g where g is Real : ( x0 - r2 <= g & g <= x0 ) }
by A10, A11;
then
x0 - (min r0,r2) in [.(x0 - r2),x0.]
by RCOMP_1:def 1;
then
[.(x0 - (min r0,r2)),x0.] c= [.(x0 - r2),x0.]
by A12, XXREAL_2:def 12;
then A13:
[.(x0 - (min r0,r2)),x0.] c= dom f2
by A8, XBOOLE_1:1;
min r0,r2 <= r0
by XXREAL_0:17;
then A14:
x0 - r0 <= x0 - (min r0,r2)
by XREAL_1:15;
then
x0 - r0 <= x0
by A10, XXREAL_0:2;
then A15:
x0 in [.(x0 - r0),x0.]
by XXREAL_1:1;
x0 - (min r0,r2) in { g where g is Real : ( x0 - r0 <= g & g <= x0 ) }
by A10, A14;
then
x0 - (min r0,r2) in [.(x0 - r0),x0.]
by RCOMP_1:def 1;
then A16:
[.(x0 - (min r0,r2)),x0.] c= [.(x0 - r0),x0.]
by A15, XXREAL_2:def 12;
set r = min r1,(min r0,r2);
A17:
0 < min r1,(min r0,r2)
by A3, A9, XXREAL_0:15;
then A18:
x0 - (min r1,(min r0,r2)) <= x0
by XREAL_1:45;
min r1,(min r0,r2) <= min r0,r2
by XXREAL_0:17;
then A19:
x0 - (min r0,r2) <= x0 - (min r1,(min r0,r2))
by XREAL_1:15;
then
x0 - (min r0,r2) <= x0
by A18, XXREAL_0:2;
then A20:
x0 in [.(x0 - (min r0,r2)),x0.]
by XXREAL_1:1;
x0 - (min r1,(min r0,r2)) in { g where g is Real : ( x0 - (min r0,r2) <= g & g <= x0 ) }
by A18, A19;
then
x0 - (min r1,(min r0,r2)) in [.(x0 - (min r0,r2)),x0.]
by RCOMP_1:def 1;
then A21:
[.(x0 - (min r1,(min r0,r2))),x0.] c= [.(x0 - (min r0,r2)),x0.]
by A20, XXREAL_2:def 12;
[.(x0 - (min r1,(min r0,r2))),x0.] c= dom (f2 ^ )
proof
assume
not
[.(x0 - (min r1,(min r0,r2))),x0.] c= dom (f2 ^ )
;
contradiction
then consider x being
set such that A22:
x in [.(x0 - (min r1,(min r0,r2))),x0.]
and A23:
not
x in dom (f2 ^ )
by TARSKI:def 3;
reconsider x =
x as
Real by A22;
A24:
x in [.(x0 - (min r0,r2)),x0.]
by A21, A22;
A25:
not
x in (dom f2) \ (f2 " {0 })
by A23, RFUNCT_1:def 8;
hence
contradiction
;
verum
end;
then A28:
[.(x0 - (min r1,(min r0,r2))),x0.] c= (dom f2) \ (f2 " {0 })
by RFUNCT_1:def 8;
min r1,(min r0,r2) <= r1
by XXREAL_0:17;
then A29:
x0 - r1 <= x0 - (min r1,(min r0,r2))
by XREAL_1:15;
then
x0 - r1 <= x0
by A18, XXREAL_0:2;
then A30:
x0 in [.(x0 - r1),x0.]
by XXREAL_1:1;
x0 - (min r1,(min r0,r2)) in { g where g is Real : ( x0 - r1 <= g & g <= x0 ) }
by A18, A29;
then
x0 - (min r1,(min r0,r2)) in [.(x0 - r1),x0.]
by RCOMP_1:def 1;
then
[.(x0 - (min r1,(min r0,r2))),x0.] c= [.(x0 - r1),x0.]
by A30, XXREAL_2:def 12;
then A31:
[.(x0 - (min r1,(min r0,r2))),x0.] c= dom f1
by A4, XBOOLE_1:1;
A32:
for h being convergent_to_0 Real_Sequence
for c being V8() Real_Sequence st rng c = {x0} & rng (h + c) c= dom (f1 / f2) & ( for n being Element of NAT holds h . n < 0 ) holds
( (h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) is convergent & lim ((h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c))) = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )
proof
let h be
convergent_to_0 Real_Sequence;
for c being V8() Real_Sequence st rng c = {x0} & rng (h + c) c= dom (f1 / f2) & ( for n being Element of NAT holds h . n < 0 ) holds
( (h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) is convergent & lim ((h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c))) = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )let c be
V8()
Real_Sequence;
( rng c = {x0} & rng (h + c) c= dom (f1 / f2) & ( for n being Element of NAT holds h . n < 0 ) implies ( (h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) is convergent & lim ((h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c))) = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) ) )
assume that A33:
rng c = {x0}
and A34:
rng (h + c) c= dom (f1 / f2)
and A35:
for
n being
Element of
NAT holds
h . n < 0
;
( (h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) is convergent & lim ((h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c))) = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )
A36:
rng (h + c) c= (dom f1) /\ ((dom f2) \ (f2 " {0 }))
by A34, RFUNCT_1:def 4;
0 <= min r1,
(min r0,r2)
by A3, A9, XXREAL_0:15;
then
x0 - (min r1,(min r0,r2)) <= x0
by XREAL_1:45;
then A37:
x0 in [.(x0 - (min r1,(min r0,r2))),x0.]
by XXREAL_1:1;
then A38:
x0 in dom f1
by A31;
A39:
rng c c= dom f1
(dom f1) /\ ((dom f2) \ (f2 " {0 })) c= dom f1
by XBOOLE_1:17;
then A40:
rng (h + c) c= dom f1
by A36, XBOOLE_1:1;
then A41:
lim ((h " ) (#) ((f1 /* (h + c)) - (f1 /* c))) = Ldiff f1,
x0
by A1, A33, A35, Th9;
A42:
x0 in (dom f2) \ (f2 " {0 })
by A28, A37;
rng c c= (dom f2) \ (f2 " {0 })
then A43:
rng c c= dom (f2 ^ )
by RFUNCT_1:def 8;
then A44:
rng c c= (dom f1) /\ (dom (f2 ^ ))
by A39, XBOOLE_1:19;
A45:
(h " ) (#) ((f1 /* (h + c)) - (f1 /* c)) is
convergent
by A1, A33, A35, A40, Def4;
A46:
f2 /* c is
non-zero
by A43, RFUNCT_2:26;
then A48:
(f2 /* c) + ((f2 /* (h + c)) - (f2 /* c)) = f2 /* (h + c)
by FUNCT_2:113;
A49:
lim h = 0
by FDIFF_1:def 1;
(dom f1) /\ ((dom f2) \ (f2 " {0 })) c= (dom f2) \ (f2 " {0 })
by XBOOLE_1:17;
then A50:
rng (h + c) c= (dom f2) \ (f2 " {0 })
by A36, XBOOLE_1:1;
then A51:
rng (h + c) c= dom (f2 ^ )
by RFUNCT_1:def 8;
then A52:
rng (h + c) c= (dom f1) /\ (dom (f2 ^ ))
by A40, XBOOLE_1:19;
A53:
f2 /* (h + c) is
non-zero
by A51, RFUNCT_2:26;
then A54:
(f2 /* (h + c)) (#) (f2 /* c) is
non-zero
by A46, SEQ_1:43;
(h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) =
(h " ) (#) (((f1 (#) (f2 ^ )) /* (h + c)) - ((f1 / f2) /* c))
by RFUNCT_1:47
.=
(h " ) (#) (((f1 (#) (f2 ^ )) /* (h + c)) - ((f1 (#) (f2 ^ )) /* c))
by RFUNCT_1:47
.=
(h " ) (#) (((f1 /* (h + c)) (#) ((f2 ^ ) /* (h + c))) - ((f1 (#) (f2 ^ )) /* c))
by A52, RFUNCT_2:23
.=
(h " ) (#) (((f1 /* (h + c)) /" (f2 /* (h + c))) - ((f1 (#) (f2 ^ )) /* c))
by A51, RFUNCT_2:27
.=
(h " ) (#) (((f1 /* (h + c)) /" (f2 /* (h + c))) - ((f1 /* c) (#) ((f2 ^ ) /* c)))
by A44, RFUNCT_2:23
.=
(h " ) (#) (((f1 /* (h + c)) /" (f2 /* (h + c))) - ((f1 /* c) /" (f2 /* c)))
by A43, RFUNCT_2:27
.=
(h " ) (#) ((((f1 /* (h + c)) (#) (f2 /* c)) - ((f1 /* c) (#) (f2 /* (h + c)))) /" ((f2 /* (h + c)) (#) (f2 /* c)))
by A53, A46, SEQ_1:58
.=
((h " ) (#) (((f1 /* (h + c)) (#) (f2 /* c)) - ((f1 /* c) (#) (f2 /* (h + c))))) /" ((f2 /* (h + c)) (#) (f2 /* c))
by SEQ_1:49
;
then A55:
(h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) = ((((h " ) (#) ((f1 /* (h + c)) - (f1 /* c))) (#) (f2 /* c)) - ((f1 /* c) (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c))))) /" ((f2 /* (h + c)) (#) (f2 /* c))
by A47, FUNCT_2:113;
(dom f2) \ (f2 " {0 }) c= dom f2
by XBOOLE_1:36;
then A56:
rng (h + c) c= dom f2
by A50, XBOOLE_1:1;
then A57:
lim ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c))) = Ldiff f2,
x0
by A2, A33, A35, Th9;
Ldiff f2,
x0 = Ldiff f2,
x0
;
then A58:
(h " ) (#) ((f2 /* (h + c)) - (f2 /* c)) is
convergent
by A2, A33, A35, A56, Th9;
then A60:
h (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c))) = (f2 /* (h + c)) - (f2 /* c)
by FUNCT_2:113;
A61:
for
m being
Element of
NAT holds
c . m = x0
A62:
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 (((f1 /* c) . m) - (f1 . x0)) < g
then A64:
f1 /* c is
convergent
by SEQ_2:def 6;
then A65:
lim (f1 /* c) = f1 . x0
by A62, SEQ_2:def 7;
dom (f2 ^ ) = (dom f2) \ (f2 " {0 })
by RFUNCT_1:def 8;
then A66:
dom (f2 ^ ) c= dom f2
by XBOOLE_1:36;
A67:
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 (((f2 /* c) . m) - (f2 . x0)) < g
then A69:
f2 /* c is
convergent
by SEQ_2:def 6;
then A70:
lim (f2 /* c) = f2 . x0
by A67, SEQ_2:def 7;
A71:
h is
convergent
by FDIFF_1:def 1;
then
h (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c))) is
convergent
by A58, SEQ_2:28;
then A72:
f2 /* (h + c) is
convergent
by A69, A60, A48, SEQ_2:19;
then A73:
(f2 /* (h + c)) (#) (f2 /* c) is
convergent
by A69, SEQ_2:28;
(h " ) (#) ((f2 /* (h + c)) - (f2 /* c)) is
convergent
by A2, A33, A35, A56, Def4;
then lim (h (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c)))) =
(lim h) * (lim ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c))))
by A71, SEQ_2:29
.=
0
by A49
;
then
0 = (lim (f2 /* (h + c))) - (f2 . x0)
by A69, A70, A60, A72, SEQ_2:26;
then A74:
lim ((f2 /* (h + c)) (#) (f2 /* c)) = (f2 . x0) ^2
by A69, A70, A72, SEQ_2:29;
A75:
lim ((f2 /* (h + c)) (#) (f2 /* c)) <> 0
Ldiff f1,
x0 = Ldiff f1,
x0
;
then
(h " ) (#) ((f1 /* (h + c)) - (f1 /* c)) is
convergent
by A1, A33, A35, A40, Th9;
then A76:
((h " ) (#) ((f1 /* (h + c)) - (f1 /* c))) (#) (f2 /* c) is
convergent
by A69, SEQ_2:28;
A77:
(f1 /* c) (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c))) is
convergent
by A58, A64, SEQ_2:28;
then A78:
(((h " ) (#) ((f1 /* (h + c)) - (f1 /* c))) (#) (f2 /* c)) - ((f1 /* c) (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c)))) is
convergent
by A76, SEQ_2:25;
then lim ((h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c))) =
(lim ((((h " ) (#) ((f1 /* (h + c)) - (f1 /* c))) (#) (f2 /* c)) - ((f1 /* c) (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c)))))) / (lim ((f2 /* (h + c)) (#) (f2 /* c)))
by A54, A73, A75, A55, SEQ_2:38
.=
((lim (((h " ) (#) ((f1 /* (h + c)) - (f1 /* c))) (#) (f2 /* c))) - (lim ((f1 /* c) (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c)))))) / (lim ((f2 /* (h + c)) (#) (f2 /* c)))
by A77, A76, SEQ_2:26
.=
(((lim ((h " ) (#) ((f1 /* (h + c)) - (f1 /* c)))) * (lim (f2 /* c))) - (lim ((f1 /* c) (#) ((h " ) (#) ((f2 /* (h + c)) - (f2 /* c)))))) / (lim ((f2 /* (h + c)) (#) (f2 /* c)))
by A45, A69, SEQ_2:29
.=
(((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 )
by A41, A58, A57, A64, A65, A70, A74, SEQ_2:29
;
hence
(
(h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c)) is
convergent &
lim ((h " ) (#) (((f1 / f2) /* (h + c)) - ((f1 / f2) /* c))) = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )
by A54, A73, A75, A78, A55, SEQ_2:37;
verum
end;
[.(x0 - (min r1,(min r0,r2))),x0.] c= (dom f1) /\ ((dom f2) \ (f2 " {0 }))
by A31, A28, XBOOLE_1:19;
then
[.(x0 - (min r1,(min r0,r2))),x0.] c= dom (f1 / f2)
by RFUNCT_1:def 4;
hence
( f1 / f2 is_left_differentiable_in x0 & Ldiff (f1 / f2),x0 = (((Ldiff f1,x0) * (f2 . x0)) - ((Ldiff f2,x0) * (f1 . x0))) / ((f2 . x0) ^2 ) )
by A17, A32, Th9; verum