Metamath Proof Explorer
Description: A is equal to its gcd with B if and only if A divides B .
(Contributed by Mario Carneiro, 23-Feb-2014) (Proof shortened by AV, 8-Aug-2021)
|
|
Ref |
Expression |
|
Assertion |
gcdeq |
|
Proof
Step |
Hyp |
Ref |
Expression |
1 |
|
nnz |
|
2 |
|
gcdzeq |
|
3 |
1 2
|
sylan2 |
|