Details

Time bar (total: 5.6s)

analyze240.0ms (4.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 28 to 16 computations (42.9% saved)

sample478.0ms (8.5%)

Algorithm
intervals
Results
62.0ms231×body1024valid
17.0ms120×body512valid
17.0ms483×body128overflowed
9.0ms33×body2048valid
6.0ms72×body256valid
2.0ms56×body128valid
Compiler

Compiled 7041 to 4525 computations (35.7% saved)

simplify68.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0479722
1479722

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
57.3b
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)))
0.8b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
7.4b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite119.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
47×*-un-lft-identity_binary64_1101
31×add-sqr-sqrt_binary64_1123
30×times-frac_binary64_1107
17×add-cube-cbrt_binary64_1136
cosh-undef_binary64_1295 distribute-lft-out_binary64_1052
sinh-undef_binary64_1294 add-log-exp_binary64_1140 difference-of-squares_binary64_1070 distribute-lft-out--_binary64_1053
associate-/l*_binary64_1046
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 associate-/r*_binary64_1045
pow1_binary64_1162 cancel-sign-sub-inv_binary64_1067
flip3--_binary64_1105 flip--_binary64_1076 associate-/l/_binary64_1048 flip3-+_binary64_1104 associate-/r/_binary64_1047 flip-+_binary64_1075
diff-log_binary64_1193 sub-neg_binary64_1094 tanh-undef_binary64_1296 div-exp_binary64_1152 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 div-sub_binary64_1106 clear-num_binary64_1100 div-inv_binary64_1098 sum-log_binary64_1192 +-commutative_binary64_1031
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)))
4.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 1999 to 313 computations (84.3% saved)

series202.0ms (3.6%)

Error
0.7b
Counts
3 → 18
Calls

3 calls:

104.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
42.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
34.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 602 to 382 computations (36.5% saved)

simplify80.0ms (1.4%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050392484

prune111.0ms (2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh000
Picked011
Done000
Total1044108
Error
0b
Counts
108 → 4
Compiler

Compiled 2112 to 423 computations (80% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
tanh-def-c_binary64_1290 tanh-def-b_binary64_1289 tanh-def-a_binary64_1288 pow1_binary64_1162 add-log-exp_binary64_1140 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 add-cube-cbrt_binary64_1136 add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)
Compiler

Compiled 82 to 46 computations (43.9% saved)

series101.0ms (1.8%)

Error
0b
Counts
1 → 6
Calls

1 calls:

96.0ms
(tanh.f64 x)
Compiler

Compiled 158 to 135 computations (14.6% saved)

simplify36.0ms (0.6%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
04965163
14965163

prune14.0ms (0.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New15116
Fresh112
Picked011
Done011
Total16420
Error
0b
Counts
20 → 4
Compiler

Compiled 148 to 92 computations (37.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite247.0ms (4.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
34×add-sqr-sqrt_binary64_1123
19×add-exp-log_binary64_1139
18×associate-*r*_binary64_1041
17×*-un-lft-identity_binary64_1101 associate-*l*_binary64_1042
16×add-log-exp_binary64_1140
15×add-cube-cbrt_binary64_1136
12×unpow-prod-down_binary64_1180
10×add-cbrt-cube_binary64_1137 unswap-sqr_binary64_1069
prod-exp_binary64_1150
sqr-pow_binary64_1073
pow1_binary64_1162 cube-prod_binary64_1129 sum-log_binary64_1192 diff-log_binary64_1193 flip3-+_binary64_1104 frac-sub_binary64_1110 flip-+_binary64_1075
pow-to-exp_binary64_1170 pow-exp_binary64_1169 cbrt-unprod_binary64_1134 *-commutative_binary64_1032 cancel-sign-sub-inv_binary64_1067
unpow3_binary64_1167 cube-mult_binary64_1131 flip3--_binary64_1105 sub-neg_binary64_1094 flip--_binary64_1076 difference-of-squares_binary64_1070 distribute-lft-out--_binary64_1053 associate--l+_binary64_1038 associate--r+_binary64_1037
Counts
4 → 106
Calls

4 calls:

11.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (pow.f64 x 7) 17/315)))
7.0ms
(*.f64 1/3 (pow.f64 x 3))
5.0ms
(*.f64 (pow.f64 x 7) 17/315)
5.0ms
(*.f64 (pow.f64 x 5) 2/15)
Compiler

Compiled 3201 to 2555 computations (20.2% saved)

series271.0ms (4.8%)

Error
0b
Counts
4 → 17
Calls

4 calls:

77.0ms
(*.f64 (pow.f64 x 7) 17/315)
72.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (pow.f64 x 7) 17/315)))
57.0ms
(*.f64 (pow.f64 x 5) 2/15)
50.0ms
(*.f64 1/3 (pow.f64 x 3))
Compiler

Compiled 691 to 574 computations (16.9% saved)

simplify92.0ms (1.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
050172213

prune211.0ms (3.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1230123
Fresh011
Picked011
Done022
Total1234127
Error
0b
Counts
127 → 4
Compiler

Compiled 3110 to 2461 computations (20.9% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (tanh.f64 x))
0.0b
(tanh.f64 x)
0.0b
(tanh.f64 x)
0.2b
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))

rewrite99.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
28×add-sqr-sqrt_binary64_1123
27×sqrt-div_binary64_1118
21×sqrt-prod_binary64_1117
20×pow1_binary64_1162
13×add-cube-cbrt_binary64_1136 *-un-lft-identity_binary64_1101
11×tanh-def-c_binary64_1290 tanh-def-b_binary64_1289 tanh-def-a_binary64_1288
pow1/2_binary64_1181 sqrt-pow1_binary64_1119 frac-times_binary64_1111
swap-sqr_binary64_1068
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 associate-*l*_binary64_1042 associate-*r*_binary64_1041
pow-prod-up_binary64_1171
add-log-exp_binary64_1140 unswap-sqr_binary64_1069
pow-prod-down_binary64_1172 rem-sqrt-square_binary64_1114 pow-sqr_binary64_1074 associate-*l/_binary64_1044 associate-*r/_binary64_1043
pow2_binary64_1182 pow-plus_binary64_1164 prod-exp_binary64_1150 cbrt-unprod_binary64_1134 sqrt-unprod_binary64_1121 sqr-abs_binary64_1116 rem-square-sqrt_binary64_1113 *-commutative_binary64_1032
Counts
4 → 101
Calls

4 calls:

9.0ms
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
2.0ms
(sqrt.f64 (tanh.f64 x))
1.0ms
(tanh.f64 x)
1.0ms
(tanh.f64 x)
Compiler

Compiled 1511 to 525 computations (65.3% saved)

series364.0ms (6.5%)

Error
0b
Counts
4 → 21
Calls

4 calls:

95.0ms
(tanh.f64 x)
85.0ms
(sqrt.f64 (tanh.f64 x))
83.0ms
(*.f64 (sqrt.f64 (tanh.f64 x)) (sqrt.f64 (tanh.f64 x)))
81.0ms
(tanh.f64 x)
Compiler

Compiled 751 to 603 computations (19.7% saved)

simplify48.0ms (0.9%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
049691346
149691346

prune90.0ms (1.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1220122
Fresh000
Picked011
Done033
Total1224126
Error
0b
Counts
126 → 4
Compiler

Compiled 1356 to 569 computations (58% saved)

regimes101.0ms (1.8%)

Accuracy

Total 0.0b remaining (99%)

Threshold costs 0.0b (99%)

Compiler

Compiled 823 to 577 computations (29.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample2.6s (46.4%)

Algorithm
intervals
Results
1.0s3864×body1024valid
273.0ms1936×body512valid
241.0ms7492×body128overflowed
127.0ms422×body2048valid
88.0ms982×body256valid
33.0ms796×body128valid
Compiler

Compiled 372 to 272 computations (26.9% saved)

Profiling

Loading profile data...