Step |
Hyp |
Ref |
Expression |
1 |
|
eldifi |
|
2 |
1
|
adantl |
|
3 |
|
prmz |
|
4 |
2 3
|
syl |
|
5 |
|
simpl |
|
6 |
4 5
|
gcdcomd |
|
7 |
6
|
eqeq1d |
|
8 |
|
coprm |
|
9 |
2 5 8
|
syl2anc |
|
10 |
|
lgsne0 |
|
11 |
5 4 10
|
syl2anc |
|
12 |
7 9 11
|
3bitr4d |
|
13 |
12
|
necon4bbid |
|
14 |
|
0ne1 |
|
15 |
|
neeq1 |
|
16 |
14 15
|
mpbiri |
|
17 |
13 16
|
syl6bi |
|
18 |
17
|
necon2bd |
|
19 |
|
lgsqrlem5 |
|
20 |
19
|
3expia |
|
21 |
18 20
|
jcad |
|
22 |
|
simprl |
|
23 |
22
|
zred |
|
24 |
|
absresq |
|
25 |
23 24
|
syl |
|
26 |
25
|
oveq1d |
|
27 |
|
simplr |
|
28 |
1
|
ad3antlr |
|
29 |
28 3
|
syl |
|
30 |
|
zsqcl |
|
31 |
22 30
|
syl |
|
32 |
|
simplll |
|
33 |
|
simprr |
|
34 |
|
dvdssub2 |
|
35 |
29 31 32 33 34
|
syl31anc |
|
36 |
27 35
|
mtbird |
|
37 |
|
2nn |
|
38 |
37
|
a1i |
|
39 |
|
prmdvdsexp |
|
40 |
28 22 38 39
|
syl3anc |
|
41 |
36 40
|
mtbid |
|
42 |
|
dvds0 |
|
43 |
29 42
|
syl |
|
44 |
|
breq2 |
|
45 |
43 44
|
syl5ibrcom |
|
46 |
45
|
necon3bd |
|
47 |
41 46
|
mpd |
|
48 |
|
nnabscl |
|
49 |
22 47 48
|
syl2anc |
|
50 |
49
|
nnzd |
|
51 |
49
|
nnne0d |
|
52 |
50 29
|
gcdcomd |
|
53 |
|
dvdsabsb |
|
54 |
29 22 53
|
syl2anc |
|
55 |
41 54
|
mtbid |
|
56 |
|
coprm |
|
57 |
28 50 56
|
syl2anc |
|
58 |
55 57
|
mpbid |
|
59 |
52 58
|
eqtrd |
|
60 |
|
lgssq |
|
61 |
50 51 29 59 60
|
syl211anc |
|
62 |
|
prmnn |
|
63 |
28 62
|
syl |
|
64 |
|
moddvds |
|
65 |
63 31 32 64
|
syl3anc |
|
66 |
33 65
|
mpbird |
|
67 |
66
|
oveq1d |
|
68 |
|
eldifsni |
|
69 |
68
|
ad3antlr |
|
70 |
69
|
necomd |
|
71 |
|
2z |
|
72 |
|
uzid |
|
73 |
71 72
|
ax-mp |
|
74 |
|
dvdsprm |
|
75 |
74
|
necon3bbid |
|
76 |
73 28 75
|
sylancr |
|
77 |
70 76
|
mpbird |
|
78 |
|
lgsmod |
|
79 |
31 63 77 78
|
syl3anc |
|
80 |
|
lgsmod |
|
81 |
32 63 77 80
|
syl3anc |
|
82 |
67 79 81
|
3eqtr3d |
|
83 |
26 61 82
|
3eqtr3rd |
|
84 |
83
|
rexlimdvaa |
|
85 |
84
|
expimpd |
|
86 |
21 85
|
impbid |
|