Step |
Hyp |
Ref |
Expression |
1 |
|
oveq2 |
|
2 |
1
|
eqeq2d |
|
3 |
|
oveq2 |
|
4 |
3
|
eqeq2d |
|
5 |
|
simpl |
|
6 |
|
2nn |
|
7 |
6
|
a1i |
|
8 |
|
simpr |
|
9 |
7 8
|
nnexpcld |
|
10 |
5 9
|
zmodcld |
|
11 |
10
|
nn0cnd |
|
12 |
11
|
adantr |
|
13 |
|
1nn0 |
|
14 |
13
|
a1i |
|
15 |
8 14
|
nn0addcld |
|
16 |
7 15
|
nnexpcld |
|
17 |
5 16
|
zmodcld |
|
18 |
17
|
nn0cnd |
|
19 |
18
|
adantr |
|
20 |
12 19
|
pncan3d |
|
21 |
18 11
|
subcld |
|
22 |
21
|
adantr |
|
23 |
6
|
a1i |
|
24 |
|
simplr |
|
25 |
23 24
|
nnexpcld |
|
26 |
25
|
nncnd |
|
27 |
|
2cnd |
|
28 |
|
2ne0 |
|
29 |
28
|
a1i |
|
30 |
8
|
nn0zd |
|
31 |
27 29 30
|
expne0d |
|
32 |
31
|
adantr |
|
33 |
|
z0even |
|
34 |
|
id |
|
35 |
33 34
|
breqtrrid |
|
36 |
|
bitsval2 |
|
37 |
5
|
zred |
|
38 |
9
|
nnrpd |
|
39 |
|
moddiffl |
|
40 |
37 38 39
|
syl2anc |
|
41 |
40
|
breq2d |
|
42 |
|
2z |
|
43 |
42
|
a1i |
|
44 |
|
moddifz |
|
45 |
37 38 44
|
syl2anc |
|
46 |
5
|
zcnd |
|
47 |
46 11 18
|
nnncan1d |
|
48 |
47
|
oveq1d |
|
49 |
46 11
|
subcld |
|
50 |
46 18
|
subcld |
|
51 |
9
|
nncnd |
|
52 |
49 50 51 31
|
divsubdird |
|
53 |
48 52
|
eqtr3d |
|
54 |
27 50
|
mulcomd |
|
55 |
27 51
|
mulcomd |
|
56 |
27 8
|
expp1d |
|
57 |
55 56
|
eqtr4d |
|
58 |
54 57
|
oveq12d |
|
59 |
50 51 27 31 29
|
divcan5d |
|
60 |
16
|
nncnd |
|
61 |
30
|
peano2zd |
|
62 |
27 29 61
|
expne0d |
|
63 |
50 27 60 62
|
div23d |
|
64 |
58 59 63
|
3eqtr3d |
|
65 |
16
|
nnrpd |
|
66 |
|
moddifz |
|
67 |
37 65 66
|
syl2anc |
|
68 |
67 43
|
zmulcld |
|
69 |
64 68
|
eqeltrd |
|
70 |
45 69
|
zsubcld |
|
71 |
53 70
|
eqeltrd |
|
72 |
|
dvdsmul2 |
|
73 |
67 43 72
|
syl2anc |
|
74 |
46 18 11
|
nnncan2d |
|
75 |
74
|
oveq1d |
|
76 |
49 21 51 31
|
divsubdird |
|
77 |
75 76 64
|
3eqtr3d |
|
78 |
73 77
|
breqtrrd |
|
79 |
|
dvdssub2 |
|
80 |
43 45 71 78 79
|
syl31anc |
|
81 |
41 80
|
bitr3d |
|
82 |
81
|
notbid |
|
83 |
36 82
|
bitrd |
|
84 |
83
|
con2bid |
|
85 |
35 84
|
syl5ib |
|
86 |
85
|
con2d |
|
87 |
|
df-neg |
|
88 |
51
|
mulm1d |
|
89 |
9
|
nnred |
|
90 |
89
|
renegcld |
|
91 |
37 38
|
modcld |
|
92 |
91
|
renegcld |
|
93 |
37 65
|
modcld |
|
94 |
93 91
|
resubcld |
|
95 |
|
modlt |
|
96 |
37 38 95
|
syl2anc |
|
97 |
91 89
|
ltnegd |
|
98 |
96 97
|
mpbid |
|
99 |
|
df-neg |
|
100 |
|
0red |
|
101 |
|
modge0 |
|
102 |
37 65 101
|
syl2anc |
|
103 |
100 93 91 102
|
lesub1dd |
|
104 |
99 103
|
eqbrtrid |
|
105 |
90 92 94 98 104
|
ltletrd |
|
106 |
88 105
|
eqbrtrd |
|
107 |
|
1red |
|
108 |
107
|
renegcld |
|
109 |
108 94 38
|
ltmuldivd |
|
110 |
106 109
|
mpbid |
|
111 |
87 110
|
eqbrtrrid |
|
112 |
|
0zd |
|
113 |
|
zlem1lt |
|
114 |
112 71 113
|
syl2anc |
|
115 |
111 114
|
mpbird |
|
116 |
|
elnn0z |
|
117 |
71 115 116
|
sylanbrc |
|
118 |
|
nn0uz |
|
119 |
117 118
|
eleqtrdi |
|
120 |
16
|
nnred |
|
121 |
|
modge0 |
|
122 |
37 38 121
|
syl2anc |
|
123 |
93 91
|
subge02d |
|
124 |
122 123
|
mpbid |
|
125 |
|
modlt |
|
126 |
37 65 125
|
syl2anc |
|
127 |
94 93 120 124 126
|
lelttrd |
|
128 |
127 56
|
breqtrd |
|
129 |
7
|
nnred |
|
130 |
94 129 38
|
ltdivmuld |
|
131 |
128 130
|
mpbird |
|
132 |
|
elfzo2 |
|
133 |
119 43 131 132
|
syl3anbrc |
|
134 |
|
fzo0to2pr |
|
135 |
133 134
|
eleqtrdi |
|
136 |
|
elpri |
|
137 |
135 136
|
syl |
|
138 |
137
|
ord |
|
139 |
86 138
|
syld |
|
140 |
139
|
imp |
|
141 |
22 26 32 140
|
diveq1d |
|
142 |
141
|
oveq2d |
|
143 |
20 142
|
eqtr3d |
|
144 |
18
|
adantr |
|
145 |
11
|
adantr |
|
146 |
21
|
adantr |
|
147 |
51
|
adantr |
|
148 |
31
|
adantr |
|
149 |
|
n2dvds1 |
|
150 |
|
breq2 |
|
151 |
149 150
|
mtbiri |
|
152 |
138 151
|
syl6 |
|
153 |
152 83
|
sylibrd |
|
154 |
153
|
con1d |
|
155 |
154
|
imp |
|
156 |
146 147 148 155
|
diveq0d |
|
157 |
144 145 156
|
subeq0d |
|
158 |
145
|
addid1d |
|
159 |
157 158
|
eqtr4d |
|
160 |
2 4 143 159
|
ifbothda |
|