Details

Time bar (total: 9.1s)

sample80.0ms

Algorithm
intervals
Results
56.0ms190×body1280valid
6.0ms41×body640valid
5.0ms236×body80valid
1.0ms13×body320valid
1.0ms10×body160valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
1148
2268
3408
4528
5628
6878
71468
82418
97738
done50008

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.5b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
2.6b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
5.0ms
(- (exp x) 2.0)
24.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series74.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
60.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify2.3s

Counts
71 → 71
Iterations

Useful iterations: 3 (628.0ms)

IterNodesCost
0124914
1277729
2815619
34125557
done5000557

prune155.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 37
Calls
2 calls:
0.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
5.0ms
(* 1/12 (pow x 4))

series166.0ms

Counts
2 → 6
Calls
2 calls:
125.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
40.0ms
(* 1/12 (pow x 4))

simplify1.2s

Counts
43 → 43
Iterations

Useful iterations: 3 (327.0ms)

IterNodesCost
067403
1126371
2379345
31803342
done5001342

prune104.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
done1113

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5706×body1280valid
181.0ms1192×body640valid
173.0ms8047×body80valid
57.0ms602×body320valid
19.0ms321×body160valid