Step |
Hyp |
Ref |
Expression |
1 |
|
eldifi |
|
2 |
|
prmnn |
|
3 |
1 2
|
syl |
|
4 |
3
|
ad2antlr |
|
5 |
|
nnnn0 |
|
6 |
|
fmtno |
|
7 |
5 6
|
syl |
|
8 |
7
|
breq2d |
|
9 |
8
|
adantr |
|
10 |
9
|
biimpa |
|
11 |
|
dvdsmod0 |
|
12 |
4 10 11
|
syl2anc |
|
13 |
12
|
ex |
|
14 |
|
2nn |
|
15 |
14
|
a1i |
|
16 |
|
2nn0 |
|
17 |
16
|
a1i |
|
18 |
17 5
|
nn0expcld |
|
19 |
15 18
|
nnexpcld |
|
20 |
19
|
nnzd |
|
21 |
20
|
adantr |
|
22 |
|
1zzd |
|
23 |
3
|
adantl |
|
24 |
|
summodnegmod |
|
25 |
21 22 23 24
|
syl3anc |
|
26 |
|
neg1z |
|
27 |
21 26
|
jctir |
|
28 |
27
|
adantr |
|
29 |
2
|
nnrpd |
|
30 |
1 29
|
syl |
|
31 |
17 30
|
anim12i |
|
32 |
31
|
adantr |
|
33 |
|
simpr |
|
34 |
|
modexp |
|
35 |
28 32 33 34
|
syl3anc |
|
36 |
35
|
ex |
|
37 |
|
2cnd |
|
38 |
37 18 17
|
3jca |
|
39 |
38
|
adantr |
|
40 |
|
expmul |
|
41 |
39 40
|
syl |
|
42 |
|
2cnd |
|
43 |
5
|
adantr |
|
44 |
42 43
|
expp1d |
|
45 |
44
|
eqcomd |
|
46 |
45
|
oveq2d |
|
47 |
41 46
|
eqtr3d |
|
48 |
47
|
oveq1d |
|
49 |
|
neg1sqe1 |
|
50 |
49
|
a1i |
|
51 |
50
|
oveq1d |
|
52 |
3
|
nnred |
|
53 |
|
prmgt1 |
|
54 |
1 53
|
syl |
|
55 |
|
1mod |
|
56 |
52 54 55
|
syl2anc |
|
57 |
56
|
adantl |
|
58 |
51 57
|
eqtrd |
|
59 |
48 58
|
eqeq12d |
|
60 |
|
simpll |
|
61 |
20
|
adantr |
|
62 |
|
1zzd |
|
63 |
2
|
adantl |
|
64 |
61 62 63
|
3jca |
|
65 |
1 64
|
sylan2 |
|
66 |
65
|
adantr |
|
67 |
66 24
|
syl |
|
68 |
|
m1modnnsub1 |
|
69 |
23 68
|
syl |
|
70 |
|
eldifsni |
|
71 |
70
|
adantl |
|
72 |
71
|
necomd |
|
73 |
3
|
nncnd |
|
74 |
73
|
adantl |
|
75 |
|
1cnd |
|
76 |
74 75 75
|
subadd2d |
|
77 |
|
1p1e2 |
|
78 |
77
|
eqeq1i |
|
79 |
76 78
|
bitrdi |
|
80 |
79
|
necon3bid |
|
81 |
72 80
|
mpbird |
|
82 |
69 81
|
eqnetrd |
|
83 |
82
|
adantr |
|
84 |
83
|
adantr |
|
85 |
|
eqeq1 |
|
86 |
85
|
adantl |
|
87 |
86
|
necon3bid |
|
88 |
84 87
|
mpbird |
|
89 |
88
|
ex |
|
90 |
67 89
|
sylbid |
|
91 |
90
|
imp |
|
92 |
|
simplr |
|
93 |
|
odz2prm2pw |
|
94 |
60 91 92 93
|
syl12anc |
|
95 |
94
|
ex |
|
96 |
95
|
ex |
|
97 |
59 96
|
sylbid |
|
98 |
36 97
|
syld |
|
99 |
25 98
|
sylbid |
|
100 |
99
|
pm2.43d |
|
101 |
13 100
|
syld |
|
102 |
101
|
3impia |
|