Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  blen0 Structured version   Visualization version   GIF version

Theorem blen0 49158
Description: The binary length of 0. (Contributed by AV, 20-May-2020.)
Assertion
Ref Expression
blen0 (#b‘0) = 1

Proof of Theorem blen0
StepHypRef Expression
1 c0ex 11170 . . 3 0 ∈ V
2 blenval 49157 . . 3 (0 ∈ V → (#b‘0) = if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1)))
31, 2ax-mp 5 . 2 (#b‘0) = if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1))
4 eqid 2761 . . 3 0 = 0
54iftruei 4486 . 2 if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1)) = 1
63, 5eqtri 2784 1 (#b‘0) = 1
Colors of variables: wff setvar class
Syntax hints:   = wceq 1559  wcel 2141  Vcvv 3453  ifcif 4479  cfv 6517  (class class class)co 7392  0cc0 11070  1c1 11071   + caddc 11073  2c2 12269  cfl 13797  abscabs 15244   logb clogb 26806  #bcblen 49155
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5245  ax-nul 5255  ax-pr 5389  ax-1cn 11128  ax-icn 11129  ax-addcl 11130  ax-mulcl 11132  ax-i2m1 11138
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3076  df-rex 3086  df-rab 3414  df-v 3455  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4865  df-br 5100  df-opab 5162  df-mpt 5181  df-id 5540  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-iota 6473  df-fun 6519  df-fv 6525  df-ov 7395  df-blen 49156
This theorem is referenced by:  blennn0elnn  49163  blen1b  49174  nn0sumshdiglem1  49207
  Copyright terms: Public domain W3C validator