Description: The binary length of an integer. (Contributed by AV, 20-May-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | blenval | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-blen | |
|
2 | eqeq1 | |
|
3 | fveq2 | |
|
4 | 3 | oveq2d | |
5 | 4 | fveq2d | |
6 | 5 | oveq1d | |
7 | 2 6 | ifbieq2d | |
8 | elex | |
|
9 | 1ex | |
|
10 | ovex | |
|
11 | 9 10 | ifex | |
12 | 11 | a1i | |
13 | 1 7 8 12 | fvmptd3 | |