let x0 be Real; for f being PartFunc of REAL,REAL st f . x0 <> 0 & f is_differentiable_in x0 holds
( f ^ is_differentiable_in x0 & diff ((f ^),x0) = - ((diff (f,x0)) / ((f . x0) ^2)) )
let f be PartFunc of REAL,REAL; ( f . x0 <> 0 & f is_differentiable_in x0 implies ( f ^ is_differentiable_in x0 & diff ((f ^),x0) = - ((diff (f,x0)) / ((f . x0) ^2)) ) )
reconsider f1 = (dom f) --> jj as PartFunc of (dom f),REAL by FUNCOP_1:45;
reconsider f1 = f1 as PartFunc of REAL,REAL ;
assume that
A1:
f . x0 <> 0
and
A2:
f is_differentiable_in x0
; ( f ^ is_differentiable_in x0 & diff ((f ^),x0) = - ((diff (f,x0)) / ((f . x0) ^2)) )
consider N being Neighbourhood of x0 such that
A3:
N c= dom f
by A2;
A4:
x0 in N
by RCOMP_1:16;
A5:
dom f1 = dom f
by FUNCOP_1:13;
A6:
rng f1 = {1}
then A8:
f1 is_differentiable_on N
by A5, A3, FDIFF_1:11;
then A9:
f1 is_differentiable_in x0
by A4, FDIFF_1:9;
0 =
(f1 `| N) . x0
by A5, A3, A6, FDIFF_1:11, RCOMP_1:16
.=
diff (f1,x0)
by A8, A4, FDIFF_1:def 7
;
then
diff ((f1 / f),x0) = ((0 * (f . x0)) - ((diff (f,x0)) * (f1 . x0))) / ((f . x0) ^2)
by A1, A2, A9, Th14;
then A10: diff ((f1 / f),x0) =
(- ((diff (f,x0)) * (f1 . x0))) / ((f . x0) ^2)
.=
(- ((diff (f,x0)) * 1)) / ((f . x0) ^2)
by A3, A4, FUNCOP_1:7
.=
- ((diff (f,x0)) / ((f . x0) ^2))
by XCMPLX_1:187
;
A11: dom (f1 / f) =
(dom f1) /\ ((dom f) \ (f " {0}))
by RFUNCT_1:def 1
.=
(dom f) \ (f " {0})
by A5, XBOOLE_1:28, XBOOLE_1:36
.=
dom (f ^)
by RFUNCT_1:def 2
;
A12:
(dom f) \ (f " {0}) c= dom f1
by A5, XBOOLE_1:36;
f1 / f is_differentiable_in x0
by A1, A2, A9, Th14;
hence
( f ^ is_differentiable_in x0 & diff ((f ^),x0) = - ((diff (f,x0)) / ((f . x0) ^2)) )
by A10, A11, A13, PARTFUN1:5; verum