Metamath Proof Explorer


Theorem ex-exp

Description: Example for df-exp . (Contributed by AV, 4-Sep-2021)

Ref Expression
Assertion ex-exp 52=2532=19

Proof

Step Hyp Ref Expression
1 df-5 5=4+1
2 1 oveq1i 52=4+12
3 4cn 4
4 binom21 44+12=42+24+1
5 3 4 ax-mp 4+12=42+24+1
6 2nn0 20
7 4nn0 40
8 4p1e5 4+1=5
9 sq4e2t8 42=28
10 8cn 8
11 2cn 2
12 8t2e16 82=16
13 10 11 12 mulcomli 28=16
14 9 13 eqtri 42=16
15 4t2e8 42=8
16 3 11 15 mulcomli 24=8
17 14 16 oveq12i 42+24=16+8
18 1nn0 10
19 6nn0 60
20 8nn0 80
21 eqid 16=16
22 1p1e2 1+1=2
23 6cn 6
24 8p6e14 8+6=14
25 10 23 24 addcomli 6+8=14
26 18 19 20 21 22 7 25 decaddci 16+8=24
27 17 26 eqtri 42+24=24
28 6 7 8 27 decsuc 42+24+1=25
29 5 28 eqtri 4+12=25
30 2 29 eqtri 52=25
31 3cn 3
32 31 negcli 3
33 expneg 32032=132
34 32 6 33 mp2an 32=132
35 sqneg 332=32
36 31 35 ax-mp 32=32
37 sq3 32=9
38 36 37 eqtri 32=9
39 38 oveq2i 132=19
40 34 39 eqtri 32=19
41 30 40 pm3.2i 52=2532=19