let p be real number ; :: thesis: ( sin is_differentiable_in p & diff sin ,p = cos . p )
reconsider p = p as Real by XREAL_0:def 1;
deffunc H2( Element of REAL ) -> Element of REAL = $1 * (Re ((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 * (cos . p);
consider CL being Function of REAL ,REAL such that
A23:
for th being Real holds CL . th = H3(th)
from FUNCT_2:sch 4();
A24:
for d being real number holds CL . d = d * (cos . p)
CL is linear
then reconsider PL = CL as LINEAR ;
A27:
ex N being Neighbourhood of p st
( N c= dom sin & ( for r being Real st r in N holds
(sin . r) - (sin . p) = (PL . (r - p)) + (PR . (r - p)) ) )
proof
A28:
for
r being
Real st
r in ].(p - 1),(p + 1).[ holds
(sin . r) - (sin . 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 sin & ( for r being Real st r in ].(p - 1),(p + 1).[ holds
(sin . r) - (sin . p) = (PL . (r - p)) + (PR . (r - p)) ) )
thus
(
].(p - 1),(p + 1).[ is
Neighbourhood of
p &
].(p - 1),(p + 1).[ c= dom sin & ( for
r being
Real st
r in ].(p - 1),(p + 1).[ holds
(sin . r) - (sin . p) = (PL . (r - p)) + (PR . (r - p)) ) )
by A28, Th27, RCOMP_1:def 7;
:: thesis: verum
end;
then A29:
sin is_differentiable_in p
by FDIFF_1:def 5;
PL . 1 = 1 * (cos . p)
by A24;
hence
( sin is_differentiable_in p & diff sin ,p = cos . p )
by A27, A29, FDIFF_1:def 6; :: thesis: verum