| 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 11201 | . . 3 ⊢ 0 ∈ V | |
| 2 | blenval 49334 | . . 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 2763 | . . 3 ⊢ 0 = 0 | |
| 5 | 4 | iftruei 4495 | . 2 ⊢ if(0 = 0, 1, ((⌊‘(2 logb (abs‘0))) + 1)) = 1 |
| 6 | 3, 5 | eqtri 2786 | 1 ⊢ (#b‘0) = 1 |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1570 ∈ wcel 2143 Vcvv 3455 ifcif 4488 ‘cfv 6538 (class class class)co 7412 0cc0 11101 1c1 11102 + caddc 11104 2c2 12296 ⌊cfl 13825 abscabs 15287 logb clogb 26910 #bcblen 49332 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5258 ax-nul 5270 ax-pr 5406 ax-1cn 11159 ax-icn 11160 ax-addcl 11161 ax-mulcl 11163 ax-i2m1 11169 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-ral 3080 df-rex 3090 df-rab 3417 df-v 3457 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4288 df-if 4489 df-sn 4591 df-pr 4593 df-op 4597 df-uni 4874 df-br 5111 df-opab 5175 df-mpt 5194 df-id 5558 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-iota 6494 df-fun 6540 df-fv 6546 df-ov 7415 df-blen 49333 |
| This theorem is referenced by: blennn0elnn 49340 blen1b 49351 nn0sumshdiglem1 49384 |
| Copyright terms: Public domain | W3C validator |