Description: The gcd of two integers is zero iff they are both zero. (Contributed by Paul Chapman, 21-Mar-2011)
Ref | Expression | ||
---|---|---|---|
Assertion | gcdeq0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | gcdn0cl | |
|
2 | 1 | nnne0d | |
3 | 2 | ex | |
4 | 3 | necon4bd | |
5 | oveq12 | |
|
6 | gcd0val | |
|
7 | 5 6 | eqtrdi | |
8 | 4 7 | impbid1 | |