Step |
Hyp |
Ref |
Expression |
1 |
|
neg1z |
|
2 |
|
oddprm |
|
3 |
2
|
nnnn0d |
|
4 |
|
zexpcl |
|
5 |
1 3 4
|
sylancr |
|
6 |
5
|
peano2zd |
|
7 |
|
eldifi |
|
8 |
|
prmnn |
|
9 |
7 8
|
syl |
|
10 |
6 9
|
zmodcld |
|
11 |
10
|
nn0cnd |
|
12 |
|
1cnd |
|
13 |
11 12 12
|
subaddd |
|
14 |
|
2re |
|
15 |
14
|
a1i |
|
16 |
9
|
nnrpd |
|
17 |
|
0le2 |
|
18 |
17
|
a1i |
|
19 |
|
oddprmgt2 |
|
20 |
|
modid |
|
21 |
15 16 18 19 20
|
syl22anc |
|
22 |
|
df-2 |
|
23 |
21 22
|
eqtrdi |
|
24 |
23
|
eqeq1d |
|
25 |
|
eldifsni |
|
26 |
25
|
neneqd |
|
27 |
|
prmuz2 |
|
28 |
7 27
|
syl |
|
29 |
|
2prm |
|
30 |
|
dvdsprm |
|
31 |
28 29 30
|
sylancl |
|
32 |
26 31
|
mtbird |
|
33 |
32
|
adantr |
|
34 |
|
1cnd |
|
35 |
2
|
adantr |
|
36 |
|
simpr |
|
37 |
|
oexpneg |
|
38 |
34 35 36 37
|
syl3anc |
|
39 |
35
|
nnzd |
|
40 |
|
1exp |
|
41 |
39 40
|
syl |
|
42 |
41
|
negeqd |
|
43 |
38 42
|
eqtrd |
|
44 |
43
|
oveq1d |
|
45 |
|
ax-1cn |
|
46 |
|
neg1cn |
|
47 |
|
1pneg1e0 |
|
48 |
45 46 47
|
addcomli |
|
49 |
44 48
|
eqtrdi |
|
50 |
49
|
oveq2d |
|
51 |
|
2cn |
|
52 |
51
|
subid1i |
|
53 |
50 52
|
eqtrdi |
|
54 |
53
|
breq2d |
|
55 |
33 54
|
mtbird |
|
56 |
55
|
ex |
|
57 |
56
|
con4d |
|
58 |
|
2z |
|
59 |
58
|
a1i |
|
60 |
|
moddvds |
|
61 |
9 59 6 60
|
syl3anc |
|
62 |
|
4z |
|
63 |
|
4ne0 |
|
64 |
|
nnm1nn0 |
|
65 |
9 64
|
syl |
|
66 |
65
|
nn0zd |
|
67 |
|
dvdsval2 |
|
68 |
62 63 66 67
|
mp3an12i |
|
69 |
65
|
nn0cnd |
|
70 |
51
|
a1i |
|
71 |
|
2ne0 |
|
72 |
71
|
a1i |
|
73 |
69 70 70 72 72
|
divdiv1d |
|
74 |
|
2t2e4 |
|
75 |
74
|
oveq2i |
|
76 |
73 75
|
eqtrdi |
|
77 |
76
|
eleq1d |
|
78 |
68 77
|
bitr4d |
|
79 |
2
|
nnzd |
|
80 |
|
dvdsval2 |
|
81 |
58 71 79 80
|
mp3an12i |
|
82 |
78 81
|
bitr4d |
|
83 |
57 61 82
|
3imtr4d |
|
84 |
46
|
a1i |
|
85 |
|
neg1ne0 |
|
86 |
85
|
a1i |
|
87 |
58
|
a1i |
|
88 |
78
|
biimpa |
|
89 |
|
expmulz |
|
90 |
84 86 87 88 89
|
syl22anc |
|
91 |
2
|
nncnd |
|
92 |
91 70 72
|
divcan2d |
|
93 |
92
|
adantr |
|
94 |
93
|
oveq2d |
|
95 |
|
neg1sqe1 |
|
96 |
95
|
oveq1i |
|
97 |
|
1exp |
|
98 |
88 97
|
syl |
|
99 |
96 98
|
syl5eq |
|
100 |
90 94 99
|
3eqtr3d |
|
101 |
100
|
oveq1d |
|
102 |
22 101
|
eqtr4id |
|
103 |
102
|
oveq1d |
|
104 |
103
|
ex |
|
105 |
83 104
|
impbid |
|
106 |
13 24 105
|
3bitr2d |
|
107 |
|
lgsval3 |
|
108 |
1 107
|
mpan |
|
109 |
108
|
eqeq1d |
|
110 |
|
4nn |
|
111 |
110
|
a1i |
|
112 |
|
prmz |
|
113 |
7 112
|
syl |
|
114 |
|
1zzd |
|
115 |
|
moddvds |
|
116 |
111 113 114 115
|
syl3anc |
|
117 |
106 109 116
|
3bitr4d |
|
118 |
|
1re |
|
119 |
|
nnrp |
|
120 |
110 119
|
ax-mp |
|
121 |
|
0le1 |
|
122 |
|
1lt4 |
|
123 |
|
modid |
|
124 |
118 120 121 122 123
|
mp4an |
|
125 |
124
|
eqeq2i |
|
126 |
117 125
|
bitrdi |
|