Metamath Proof Explorer


Theorem 2exp8

Description: Two to the eighth power is 256. (Contributed by Mario Carneiro, 20-Apr-2015)

Ref Expression
Assertion 2exp8 28=256

Proof

Step Hyp Ref Expression
1 2nn0 20
2 4nn0 40
3 2 nn0cni 4
4 2cn 2
5 4t2e8 42=8
6 3 4 5 mulcomli 24=8
7 2exp4 24=16
8 1nn0 10
9 6nn0 60
10 8 9 deccl 160
11 eqid 16=16
12 9nn0 90
13 10 nn0cni 16
14 13 mulridi 161=16
15 1p1e2 1+1=2
16 5nn0 50
17 9cn 9
18 6cn 6
19 9p6e15 9+6=15
20 17 18 19 addcomli 6+9=15
21 8 9 12 14 15 16 20 decaddci 161+9=25
22 3nn0 30
23 18 mullidi 16=6
24 23 oveq1i 16+3=6+3
25 6p3e9 6+3=9
26 24 25 eqtri 16+3=9
27 6t6e36 66=36
28 9 8 9 11 9 22 26 27 decmul1c 166=96
29 10 8 9 11 9 12 21 28 decmul2c 1616=256
30 1 2 6 7 29 numexp2x 28=256