ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  decbin2 GIF version

Theorem decbin2 9686
Description: Decompose base 4 into base 2. (Contributed by Mario Carneiro, 18-Feb-2014.)
Hypothesis
Ref Expression
decbin.1 𝐴 ∈ ℕ0
Assertion
Ref Expression
decbin2 ((4 · 𝐴) + 2) = (2 · ((2 · 𝐴) + 1))

Proof of Theorem decbin2
StepHypRef Expression
1 2t1e2 9232 . . 3 (2 · 1) = 2
21oveq2i 5985 . 2 ((2 · (2 · 𝐴)) + (2 · 1)) = ((2 · (2 · 𝐴)) + 2)
3 2cn 9149 . . 3 2 ∈ ℂ
4 decbin.1 . . . . 5 𝐴 ∈ ℕ0
54nn0cni 9349 . . . 4 𝐴 ∈ ℂ
63, 5mulcli 8119 . . 3 (2 · 𝐴) ∈ ℂ
7 ax-1cn 8060 . . 3 1 ∈ ℂ
83, 6, 7adddii 8124 . 2 (2 · ((2 · 𝐴) + 1)) = ((2 · (2 · 𝐴)) + (2 · 1))
94decbin0 9685 . . 3 (4 · 𝐴) = (2 · (2 · 𝐴))
109oveq1i 5984 . 2 ((4 · 𝐴) + 2) = ((2 · (2 · 𝐴)) + 2)
112, 8, 103eqtr4ri 2241 1 ((4 · 𝐴) + 2) = (2 · ((2 · 𝐴) + 1))
Colors of variables: wff set class
Syntax hints:   = wceq 1375  wcel 2180  (class class class)co 5974  1c1 7968   + caddc 7970   · cmul 7972  2c2 9129  4c4 9131  0cn0 9337
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 713  ax-5 1473  ax-7 1474  ax-gen 1475  ax-ie1 1519  ax-ie2 1520  ax-8 1530  ax-10 1531  ax-11 1532  ax-i12 1533  ax-bndl 1535  ax-4 1536  ax-17 1552  ax-i9 1556  ax-ial 1560  ax-i5r 1561  ax-ext 2191  ax-sep 4181  ax-cnex 8058  ax-resscn 8059  ax-1cn 8060  ax-1re 8061  ax-icn 8062  ax-addcl 8063  ax-addrcl 8064  ax-mulcl 8065  ax-mulcom 8068  ax-addass 8069  ax-mulass 8070  ax-distr 8071  ax-1rid 8074  ax-rnegex 8076  ax-cnre 8078
This theorem depends on definitions:  df-bi 117  df-3an 985  df-tru 1378  df-nf 1487  df-sb 1789  df-clab 2196  df-cleq 2202  df-clel 2205  df-nfc 2341  df-ral 2493  df-rex 2494  df-v 2781  df-un 3181  df-in 3183  df-ss 3190  df-sn 3652  df-pr 3653  df-op 3655  df-uni 3868  df-int 3903  df-br 4063  df-iota 5254  df-fv 5302  df-ov 5977  df-inn 9079  df-2 9137  df-3 9138  df-4 9139  df-n0 9338
This theorem is referenced by:  decbin3  9687
  Copyright terms: Public domain W3C validator