let p, g be Real; :: thesis: for f being one-to-one PartFunc of REAL ,REAL st ].p,g.[ c= dom f & f is_differentiable_on ].p,g.[ & ( for x0 being Real st x0 in ].p,g.[ holds
0 < diff f,x0 or for x0 being Real st x0 in ].p,g.[ holds
diff f,x0 < 0 ) holds
( f | ].p,g.[ is one-to-one & (f | ].p,g.[) " is_differentiable_on dom ((f | ].p,g.[) " ) & ( for x0 being Real st x0 in dom ((f | ].p,g.[) " ) holds
diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0)) ) )
let f be one-to-one PartFunc of REAL ,REAL ; :: thesis: ( ].p,g.[ c= dom f & f is_differentiable_on ].p,g.[ & ( for x0 being Real st x0 in ].p,g.[ holds
0 < diff f,x0 or for x0 being Real st x0 in ].p,g.[ holds
diff f,x0 < 0 ) implies ( f | ].p,g.[ is one-to-one & (f | ].p,g.[) " is_differentiable_on dom ((f | ].p,g.[) " ) & ( for x0 being Real st x0 in dom ((f | ].p,g.[) " ) holds
diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0)) ) ) )
set l = ].p,g.[;
assume that
A0:
].p,g.[ c= dom f
and
A1:
f is_differentiable_on ].p,g.[
and
A2:
( for x0 being Real st x0 in ].p,g.[ holds
0 < diff f,x0 or for x0 being Real st x0 in ].p,g.[ holds
diff f,x0 < 0 )
; :: thesis: ( f | ].p,g.[ is one-to-one & (f | ].p,g.[) " is_differentiable_on dom ((f | ].p,g.[) " ) & ( for x0 being Real st x0 in dom ((f | ].p,g.[) " ) holds
diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0)) ) )
A3:
rng (f | ].p,g.[) is open
by A1, A2, Th41, A0;
set f1 = f | ].p,g.[;
thus
f | ].p,g.[ is one-to-one
; :: thesis: ( (f | ].p,g.[) " is_differentiable_on dom ((f | ].p,g.[) " ) & ( for x0 being Real st x0 in dom ((f | ].p,g.[) " ) holds
diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0)) ) )
A4:
( dom ((f | ].p,g.[) " ) = rng (f | ].p,g.[) & rng ((f | ].p,g.[) " ) = dom (f | ].p,g.[) )
by FUNCT_1:55;
A5:
for y0 being Real st y0 in dom ((f | ].p,g.[) " ) holds
( (f | ].p,g.[) " is_differentiable_in y0 & diff ((f | ].p,g.[) " ),y0 = 1 / (diff f,(((f | ].p,g.[) " ) . y0)) )
proof
let y0 be
Real;
:: thesis: ( y0 in dom ((f | ].p,g.[) " ) implies ( (f | ].p,g.[) " is_differentiable_in y0 & diff ((f | ].p,g.[) " ),y0 = 1 / (diff f,(((f | ].p,g.[) " ) . y0)) ) )
assume A6:
y0 in dom ((f | ].p,g.[) " )
;
:: thesis: ( (f | ].p,g.[) " is_differentiable_in y0 & diff ((f | ].p,g.[) " ),y0 = 1 / (diff f,(((f | ].p,g.[) " ) . y0)) )
then consider x0 being
Real such that A7:
(
x0 in dom (f | ].p,g.[) &
y0 = (f | ].p,g.[) . x0 )
by A4, PARTFUN1:26;
A8:
ex
N being
Neighbourhood of
y0 st
N c= dom ((f | ].p,g.[) " )
by A3, A4, A6, RCOMP_1:39;
for
h being
convergent_to_0 Real_Sequence for
c being
V8()
Real_Sequence st
rng c = {y0} &
rng (h + c) c= dom ((f | ].p,g.[) " ) holds
(
(h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) is
convergent &
lim ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) = 1
/ (diff f,(((f | ].p,g.[) " ) . y0)) )
proof
let h be
convergent_to_0 Real_Sequence;
:: thesis: for c being V8() Real_Sequence st rng c = {y0} & rng (h + c) c= dom ((f | ].p,g.[) " ) holds
( (h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) is convergent & lim ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) = 1 / (diff f,(((f | ].p,g.[) " ) . y0)) )let c be
V8()
Real_Sequence;
:: thesis: ( rng c = {y0} & rng (h + c) c= dom ((f | ].p,g.[) " ) implies ( (h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) is convergent & lim ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) = 1 / (diff f,(((f | ].p,g.[) " ) . y0)) ) )
assume A9:
(
rng c = {y0} &
rng (h + c) c= dom ((f | ].p,g.[) " ) )
;
:: thesis: ( (h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) is convergent & lim ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) = 1 / (diff f,(((f | ].p,g.[) " ) . y0)) )
reconsider a =
NAT --> (((f | ].p,g.[) " ) . y0) as
Real_Sequence by FUNCOP_1:57;
reconsider a =
a as
V8()
Real_Sequence ;
A10:
rng a = {(((f | ].p,g.[) " ) . y0)}
defpred S1[
Element of
NAT ,
real number ]
means for
r1,
r2 being
real number st
r1 = (h + c) . $1 &
r2 = a . $1 holds
(
r1 = f . (r2 + $2) &
r2 + $2
in dom f &
r2 + $2
in dom (f | ].p,g.[) );
A12:
for
n being
Element of
NAT ex
r being
Real st
S1[
n,
r]
proof
let n be
Element of
NAT ;
:: thesis: ex r being Real st S1[n,r]
(h + c) . n in rng (h + c)
by VALUED_0:28;
then consider g being
Real such that A13:
(
g in dom (f | ].p,g.[) &
(h + c) . n = (f | ].p,g.[) . g )
by A4, A9, PARTFUN1:26;
A14:
a . n =
((f | ].p,g.[) " ) . ((f | ].p,g.[) . x0)
by A7, FUNCOP_1:13
.=
x0
by A7, FUNCT_1:56
;
take r =
g - x0;
:: thesis: S1[n,r]
let r1,
r2 be
real number ;
:: thesis: ( r1 = (h + c) . n & r2 = a . n implies ( r1 = f . (r2 + r) & r2 + r in dom f & r2 + r in dom (f | ].p,g.[) ) )
assume A15:
(
r1 = (h + c) . n &
r2 = a . n )
;
:: thesis: ( r1 = f . (r2 + r) & r2 + r in dom f & r2 + r in dom (f | ].p,g.[) )
hence
r1 = f . (r2 + r)
by A13, A14, FUNCT_1:70;
:: thesis: ( r2 + r in dom f & r2 + r in dom (f | ].p,g.[) )
g in (dom f) /\ ].p,g.[
by A13, RELAT_1:90;
hence
(
r2 + r in dom f &
r2 + r in dom (f | ].p,g.[) )
by A13, A14, A15, XBOOLE_0:def 4;
:: thesis: verum
end;
consider b being
Real_Sequence such that A16:
for
n being
Element of
NAT holds
S1[
n,
b . n]
from FUNCT_2:sch 3(A12);
A17:
(
h is
non-zero &
h is
convergent &
lim h = 0 )
by FDIFF_1:def 1;
now given n being
Element of
NAT such that A18:
b . n = 0
;
:: thesis: contradictionA19:
(h + c) . n =
(h . n) + (c . n)
by SEQ_1:11
.=
(h . n) + ((f | ].p,g.[) . x0)
by A11
;
a . n =
((f | ].p,g.[) " ) . ((f | ].p,g.[) . x0)
by A7, FUNCOP_1:13
.=
x0
by A7, FUNCT_1:56
;
then
f . ((a . n) + (b . n)) = (f | ].p,g.[) . x0
by A7, A18, FUNCT_1:70;
then
(h . n) + ((f | ].p,g.[) . x0) = (f | ].p,g.[) . x0
by A16, A19;
hence
contradiction
by A17, SEQ_1:7;
:: thesis: verum end;
then A20:
b is
non-zero
by SEQ_1:7;
A21:
(
h + c is
convergent &
lim (h + c) = y0 )
by A9, Th4;
A22:
(
f | ].p,g.[ is
increasing or
f | ].p,g.[ is
decreasing )
X:
y0 in dom (((f | ].p,g.[) " ) | (rng (f | ].p,g.[)))
by A4, A6, RELAT_1:98;
].p,g.[ c= dom f
by A1, FDIFF_1:def 7;
then
((f | ].p,g.[) " ) | (f .: ].p,g.[) is
continuous
by A22, FCONT_3:25;
then
((f | ].p,g.[) " ) | (rng (f | ].p,g.[)) is
continuous
by RELAT_1:148;
then
((f | ].p,g.[) " ) | (rng (f | ].p,g.[)) is_continuous_in y0
by X, FCONT_1:def 2;
then
(f | ].p,g.[) " is_continuous_in y0
by A4, RELAT_1:97;
then A25:
(
((f | ].p,g.[) " ) /* (h + c) is
convergent &
((f | ].p,g.[) " ) . y0 = lim (((f | ].p,g.[) " ) /* (h + c)) )
by A9, A21, FCONT_1:def 1;
A27:
lim a =
a . 0
by SEQ_4:41
.=
((f | ].p,g.[) " ) . y0
by FUNCOP_1:13
;
A28:
(((f | ].p,g.[) " ) /* (h + c)) - a is
convergent
by A25, SEQ_2:25;
A29:
lim ((((f | ].p,g.[) " ) /* (h + c)) - a) =
(((f | ].p,g.[) " ) . y0) - (((f | ].p,g.[) " ) . y0)
by A25, A27, SEQ_2:26
.=
0
;
A30:
rng (b + a) c= dom f
now let n be
Element of
NAT ;
:: thesis: ((((f | ].p,g.[) " ) /* (h + c)) - a) . n = b . n
(
(h + c) . n = (h + c) . n &
a . n = a . n )
;
then A33:
(a . n) + (b . n) in dom (f | ].p,g.[)
by A16;
thus ((((f | ].p,g.[) " ) /* (h + c)) - a) . n =
((((f | ].p,g.[) " ) /* (h + c)) . n) - (a . n)
by RFUNCT_2:6
.=
(((f | ].p,g.[) " ) . ((h + c) . n)) - (a . n)
by A9, FUNCT_2:185
.=
(((f | ].p,g.[) " ) . (f . ((a . n) + (b . n)))) - (a . n)
by A16
.=
(((f | ].p,g.[) " ) . ((f | ].p,g.[) . ((a . n) + (b . n)))) - (a . n)
by A33, FUNCT_1:70
.=
((a . n) + (b . n)) - (a . n)
by A33, FUNCT_1:56
.=
b . n
;
:: thesis: verum end;
then
(
b is
convergent &
lim b = 0 )
by A28, A29, FUNCT_2:113;
then reconsider b =
b as
convergent_to_0 Real_Sequence by A20, FDIFF_1:def 1;
A34:
rng a c= dom f
now let n be
Element of
NAT ;
:: thesis: (f /* a) . n = c . n
c . n in rng c
by VALUED_0:28;
then A35:
c . n = y0
by A9, TARSKI:def 1;
A36:
((f | ].p,g.[) " ) . y0 in rng ((f | ].p,g.[) " )
by A6, FUNCT_1:def 5;
thus (f /* a) . n =
f . (a . n)
by A34, FUNCT_2:185
.=
f . (((f | ].p,g.[) " ) . y0)
by FUNCOP_1:13
.=
(f | ].p,g.[) . (((f | ].p,g.[) " ) . y0)
by A4, A36, FUNCT_1:70
.=
c . n
by A4, A6, A35, FUNCT_1:57
;
:: thesis: verum end;
then A37:
f /* a = c
by FUNCT_2:113;
then A38:
h = (f /* (b + a)) - (f /* a)
by FUNCT_2:113;
then A39:
(f /* (b + a)) - (f /* a) is
non-zero
by FDIFF_1:def 1;
A40:
rng c c= dom ((f | ].p,g.[) " )
A41:
b " is
non-zero
by A20, SEQ_1:41;
now let n be
Element of
NAT ;
:: thesis: ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) . n = (((b " ) (#) ((f /* (b + a)) - (f /* a))) " ) . n
(
(h + c) . n = (h + c) . n &
a . n = a . n )
;
then A42:
(a . n) + (b . n) in dom (f | ].p,g.[)
by A16;
c . n in rng c
by VALUED_0:28;
then A43:
c . n = y0
by A9, TARSKI:def 1;
thus ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) . n =
((h " ) . n) * (((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) . n)
by SEQ_1:12
.=
((h " ) . n) * (((((f | ].p,g.[) " ) /* (h + c)) . n) - ((((f | ].p,g.[) " ) /* c) . n))
by RFUNCT_2:6
.=
((h " ) . n) * ((((f | ].p,g.[) " ) . ((h + c) . n)) - ((((f | ].p,g.[) " ) /* c) . n))
by A9, FUNCT_2:185
.=
((h " ) . n) * ((((f | ].p,g.[) " ) . (f . ((a . n) + (b . n)))) - ((((f | ].p,g.[) " ) /* c) . n))
by A16
.=
((h " ) . n) * ((((f | ].p,g.[) " ) . ((f | ].p,g.[) . ((a . n) + (b . n)))) - ((((f | ].p,g.[) " ) /* c) . n))
by A42, FUNCT_1:70
.=
((h " ) . n) * (((a . n) + (b . n)) - ((((f | ].p,g.[) " ) /* c) . n))
by A42, FUNCT_1:56
.=
((h " ) . n) * (((a . n) + (b . n)) - (((f | ].p,g.[) " ) . (c . n)))
by A40, FUNCT_2:185
.=
((h " ) . n) * (((a . n) + (b . n)) - (a . n))
by A43, FUNCOP_1:13
.=
((h " ) (#) ((b " ) " )) . n
by SEQ_1:12
.=
(((b " ) (#) ((f /* (b + a)) - (f /* a))) " ) . n
by A38, SEQ_1:44
;
:: thesis: verum end;
then A44:
(h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) = ((b " ) (#) ((f /* (b + a)) - (f /* a))) "
by FUNCT_2:113;
A45:
(b " ) (#) ((f /* (b + a)) - (f /* a)) is
non-zero
by A39, A41, SEQ_1:43;
((f | ].p,g.[) " ) . y0 in dom (f | ].p,g.[)
by A4, A6, FUNCT_1:def 5;
then
((f | ].p,g.[) " ) . y0 in (dom f) /\ ].p,g.[
by RELAT_1:90;
then A46:
((f | ].p,g.[) " ) . y0 in ].p,g.[
by XBOOLE_0:def 4;
then
(
f is_differentiable_in ((f | ].p,g.[) " ) . y0 &
diff f,
(((f | ].p,g.[) " ) . y0) = diff f,
(((f | ].p,g.[) " ) . y0) )
by A1, FDIFF_1:16;
then A47:
(
(b " ) (#) ((f /* (b + a)) - (f /* a)) is
convergent &
lim ((b " ) (#) ((f /* (b + a)) - (f /* a))) = diff f,
(((f | ].p,g.[) " ) . y0) )
by A10, A30, Th12;
A48:
0 <> diff f,
(((f | ].p,g.[) " ) . y0)
by A2, A46;
hence
(h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c)) is
convergent
by A44, A45, A47, SEQ_2:35;
:: thesis: lim ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) = 1 / (diff f,(((f | ].p,g.[) " ) . y0))
thus lim ((h " ) (#) ((((f | ].p,g.[) " ) /* (h + c)) - (((f | ].p,g.[) " ) /* c))) =
(diff f,(((f | ].p,g.[) " ) . y0)) "
by A44, A45, A47, A48, SEQ_2:36
.=
1
/ (diff f,(((f | ].p,g.[) " ) . y0))
by XCMPLX_1:217
;
:: thesis: verum
end;
hence
(
(f | ].p,g.[) " is_differentiable_in y0 &
diff ((f | ].p,g.[) " ),
y0 = 1
/ (diff f,(((f | ].p,g.[) " ) . y0)) )
by A8, Th12;
:: thesis: verum
end;
then
for y0 being Real st y0 in dom ((f | ].p,g.[) " ) holds
(f | ].p,g.[) " is_differentiable_in y0
;
hence
(f | ].p,g.[) " is_differentiable_on dom ((f | ].p,g.[) " )
by A3, A4, FDIFF_1:16; :: thesis: for x0 being Real st x0 in dom ((f | ].p,g.[) " ) holds
diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0))
let x0 be Real; :: thesis: ( x0 in dom ((f | ].p,g.[) " ) implies diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0)) )
assume
x0 in dom ((f | ].p,g.[) " )
; :: thesis: diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0))
hence
diff ((f | ].p,g.[) " ),x0 = 1 / (diff f,(((f | ].p,g.[) " ) . x0))
by A5; :: thesis: verum