Step |
Hyp |
Ref |
Expression |
1 |
|
8nn |
|
2 |
|
nnrp |
|
3 |
1 2
|
ax-mp |
|
4 |
|
eqcom |
|
5 |
|
modmuladdim |
|
6 |
4 5
|
syl5bi |
|
7 |
3 6
|
mpan2 |
|
8 |
7
|
imp |
|
9 |
8
|
3adant2 |
|
10 |
|
zcn |
|
11 |
|
8cn |
|
12 |
11
|
a1i |
|
13 |
10 12
|
mulcomd |
|
14 |
13
|
adantl |
|
15 |
14
|
oveq1d |
|
16 |
15
|
eqeq2d |
|
17 |
|
simpr |
|
18 |
17
|
adantr |
|
19 |
|
id |
|
20 |
1
|
a1i |
|
21 |
19 20
|
zmodcld |
|
22 |
21
|
nn0zd |
|
23 |
22
|
3ad2ant1 |
|
24 |
|
eleq1 |
|
25 |
24
|
3ad2ant3 |
|
26 |
23 25
|
mpbird |
|
27 |
26
|
adantr |
|
28 |
27
|
adantr |
|
29 |
|
simpr |
|
30 |
|
2lgsoddprmlem1 |
|
31 |
18 28 29 30
|
syl3anc |
|
32 |
31
|
breq2d |
|
33 |
|
2z |
|
34 |
|
simp1 |
|
35 |
1
|
a1i |
|
36 |
34 35
|
zmodcld |
|
37 |
36
|
nn0red |
|
38 |
|
eleq1 |
|
39 |
38
|
3ad2ant3 |
|
40 |
37 39
|
mpbird |
|
41 |
|
resqcl |
|
42 |
|
peano2rem |
|
43 |
41 42
|
syl |
|
44 |
|
8re |
|
45 |
44
|
a1i |
|
46 |
|
8pos |
|
47 |
44 46
|
gt0ne0ii |
|
48 |
47
|
a1i |
|
49 |
43 45 48
|
redivcld |
|
50 |
40 49
|
syl |
|
51 |
50
|
adantr |
|
52 |
|
eleq1 |
|
53 |
52
|
3ad2ant3 |
|
54 |
36 53
|
mpbird |
|
55 |
|
nn0z |
|
56 |
1
|
nnzi |
|
57 |
56
|
a1i |
|
58 |
|
zsqcl |
|
59 |
58
|
adantl |
|
60 |
57 59
|
zmulcld |
|
61 |
33
|
a1i |
|
62 |
|
zmulcl |
|
63 |
62
|
ancoms |
|
64 |
61 63
|
zmulcld |
|
65 |
60 64
|
zaddcld |
|
66 |
|
4z |
|
67 |
66
|
a1i |
|
68 |
67 59
|
zmulcld |
|
69 |
68 63
|
zaddcld |
|
70 |
61 69
|
jca |
|
71 |
|
dvdsmul1 |
|
72 |
70 71
|
syl |
|
73 |
|
4t2e8 |
|
74 |
|
4cn |
|
75 |
|
2cn |
|
76 |
74 75
|
mulcomi |
|
77 |
73 76
|
eqtr3i |
|
78 |
77
|
a1i |
|
79 |
78
|
oveq1d |
|
80 |
75
|
a1i |
|
81 |
74
|
a1i |
|
82 |
58
|
zcnd |
|
83 |
82
|
adantl |
|
84 |
80 81 83
|
mulassd |
|
85 |
79 84
|
eqtrd |
|
86 |
85
|
oveq1d |
|
87 |
68
|
zcnd |
|
88 |
62
|
zcnd |
|
89 |
88
|
ancoms |
|
90 |
80 87 89
|
adddid |
|
91 |
86 90
|
eqtr4d |
|
92 |
72 91
|
breqtrrd |
|
93 |
65 92
|
jca |
|
94 |
93
|
ex |
|
95 |
55 94
|
syl |
|
96 |
54 95
|
syl |
|
97 |
96
|
imp |
|
98 |
97
|
adantr |
|
99 |
|
dvdsaddre2b |
|
100 |
33 51 98 99
|
mp3an2ani |
|
101 |
32 100
|
bitr4d |
|
102 |
101
|
ex |
|
103 |
16 102
|
sylbid |
|
104 |
103
|
rexlimdva |
|
105 |
9 104
|
mpd |
|