let f be one-to-one PartFunc of REAL,REAL; ( [#] REAL c= dom f & f is_differentiable_on [#] REAL & ( for x0 being Real holds 0 < diff (f,x0) or for x0 being Real holds diff (f,x0) < 0 ) implies ( f is one-to-one & f " is_differentiable_on dom (f ") & ( for x0 being Real st x0 in dom (f ") holds
diff ((f "),x0) = 1 / (diff (f,((f ") . x0))) ) ) )
assume that
[#] REAL c= dom f
and
A1:
f is_differentiable_on [#] REAL
and
A2:
( for x0 being Real holds 0 < diff (f,x0) or for x0 being Real holds diff (f,x0) < 0 )
; ( f is one-to-one & f " is_differentiable_on dom (f ") & ( for x0 being Real st x0 in dom (f ") holds
diff ((f "),x0) = 1 / (diff (f,((f ") . x0))) ) )
A3:
rng f is open
by A1, A2, Th44;
thus
f is one-to-one
; ( f " is_differentiable_on dom (f ") & ( for x0 being Real st x0 in dom (f ") holds
diff ((f "),x0) = 1 / (diff (f,((f ") . x0))) ) )
A4:
dom (f ") = rng f
by FUNCT_1:33;
A5:
rng (f ") = dom f
by FUNCT_1:33;
A6:
for y0 being Element of REAL st y0 in dom (f ") holds
( f " is_differentiable_in y0 & diff ((f "),y0) = 1 / (diff (f,((f ") . y0))) )
proof
let y0 be
Element of
REAL ;
( y0 in dom (f ") implies ( f " is_differentiable_in y0 & diff ((f "),y0) = 1 / (diff (f,((f ") . y0))) ) )
assume A7:
y0 in dom (f ")
;
( f " is_differentiable_in y0 & diff ((f "),y0) = 1 / (diff (f,((f ") . y0))) )
then consider x0 being
Element of
REAL such that A8:
x0 in dom f
and A9:
y0 = f . x0
by A4, PARTFUN1:3;
A10:
for
h being
non-zero 0 -convergent Real_Sequence for
c being
constant Real_Sequence st
rng c = {y0} &
rng (h + c) c= dom (f ") holds
(
(h ") (#) (((f ") /* (h + c)) - ((f ") /* c)) is
convergent &
lim ((h ") (#) (((f ") /* (h + c)) - ((f ") /* c))) = 1
/ (diff (f,((f ") . y0))) )
proof
reconsider fy =
(f ") . y0 as
Element of
REAL by XREAL_0:def 1;
set a =
seq_const ((f ") . y0);
let h be
non-zero 0 -convergent Real_Sequence;
for c being constant Real_Sequence st rng c = {y0} & rng (h + c) c= dom (f ") holds
( (h ") (#) (((f ") /* (h + c)) - ((f ") /* c)) is convergent & lim ((h ") (#) (((f ") /* (h + c)) - ((f ") /* c))) = 1 / (diff (f,((f ") . y0))) )let c be
constant Real_Sequence;
( rng c = {y0} & rng (h + c) c= dom (f ") implies ( (h ") (#) (((f ") /* (h + c)) - ((f ") /* c)) is convergent & lim ((h ") (#) (((f ") /* (h + c)) - ((f ") /* c))) = 1 / (diff (f,((f ") . y0))) ) )
assume that A11:
rng c = {y0}
and A12:
rng (h + c) c= dom (f ")
;
( (h ") (#) (((f ") /* (h + c)) - ((f ") /* c)) is convergent & lim ((h ") (#) (((f ") /* (h + c)) - ((f ") /* c))) = 1 / (diff (f,((f ") . y0))) )
A13:
lim (h + c) = y0
by A11, Th4;
reconsider a =
seq_const ((f ") . y0) as
constant Real_Sequence ;
defpred S1[
Element of
NAT ,
Real]
means for
r1,
r2 being
Real st
r1 = (h + c) . $1 &
r2 = a . $1 holds
r1 = f . (r2 + $2);
A14:
for
n being
Element of
NAT ex
r being
Element of
REAL st
S1[
n,
r]
consider b being
Real_Sequence such that A18:
for
n being
Element of
NAT holds
S1[
n,
b . n]
from FUNCT_2:sch 3(A14);
then A23:
b is
non-zero
by SEQ_1:5;
A24:
[#] REAL c= dom f
by A1;
then
dom f = REAL
;
then A25:
f is
total
by PARTFUN1:def 2;
A26:
y0 in dom ((f ") | (rng f))
by A4, A7, RELAT_1:69;
(
f | ([#] REAL) is
increasing or
f | ([#] REAL) is
decreasing )
by A1, A2, Th37, Th38;
then
(f ") | (rng f) is
continuous
by A25, FCONT_3:22;
then
(f ") | (dom (f ")) is_continuous_in y0
by A4, A26, FCONT_1:def 2;
then A27:
f " is_continuous_in y0
by RELAT_1:68;
A30:
(f ") /* (h + c) is
convergent
by A12, A13, A27, FCONT_1:def 1;
then
((f ") /* (h + c)) - a is
convergent
;
then A31:
b is
convergent
by A28, FUNCT_2:63;
A32:
lim a =
a . 0
by SEQ_4:26
.=
(f ") . y0
by SEQ_1:57
;
(f ") . y0 = lim ((f ") /* (h + c))
by A12, A13, A27, FCONT_1:def 1;
then lim (((f ") /* (h + c)) - a) =
((f ") . y0) - ((f ") . y0)
by A30, A32, SEQ_2:12
.=
0
;
then A33:
lim b = 0
by A28, FUNCT_2:63;
A34:
rng (b + a) c= dom f
by A24;
reconsider b =
b as
non-zero 0 -convergent Real_Sequence by A23, A31, A33, FDIFF_1:def 1;
A35:
b " is
non-zero
by SEQ_1:33;
A36:
rng a = {((f ") . y0)}
A37:
rng a c= dom f
then A39:
f /* a = c
;
then A40:
h = (f /* (b + a)) - (f /* a)
;
then
(f /* (b + a)) - (f /* a) is
non-zero
;
then A41:
(b ") (#) ((f /* (b + a)) - (f /* a)) is
non-zero
by A35, SEQ_1:35;
A42:
rng c c= dom (f ")
by A7, A11, TARSKI:def 1;
then A45:
(h ") (#) (((f ") /* (h + c)) - ((f ") /* c)) = ((b ") (#) ((f /* (b + a)) - (f /* a))) "
;
A46:
f is_differentiable_in fy
by A1, FDIFF_1:9;
then A47:
lim ((b ") (#) ((f /* (b + a)) - (f /* a))) = diff (
f,
((f ") . y0))
by A36, A34, Th12;
diff (
f,
((f ") . y0))
= diff (
f,
((f ") . y0))
;
then A48:
(b ") (#) ((f /* (b + a)) - (f /* a)) is
convergent
by A36, A34, A46, Th12;
A49:
0 <> diff (
f,
((f ") . y0))
by A2;
hence
(h ") (#) (((f ") /* (h + c)) - ((f ") /* c)) is
convergent
by A45, A41, A48, A47, SEQ_2:21;
lim ((h ") (#) (((f ") /* (h + c)) - ((f ") /* c))) = 1 / (diff (f,((f ") . y0)))
thus lim ((h ") (#) (((f ") /* (h + c)) - ((f ") /* c))) =
(diff (f,((f ") . y0))) "
by A45, A41, A48, A47, A49, SEQ_2:22
.=
1
/ (diff (f,((f ") . y0)))
by XCMPLX_1:215
;
verum
end;
ex
N being
Neighbourhood of
y0 st
N c= dom (f ")
by A3, A4, A7, RCOMP_1:18;
hence
(
f " is_differentiable_in y0 &
diff (
(f "),
y0)
= 1
/ (diff (f,((f ") . y0))) )
by A10, Th12;
verum
end;
then
for y0 being Real st y0 in dom (f ") holds
f " is_differentiable_in y0
;
hence
f " is_differentiable_on dom (f ")
by A3, A4, FDIFF_1:9; for x0 being Real st x0 in dom (f ") holds
diff ((f "),x0) = 1 / (diff (f,((f ") . x0)))
let x0 be Real; ( x0 in dom (f ") implies diff ((f "),x0) = 1 / (diff (f,((f ") . x0))) )
assume
x0 in dom (f ")
; diff ((f "),x0) = 1 / (diff (f,((f ") . x0)))
hence
diff ((f "),x0) = 1 / (diff (f,((f ") . x0)))
by A6; verum