Details

Time bar (total: 16.9s)

analyze1.6s (9.3%)

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)

sample72.0ms (0.4%)

Algorithm
intervals
Results
40.0ms256×body128valid
4.0ms28×body128nan
2.0ms13×body128invalid
Compiler

Compiled 77 to 56 computations (27.3% saved)

simplify647.0ms (3.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (636.0ms)

IterNodesCost
0297754
1297754

prune21.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
21.8b
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.7b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
0.8b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
24.8b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
24.8b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite252.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
21.7b
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 flip--_binary64 cancel-sign-sub-inv_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 difference-of-squares_binary64
diff-log_binary64 sub-neg_binary64 distribute-lft-out--_binary64 sum-log_binary64 flip3-+_binary64 flip-+_binary64 distribute-lft-out_binary64 +-commutative_binary64
Counts
4 → 59
Calls

4 calls:

14.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)))))
10.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 2821 to 1660 computations (41.2% saved)

series1.2s (7%)

Error
4.5b
Counts
4 → 63
Calls

4 calls:

270.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
258.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
257.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
240.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 6129 to 4208 computations (31.3% saved)

simplify151.0ms (0.9%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (103.0ms)

IterNodesCost
055222126

prune406.0ms (2.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1148122
Fresh000
Picked101
Done000
Total1158123
Error
4.4b
Counts
123 → 8
Compiler

Compiled 5059 to 2894 computations (42.8% saved)

localize43.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a))
0.6b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
0.7b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
24.8b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite260.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
4.2b
Rules
23×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64
12×times-frac_binary64 associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 distribute-rgt-out--_binary64 distribute-lft-out--_binary64
distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
pow1_binary64
flip3--_binary64 flip--_binary64 sqrt-prod_binary64
sqrt-div_binary64 div-exp_binary64 cbrt-undiv_binary64 difference-of-squares_binary64 neg-mul-1_binary64 associate-/l/_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 sum-log_binary64 flip3-+_binary64 flip-+_binary64 distribute-lft-out_binary64 +-commutative_binary64 diff-log_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64 prod-exp_binary64 cbrt-unprod_binary64 frac-2neg_binary64 div-sub_binary64 clear-num_binary64 div-inv_binary64 associate-/r*_binary64
Counts
4 → 81
Calls

4 calls:

17.0ms
(/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a))
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))))
8.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
Compiler

Compiled 2991 to 1622 computations (45.8% saved)

series1.0s (6.2%)

Error
4.2b
Counts
4 → 57
Calls

4 calls:

308.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
256.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
252.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
110.0ms
(/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a))
Compiler

Compiled 4120 to 2863 computations (30.5% saved)

simplify131.0ms (0.8%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
049511943
149511943

prune360.0ms (2.1%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1326138
Fresh257
Picked101
Done000
Total13511146
Error
4.2b
Counts
146 → 11
Compiler

Compiled 4554 to 2483 computations (45.5% saved)

localize30.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 -2 (/.f64 c (+.f64 b b)))
0.2b
(/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a))
0.2b
(/.f64 c (+.f64 b b))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite398.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
4.2b
Rules
95×*-un-lft-identity_binary64
85×times-frac_binary64
84×add-sqr-sqrt_binary64
75×add-cube-cbrt_binary64
42×associate-*r*_binary64
21×distribute-rgt-out_binary64 distribute-lft-out_binary64
15×add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
13×associate-/r*_binary64
distribute-rgt-out--_binary64 distribute-lft-out--_binary64
distribute-rgt1-in_binary64 distribute-lft1-in_binary64 count-2_binary64
distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
pow1_binary64
div-exp_binary64 cbrt-undiv_binary64 associate-/r/_binary64
add-log-exp_binary64 div-inv_binary64 prod-exp_binary64 cbrt-unprod_binary64 associate-*l*_binary64
frac-2neg_binary64 clear-num_binary64 flip3-+_binary64 flip-+_binary64 difference-of-squares_binary64 neg-mul-1_binary64 associate-/l/_binary64 unswap-sqr_binary64
div-sub_binary64 flip3--_binary64 flip--_binary64 pow-prod-down_binary64 associate-*r/_binary64 *-commutative_binary64
Counts
3 → 168
Calls

3 calls:

29.0ms
(*.f64 -2 (/.f64 c (+.f64 b b)))
19.0ms
(/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a))
15.0ms
(/.f64 c (+.f64 b b))
Compiler

Compiled 4463 to 1911 computations (57.2% saved)

series326.0ms (1.9%)

Error
4.2b
Counts
3 → 18
Calls

3 calls:

101.0ms
(/.f64 c (+.f64 b b))
98.0ms
(/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a))
97.0ms
(*.f64 -2 (/.f64 c (+.f64 b b)))
Compiler

Compiled 936 to 675 computations (27.9% saved)

simplify119.0ms (0.7%)

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049682029
149682029

prune359.0ms (2.1%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1824186
Fresh1910
Picked101
Done000
Total18413197
Error
4.2b
Counts
197 → 13
Compiler

Compiled 4754 to 2212 computations (53.5% saved)

localize25.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 -2 (/.f64 c (+.f64 b b)))
0.2b
(/.f64 c (+.f64 b b))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite229.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
4.2b
Rules
78×*-un-lft-identity_binary64
73×times-frac_binary64
69×add-sqr-sqrt_binary64
64×add-cube-cbrt_binary64
42×associate-*r*_binary64
21×distribute-rgt-out_binary64 distribute-lft-out_binary64
12×associate-/r*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
distribute-rgt1-in_binary64 distribute-lft1-in_binary64 count-2_binary64
pow1_binary64 associate-/r/_binary64
associate-/l*_binary64 associate-*l*_binary64
div-exp_binary64 add-log-exp_binary64 cbrt-undiv_binary64 div-inv_binary64 flip3-+_binary64 flip-+_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64
frac-2neg_binary64 clear-num_binary64 pow-prod-down_binary64 associate-*r/_binary64 *-commutative_binary64
Counts
2 → 126
Calls

2 calls:

26.0ms
(*.f64 -2 (/.f64 c (+.f64 b b)))
11.0ms
(/.f64 c (+.f64 b b))
Compiler

Compiled 2884 to 1065 computations (63.1% saved)

series216.0ms (1.3%)

Error
4.2b
Counts
2 → 12
Calls

2 calls:

107.0ms
(/.f64 c (+.f64 b b))
94.0ms
(*.f64 -2 (/.f64 c (+.f64 b b)))
Compiler

Compiled 504 to 366 computations (27.4% saved)

simplify107.0ms (0.6%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
050751554

prune191.0ms (1.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1371138
Fresh11112
Picked011
Done000
Total13813151
Error
4.2b
Counts
151 → 13
Compiler

Compiled 2774 to 1039 computations (62.5% saved)

regimes2.4s (14.2%)

Accuracy

Total 1.7b remaining (23%)

Threshold costs 0b (0%)

Compiler

Compiled 11130 to 7834 computations (29.6% saved)

bsearch14.0ms (0.1%)

Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify18.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
0174433
1174433

end0.0ms (0%)

sample6.3s (37.2%)

Algorithm
intervals
Results
1.3s8000×body128valid
113.0ms679×body128nan
62.0ms395×body128invalid
Compiler

Compiled 3087 to 2145 computations (30.5% saved)

Profiling

Loading profile data...