Step |
Hyp |
Ref |
Expression |
1 |
|
znchr.y |
|
2 |
|
znunit.u |
|
3 |
|
znunit.l |
|
4 |
1
|
zncrng |
|
5 |
4
|
adantr |
|
6 |
|
eqid |
|
7 |
|
eqid |
|
8 |
2 6 7
|
crngunit |
|
9 |
5 8
|
syl |
|
10 |
|
eqid |
|
11 |
1 10 3
|
znzrhfo |
|
12 |
11
|
adantr |
|
13 |
|
fof |
|
14 |
12 13
|
syl |
|
15 |
|
ffvelrn |
|
16 |
14 15
|
sylancom |
|
17 |
|
eqid |
|
18 |
10 7 17
|
dvdsr2 |
|
19 |
16 18
|
syl |
|
20 |
|
forn |
|
21 |
12 20
|
syl |
|
22 |
21
|
rexeqdv |
|
23 |
|
ffn |
|
24 |
|
oveq1 |
|
25 |
24
|
eqeq1d |
|
26 |
25
|
rexrn |
|
27 |
14 23 26
|
3syl |
|
28 |
22 27
|
bitr3d |
|
29 |
|
crngring |
|
30 |
5 29
|
syl |
|
31 |
3
|
zrhrhm |
|
32 |
30 31
|
syl |
|
33 |
32
|
adantr |
|
34 |
|
simpr |
|
35 |
|
simplr |
|
36 |
|
zringbas |
|
37 |
|
zringmulr |
|
38 |
36 37 17
|
rhmmul |
|
39 |
33 34 35 38
|
syl3anc |
|
40 |
30
|
adantr |
|
41 |
3 6
|
zrh1 |
|
42 |
40 41
|
syl |
|
43 |
39 42
|
eqeq12d |
|
44 |
|
simpll |
|
45 |
34 35
|
zmulcld |
|
46 |
|
1zzd |
|
47 |
1 3
|
zndvds |
|
48 |
44 45 46 47
|
syl3anc |
|
49 |
43 48
|
bitr3d |
|
50 |
49
|
rexbidva |
|
51 |
|
simplr |
|
52 |
|
nn0z |
|
53 |
52
|
ad2antrr |
|
54 |
|
gcddvds |
|
55 |
51 53 54
|
syl2anc |
|
56 |
55
|
simpld |
|
57 |
51 53
|
gcdcld |
|
58 |
57
|
nn0zd |
|
59 |
34
|
adantrr |
|
60 |
|
dvdsmultr2 |
|
61 |
58 59 51 60
|
syl3anc |
|
62 |
56 61
|
mpd |
|
63 |
45
|
adantrr |
|
64 |
|
1zzd |
|
65 |
|
peano2zm |
|
66 |
63 65
|
syl |
|
67 |
55
|
simprd |
|
68 |
|
simprr |
|
69 |
58 53 66 67 68
|
dvdstrd |
|
70 |
|
dvdssub2 |
|
71 |
58 63 64 69 70
|
syl31anc |
|
72 |
62 71
|
mpbid |
|
73 |
|
dvds1 |
|
74 |
57 73
|
syl |
|
75 |
72 74
|
mpbid |
|
76 |
75
|
rexlimdvaa |
|
77 |
|
simpr |
|
78 |
52
|
adantr |
|
79 |
|
bezout |
|
80 |
77 78 79
|
syl2anc |
|
81 |
|
eqeq1 |
|
82 |
81
|
2rexbidv |
|
83 |
80 82
|
syl5ibcom |
|
84 |
52
|
ad3antrrr |
|
85 |
|
dvdsmul1 |
|
86 |
84 85
|
sylancom |
|
87 |
|
zmulcl |
|
88 |
84 87
|
sylancom |
|
89 |
|
dvdsnegb |
|
90 |
84 88 89
|
syl2anc |
|
91 |
86 90
|
mpbid |
|
92 |
35
|
adantr |
|
93 |
92
|
zcnd |
|
94 |
|
zcn |
|
95 |
94
|
ad2antlr |
|
96 |
93 95
|
mulcomd |
|
97 |
96
|
oveq1d |
|
98 |
95 93
|
mulcld |
|
99 |
88
|
zcnd |
|
100 |
98 99
|
subnegd |
|
101 |
97 100
|
eqtr4d |
|
102 |
101
|
oveq2d |
|
103 |
99
|
negcld |
|
104 |
98 103
|
nncand |
|
105 |
102 104
|
eqtrd |
|
106 |
91 105
|
breqtrrd |
|
107 |
|
oveq2 |
|
108 |
107
|
breq2d |
|
109 |
106 108
|
syl5ibrcom |
|
110 |
109
|
rexlimdva |
|
111 |
110
|
reximdva |
|
112 |
83 111
|
syld |
|
113 |
76 112
|
impbid |
|
114 |
28 50 113
|
3bitrd |
|
115 |
9 19 114
|
3bitrd |
|