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

Theorem decbin2 9919
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 9459 . . 3 (2 · 1) = 2
21oveq2i 6096 . 2 ((2 · (2 · 𝐴)) + (2 · 1)) = ((2 · (2 · 𝐴)) + 2)
3 2cn 9376 . . 3 2 ∈ ℂ
4 decbin.1 . . . . 5 𝐴 ∈ ℕ0
54nn0cni 9577 . . . 4 𝐴 ∈ ℂ
63, 5mulcli 8331 . . 3 (2 · 𝐴) ∈ ℂ
7 ax-1cn 8272 . . 3 1 ∈ ℂ
83, 6, 7adddii 8336 . 2 (2 · ((2 · 𝐴) + 1)) = ((2 · (2 · 𝐴)) + (2 · 1))
94decbin0 9918 . . 3 (4 · 𝐴) = (2 · (2 · 𝐴))
109oveq1i 6095 . 2 ((4 · 𝐴) + 2) = ((2 · (2 · 𝐴)) + 2)
112, 8, 103eqtr4ri 2270 1 ((4 · 𝐴) + 2) = (2 · ((2 · 𝐴) + 1))
Colors of variables:    wff set class
This proof depends on syntax axioms:   = wceq 1402  wcel 2209  (class class class)co 6085  1c1 8180   + caddc 8182   · cmul 8184  2c2 9356  4c4 9358  0cn0 9565
This proof depends on 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 4249  ax-cnex 8270  ax-resscn 8271  ax-1cn 8272  ax-1re 8273  ax-icn 8274  ax-addcl 8275  ax-addrcl 8276  ax-mulcl 8277  ax-mulcom 8280  ax-addass 8281  ax-mulass 8282  ax-distr 8283  ax-1rid 8286  ax-rnegex 8288  ax-cnre 8290
This proof 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 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4131  df-iota 5337  df-fv 5385  df-ov 6088  df-inn 9306  df-2 9364  df-3 9365  df-4 9366  df-n0 9566
This theorem is used by:  decbin3  9920
  Copyright terms: Public domain W3C validator