let n be Element of NAT ; :: thesis: for Z being open Subset of REAL st Z c= dom ((1 / n) (#) ((#Z n) * sin )) & n > 0 holds
( (1 / n) (#) ((#Z n) * sin ) is_differentiable_on Z & ( for x being Real st x in Z holds
(((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x) ) )

let Z be open Subset of REAL ; :: thesis: ( Z c= dom ((1 / n) (#) ((#Z n) * sin )) & n > 0 implies ( (1 / n) (#) ((#Z n) * sin ) is_differentiable_on Z & ( for x being Real st x in Z holds
(((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x) ) ) )

assume that
A1: Z c= dom ((1 / n) (#) ((#Z n) * sin )) and
A2: n > 0 ; :: thesis: ( (1 / n) (#) ((#Z n) * sin ) is_differentiable_on Z & ( for x being Real st x in Z holds
(((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x) ) )

A3: Z c= dom ((#Z n) * sin ) by A1, VALUED_1:def 5;
now end;
then A4: (#Z n) * sin is_differentiable_on Z by A3, FDIFF_1:16;
for x being Real st x in Z holds
(((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x)
proof
let x be Real; :: thesis: ( x in Z implies (((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x) )
assume A5: x in Z ; :: thesis: (((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x)
A6: sin is_differentiable_in x by SIN_COS:69;
(((1 / n) (#) ((#Z n) * sin )) `| Z) . x = (1 / n) * (diff ((#Z n) * sin ),x) by A1, A4, A5, FDIFF_1:28
.= (1 / n) * ((n * ((sin . x) #Z (n - 1))) * (diff sin ,x)) by A6, TAYLOR_1:3
.= (1 / n) * ((n * ((sin . x) #Z (n - 1))) * (cos . x)) by SIN_COS:69
.= (((1 / n) * n) * ((sin . x) #Z (n - 1))) * (cos . x)
.= (((n " ) * n) * ((sin . x) #Z (n - 1))) * (cos . x) by XCMPLX_1:217
.= (1 * ((sin . x) #Z (n - 1))) * (cos . x) by A2, XCMPLX_0:def 7
.= ((sin . x) #Z (n - 1)) * (cos . x) ;
hence (((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x) ; :: thesis: verum
end;
hence ( (1 / n) (#) ((#Z n) * sin ) is_differentiable_on Z & ( for x being Real st x in Z holds
(((1 / n) (#) ((#Z n) * sin )) `| Z) . x = ((sin . x) #Z (n - 1)) * (cos . x) ) ) by A1, A4, FDIFF_1:28; :: thesis: verum