Description: If two positive integers are not coprime, the larger of them is not a prime number. (Contributed by AV, 9-Aug-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | ncoprmlnprm | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ncoprmgcdgt1b | |
|
2 | 1 | bicomd | |
3 | 2 | 3adant3 | |
4 | simp1 | |
|
5 | eluzelz | |
|
6 | 4 5 | anim12ci | |
7 | dvdsle | |
|
8 | 6 7 | syl | |
9 | nnre | |
|
10 | nnre | |
|
11 | eluzelre | |
|
12 | 9 10 11 | 3anim123i | |
13 | 3anrot | |
|
14 | 12 13 | sylibr | |
15 | lelttr | |
|
16 | 14 15 | syl | |
17 | 16 | expcomd | |
18 | 17 | 3exp | |
19 | 18 | com34 | |
20 | 19 | 3imp1 | |
21 | 20 | imp | |
22 | nnz | |
|
23 | 22 | 3ad2ant2 | |
24 | 23 5 | anim12ci | |
25 | 24 | adantr | |
26 | zltlem1 | |
|
27 | 25 26 | syl | |
28 | 21 27 | mpbid | |
29 | 28 | ex | |
30 | 8 29 | syldc | |
31 | 30 | adantr | |
32 | 31 | impcom | |
33 | peano2zm | |
|
34 | 22 33 | syl | |
35 | 34 | 3ad2ant2 | |
36 | 35 | anim1ci | |
37 | 36 | adantr | |
38 | elfz5 | |
|
39 | 37 38 | syl | |
40 | 32 39 | mpbird | |
41 | breq1 | |
|
42 | 41 | adantl | |
43 | simprr | |
|
44 | 40 42 43 | rspcedvd | |
45 | rexnal | |
|
46 | notnotb | |
|
47 | 46 | bicomi | |
48 | 47 | rexbii | |
49 | 45 48 | bitr3i | |
50 | 44 49 | sylibr | |
51 | 50 | olcd | |
52 | df-nel | |
|
53 | ianor | |
|
54 | isprm3 | |
|
55 | 53 54 | xchnxbir | |
56 | 52 55 | bitri | |
57 | 51 56 | sylibr | |
58 | 57 | rexlimdva2 | |
59 | 3 58 | sylbid | |