Metamath Proof Explorer


Theorem 0dig1

Description: The 0 th digit of 1 is 1 in any positional system. (Contributed by AV, 28-May-2020)

Ref Expression
Assertion 0dig1 B20digitB1=1

Proof

Step Hyp Ref Expression
1 0z 0
2 dig1 B200digitB1=if0=010
3 1 2 mpan2 B20digitB1=if0=010
4 eqid 0=0
5 4 iftruei if0=010=1
6 3 5 eqtrdi B20digitB1=1