reconsider f2 = REAL --> (In (0,REAL)) as Function of REAL,REAL ;
deffunc H1( Real) -> Element of REAL = In ((- $1),REAL);
let f be PartFunc of REAL,REAL; ( f = compreal implies for p being Real holds
( f is_differentiable_in p & diff (f,p) = - 1 ) )
assume A1:
f = compreal
; for p being Real holds
( f is_differentiable_in p & diff (f,p) = - 1 )
let p be Real; ( f is_differentiable_in p & diff (f,p) = - 1 )
consider f1 being Function of REAL,REAL such that
A2:
for p being Element of REAL holds f1 . p = H1(p)
from FUNCT_2:sch 4();
A3:
dom f2 = REAL
by FUNCOP_1:13;
for hy1 being non-zero 0 -convergent Real_Sequence holds
( (hy1 ") (#) (f2 /* hy1) is convergent & lim ((hy1 ") (#) (f2 /* hy1)) = 0 )
then A8:
f2 is RestFunc
by FDIFF_1:def 2;
A9:
ex N being Neighbourhood of p st
( N c= dom compreal & ( for r being Real st r in N holds
(compreal . r) - (compreal . p) = (f1 . (r - p)) + (f2 . (r - p)) ) )
reconsider pp = p as Real ;
A12:
1 in REAL
by XREAL_0:def 1;
for p being Real holds f1 . p = (- 1) * p
then A13:
f1 is LinearFunc
by FDIFF_1:def 3;
then
f is_differentiable_in pp
by A1, A8, A9, FDIFF_1:def 4;
then diff (f,pp) =
f1 . 1
by A1, A13, A8, A9, FDIFF_1:def 5
.=
H1(1)
by A2, A12
;
hence
( f is_differentiable_in p & diff (f,p) = - 1 )
by A1, A13, A8, A9, FDIFF_1:def 4; verum