Description: The M + 1 -th bit of 2 N + 1 is the M -th bit of N . (Contributed by Mario Carneiro, 5-Sep-2016)
Ref | Expression | ||
---|---|---|---|
Assertion | bitsp1o | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 2z | |
|
2 | 1 | a1i | |
3 | id | |
|
4 | 2 3 | zmulcld | |
5 | 4 | peano2zd | |
6 | bitsp1 | |
|
7 | 5 6 | sylan | |
8 | 2re | |
|
9 | 8 | a1i | |
10 | zre | |
|
11 | 9 10 | remulcld | |
12 | 11 | recnd | |
13 | 1cnd | |
|
14 | 2cnd | |
|
15 | 2ne0 | |
|
16 | 15 | a1i | |
17 | 12 13 14 16 | divdird | |
18 | zcn | |
|
19 | 18 14 16 | divcan3d | |
20 | 19 | oveq1d | |
21 | 17 20 | eqtrd | |
22 | 21 | fveq2d | |
23 | halfge0 | |
|
24 | halflt1 | |
|
25 | 23 24 | pm3.2i | |
26 | halfre | |
|
27 | flbi2 | |
|
28 | 26 27 | mpan2 | |
29 | 25 28 | mpbiri | |
30 | 22 29 | eqtrd | |
31 | 30 | adantr | |
32 | 31 | fveq2d | |
33 | 32 | eleq2d | |
34 | 7 33 | bitrd | |