Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > blen0 | Structured version Visualization version GIF version |
Description: The binary length of 0. (Contributed by AV, 20-May-2020.) |
Ref | Expression |
---|---|
blen0 | ⊢ (#b‘0) = 1 |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | c0ex 10827 | . . 3 ⊢ 0 ∈ V | |
2 | blenval 45590 | . . 3 ⊢ (0 ∈ V → (#b‘0) = if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1))) | |
3 | 1, 2 | ax-mp 5 | . 2 ⊢ (#b‘0) = if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1)) |
4 | eqid 2737 | . . 3 ⊢ 0 = 0 | |
5 | 4 | iftruei 4446 | . 2 ⊢ if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1)) = 1 |
6 | 3, 5 | eqtri 2765 | 1 ⊢ (#b‘0) = 1 |
Colors of variables: wff setvar class |
Syntax hints: = wceq 1543 ∈ wcel 2110 Vcvv 3408 ifcif 4439 ‘cfv 6380 (class class class)co 7213 0cc0 10729 1c1 10730 + caddc 10732 2c2 11885 ⌊cfl 13365 abscabs 14797 logb clogb 25647 #bcblen 45588 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2708 ax-sep 5192 ax-nul 5199 ax-pr 5322 ax-1cn 10787 ax-icn 10788 ax-addcl 10789 ax-mulcl 10791 ax-i2m1 10797 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2071 df-mo 2539 df-eu 2568 df-clab 2715 df-cleq 2729 df-clel 2816 df-nfc 2886 df-ral 3066 df-rex 3067 df-rab 3070 df-v 3410 df-dif 3869 df-un 3871 df-in 3873 df-ss 3883 df-nul 4238 df-if 4440 df-sn 4542 df-pr 4544 df-op 4548 df-uni 4820 df-br 5054 df-opab 5116 df-mpt 5136 df-id 5455 df-xp 5557 df-rel 5558 df-cnv 5559 df-co 5560 df-dm 5561 df-iota 6338 df-fun 6382 df-fv 6388 df-ov 7216 df-blen 45589 |
This theorem is referenced by: blennn0elnn 45596 blen1b 45607 nn0sumshdiglem1 45640 |
Copyright terms: Public domain | W3C validator |