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

Theorem decbin2 9315
Description: Decompose base 4 into base 2. (Contributed by Mario Carneiro, 18-Feb-2014.)
Hypothesis
Ref Expression
decbin.1  |-  A  e. 
NN0
Assertion
Ref Expression
decbin2  |-  ( ( 4  x.  A )  +  2 )  =  ( 2  x.  (
( 2  x.  A
)  +  1 ) )

Proof of Theorem decbin2
StepHypRef Expression
1 2t1e2 8866 . . 3  |-  ( 2  x.  1 )  =  2
21oveq2i 5778 . 2  |-  ( ( 2  x.  ( 2  x.  A ) )  +  ( 2  x.  1 ) )  =  ( ( 2  x.  ( 2  x.  A
) )  +  2 )
3 2cn 8784 . . 3  |-  2  e.  CC
4 decbin.1 . . . . 5  |-  A  e. 
NN0
54nn0cni 8982 . . . 4  |-  A  e.  CC
63, 5mulcli 7764 . . 3  |-  ( 2  x.  A )  e.  CC
7 ax-1cn 7706 . . 3  |-  1  e.  CC
83, 6, 7adddii 7769 . 2  |-  ( 2  x.  ( ( 2  x.  A )  +  1 ) )  =  ( ( 2  x.  ( 2  x.  A
) )  +  ( 2  x.  1 ) )
94decbin0 9314 . . 3  |-  ( 4  x.  A )  =  ( 2  x.  (
2  x.  A ) )
109oveq1i 5777 . 2  |-  ( ( 4  x.  A )  +  2 )  =  ( ( 2  x.  ( 2  x.  A
) )  +  2 )
112, 8, 103eqtr4ri 2169 1  |-  ( ( 4  x.  A )  +  2 )  =  ( 2  x.  (
( 2  x.  A
)  +  1 ) )
Colors of variables: wff set class
Syntax hints:    = wceq 1331    e. wcel 1480  (class class class)co 5767   1c1 7614    + caddc 7616    x. cmul 7618   2c2 8764   4c4 8766   NN0cn0 8970
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-cnex 7704  ax-resscn 7705  ax-1cn 7706  ax-1re 7707  ax-icn 7708  ax-addcl 7709  ax-addrcl 7710  ax-mulcl 7711  ax-mulcom 7714  ax-addass 7715  ax-mulass 7716  ax-distr 7717  ax-1rid 7720  ax-rnegex 7722  ax-cnre 7724
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-int 3767  df-br 3925  df-iota 5083  df-fv 5126  df-ov 5770  df-inn 8714  df-2 8772  df-3 8773  df-4 8774  df-n0 8971
This theorem is referenced by:  decbin3  9316
  Copyright terms: Public domain W3C validator