Description: The binary length of the half of an even positive integer is the binary length of the integer minus 1. (Contributed by AV, 30-May-2010)
Ref | Expression | ||
---|---|---|---|
Assertion | blennn0em1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nncn | |
|
2 | 2cnd | |
|
3 | 2ne0 | |
|
4 | 3 | a1i | |
5 | 1 2 4 | 3jca | |
6 | 5 | adantr | |
7 | divcan2 | |
|
8 | 7 | eqcomd | |
9 | 6 8 | syl | |
10 | 9 | fveq2d | |
11 | nn0enne | |
|
12 | 11 | biimpa | |
13 | blennnt2 | |
|
14 | 12 13 | syl | |
15 | 10 14 | eqtr2d | |
16 | blennnelnn | |
|
17 | 16 | nncnd | |
18 | 17 | adantr | |
19 | 1cnd | |
|
20 | blennn0elnn | |
|
21 | 20 | nncnd | |
22 | 21 | adantl | |
23 | 18 19 22 | subadd2d | |
24 | 15 23 | mpbird | |
25 | 24 | eqcomd | |