Description: The M + 1 -th bit of 2 N is the M -th bit of N . (Contributed by Mario Carneiro, 5-Sep-2016)
Ref | Expression | ||
---|---|---|---|
Assertion | bitsp1e | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 2z | |
|
2 | 1 | a1i | |
3 | id | |
|
4 | 2 3 | zmulcld | |
5 | bitsp1 | |
|
6 | 4 5 | sylan | |
7 | zcn | |
|
8 | 2cnd | |
|
9 | 2ne0 | |
|
10 | 9 | a1i | |
11 | 7 8 10 | divcan3d | |
12 | 11 | fveq2d | |
13 | flid | |
|
14 | 12 13 | eqtrd | |
15 | 14 | adantr | |
16 | 15 | fveq2d | |
17 | 16 | eleq2d | |
18 | 6 17 | bitrd | |