Description: The prime count function can be used as an indicator that a given rational number is an integer. (Contributed by Mario Carneiro, 23-Feb-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | pcz | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | pcge0 | |
|
2 | 1 | ancoms | |
3 | 2 | ralrimiva | |
4 | elq | |
|
5 | nnz | |
|
6 | dvds0 | |
|
7 | 5 6 | syl | |
8 | 7 | ad2antlr | |
9 | simpr | |
|
10 | 8 9 | breqtrrd | |
11 | 10 | a1d | |
12 | simpr | |
|
13 | simplll | |
|
14 | simplr | |
|
15 | simpllr | |
|
16 | pcdiv | |
|
17 | 12 13 14 15 16 | syl121anc | |
18 | 17 | breq2d | |
19 | pczcl | |
|
20 | 12 13 14 19 | syl12anc | |
21 | 20 | nn0red | |
22 | 12 15 | pccld | |
23 | 22 | nn0red | |
24 | 21 23 | subge0d | |
25 | 18 24 | bitrd | |
26 | 25 | ralbidva | |
27 | id | |
|
28 | pc2dvds | |
|
29 | 5 27 28 | syl2anr | |
30 | 29 | adantr | |
31 | 26 30 | bitr4d | |
32 | 31 | biimpd | |
33 | 11 32 | pm2.61dane | |
34 | nnne0 | |
|
35 | simpl | |
|
36 | dvdsval2 | |
|
37 | 5 34 35 36 | syl2an23an | |
38 | 33 37 | sylibd | |
39 | oveq2 | |
|
40 | 39 | breq2d | |
41 | 40 | ralbidv | |
42 | eleq1 | |
|
43 | 41 42 | imbi12d | |
44 | 38 43 | syl5ibrcom | |
45 | 44 | rexlimivv | |
46 | 4 45 | sylbi | |
47 | 3 46 | impbid2 | |