let n be Element of NAT ; for th being Real holds
( (Partial_Sums (th P_sin )) . n = (Partial_Sums (Im ((th * <i> ) ExpSeq ))) . ((2 * n) + 1) & (Partial_Sums (th P_cos )) . n = (Partial_Sums (Re ((th * <i> ) ExpSeq ))) . (2 * n) )
let th be Real; ( (Partial_Sums (th P_sin )) . n = (Partial_Sums (Im ((th * <i> ) ExpSeq ))) . ((2 * n) + 1) & (Partial_Sums (th P_cos )) . n = (Partial_Sums (Re ((th * <i> ) ExpSeq ))) . (2 * n) )
A1:
now A2:
(Partial_Sums (th P_sin )) . 0 =
(th P_sin ) . 0
by SERIES_1:def 1
.=
(((- 1) |^ 0 ) * (th |^ ((2 * 0 ) + 1))) / (((2 * 0 ) + 1) ! )
by Def24
;
A3:
th |^ ((2 * 0 ) + 1) =
(th GeoSeq ) . (0 + 1)
by PREPOWER:def 1
.=
((th GeoSeq ) . 0 ) * th
by PREPOWER:4
.=
1
* th
by PREPOWER:4
.=
th
;
A4:
((2 * 0 ) + 1) ! =
(0 ! ) * 1
by NEWTON:21
.=
1
by NEWTON:18
;
A5:
(- 1) |^ 0 =
((- 1) GeoSeq ) . 0
by PREPOWER:def 1
.=
1
by PREPOWER:4
;
A6:
(Partial_Sums (th P_cos )) . 0 =
(th P_cos ) . 0
by SERIES_1:def 1
.=
(((- 1) |^ 0 ) * (th |^ (2 * 0 ))) / ((2 * 0 ) ! )
by Def25
.=
(1 * ((th GeoSeq ) . 0 )) / 1
by A5, NEWTON:18, PREPOWER:def 1
.=
1
by PREPOWER:4
;
A7:
(
(Im ((th * <i> ) ExpSeq )) . 0 = Im (((th * <i> ) ExpSeq ) . 0 ) &
(Im ((th * <i> ) ExpSeq )) . 1
= Im (((th * <i> ) ExpSeq ) . 1) )
by COMSEQ_3:def 4;
A8:
th * <i> = 0 + (th * <i> )
;
A9:
(Partial_Sums (Im ((th * <i> ) ExpSeq ))) . ((2 * 0 ) + 1) =
((Partial_Sums (Im ((th * <i> ) ExpSeq ))) . 0 ) + ((Im ((th * <i> ) ExpSeq )) . 1)
by SERIES_1:def 1
.=
((Im ((th * <i> ) ExpSeq )) . 0 ) + ((Im ((th * <i> ) ExpSeq )) . 1)
by SERIES_1:def 1
.=
0 + (Im (((th * <i> ) ExpSeq ) . (0 + 1)))
by A7, Th4, COMPLEX1:15
.=
0 + (Im (((((th * <i> ) ExpSeq ) . 0 ) * (th * <i> )) / ((0 + 1) + (0 * <i> ))))
by Th4
.=
Im ((1 * (th * <i> )) / 1)
by Th4
.=
th
by A8, COMPLEX1:28
;
defpred S1[
Element of
NAT ]
means (
(Partial_Sums (th P_sin )) . $1
= (Partial_Sums (Im ((th * <i> ) ExpSeq ))) . ((2 * $1) + 1) &
(Partial_Sums (th P_cos )) . $1
= (Partial_Sums (Re ((th * <i> ) ExpSeq ))) . (2 * $1) );
A10:
(Partial_Sums (Re ((th * <i> ) ExpSeq ))) . (2 * 0 ) =
(Re ((th * <i> ) ExpSeq )) . 0
by SERIES_1:def 1
.=
Re (((th * <i> ) ExpSeq ) . 0 )
by COMSEQ_3:def 3
.=
1
by Th4, COMPLEX1:15
;
A11:
S1[
0 ]
by A2, A3, A4, A5, A6, A9, A10;
A12:
for
k being
Element of
NAT st
S1[
k] holds
S1[
k + 1]
thus
for
n being
Element of
NAT holds
S1[
n]
from NAT_1:sch 1(A11, A12); verum end;
thus
( (Partial_Sums (th P_sin )) . n = (Partial_Sums (Im ((th * <i> ) ExpSeq ))) . ((2 * n) + 1) & (Partial_Sums (th P_cos )) . n = (Partial_Sums (Re ((th * <i> ) ExpSeq ))) . (2 * n) )
by A1; verum