Description: Adding a multiple of one operand of the gcd operator to the other does not alter the result. (Contributed by Paul Chapman, 31-Mar-2011)
Ref | Expression | ||
---|---|---|---|
Assertion | gcdaddm | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq1 | |
|
2 | 1 | oveq1d | |
3 | 2 | oveq2d | |
4 | 3 | eqeq2d | |
5 | oveq1 | |
|
6 | id | |
|
7 | oveq2 | |
|
8 | 7 | oveq1d | |
9 | 6 8 | oveq12d | |
10 | 5 9 | eqeq12d | |
11 | oveq2 | |
|
12 | oveq2 | |
|
13 | 12 | oveq2d | |
14 | 11 13 | eqeq12d | |
15 | 0z | |
|
16 | 15 | elimel | |
17 | 15 | elimel | |
18 | 15 | elimel | |
19 | 16 17 18 | gcdaddmlem | |
20 | 4 10 14 19 | dedth3h | |
21 | zcn | |
|
22 | zcn | |
|
23 | mulcl | |
|
24 | 21 22 23 | syl2an | |
25 | zcn | |
|
26 | addcom | |
|
27 | 24 25 26 | syl2an | |
28 | 27 | 3impa | |
29 | 28 | oveq2d | |
30 | 20 29 | eqtrd | |