Step |
Hyp |
Ref |
Expression |
1 |
|
dvdszrcl |
|
2 |
|
dvdsmod0 |
|
3 |
2
|
3ad2antl2 |
|
4 |
3
|
ex |
|
5 |
|
simpl3 |
|
6 |
5
|
0expd |
|
7 |
6
|
oveq1d |
|
8 |
|
simpl1 |
|
9 |
|
0zd |
|
10 |
|
nnnn0 |
|
11 |
10
|
3ad2ant3 |
|
12 |
11
|
adantr |
|
13 |
|
nnrp |
|
14 |
13
|
3ad2ant2 |
|
15 |
14
|
adantr |
|
16 |
|
simpr |
|
17 |
|
0mod |
|
18 |
15 17
|
syl |
|
19 |
16 18
|
eqtr4d |
|
20 |
|
modexp |
|
21 |
8 9 12 15 19 20
|
syl221anc |
|
22 |
7 21 19
|
3eqtr4d |
|
23 |
22
|
ex |
|
24 |
4 23
|
syld |
|
25 |
24
|
3exp |
|
26 |
25
|
com24 |
|
27 |
26
|
adantl |
|
28 |
1 27
|
mpcom |
|
29 |
28
|
3imp31 |
|