Details

Time bar (total: 6.6s)

analyze494.0ms (7.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513296
033
133
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample37.0ms (0.6%)

Algorithm
intervals
Results
15.0ms241×body128valid
9.0ms278×pre128true
1.0ms15×body256valid
1.0ms22×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify315.0ms (4.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (309.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.8b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
28.7b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite36.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_2146
14×*-un-lft-identity_binary64_2124
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
add-log-exp_binary64_2163 add-cube-cbrt_binary64_2159
difference-of-squares_binary64_2093 associate-/l*_binary64_2069 sqrt-prod_binary64_2140 times-frac_binary64_2130
pow1_binary64_2185
flip--_binary64_2099 flip3--_binary64_2128 cancel-sign-sub-inv_binary64_2090
distribute-lft-out--_binary64_2076
cbrt-undiv_binary64_2158 sqrt-div_binary64_2141 diff-log_binary64_2216 sub-neg_binary64_2117 associate-/l/_binary64_2071 div-exp_binary64_2175
clear-num_binary64_2123 sqrt-pow1_binary64_2142 associate-/r*_binary64_2068 rem-sqrt-square_binary64_2137 prod-exp_binary64_2173 pow1/2_binary64_2204 div-sub_binary64_2129 div-inv_binary64_2121 cbrt-unprod_binary64_2157 frac-2neg_binary64_2135
Counts
4 → 74
Calls

4 calls:

12.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
5.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series263.0ms (4%)

Counts
4 → 12
Calls

4 calls:

100.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
68.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
61.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
33.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify90.0ms (1.4%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
048991979
148991979

prune101.0ms (1.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh000
Picked101
Done000
Total83487

Merged error: 0.3b

Counts
87 → 4
Compiler

Compiled 2062 to 1220 computations (40.8% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
0.2b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite53.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
22×times-frac_binary64_2130
20×*-un-lft-identity_binary64_2124
17×cbrt-undiv_binary64_2158 div-exp_binary64_2175
13×prod-exp_binary64_2173 cbrt-unprod_binary64_2157
11×associate-/l*_binary64_2069
10×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146
add-log-exp_binary64_2163
associate-/r/_binary64_2070
distribute-lft-out_binary64_2075 associate-/r*_binary64_2068
pow1_binary64_2185 flip3-+_binary64_2127 flip-+_binary64_2098 div-inv_binary64_2121
clear-num_binary64_2123 frac-2neg_binary64_2135
flip--_binary64_2099 flip3--_binary64_2128 cancel-sign-sub-inv_binary64_2090 sum-log_binary64_2215 diff-log_binary64_2216 +-commutative_binary64_2054 sub-neg_binary64_2117 associate-/l/_binary64_2071
Counts
4 → 99
Calls

4 calls:

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

series455.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

197.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
161.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
35.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify64.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049823037
149823037

prune164.0ms (2.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1047111
Fresh303
Picked101
Done000
Total1087115

Merged error: 0b

Counts
115 → 7
Compiler

Compiled 3269 to 2015 computations (38.4% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
0.2b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.2b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_2124
15×add-sqr-sqrt_binary64_2146
14×add-cube-cbrt_binary64_2159
12×times-frac_binary64_2130
add-log-exp_binary64_2163
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
distribute-lft-out_binary64_2075 pow1_binary64_2185
associate-/r*_binary64_2068
associate-/l*_binary64_2069 sqrt-prod_binary64_2140
flip--_binary64_2099 flip3--_binary64_2128 associate-/r/_binary64_2070 sqrt-div_binary64_2141 flip3-+_binary64_2127 flip-+_binary64_2098
clear-num_binary64_2123 cbrt-undiv_binary64_2158 cancel-sign-sub-inv_binary64_2090 sum-log_binary64_2215 sqrt-pow1_binary64_2142 diff-log_binary64_2216 rem-sqrt-square_binary64_2137 +-commutative_binary64_2054 pow1/2_binary64_2204 sub-neg_binary64_2117 div-inv_binary64_2121 div-exp_binary64_2175 frac-2neg_binary64_2135
Counts
4 → 72
Calls

4 calls:

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

series331.0ms (5%)

Counts
4 → 12
Calls

4 calls:

180.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
59.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
57.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
35.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify78.0ms (1.2%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049051972
149051972

prune111.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh066
Picked011
Done000
Total84791

Merged error: 0b

Counts
91 → 7
Compiler

Compiled 2366 to 1472 computations (37.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.2b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
0.2b
(/.f64 1 (/.f64 2 (/.f64 (*.f64 c -4) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
0.3b
(/.f64 2 (/.f64 (*.f64 c -4) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))

rewrite84.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
319×times-frac_binary64_2130
161×*-un-lft-identity_binary64_2124
127×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146
47×add-exp-log_binary64_2162
45×associate-/r*_binary64_2068
38×associate-/r/_binary64_2070
28×div-exp_binary64_2175
27×add-cbrt-cube_binary64_2160
22×div-inv_binary64_2121
17×distribute-lft-out_binary64_2075 flip3-+_binary64_2127 flip-+_binary64_2098
14×cbrt-undiv_binary64_2158
add-log-exp_binary64_2163
associate-/l*_binary64_2069
pow1_binary64_2185
prod-exp_binary64_2173 1-exp_binary64_2168 rec-exp_binary64_2174
clear-num_binary64_2123 cbrt-unprod_binary64_2157 frac-2neg_binary64_2135
flip--_binary64_2099 flip3--_binary64_2128 cancel-sign-sub-inv_binary64_2090 sum-log_binary64_2215 diff-log_binary64_2216 +-commutative_binary64_2054 sub-neg_binary64_2117 pow-flip_binary64_2198 inv-pow_binary64_2209
Counts
4 → 256
Calls

4 calls:

20.0ms
(/.f64 1 (/.f64 2 (/.f64 (*.f64 c -4) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
12.0ms
(/.f64 2 (/.f64 (*.f64 c -4) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series397.0ms (6%)

Counts
4 → 12
Calls

4 calls:

188.0ms
(/.f64 1 (/.f64 2 (/.f64 (*.f64 c -4) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
109.0ms
(/.f64 2 (/.f64 (*.f64 c -4) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
66.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify125.0ms (1.9%)

Algorithm
egg-herbie
Counts
268 → 268
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
0494910473
1494910473

prune500.0ms (7.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2680268
Fresh055
Picked011
Done011
Total2687275

Merged error: 0b

Counts
275 → 7
Compiler

Compiled 8575 to 5659 computations (34% saved)

regimes508.0ms (7.7%)

Compiler

Compiled 6696 to 5090 computations (24% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06024
16024

end0.0ms (0%)

sample2.3s (35.3%)

Algorithm
intervals
Results
419.0ms7692×body128valid
291.0ms8817×pre128true
40.0ms817×body128nan
33.0ms308×body256valid
Compiler

Compiled 1710 to 1301 computations (23.9% saved)

Profiling

Loading profile data...