Details

Time bar (total: 1.4s)

sample13.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify212.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
fma-def associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
5.0ms
(+ (exp x) (exp (- x)))
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series63.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp x) (exp (- x)))
41.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify121.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0200433
1666397
23139394
35001393

prune104.0ms

Filtered
58 candidates to 46 candidates (79.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New57158
Fresh000
Picked101
Done000
Total58159

Merged error: 0b

Counts
59 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (* -1 x)) (exp x))
0.0b
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
0.0b
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
0.0b
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
60×times-frac
48×add-sqr-sqrt add-cube-cbrt
42×cbrt-prod
36×unpow-prod-down cube-prod
17×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-+ flip-+ add-log-exp
pow1 div-inv
expm1-log1p-u associate-/r* log1p-expm1-u
pow-unpow fma-def associate-/l*
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp rem-cube-cbrt sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num sum-log rem-cbrt-cube
Counts
4 → 164
Calls
4 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
9.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
6.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
8.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)

series173.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (exp (* -1 x)) (exp x))
36.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
41.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
76.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)

simplify68.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04751670
120351557
250021539

prune243.0ms

Filtered
176 candidates to 94 candidates (53.4%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1760176
Fresh000
Picked011
Done000
Total1761177

Merged error: 0b

Counts
177 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample312.0ms

Algorithm
intervals
Results
222.0ms8000×body80valid

Profiling

Loading profile data...