Details

Time bar (total: 3.1s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify215.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5415
6665
71655
811235
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
12×times-frac
10×add-sqr-sqrt add-cube-cbrt
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv expm1-log1p-u frac-2neg flip3-+ div-exp clear-num flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 35
Calls
1 calls:
21.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify70.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0167323
1568300
22220299
35001299

prune83.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
0.5b
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
52×add-sqr-sqrt times-frac
36×add-cube-cbrt
35×sqrt-prod
30×associate-*r*
13×distribute-lft-out
add-exp-log add-cbrt-cube
associate-*l* associate-/l* unswap-sqr
pow1 associate-/r* associate-/r/
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 108
Calls
2 calls:
24.0ms
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
60.0ms
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

series149.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
90.0ms
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03441183
115641074
250021045

prune213.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.5b
(* (sqrt 2.0) (/ (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x))))) (sqrt (+ (exp x) (exp (- x))))))
0.5b
(/ (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x))))) (sqrt (+ (exp x) (exp (- x)))))

rewrite347.0ms

Algorithm
rewrite-expression-head
Rules
1338×times-frac
1103×sqrt-prod
978×*-un-lft-identity
684×add-sqr-sqrt
604×add-cube-cbrt
342×associate-*r*
187×distribute-lft-out
48×associate-/l*
34×sqrt-div associate-/r/
22×unswap-sqr
17×flip3-+ flip-+ div-inv
16×add-exp-log add-cbrt-cube
associate-/r*
cbrt-undiv div-exp associate-*l*
pow1 sqrt-undiv
prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg sqrt-unprod associate-*r/ pow-prod-down clear-num *-commutative associate-/l/
Counts
2 → 800
Calls
2 calls:
202.0ms
(* (sqrt 2.0) (/ (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x))))) (sqrt (+ (exp x) (exp (- x))))))
71.0ms
(/ (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x))))) (sqrt (+ (exp x) (exp (- x)))))

series340.0ms

Counts
2 → 6
Calls
2 calls:
274.0ms
(* (sqrt 2.0) (/ (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x))))) (sqrt (+ (exp x) (exp (- x))))))
66.0ms
(/ (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x))))) (sqrt (+ (exp x) (exp (- x)))))

simplify135.0ms

Algorithm
egg-herbie
Counts
806 → 806
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
0146816428
1500114421

prune974.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
11315

end0.0ms

sample286.0ms

Algorithm
intervals
Results
170.0ms8000×body80valid