Details

Time bar (total: 12.1s)

analyze894.0ms (7.4%)

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)

sample45.0ms (0.4%)

Algorithm
intervals
Results
25.0ms256×body128valid
2.0ms22×body128nan
2.0ms20×body128invalid
Compiler

Compiled 77 to 56 computations (27.3% saved)

simplify351.0ms (2.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (345.0ms)

IterNodesCost
0297754
1297754

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 72 to 50 computations (30.6% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
1.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite152.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
19.4b
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
sum-log_binary64 flip3-+_binary64 flip-+_binary64 distribute-lft-out_binary64 +-commutative_binary64 diff-log_binary64 sub-neg_binary64 distribute-lft-out--_binary64
Counts
4 → 59
Calls

4 calls:

11.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
6.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 2821 to 1660 computations (41.2% saved)

series763.0ms (6.3%)

Error
5.4b
Counts
4 → 72
Calls

4 calls:

177.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
175.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
157.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))) b)
147.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 7100 to 4884 computations (31.2% saved)

simplify67.0ms (0.6%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049672448
149672448

prune244.0ms (2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1238131
Fresh000
Picked101
Done000
Total1248132
Error
5.3b
Counts
132 → 8
Compiler

Compiled 5515 to 3148 computations (42.9% saved)

localize22.0ms (0.2%)

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.4b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
1.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite144.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
5.3b
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
sqrt-prod_binary64 associate-/l*_binary64
flip3--_binary64 sqrt-div_binary64 flip--_binary64 flip3-+_binary64 flip-+_binary64 associate-/r/_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 sum-log_binary64 +-commutative_binary64 diff-log_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64 div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 clear-num_binary64 div-inv_binary64
Counts
4 → 72
Calls

4 calls:

11.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
5.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
Compiler

Compiled 2917 to 1611 computations (44.8% saved)

series901.0ms (7.4%)

Error
5.3b
Counts
4 → 71
Calls

4 calls:

305.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))))
190.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a))))
165.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))))
161.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 4 a)))
Compiler

Compiled 5416 to 3765 computations (30.5% saved)

simplify68.0ms (0.6%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049412842
149412842

prune197.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1385143
Fresh437
Picked101
Done000
Total1438151
Error
5.3b
Counts
151 → 8
Compiler

Compiled 4849 to 2532 computations (47.8% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 c (/.f64 1 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
0.4b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite155.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
5.3b
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
sqrt-prod_binary64 unswap-sqr_binary64 associate-*l*_binary64
flip3--_binary64 sqrt-div_binary64 flip--_binary64 flip3-+_binary64 flip-+_binary64 div-exp_binary64 cbrt-unprod_binary64 associate-/r/_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 sum-log_binary64 +-commutative_binary64 diff-log_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64 pow-prod-down_binary64 1-exp_binary64 rec-exp_binary64 cbrt-undiv_binary64 un-div-inv_binary64 associate-*r/_binary64 div-inv_binary64 *-commutative_binary64
Counts
4 → 80
Calls

4 calls:

13.0ms
(*.f64 c (/.f64 1 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 3424 to 1864 computations (45.6% saved)

series771.0ms (6.3%)

Error
5.3b
Counts
4 → 71
Calls

4 calls:

211.0ms
(*.f64 c (/.f64 1 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
172.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
166.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
140.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 5688 to 4046 computations (28.9% saved)

simplify66.0ms (0.5%)

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049382781
149382781

prune210.0ms (1.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1510151
Fresh077
Picked011
Done000
Total1518159
Error
5.3b
Counts
159 → 8
Compiler

Compiled 5321 to 2898 computations (45.5% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
0.6b
(/.f64 1 (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) c))
1.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 765 to 1275 computations (-66.7% saved)

rewrite279.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
5.3b
Rules
96×times-frac_binary64
80×*-un-lft-identity_binary64
55×add-sqr-sqrt_binary64
54×add-cube-cbrt_binary64
16×associate-/r*_binary64
15×add-exp-log_binary64
13×distribute-lft-out_binary64
add-cbrt-cube_binary64
add-log-exp_binary64
div-exp_binary64
pow1_binary64
div-inv_binary64
sqrt-prod_binary64 cbrt-undiv_binary64 associate-/l*_binary64
flip3--_binary64 sqrt-div_binary64 flip--_binary64 1-exp_binary64 rec-exp_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 sum-log_binary64 flip3-+_binary64 flip-+_binary64 +-commutative_binary64 inv-pow_binary64 pow-flip_binary64 frac-2neg_binary64 clear-num_binary64 associate-/r/_binary64 diff-log_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64
Counts
4 → 127
Calls

4 calls:

11.0ms
(/.f64 1 (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) c))
7.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 5668 to 3121 computations (44.9% saved)

series794.0ms (6.5%)

Error
5.3b
Counts
4 → 71
Calls

4 calls:

214.0ms
(/.f64 1 (/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) c))
173.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
170.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
153.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 5688 to 4039 computations (29% saved)

simplify87.0ms (0.7%)

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049955024
149955024

prune1.8s (14.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1971198
Fresh066
Picked011
Done011
Total1979206
Error
5.3b
Counts
206 → 9
Compiler

Compiled 7145 to 3787 computations (47% saved)

regimes972.0ms (8%)

Accuracy

Total 1.6b remaining (21%)

Threshold costs 0b (0%)

Compiler

Compiled 10670 to 7570 computations (29.1% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0169463
1169463

end0.0ms (0%)

sample3.1s (25.4%)

Algorithm
intervals
Results
680.0ms8000×body128valid
58.0ms675×body128nan
31.0ms383×body128invalid
Compiler

Compiled 2992 to 2093 computations (30% saved)

Profiling

Loading profile data...