Details

Time bar (total: 3.4s)

analyze15.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14
Compiler

Compiled 14 to 8 computations (42.9% saved)

sample61.0ms (1.8%)

Algorithm
intervals
Results
37.0ms130×body1024valid
9.0ms60×body512valid
4.0ms15×body2048valid
2.0ms26×body256valid
1.0ms25×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify85.0ms (2.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
0473222
1473222

prune7.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.9b

Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.2b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.8b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite35.0ms (1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64
31×add-sqr-sqrt_binary64
30×times-frac_binary64
17×add-cube-cbrt_binary64
distribute-lft-out_binary64 2cosh-undef_binary64
add-log-exp_binary64 2sinh-undef_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/l*_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 cancel-sign-sub-inv_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 tanh-undef_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
3 → 89
Calls

3 calls:

14.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
6.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
5.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series229.0ms (6.7%)

Counts
3 → 9
Calls

3 calls:

157.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
41.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
31.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify83.0ms (2.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050012364

prune101.0ms (3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done000
Total96399

Merged error: 0b

Counts
99 → 3
Compiler

Compiled 2221 to 533 computations (76% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 add-sqr-sqrt_binary64 tanh-def-a_binary64 tanh-def-b_binary64 tanh-def-c_binary64
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)

series98.0ms (2.9%)

Counts
1 → 3
Calls

1 calls:

98.0ms
(tanh.f64 x)

simplify46.0ms (1.4%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05409124

prune13.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh112
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3
Compiler

Compiled 165 to 102 computations (38.2% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
0.0b
(*.f64 (pow.f64 x 5) 2/15)
0.1b
(*.f64 1/3 (pow.f64 x 3))

rewrite30.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
15×associate-*r*_binary64
13×add-exp-log_binary64
10×*-un-lft-identity_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
add-log-exp_binary64 unpow-prod-down_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64
prod-exp_binary64
sqr-pow_binary64 cube-prod_binary64
pow1_binary64
pow-to-exp_binary64 diff-log_binary64 cbrt-unprod_binary64 pow-exp_binary64 *-commutative_binary64
sub-neg_binary64 flip3--_binary64 cancel-sign-sub-inv_binary64 flip--_binary64 unpow3_binary64 associate--l+_binary64 sum-log_binary64 cube-mult_binary64
Counts
3 → 70
Calls

3 calls:

10.0ms
(*.f64 1/3 (pow.f64 x 3))
7.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
6.0ms
(*.f64 (pow.f64 x 5) 2/15)

series169.0ms (4.9%)

Counts
3 → 9
Calls

3 calls:

66.0ms
(*.f64 (pow.f64 x 5) 2/15)
57.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
46.0ms
(*.f64 1/3 (pow.f64 x 3))

simplify63.0ms (1.8%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
048601004
148601004

prune85.0ms (2.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh011
Picked011
Done011
Total79382

Merged error: 0b

Counts
82 → 3
Compiler

Compiled 1418 to 1093 computations (22.9% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 1 (exp.f64 (+.f64 x x)))
0.7b
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) 1) (+.f64 1 (exp.f64 (+.f64 x x))))
5.8b
(-.f64 (exp.f64 (+.f64 x x)) 1)

rewrite47.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity_binary64
50×add-sqr-sqrt_binary64
40×times-frac_binary64
24×difference-of-squares_binary64
20×add-cube-cbrt_binary64
18×exp-sum_binary64
12×distribute-lft-out_binary64 difference-of-sqr-1_binary64
10×associate-/l*_binary64
add-log-exp_binary64
distribute-lft-out--_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
pow1_binary64 cancel-sign-sub-inv_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
3 → 104
Calls

3 calls:

19.0ms
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) 1) (+.f64 1 (exp.f64 (+.f64 x x))))
10.0ms
(-.f64 (exp.f64 (+.f64 x x)) 1)
6.0ms
(+.f64 1 (exp.f64 (+.f64 x x)))

series158.0ms (4.6%)

Counts
3 → 9
Calls

3 calls:

115.0ms
(/.f64 (-.f64 (exp.f64 (+.f64 x x)) 1) (+.f64 1 (exp.f64 (+.f64 x x))))
27.0ms
(-.f64 (exp.f64 (+.f64 x x)) 1)
16.0ms
(+.f64 1 (exp.f64 (+.f64 x x)))

simplify75.0ms (2.2%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050172694

prune98.0ms (2.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done022
Total1133116

Merged error: 0b

Counts
116 → 3
Compiler

Compiled 2317 to 1101 computations (52.5% saved)

regimes9.0ms (0.3%)

Compiler

Compiled 30 to 23 computations (23.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample1.9s (55.3%)

Algorithm
intervals
Results
1.1s3852×body1024valid
300.0ms1966×body512valid
128.0ms404×body2048valid
97.0ms976×body256valid
40.0ms802×body128valid
0.0msbody128overflowed
Compiler

Compiled 44 to 32 computations (27.3% saved)

Profiling

Loading profile data...