let f be PartFunc of REAL ,REAL ; :: thesis: ( f = compreal implies for p being real number holds
( f is_differentiable_in p & diff f,p = - 1 ) )
assume A1:
f = compreal
; :: thesis: for p being real number holds
( f is_differentiable_in p & diff f,p = - 1 )
let p be real number ; :: thesis: ( f is_differentiable_in p & diff f,p = - 1 )
deffunc H1( Real) -> Element of REAL = - $1;
consider f1 being Function of REAL ,REAL such that
A3:
for p being Element of REAL holds f1 . p = H1(p)
from FUNCT_2:sch 4();
A4:
f1 is LINEAR
reconsider f2 = REAL --> 0 as Function of REAL ,REAL ;
A8:
dom f2 = REAL
by FUNCOP_1:19;
A9:
f2 is REST
A14:
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)) ) )
proof
A15:
for
r being
real number st
r in ].(p - 1),(p + 1).[ holds
(compreal . r) - (compreal . p) = (f1 . (r - p)) + (f2 . (r - p))
take
].(p - 1),(p + 1).[
;
:: thesis: ( ].(p - 1),(p + 1).[ is Neighbourhood of p & ].(p - 1),(p + 1).[ c= dom compreal & ( for r being Real st r in ].(p - 1),(p + 1).[ holds
(compreal . r) - (compreal . p) = (f1 . (r - p)) + (f2 . (r - p)) ) )
thus
(
].(p - 1),(p + 1).[ is
Neighbourhood of
p &
].(p - 1),(p + 1).[ c= dom compreal & ( for
r being
Real st
r in ].(p - 1),(p + 1).[ holds
(compreal . r) - (compreal . p) = (f1 . (r - p)) + (f2 . (r - p)) ) )
by A15, Lm12, RCOMP_1:def 7;
:: thesis: verum
end;
then A19:
f is_differentiable_in p
by A1, A4, A9, FDIFF_1:def 5;
A20:
for p being Element of REAL holds f1 . p = - p
by A3;
diff f,p =
f1 . 1
by A1, A4, A9, A14, A19, FDIFF_1:def 6
.=
- 1
by A20
;
hence
( f is_differentiable_in p & diff f,p = - 1 )
by A1, A4, A9, A14, FDIFF_1:def 5; :: thesis: verum