let Z be open Subset of REAL ; :: thesis: (diff (exp_R (#) sin ),Z) . 2 = 2 (#) ((exp_R (#) cos ) | Z)
A2: sin is_differentiable_on 2,Z by TAYLOR_2:21;
A3: exp_R is_differentiable_on 2,Z by TAYLOR_2:10;
A4: dom (0 (#) ((exp_R (#) sin ) | Z)) = dom ((exp_R (#) sin ) | Z) by VALUED_1:def 5
.= (dom (exp_R (#) sin )) /\ Z by RELAT_1:90
.= (REAL /\ REAL ) /\ Z by SIN_COS:27, SIN_COS:51, VALUED_1:def 4
.= Z by XBOOLE_1:28 ;
A5: dom (2 (#) ((exp_R (#) cos ) | Z)) = dom ((exp_R (#) cos ) | Z) by VALUED_1:def 5
.= (dom (exp_R (#) cos )) /\ Z by RELAT_1:90
.= (REAL /\ REAL ) /\ Z by SIN_COS:27, SIN_COS:51, VALUED_1:def 4
.= Z by XBOOLE_1:28 ;
A6: dom ((0 (#) ((exp_R (#) sin ) | Z)) + (2 (#) ((exp_R (#) cos ) | Z))) = Z /\ Z by A5, A4, VALUED_1:def 1
.= Z ;
A7: exp_R is_differentiable_on Z by FDIFF_1:34, TAYLOR_1:16;
A8: sin is_differentiable_on Z by FDIFF_1:34, SIN_COS:73;
then A9: exp_R (#) sin is_differentiable_on Z by A7, FDIFF_2:20;
exp_R | Z is_differentiable_on Z by A7, FDIFF_2:16;
then A11: (exp_R | Z) (#) sin is_differentiable_on Z by A8, FDIFF_2:20;
cos is_differentiable_on Z by FDIFF_1:34, SIN_COS:72;
then cos | Z is_differentiable_on Z by FDIFF_2:16;
then exp_R (#) (cos | Z) is_differentiable_on Z by A7, FDIFF_2:20;
then A16: ((exp_R | Z) (#) sin ) + (exp_R (#) (cos | Z)) is_differentiable_on Z by A11, FDIFF_2:17;
A17: dom ((diff (exp_R (#) sin ),Z) . 2) = dom ((diff (exp_R (#) sin ),Z) . (1 + 1))
.= dom (((diff (exp_R (#) sin ),Z) . (1 + 0 )) `| Z) by TAYLOR_1:def 5
.= dom ((((diff (exp_R (#) sin ),Z) . 0 ) `| Z) `| Z) by TAYLOR_1:def 5
.= dom ((((exp_R (#) sin ) | Z) `| Z) `| Z) by TAYLOR_1:def 5
.= dom (((exp_R (#) sin ) `| Z) `| Z) by A9, FDIFF_2:16
.= dom ((((exp_R `| Z) (#) sin ) + (exp_R (#) (sin `| Z))) `| Z) by A7, A8, FDIFF_2:20
.= dom ((((exp_R | Z) (#) sin ) + (exp_R (#) (sin `| Z))) `| Z) by TAYLOR_2:5
.= dom ((((exp_R | Z) (#) sin ) + (exp_R (#) (cos | Z))) `| Z) by TAYLOR_2:17
.= Z by A16, FDIFF_1:def 8 ;
for x being Real st x in dom ((diff (exp_R (#) sin ),Z) . 2) holds
((diff (exp_R (#) sin ),Z) . 2) . x = (2 (#) ((exp_R (#) cos ) | Z)) . x
proof
let x be Real; :: thesis: ( x in dom ((diff (exp_R (#) sin ),Z) . 2) implies ((diff (exp_R (#) sin ),Z) . 2) . x = (2 (#) ((exp_R (#) cos ) | Z)) . x )
assume B1: x in dom ((diff (exp_R (#) sin ),Z) . 2) ; :: thesis: ((diff (exp_R (#) sin ),Z) . 2) . x = (2 (#) ((exp_R (#) cos ) | Z)) . x
((diff (exp_R (#) sin ),Z) . 2) . x = (((((diff exp_R ,Z) . 2) (#) sin ) + (2 (#) ((exp_R `| Z) (#) (sin `| Z)))) + (exp_R (#) ((diff sin ,Z) . 2))) . x by ThB3, A2, A3
.= ((((exp_R | Z) (#) sin ) + (2 (#) ((exp_R `| Z) (#) (sin `| Z)))) + (exp_R (#) ((diff sin ,Z) . 2))) . x by TAYLOR_2:6
.= ((((exp_R | Z) (#) sin ) + (2 (#) ((exp_R | Z) (#) (sin `| Z)))) + (exp_R (#) ((diff sin ,Z) . 2))) . x by TAYLOR_2:5
.= ((((exp_R | Z) (#) sin ) + (2 (#) ((exp_R | Z) (#) (cos | Z)))) + (exp_R (#) ((diff sin ,Z) . (2 * 1)))) . x by TAYLOR_2:17
.= ((((exp_R | Z) (#) sin ) + (2 (#) ((exp_R | Z) (#) (cos | Z)))) + (exp_R (#) (((- 1) |^ 1) (#) (sin | Z)))) . x by TAYLOR_2:19
.= ((((exp_R | Z) (#) sin ) + (2 (#) ((exp_R | Z) (#) (cos | Z)))) + (exp_R (#) ((- 1) (#) (sin | Z)))) . x by NEWTON:10
.= ((((exp_R (#) sin ) | Z) + (2 (#) ((exp_R | Z) (#) (cos | Z)))) + (exp_R (#) ((- 1) (#) (sin | Z)))) . x by RFUNCT_1:61
.= ((((exp_R (#) sin ) | Z) + (2 (#) ((exp_R (#) cos ) | Z))) + (exp_R (#) ((- 1) (#) (sin | Z)))) . x by RFUNCT_1:61
.= ((((exp_R (#) sin ) | Z) + (exp_R (#) ((- 1) (#) (sin | Z)))) + (2 (#) ((exp_R (#) cos ) | Z))) . x by RFUNCT_1:19
.= ((((exp_R (#) sin ) | Z) + ((- 1) (#) (exp_R (#) (sin | Z)))) + (2 (#) ((exp_R (#) cos ) | Z))) . x by RFUNCT_1:25
.= ((((exp_R (#) sin ) | Z) + ((- 1) (#) ((exp_R (#) sin ) | Z))) + (2 (#) ((exp_R (#) cos ) | Z))) . x by RFUNCT_1:61
.= (((1 (#) ((exp_R (#) sin ) | Z)) + ((- 1) (#) ((exp_R (#) sin ) | Z))) + (2 (#) ((exp_R (#) cos ) | Z))) . x by RFUNCT_1:33
.= (((1 + (- 1)) (#) ((exp_R (#) sin ) | Z)) + (2 (#) ((exp_R (#) cos ) | Z))) . x by ThB2
.= ((0 (#) ((exp_R (#) sin ) | Z)) . x) + ((2 (#) ((exp_R (#) cos ) | Z)) . x) by A6, A17, B1, VALUED_1:def 1
.= (0 * (((exp_R (#) sin ) | Z) . x)) + ((2 (#) ((exp_R (#) cos ) | Z)) . x) by A4, A17, B1, VALUED_1:def 5
.= (2 (#) ((exp_R (#) cos ) | Z)) . x ;
hence ((diff (exp_R (#) sin ),Z) . 2) . x = (2 (#) ((exp_R (#) cos ) | Z)) . x ; :: thesis: verum
end;
hence (diff (exp_R (#) sin ),Z) . 2 = 2 (#) ((exp_R (#) cos ) | Z) by A5, A17, PARTFUN1:34; :: thesis: verum