This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: The gcd of a number and itself is its absolute value. (Contributed by Paul Chapman, 31-Mar-2011)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | gcdid |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 1z | ||
| 2 | 0z | ||
| 3 | gcdaddm | ||
| 4 | 1 2 3 | mp3an13 | |
| 5 | gcdid0 | ||
| 6 | zcn | ||
| 7 | mullid | ||
| 8 | 7 | oveq2d | |
| 9 | addlid | ||
| 10 | 8 9 | eqtrd | |
| 11 | 6 10 | syl | |
| 12 | 11 | oveq2d | |
| 13 | 4 5 12 | 3eqtr3rd |