This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: The greatest common divisor of a nonnegative integer M and a multiple of it is M itself. (Contributed by Rohan Ridenour, 3-Aug-2023)
| Ref | Expression | ||
|---|---|---|---|
| Hypotheses | gcdmultipled.1 | ||
| gcdmultipled.2 | |||
| Assertion | gcdmultipled |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | gcdmultipled.1 | ||
| 2 | gcdmultipled.2 | ||
| 3 | 1 | nn0zd | |
| 4 | 0zd | ||
| 5 | gcdaddm | ||
| 6 | 2 3 4 5 | syl3anc | |
| 7 | nn0gcdid0 | ||
| 8 | 1 7 | syl | |
| 9 | 2 3 | zmulcld | |
| 10 | 9 | zcnd | |
| 11 | 10 | addlidd | |
| 12 | 11 | oveq2d | |
| 13 | 6 8 12 | 3eqtr3rd |