Description: Taking _i to the K -th power is the same as using the K mod 4 -th power instead, by i4 . (Contributed by Mario Carneiro, 7-Jul-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | iexpcyc | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | zre | |
|
2 | 4re | |
|
3 | 4pos | |
|
4 | 2 3 | elrpii | |
5 | modval | |
|
6 | 1 4 5 | sylancl | |
7 | 6 | oveq2d | |
8 | 4z | |
|
9 | 4nn | |
|
10 | nndivre | |
|
11 | 1 9 10 | sylancl | |
12 | 11 | flcld | |
13 | zmulcl | |
|
14 | 8 12 13 | sylancr | |
15 | ax-icn | |
|
16 | ine0 | |
|
17 | expsub | |
|
18 | 15 16 17 | mpanl12 | |
19 | 14 18 | mpdan | |
20 | expmulz | |
|
21 | 15 16 20 | mpanl12 | |
22 | 8 12 21 | sylancr | |
23 | i4 | |
|
24 | 23 | oveq1i | |
25 | 1exp | |
|
26 | 12 25 | syl | |
27 | 24 26 | eqtrid | |
28 | 22 27 | eqtrd | |
29 | 28 | oveq2d | |
30 | expclz | |
|
31 | 15 16 30 | mp3an12 | |
32 | 31 | div1d | |
33 | 29 32 | eqtrd | |
34 | 19 33 | eqtrd | |
35 | 7 34 | eqtrd | |