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

Theorem decbin2 9917
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 9458 . . 3  |-  ( 2  x.  1 )  =  2
21oveq2i 6096 . 2  |-  ( ( 2  x.  ( 2  x.  A ) )  +  ( 2  x.  1 ) )  =  ( ( 2  x.  ( 2  x.  A
) )  +  2 )
3 2cn 9375 . . 3  |-  2  e.  CC
4 decbin.1 . . . . 5  |-  A  e. 
NN0
54nn0cni 9575 . . . 4  |-  A  e.  CC
63, 5mulcli 8331 . . 3  |-  ( 2  x.  A )  e.  CC
7 ax-1cn 8272 . . 3  |-  1  e.  CC
83, 6, 7adddii 8336 . 2  |-  ( 2  x.  ( ( 2  x.  A )  +  1 ) )  =  ( ( 2  x.  ( 2  x.  A
) )  +  ( 2  x.  1 ) )
94decbin0 9916 . . 3  |-  ( 4  x.  A )  =  ( 2  x.  (
2  x.  A ) )
109oveq1i 6095 . 2  |-  ( ( 4  x.  A )  +  2 )  =  ( ( 2  x.  ( 2  x.  A
) )  +  2 )
112, 8, 103eqtr4ri 2270 1  |-  ( ( 4  x.  A )  +  2 )  =  ( 2  x.  (
( 2  x.  A
)  +  1 ) )
Colors of variables:    wff set class
This proof depends on syntax axioms:    = wceq 1402    e. wcel 2209  (class class class)co 6085   1c1 8180    + caddc 8182    x. cmul 8184   2c2 9355   4c4 9357   NN0cn0 9563
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 9305  df-2 9363  df-3 9364  df-4 9365  df-n0 9564
This theorem is used by:  decbin3  9918
  Copyright terms: Public domain W3C validator