reconsider f2 = REAL --> 0 as Function of REAL,REAL ;
deffunc H1( Real) -> Element of REAL = - $1;
let f be PartFunc of REAL,REAL; ( f = compreal implies for p being real number holds
( f is_differentiable_in p & diff (f,p) = - 1 ) )
assume A1:
f = compreal
; for p being real number holds
( f is_differentiable_in p & diff (f,p) = - 1 )
let p be real number ; ( 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 convergent_to_0 Real_Sequence holds
( (hy1 ") (#) (f2 /* hy1) is convergent & lim ((hy1 ") (#) (f2 /* hy1)) = 0 )
then A8:
f2 is REST
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)) ) )
for p being Real holds f1 . p = (- 1) * p
then A12:
f1 is LINEAR
by FDIFF_1:def 3;
then
f is_differentiable_in p
by A1, A8, A9, FDIFF_1:def 4;
then diff (f,p) =
f1 . 1
by A1, A12, A8, A9, FDIFF_1:def 5
.=
- 1
by A2
;
hence
( f is_differentiable_in p & diff (f,p) = - 1 )
by A1, A12, A8, A9, FDIFF_1:def 4; verum