Description: The floor of a positive integer divided by 2 is greater than or equal to the integer decreased by 1 and then divided by 2. (Contributed by AV, 1-Jun-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | flnn0div2ge | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nn0eo | |
|
2 | nn0re | |
|
3 | peano2rem | |
|
4 | 2 3 | syl | |
5 | 4 | adantl | |
6 | 2 | adantl | |
7 | 2rp | |
|
8 | 7 | a1i | |
9 | 2 | lem1d | |
10 | 9 | adantl | |
11 | 5 6 8 10 | lediv1dd | |
12 | nn0z | |
|
13 | flid | |
|
14 | 12 13 | syl | |
15 | 14 | adantr | |
16 | 11 15 | breqtrrd | |
17 | 16 | ex | |
18 | nn0o | |
|
19 | 18 | ex | |
20 | nn0z | |
|
21 | 20 | adantl | |
22 | flid | |
|
23 | 21 22 | syl | |
24 | 4 | rehalfcld | |
25 | 24 | adantr | |
26 | 2 | rehalfcld | |
27 | 26 | adantr | |
28 | 2re | |
|
29 | 2pos | |
|
30 | 28 29 | pm3.2i | |
31 | 30 | a1i | |
32 | lediv1 | |
|
33 | 4 2 31 32 | syl3anc | |
34 | 9 33 | mpbid | |
35 | 34 | adantr | |
36 | flwordi | |
|
37 | 25 27 35 36 | syl3anc | |
38 | 23 37 | eqbrtrrd | |
39 | 38 | ex | |
40 | 19 39 | syldc | |
41 | 17 40 | jaoi | |
42 | 1 41 | mpcom | |