| 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 11218 | . . 3 ⊢ 0 ∈ V | |
| 2 | blenval 49392 | . . 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 2766 | . . 3 ⊢ 0 = 0 | |
| 5 | 4 | iftruei 4499 | . 2 ⊢ if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1)) = 1 |
| 6 | 3, 5 | eqtri 2789 | 1 ⊢ (#b‘0) = 1 |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: = wceq 1570 ∈ wcel 2146 Vcvv 3458 ifcif 4492 ‘cfv 6543 (class class class)co 7423 0cc0 11118 1c1 11119 + caddc 11121 2c2 12313 ⌊cfl 13843 abscabs 15311 logb clogb 26966 #bcblen 49390 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5262 ax-nul 5274 ax-pr 5409 ax-1cn 11176 ax-icn 11177 ax-addcl 11178 ax-mulcl 11180 ax-i2m1 11186 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-ral 3083 df-rex 3093 df-rab 3420 df-v 3460 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-nul 4290 df-if 4493 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-br 5115 df-opab 5179 df-mpt 5198 df-id 5561 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-iota 6499 df-fun 6545 df-fv 6551 df-ov 7426 df-blen 49391 |
| This theorem is used by: blennn0elnn 49398 blen1b 49409 nn0sumshdiglem1 49442 |
| Copyright terms: Public domain | W3C validator |