Step |
Hyp |
Ref |
Expression |
1 |
|
elnn0 |
|
2 |
|
elnn0 |
|
3 |
|
expgcd |
|
4 |
3
|
3expia |
|
5 |
|
elnn0 |
|
6 |
|
0exp |
|
7 |
6
|
3ad2ant3 |
|
8 |
7
|
oveq1d |
|
9 |
|
simp2 |
|
10 |
|
nnnn0 |
|
11 |
10
|
3ad2ant3 |
|
12 |
9 11
|
nnexpcld |
|
13 |
12
|
nnzd |
|
14 |
|
gcd0id |
|
15 |
13 14
|
syl |
|
16 |
12
|
nnred |
|
17 |
|
0red |
|
18 |
12
|
nngt0d |
|
19 |
17 16 18
|
ltled |
|
20 |
16 19
|
absidd |
|
21 |
8 15 20
|
3eqtrrd |
|
22 |
|
oveq1 |
|
23 |
22
|
3ad2ant1 |
|
24 |
|
nnz |
|
25 |
24
|
3ad2ant2 |
|
26 |
|
gcd0id |
|
27 |
25 26
|
syl |
|
28 |
|
nnre |
|
29 |
|
0red |
|
30 |
|
nngt0 |
|
31 |
29 28 30
|
ltled |
|
32 |
28 31
|
absidd |
|
33 |
32
|
3ad2ant2 |
|
34 |
23 27 33
|
3eqtrd |
|
35 |
34
|
oveq1d |
|
36 |
|
oveq1 |
|
37 |
36
|
3ad2ant1 |
|
38 |
37
|
oveq1d |
|
39 |
21 35 38
|
3eqtr4d |
|
40 |
39
|
3expia |
|
41 |
|
1z |
|
42 |
|
gcd1 |
|
43 |
41 42
|
ax-mp |
|
44 |
43
|
eqcomi |
|
45 |
|
simp1 |
|
46 |
45
|
oveq1d |
|
47 |
|
simp2 |
|
48 |
47
|
nnzd |
|
49 |
48 26
|
syl |
|
50 |
32
|
3ad2ant2 |
|
51 |
46 49 50
|
3eqtrd |
|
52 |
|
simp3 |
|
53 |
51 52
|
oveq12d |
|
54 |
47
|
nncnd |
|
55 |
54
|
exp0d |
|
56 |
53 55
|
eqtrd |
|
57 |
45 52
|
oveq12d |
|
58 |
|
0exp0e1 |
|
59 |
58
|
a1i |
|
60 |
57 59
|
eqtrd |
|
61 |
52
|
oveq2d |
|
62 |
61 55
|
eqtrd |
|
63 |
60 62
|
oveq12d |
|
64 |
44 56 63
|
3eqtr4a |
|
65 |
64
|
3expia |
|
66 |
40 65
|
jaod |
|
67 |
5 66
|
syl5bi |
|
68 |
|
nnnn0 |
|
69 |
68
|
3ad2ant1 |
|
70 |
10
|
3ad2ant3 |
|
71 |
69 70
|
nn0expcld |
|
72 |
|
nn0gcdid0 |
|
73 |
71 72
|
syl |
|
74 |
|
simp2 |
|
75 |
74
|
oveq1d |
|
76 |
6
|
3ad2ant3 |
|
77 |
75 76
|
eqtrd |
|
78 |
77
|
oveq2d |
|
79 |
74
|
oveq2d |
|
80 |
|
nn0gcdid0 |
|
81 |
68 80
|
syl |
|
82 |
81
|
3ad2ant1 |
|
83 |
79 82
|
eqtrd |
|
84 |
83
|
oveq1d |
|
85 |
73 78 84
|
3eqtr4rd |
|
86 |
85
|
3expia |
|
87 |
|
nncn |
|
88 |
87
|
exp0d |
|
89 |
88 43
|
eqtr4di |
|
90 |
81
|
oveq1d |
|
91 |
58
|
a1i |
|
92 |
88 91
|
oveq12d |
|
93 |
89 90 92
|
3eqtr4d |
|
94 |
93
|
3ad2ant1 |
|
95 |
|
simp2 |
|
96 |
95
|
oveq2d |
|
97 |
|
simp3 |
|
98 |
96 97
|
oveq12d |
|
99 |
97
|
oveq2d |
|
100 |
95 97
|
oveq12d |
|
101 |
99 100
|
oveq12d |
|
102 |
94 98 101
|
3eqtr4d |
|
103 |
102
|
3expia |
|
104 |
86 103
|
jaod |
|
105 |
5 104
|
syl5bi |
|
106 |
|
gcd0val |
|
107 |
6 106
|
eqtr4di |
|
108 |
106
|
a1i |
|
109 |
108
|
oveq1d |
|
110 |
6 6
|
oveq12d |
|
111 |
107 109 110
|
3eqtr4d |
|
112 |
111
|
3ad2ant3 |
|
113 |
|
simp1 |
|
114 |
|
simp2 |
|
115 |
113 114
|
oveq12d |
|
116 |
115
|
oveq1d |
|
117 |
113
|
oveq1d |
|
118 |
114
|
oveq1d |
|
119 |
117 118
|
oveq12d |
|
120 |
112 116 119
|
3eqtr4d |
|
121 |
120
|
3expia |
|
122 |
58 43
|
eqtr4i |
|
123 |
106
|
oveq1i |
|
124 |
58 58
|
oveq12i |
|
125 |
122 123 124
|
3eqtr4i |
|
126 |
|
simp1 |
|
127 |
|
simp2 |
|
128 |
126 127
|
oveq12d |
|
129 |
|
simp3 |
|
130 |
128 129
|
oveq12d |
|
131 |
126 129
|
oveq12d |
|
132 |
127 129
|
oveq12d |
|
133 |
131 132
|
oveq12d |
|
134 |
125 130 133
|
3eqtr4a |
|
135 |
134
|
3expia |
|
136 |
121 135
|
jaod |
|
137 |
5 136
|
syl5bi |
|
138 |
4 67 105 137
|
ccase |
|
139 |
1 2 138
|
syl2anb |
|
140 |
139
|
3impia |
|