Details

Time bar (total: 5.3s)

analyze331.0ms (6.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0479722
1479722
011
111
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)

sample117.0ms (2.2%)

Algorithm
intervals
Results
70.0ms135×body1024valid
23.0ms60×body512valid
5.0ms30×body256valid
3.0msbody2048valid
2.0ms26×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify137.0ms (2.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (126.0ms)

IterNodesCost
0479722
1479722

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
59.5b
Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize15.0ms (0.3%)

Local error

Found 2 expressions with local error:

1.5b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
7.0b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite52.0ms (1%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64_3147
30×times-frac_binary64_3153 add-sqr-sqrt_binary64_3169
16×add-cube-cbrt_binary64_3182
cosh-undef_binary64_3341 distribute-lft-out_binary64_3098 distribute-lft-out--_binary64_3099 difference-of-squares_binary64_3116 sinh-undef_binary64_3340
associate-/l*_binary64_3092
associate-/r*_binary64_3091
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 add-log-exp_binary64_3186
cancel-sign-sub-inv_binary64_3113
flip--_binary64_3122 flip3--_binary64_3151 associate-/l/_binary64_3094 pow1_binary64_3208 associate-/r/_binary64_3093
clear-num_binary64_3146 flip-+_binary64_3121 frac-2neg_binary64_3158 flip3-+_binary64_3150 sub-neg_binary64_3140 div-sub_binary64_3152 cbrt-undiv_binary64_3181 tanh-undef_binary64_3342 div-exp_binary64_3198 diff-log_binary64_3239 div-inv_binary64_3144
Counts
2 → 76
Calls

2 calls:

26.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
12.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series188.0ms (3.5%)

Counts
2 → 8
Calls

2 calls:

139.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
48.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 179 to 127 computations (29.1% saved)

simplify170.0ms (3.2%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
051522130

prune128.0ms (2.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh000
Picked101
Done000
Total83285
Error
0b
Counts
85 → 2
Compiler

Compiled 1666 to 300 computations (82% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_3147 add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 tanh-def-a_binary64_3334 add-sqr-sqrt_binary64_3169 pow1_binary64_3208 tanh-def-b_binary64_3335 add-log-exp_binary64_3186 tanh-def-c_binary64_3336 add-cube-cbrt_binary64_3182
Counts
1 → 10
Calls

1 calls:

2.0ms
(tanh.f64 x)

series101.0ms (1.9%)

Counts
1 → 4
Calls

1 calls:

101.0ms
(tanh.f64 x)
Compiler

Compiled 73 to 66 computations (9.6% saved)

simplify94.0ms (1.8%)

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
05420116

prune15.0ms (0.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done000
Total14216
Error
0b
Counts
16 → 2
Compiler

Compiled 95 to 51 computations (46.3% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(sinh.f64 x)
1.5b
(/.f64 (sinh.f64 x) (cosh.f64 x))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_3147 add-sqr-sqrt_binary64_3169 add-cube-cbrt_binary64_3182
times-frac_binary64_3153
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183
associate-/r*_binary64_3091 associate-/l*_binary64_3092
sinh-def_binary64_3332 pow1_binary64_3208 add-log-exp_binary64_3186
clear-num_binary64_3146 frac-2neg_binary64_3158 associate-/l/_binary64_3094 cbrt-undiv_binary64_3181 cosh-def_binary64_3333 div-exp_binary64_3198 associate-/r/_binary64_3093 div-inv_binary64_3144
Counts
2 → 37
Calls

2 calls:

11.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
2.0ms
(sinh.f64 x)

series247.0ms (4.6%)

Counts
2 → 8
Calls

2 calls:

183.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
63.0ms
(sinh.f64 x)
Compiler

Compiled 153 to 116 computations (24.2% saved)

simplify170.0ms (3.2%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (144.0ms)

IterNodesCost
04905521
14905521

prune45.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New45045
Fresh000
Picked011
Done011
Total45247
Error
0b
Counts
47 → 2
Compiler

Compiled 439 to 131 computations (70.2% saved)

regimes50.0ms (0.9%)

Accuracy

Total 0.0b remaining (78%)

Threshold costs 0.0b (78%)

Compiler

Compiled 106 to 74 computations (30.2% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample3.4s (64.1%)

Algorithm
intervals
Results
2.0s3866×body1024valid
529.0ms1994×body512valid
214.0ms382×body2048valid
169.0ms1024×body256valid
58.0ms734×body128valid
Compiler

Compiled 55 to 40 computations (27.3% saved)

Profiling

Loading profile data...