| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > decbin2 | GIF version | ||
| Description: Decompose base 4 into base 2. (Contributed by Mario Carneiro, 18-Feb-2014.) |
| Ref | Expression |
|---|---|
| decbin.1 | ⊢ 𝐴 ∈ ℕ0 |
| Ref | Expression |
|---|---|
| decbin2 | ⊢ ((4 · 𝐴) + 2) = (2 · ((2 · 𝐴) + 1)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 2t1e2 9441 | . . 3 ⊢ (2 · 1) = 2 | |
| 2 | 1 | oveq2i 6090 | . 2 ⊢ ((2 · (2 · 𝐴)) + (2 · 1)) = ((2 · (2 · 𝐴)) + 2) |
| 3 | 2cn 9358 | . . 3 ⊢ 2 ∈ ℂ | |
| 4 | decbin.1 | . . . . 5 ⊢ 𝐴 ∈ ℕ0 | |
| 5 | 4 | nn0cni 9558 | . . . 4 ⊢ 𝐴 ∈ ℂ |
| 6 | 3, 5 | mulcli 8325 | . . 3 ⊢ (2 · 𝐴) ∈ ℂ |
| 7 | ax-1cn 8266 | . . 3 ⊢ 1 ∈ ℂ | |
| 8 | 3, 6, 7 | adddii 8330 | . 2 ⊢ (2 · ((2 · 𝐴) + 1)) = ((2 · (2 · 𝐴)) + (2 · 1)) |
| 9 | 4 | decbin0 9899 | . . 3 ⊢ (4 · 𝐴) = (2 · (2 · 𝐴)) |
| 10 | 9 | oveq1i 6089 | . 2 ⊢ ((4 · 𝐴) + 2) = ((2 · (2 · 𝐴)) + 2) |
| 11 | 2, 8, 10 | 3eqtr4ri 2270 | 1 ⊢ ((4 · 𝐴) + 2) = (2 · ((2 · 𝐴) + 1)) |
| Colors of variables: wff set class |
| Syntax hints: = wceq 1402 ∈ wcel 2209 (class class class)co 6079 1c1 8174 + caddc 8176 · cmul 8178 2c2 9338 4c4 9340 ℕ0cn0 9546 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-io 721 ax-5 1500 ax-7 1501 ax-gen 1502 ax-ie1 1546 ax-ie2 1547 ax-8 1557 ax-10 1558 ax-11 1559 ax-i12 1560 ax-bndl 1562 ax-4 1563 ax-17 1579 ax-i9 1583 ax-ial 1587 ax-i5r 1588 ax-ext 2220 ax-sep 4247 ax-cnex 8264 ax-resscn 8265 ax-1cn 8266 ax-1re 8267 ax-icn 8268 ax-addcl 8269 ax-addrcl 8270 ax-mulcl 8271 ax-mulcom 8274 ax-addass 8275 ax-mulass 8276 ax-distr 8277 ax-1rid 8280 ax-rnegex 8282 ax-cnre 8284 |
| This theorem depends on definitions: df-bi 117 df-3an 1011 df-tru 1405 df-nf 1514 df-sb 1816 df-clab 2225 df-cleq 2231 df-clel 2234 df-nfc 2381 df-ral 2533 df-rex 2534 df-v 2823 df-un 3224 df-in 3226 df-ss 3233 df-sn 3714 df-pr 3715 df-op 3717 df-uni 3934 df-int 3969 df-br 4129 df-iota 5335 df-fv 5383 df-ov 6082 df-inn 9288 df-2 9346 df-3 9347 df-4 9348 df-n0 9547 |
| This theorem is referenced by: decbin3 9901 |
| Copyright terms: Public domain | W3C validator |