Description: The factorial of a number only contains primes less than the base. (Contributed by Mario Carneiro, 6-Mar-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | prmfac1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fveq2 | |
|
2 | 1 | breq2d | |
3 | breq2 | |
|
4 | 2 3 | imbi12d | |
5 | 4 | imbi2d | |
6 | fveq2 | |
|
7 | 6 | breq2d | |
8 | breq2 | |
|
9 | 7 8 | imbi12d | |
10 | 9 | imbi2d | |
11 | fveq2 | |
|
12 | 11 | breq2d | |
13 | breq2 | |
|
14 | 12 13 | imbi12d | |
15 | 14 | imbi2d | |
16 | fveq2 | |
|
17 | 16 | breq2d | |
18 | breq2 | |
|
19 | 17 18 | imbi12d | |
20 | 19 | imbi2d | |
21 | fac0 | |
|
22 | 21 | breq2i | |
23 | nprmdvds1 | |
|
24 | 23 | pm2.21d | |
25 | 22 24 | biimtrid | |
26 | facp1 | |
|
27 | 26 | adantr | |
28 | 27 | breq2d | |
29 | simpr | |
|
30 | faccl | |
|
31 | 30 | adantr | |
32 | 31 | nnzd | |
33 | nn0p1nn | |
|
34 | 33 | adantr | |
35 | 34 | nnzd | |
36 | euclemma | |
|
37 | 29 32 35 36 | syl3anc | |
38 | 28 37 | bitrd | |
39 | nn0re | |
|
40 | 39 | adantr | |
41 | 40 | lep1d | |
42 | prmz | |
|
43 | 42 | adantl | |
44 | 43 | zred | |
45 | 34 | nnred | |
46 | letr | |
|
47 | 44 40 45 46 | syl3anc | |
48 | 41 47 | mpan2d | |
49 | 48 | imim2d | |
50 | 49 | com23 | |
51 | dvdsle | |
|
52 | 43 34 51 | syl2anc | |
53 | 52 | a1dd | |
54 | 50 53 | jaod | |
55 | 38 54 | sylbid | |
56 | 55 | com23 | |
57 | 56 | ex | |
58 | 57 | a2d | |
59 | 5 10 15 20 25 58 | nn0ind | |
60 | 59 | 3imp | |