Details

Time bar (total: 15.1s)

analyze1.6s (10.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04877216
14877216
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14
Compiler

Compiled 39 to 27 computations (30.8% saved)

sample71.0ms (0.5%)

Algorithm
intervals
Results
43.0ms256×body128valid
3.0ms21×body128nan
2.0ms15×body128invalid
Compiler

Compiled 77 to 56 computations (27.3% saved)

simplify640.0ms (4.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (628.0ms)

IterNodesCost
0297754
1297754

prune14.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
21.5b
Counts
2 → 1
Compiler

Compiled 72 to 50 computations (30.6% saved)

localize43.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.9b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
1.4b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
23.7b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
23.7b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite57.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
11×*-un-lft-identity_binary64
add-log-exp_binary64
add-cube-cbrt_binary64 sqrt-prod_binary64
pow1_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
flip3--_binary64 cancel-sign-sub-inv_binary64 flip--_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 difference-of-squares_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 distribute-lft-out_binary64 distribute-lft-out--_binary64 +-commutative_binary64 flip-+_binary64 sum-log_binary64
Counts
4 → 59
Calls

4 calls:

18.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
15.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
11.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
8.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))

series1.0s (6.7%)

Counts
4 → 61
Calls

4 calls:

267.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
267.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
253.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
221.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 3806 to 2831 computations (25.6% saved)

simplify113.0ms (0.7%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049282188
149282188

prune404.0ms (2.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1137120
Fresh000
Picked101
Done000
Total1147121
Error
6.0b
Counts
121 → 7
Compiler

Compiled 4995 to 2965 computations (40.6% saved)

localize42.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))))
0.6b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
1.4b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
23.7b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite47.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 distribute-lft-out_binary64
associate-/r*_binary64
associate-/l*_binary64 sqrt-prod_binary64
flip3-+_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 cbrt-undiv_binary64 cancel-sign-sub-inv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 72
Calls

4 calls:

15.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))))
12.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
8.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
8.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))

series1.1s (7.4%)

Counts
4 → 62
Calls

4 calls:

313.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
303.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))))
253.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
251.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
Compiler

Compiled 2983 to 2297 computations (23% saved)

simplify119.0ms (0.8%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049482660
149482660

prune355.0ms (2.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1313134
Fresh336
Picked101
Done000
Total1356141
Error
6.0b
Counts
141 → 6
Compiler

Compiled 4528 to 2498 computations (44.8% saved)

localize46.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 c (/.f64 1 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))))
0.6b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
1.4b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
23.7b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite60.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×associate-*r*_binary64
14×add-cube-cbrt_binary64 times-frac_binary64
13×add-exp-log_binary64
add-cbrt-cube_binary64
add-log-exp_binary64
pow1_binary64
distribute-lft-out_binary64 prod-exp_binary64
associate-*l*_binary64 unswap-sqr_binary64 sqrt-prod_binary64
flip3-+_binary64 flip3--_binary64 cbrt-unprod_binary64 associate-/r/_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
pow-prod-down_binary64 sub-neg_binary64 pow1/2_binary64 diff-log_binary64 1-exp_binary64 cbrt-undiv_binary64 associate-*r/_binary64 cancel-sign-sub-inv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 rec-exp_binary64 un-div-inv_binary64 div-inv_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 80
Calls

4 calls:

25.0ms
(*.f64 c (/.f64 1 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))))
12.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
9.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
8.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))

series1.1s (7.4%)

Counts
4 → 62
Calls

4 calls:

314.0ms
(*.f64 c (/.f64 1 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))))
299.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
261.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
243.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
Compiler

Compiled 3135 to 2449 computations (21.9% saved)

simplify119.0ms (0.8%)

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
050522599

prune377.0ms (2.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1411142
Fresh055
Picked011
Done000
Total1417148
Error
6.0b
Counts
148 → 7
Compiler

Compiled 5011 to 2902 computations (42.1% saved)

localize50.0ms (0.3%)

Local error

Found 4 expressions with local error:

7.0b
(-.f64 (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))) b)
23.7b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
24.5b
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
24.5b
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite44.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 cbrt-prod_binary64
pow1_binary64
cbrt-div_binary64 flip3--_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip--_binary64
cancel-sign-sub-inv_binary64 sqrt-prod_binary64
pow1/3_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
Counts
4 → 55
Calls

4 calls:

18.0ms
(-.f64 (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))) b)
8.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
8.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
8.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))

series1.7s (11.4%)

Counts
4 → 60
Calls

4 calls:

587.0ms
(-.f64 (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))) b)
423.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
422.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
282.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 5943 to 4434 computations (25.4% saved)

simplify90.0ms (0.6%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050742821

prune440.0ms (2.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1150115
Fresh055
Picked011
Done011
Total1157122
Error
6.0b
Counts
122 → 7
Compiler

Compiled 6199 to 3721 computations (40% saved)

regimes1.2s (8.1%)

Accuracy

Total 0.8b remaining (13%)

Threshold costs 0.8b (13%)

Compiler

Compiled 6002 to 4310 computations (28.2% saved)

bsearch9.0ms (0.1%)

Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
0141358
1141358

end0.0ms (0%)

sample4.1s (27.4%)

Algorithm
intervals
Results
1.3s8000×body128valid
93.0ms618×body128nan
69.0ms434×body128invalid
Compiler

Compiled 1755 to 1235 computations (29.6% saved)

Profiling

Loading profile data...