Metamath Proof Explorer


Theorem dig2nn0ld

Description: The leading digits of a positive integer in a binary system are 0. (Contributed by AV, 25-May-2020)

Ref Expression
Assertion dig2nn0ld N K # b N K digit 2 N = 0

Proof

Step Hyp Ref Expression
1 2z 2
2 uzid 2 2 2
3 1 2 mp1i N K # b N 2 2
4 simpl N K # b N N
5 blennn N # b N = log 2 N + 1
6 5 fveq2d N # b N = log 2 N + 1
7 6 eleq2d N K # b N K log 2 N + 1
8 7 biimpa N K # b N K log 2 N + 1
9 dignnld 2 2 N K log 2 N + 1 K digit 2 N = 0
10 3 4 8 9 syl3anc N K # b N K digit 2 N = 0