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

Theorem decbin2 9588
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 9135 . . 3  |-  ( 2  x.  1 )  =  2
21oveq2i 5929 . 2  |-  ( ( 2  x.  ( 2  x.  A ) )  +  ( 2  x.  1 ) )  =  ( ( 2  x.  ( 2  x.  A
) )  +  2 )
3 2cn 9053 . . 3  |-  2  e.  CC
4 decbin.1 . . . . 5  |-  A  e. 
NN0
54nn0cni 9252 . . . 4  |-  A  e.  CC
63, 5mulcli 8024 . . 3  |-  ( 2  x.  A )  e.  CC
7 ax-1cn 7965 . . 3  |-  1  e.  CC
83, 6, 7adddii 8029 . 2  |-  ( 2  x.  ( ( 2  x.  A )  +  1 ) )  =  ( ( 2  x.  ( 2  x.  A
) )  +  ( 2  x.  1 ) )
94decbin0 9587 . . 3  |-  ( 4  x.  A )  =  ( 2  x.  (
2  x.  A ) )
109oveq1i 5928 . 2  |-  ( ( 4  x.  A )  +  2 )  =  ( ( 2  x.  ( 2  x.  A
) )  +  2 )
112, 8, 103eqtr4ri 2225 1  |-  ( ( 4  x.  A )  +  2 )  =  ( 2  x.  (
( 2  x.  A
)  +  1 ) )
Colors of variables: wff set class
Syntax hints:    = wceq 1364    e. wcel 2164  (class class class)co 5918   1c1 7873    + caddc 7875    x. cmul 7877   2c2 9033   4c4 9035   NN0cn0 9240
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 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-ext 2175  ax-sep 4147  ax-cnex 7963  ax-resscn 7964  ax-1cn 7965  ax-1re 7966  ax-icn 7967  ax-addcl 7968  ax-addrcl 7969  ax-mulcl 7970  ax-mulcom 7973  ax-addass 7974  ax-mulass 7975  ax-distr 7976  ax-1rid 7979  ax-rnegex 7981  ax-cnre 7983
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-v 2762  df-un 3157  df-in 3159  df-ss 3166  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-iota 5215  df-fv 5262  df-ov 5921  df-inn 8983  df-2 9041  df-3 9042  df-4 9043  df-n0 9241
This theorem is referenced by:  decbin3  9589
  Copyright terms: Public domain W3C validator