Description: The value of the gcd operator. ( M gcd N ) is the greatest common divisor of M and N . If M and N are both 0 , the result is defined conventionally as 0 . (Contributed by Paul Chapman, 21-Mar-2011) (Revised by Mario Carneiro, 10-Nov-2013)
Ref | Expression | ||
---|---|---|---|
Assertion | gcdval | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eqeq1 | |
|
2 | 1 | anbi1d | |
3 | breq2 | |
|
4 | 3 | anbi1d | |
5 | 4 | rabbidv | |
6 | 5 | supeq1d | |
7 | 2 6 | ifbieq2d | |
8 | eqeq1 | |
|
9 | 8 | anbi2d | |
10 | breq2 | |
|
11 | 10 | anbi2d | |
12 | 11 | rabbidv | |
13 | 12 | supeq1d | |
14 | 9 13 | ifbieq2d | |
15 | df-gcd | |
|
16 | c0ex | |
|
17 | ltso | |
|
18 | 17 | supex | |
19 | 16 18 | ifex | |
20 | 7 14 15 19 | ovmpo | |