Step |
Hyp |
Ref |
Expression |
1 |
|
oveq2 |
|
2 |
1
|
adantl |
|
3 |
|
peano2zm |
|
4 |
3
|
zred |
|
5 |
4
|
adantr |
|
6 |
|
nnrp |
|
7 |
6
|
adantl |
|
8 |
5 7
|
modcld |
|
9 |
8
|
recnd |
|
10 |
9
|
subid1d |
|
11 |
10
|
adantr |
|
12 |
|
mod0mul |
|
13 |
12
|
imp |
|
14 |
|
oveq1 |
|
15 |
14
|
oveq1d |
|
16 |
|
zcn |
|
17 |
|
nncn |
|
18 |
17
|
adantl |
|
19 |
|
mulcl |
|
20 |
16 18 19
|
syl2anr |
|
21 |
18
|
adantr |
|
22 |
20 21
|
npcand |
|
23 |
22
|
eqcomd |
|
24 |
16
|
adantl |
|
25 |
24 21
|
mulsubfacd |
|
26 |
25
|
oveq1d |
|
27 |
23 26
|
eqtrd |
|
28 |
27
|
oveq1d |
|
29 |
|
peano2zm |
|
30 |
29
|
zcnd |
|
31 |
|
mulcl |
|
32 |
30 18 31
|
syl2anr |
|
33 |
|
1cnd |
|
34 |
32 21 33
|
addsubassd |
|
35 |
28 34
|
eqtrd |
|
36 |
35
|
oveq1d |
|
37 |
|
nnre |
|
38 |
|
peano2rem |
|
39 |
37 38
|
syl |
|
40 |
39
|
recnd |
|
41 |
40
|
adantl |
|
42 |
41
|
adantr |
|
43 |
32 42
|
addcomd |
|
44 |
43
|
oveq1d |
|
45 |
39
|
adantl |
|
46 |
45
|
adantr |
|
47 |
7
|
adantr |
|
48 |
29
|
adantl |
|
49 |
|
modcyc |
|
50 |
46 47 48 49
|
syl3anc |
|
51 |
39 6
|
jca |
|
52 |
51
|
adantl |
|
53 |
52
|
adantr |
|
54 |
|
nnm1ge0 |
|
55 |
54
|
adantl |
|
56 |
55
|
adantr |
|
57 |
37
|
ltm1d |
|
58 |
57
|
adantl |
|
59 |
58
|
adantr |
|
60 |
|
modid |
|
61 |
53 56 59 60
|
syl12anc |
|
62 |
50 61
|
eqtrd |
|
63 |
36 44 62
|
3eqtrd |
|
64 |
15 63
|
sylan9eqr |
|
65 |
64
|
rexlimdva2 |
|
66 |
65
|
adantr |
|
67 |
13 66
|
mpd |
|
68 |
2 11 67
|
3eqtrrd |
|
69 |
|
df-ne |
|
70 |
|
modn0mul |
|
71 |
|
oveq1 |
|
72 |
71
|
oveq1d |
|
73 |
|
oveq1 |
|
74 |
72 73
|
oveq12d |
|
75 |
16
|
adantr |
|
76 |
75 18 19
|
syl2anr |
|
77 |
|
elfzoelz |
|
78 |
77
|
zcnd |
|
79 |
78
|
adantl |
|
80 |
79
|
adantl |
|
81 |
|
1cnd |
|
82 |
76 80 81
|
addsubassd |
|
83 |
|
peano2zm |
|
84 |
77 83
|
syl |
|
85 |
84
|
zcnd |
|
86 |
85
|
adantl |
|
87 |
86
|
adantl |
|
88 |
76 87
|
addcomd |
|
89 |
82 88
|
eqtrd |
|
90 |
89
|
oveq1d |
|
91 |
84
|
zred |
|
92 |
91
|
adantl |
|
93 |
92
|
adantl |
|
94 |
7
|
adantr |
|
95 |
|
simprl |
|
96 |
|
modcyc |
|
97 |
93 94 95 96
|
syl3anc |
|
98 |
90 97
|
eqtrd |
|
99 |
76 80
|
addcomd |
|
100 |
99
|
oveq1d |
|
101 |
77
|
zred |
|
102 |
101
|
adantl |
|
103 |
102
|
adantl |
|
104 |
|
modcyc |
|
105 |
103 94 95 104
|
syl3anc |
|
106 |
7 102
|
anim12ci |
|
107 |
|
elfzole1 |
|
108 |
|
0lt1 |
|
109 |
|
0red |
|
110 |
|
1red |
|
111 |
|
ltleletr |
|
112 |
109 110 101 111
|
syl3anc |
|
113 |
108 112
|
mpani |
|
114 |
107 113
|
mpd |
|
115 |
|
elfzolt2 |
|
116 |
114 115
|
jca |
|
117 |
116
|
adantl |
|
118 |
117
|
adantl |
|
119 |
106 118
|
jca |
|
120 |
|
modid |
|
121 |
119 120
|
syl |
|
122 |
100 105 121
|
3eqtrd |
|
123 |
98 122
|
oveq12d |
|
124 |
74 123
|
sylan9eqr |
|
125 |
7 92
|
anim12ci |
|
126 |
|
elfzo2 |
|
127 |
|
eluz2 |
|
128 |
|
zre |
|
129 |
|
zre |
|
130 |
|
subge0 |
|
131 |
128 129 130
|
syl2anr |
|
132 |
131
|
biimp3ar |
|
133 |
127 132
|
sylbi |
|
134 |
133
|
3ad2ant1 |
|
135 |
126 134
|
sylbi |
|
136 |
135
|
adantl |
|
137 |
136
|
adantl |
|
138 |
|
eluzelz |
|
139 |
138
|
zred |
|
140 |
|
zre |
|
141 |
|
ltle |
|
142 |
139 140 141
|
syl2an |
|
143 |
142
|
3impia |
|
144 |
138
|
anim1i |
|
145 |
144
|
3adant3 |
|
146 |
|
zlem1lt |
|
147 |
145 146
|
syl |
|
148 |
143 147
|
mpbid |
|
149 |
148
|
a1d |
|
150 |
126 149
|
sylbi |
|
151 |
150
|
adantl |
|
152 |
151
|
impcom |
|
153 |
|
modid |
|
154 |
125 137 152 153
|
syl12anc |
|
155 |
154
|
oveq1d |
|
156 |
|
1cnd |
|
157 |
78 156 78
|
sub32d |
|
158 |
78
|
subidd |
|
159 |
158
|
oveq1d |
|
160 |
157 159
|
eqtrd |
|
161 |
160
|
adantl |
|
162 |
161
|
adantl |
|
163 |
|
df-neg |
|
164 |
162 163
|
eqtr4di |
|
165 |
155 164
|
eqtrd |
|
166 |
165
|
adantr |
|
167 |
124 166
|
eqtrd |
|
168 |
167
|
eqcomd |
|
169 |
168
|
ex |
|
170 |
169
|
rexlimdvva |
|
171 |
70 170
|
syld |
|
172 |
69 171
|
syl5bir |
|
173 |
172
|
imp |
|
174 |
68 173
|
ifeqda |
|
175 |
174
|
eqcomd |
|