Description: The floor of an odd numer divided by 2 is equal to the odd number first decreased by 1 and then divided by 2. (Contributed by AV, 7-Jun-2020) (Revised by AV, 18-Jun-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | zofldiv2ALTV | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oddz | |
|
2 | 1 | zcnd | |
3 | npcan1 | |
|
4 | 3 | eqcomd | |
5 | 4 | oveq1d | |
6 | peano2cnm | |
|
7 | 1cnd | |
|
8 | 2cnne0 | |
|
9 | 8 | a1i | |
10 | divdir | |
|
11 | 6 7 9 10 | syl3anc | |
12 | 5 11 | eqtrd | |
13 | 2 12 | syl | |
14 | 13 | fveq2d | |
15 | halfge0 | |
|
16 | halflt1 | |
|
17 | 15 16 | pm3.2i | |
18 | oddm1div2z | |
|
19 | halfre | |
|
20 | flbi2 | |
|
21 | 18 19 20 | sylancl | |
22 | 17 21 | mpbiri | |
23 | 14 22 | eqtrd | |