let p be real number ; :: thesis: ( cos is_differentiable_in p & diff cos ,p = - (sin . p) )
reconsider p = p as Real by XREAL_0:def 1;
deffunc H2( Element of REAL ) -> Element of REAL = - ($1 * (Im ((Sum (($1 * <i> ) P_dt )) * ((cos . p) + ((sin . p) * <i> )))));
consider Cr being Function of REAL ,REAL such that
A2:
for th being Real holds Cr . th = H2(th)
from FUNCT_2:sch 4();
Cr is REST-like
then reconsider PR = Cr as REST ;
deffunc H3( Element of REAL ) -> Element of REAL = - ($1 * (sin . p));
consider CL being Function of REAL ,REAL such that
A26:
for th being Real holds CL . th = H3(th)
from FUNCT_2:sch 4();
CL is linear
then reconsider PL = CL as LINEAR ;
A31:
ex N being Neighbourhood of p st
( N c= dom cos & ( for r being Real st r in N holds
(cos . r) - (cos . p) = (PL . (r - p)) + (PR . (r - p)) ) )
proof
A32:
for
r being
Real st
r in ].(p - 1),(p + 1).[ holds
(cos . r) - (cos . p) = (PL . (r - p)) + (PR . (r - p))
take
].(p - 1),(p + 1).[
;
:: thesis: ( ].(p - 1),(p + 1).[ is Neighbourhood of p & ].(p - 1),(p + 1).[ c= dom cos & ( for r being Real st r in ].(p - 1),(p + 1).[ holds
(cos . r) - (cos . p) = (PL . (r - p)) + (PR . (r - p)) ) )
thus
(
].(p - 1),(p + 1).[ is
Neighbourhood of
p &
].(p - 1),(p + 1).[ c= dom cos & ( for
r being
Real st
r in ].(p - 1),(p + 1).[ holds
(cos . r) - (cos . p) = (PL . (r - p)) + (PR . (r - p)) ) )
by A32, Th27, RCOMP_1:def 7;
:: thesis: verum
end;
then A33:
cos is_differentiable_in p
by FDIFF_1:def 5;
PL . 1 =
- (1 * (sin . p))
by A26
.=
- (sin . p)
;
hence
( cos is_differentiable_in p & diff cos ,p = - (sin . p) )
by A31, A33, FDIFF_1:def 6; :: thesis: verum