Description: The gcd of 60 and 7 is 1. (Contributed by metakunt, 25-Apr-2024)
Ref | Expression | ||
---|---|---|---|
Assertion | 60gcd7e1 |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 7nn | ||
2 | 6nn | ||
3 | 2 | decnncl2 | |
4 | 1 3 | gcdcomnni | |
5 | 1nn0 | ||
6 | 1nn | ||
7 | 5 6 | decnncl | |
8 | 1 | nnzi | |
9 | 1 7 8 | gcdaddmzz2nni | |
10 | 7t7e49 | ||
11 | 10 | oveq2i | |
12 | 4nn0 | ||
13 | 9nn0 | ||
14 | eqid | ||
15 | eqid | ||
16 | 4cn | ||
17 | ax-1cn | ||
18 | 4p1e5 | ||
19 | 16 17 18 | addcomli | |
20 | 19 | oveq1i | |
21 | 5p1e6 | ||
22 | 20 21 | eqtri | |
23 | 9cn | ||
24 | 9p1e10 | ||
25 | 23 17 24 | addcomli | |
26 | 5 5 12 13 14 15 22 25 | decaddc2 | |
27 | 11 26 | eqtri | |
28 | 27 | oveq2i | |
29 | 9 28 | eqtri | |
30 | 7re | ||
31 | 1 | nnnn0i | |
32 | 31 | dec0h | |
33 | 0nn0 | ||
34 | 7lt9 | ||
35 | 9re | ||
36 | 30 35 | pm3.2i | |
37 | ltle | ||
38 | 36 37 | ax-mp | |
39 | 34 38 | ax-mp | |
40 | 0lt1 | ||
41 | 33 5 31 5 39 40 | declth | |
42 | 32 41 | eqbrtri | |
43 | ltne | ||
44 | 30 42 43 | mp2an | |
45 | necom | ||
46 | 44 45 | mpbir | |
47 | 7prm | ||
48 | 11prm | ||
49 | prmrp | ||
50 | 47 48 49 | mp2an | |
51 | 46 50 | mpbir | |
52 | 29 51 | eqtr3i | |
53 | 4 52 | eqtr3i |