Details

Time bar (total: 6.8s)

analyze265.0ms (3.9%)

Algorithm
search
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)

sample32.0ms (0.5%)

Algorithm
intervals
Results
12.0ms242×body128valid
8.0ms280×pre128true
1.0ms14×body256valid
1.0ms24×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify413.0ms (6.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (317.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: 29.2b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.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 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
29.0b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite39.0ms (0.6%)

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))
9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series267.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

104.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
65.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
64.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
34.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify87.0ms (1.3%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048991979
148991979

prune103.0ms (1.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New80686
Fresh000
Picked101
Done000
Total81687

Merged error: 0.4b

Counts
87 → 6
Compiler

Compiled 2126 to 1265 computations (40.5% 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 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite49.0ms (0.7%)

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 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
14.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series464.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

204.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
163.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
63.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049823037
149823037

prune169.0ms (2.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10110111
Fresh505
Picked101
Done000
Total10710117

Merged error: 0b

Counts
117 → 10
Compiler

Compiled 3365 to 2083 computations (38.1% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.2b
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.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 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))

rewrite71.0ms (1%)

Algorithm
rewrite-expression-head
Rules
242×times-frac_binary64_2130
114×*-un-lft-identity_binary64_2124
106×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146
61×add-exp-log_binary64_2162
47×add-cbrt-cube_binary64_2160
37×div-exp_binary64_2175
26×div-inv_binary64_2121
25×cbrt-undiv_binary64_2158
19×associate-/l*_binary64_2069
18×associate-/r/_binary64_2070
15×associate-*r/_binary64_2066
13×associate-/r*_binary64_2068
prod-exp_binary64_2173
add-log-exp_binary64_2163 cbrt-unprod_binary64_2157
distribute-lft-out_binary64_2075 pow1_binary64_2185 1-exp_binary64_2168
clear-num_binary64_2123 frac-2neg_binary64_2135
flip--_binary64_2099 flip3--_binary64_2128 cancel-sign-sub-inv_binary64_2090 diff-log_binary64_2216 sub-neg_binary64_2117 flip3-+_binary64_2127 flip-+_binary64_2098 associate-/l/_binary64_2071
Counts
4 → 226
Calls

4 calls:

18.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
11.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
8.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
7.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series558.0ms (8.3%)

Counts
4 → 12
Calls

4 calls:

194.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
172.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
156.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
35.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify136.0ms (2%)

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
048948594
148948594

prune332.0ms (4.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2362238
Fresh369
Picked011
Done000
Total2399248

Merged error: 0b

Counts
248 → 9
Compiler

Compiled 7203 to 4170 computations (42.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1/2 (+.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)))
0.2b
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))

rewrite44.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64_2124
24×times-frac_binary64_2130
21×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146
18×associate-*r*_binary64_2064 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
pow1_binary64_2185
distribute-lft-out_binary64_2075 add-log-exp_binary64_2163
prod-exp_binary64_2173 cbrt-unprod_binary64_2157
associate-/r/_binary64_2070 associate-/r*_binary64_2068
pow-prod-down_binary64_2195 cbrt-undiv_binary64_2158 associate-/l*_binary64_2069 flip3-+_binary64_2127 flip-+_binary64_2098 div-exp_binary64_2175
div-inv_binary64_2121
flip--_binary64_2099 clear-num_binary64_2123 flip3--_binary64_2128 cancel-sign-sub-inv_binary64_2090 sum-log_binary64_2215 *-commutative_binary64_2055 diff-log_binary64_2216 associate-*l*_binary64_2065 +-commutative_binary64_2054 sub-neg_binary64_2117 associate-*r/_binary64_2066 frac-2neg_binary64_2135
Counts
4 → 95
Calls

4 calls:

13.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
8.0ms
(/.f64 1/2 (+.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)))

series392.0ms (5.8%)

Counts
4 → 12
Calls

4 calls:

191.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
105.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
64.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
32.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify82.0ms (1.2%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049612612
149612612

prune125.0ms (1.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh077
Picked011
Done011
Total1079116

Merged error: 0b

Counts
116 → 9
Compiler

Compiled 2744 to 1732 computations (36.9% saved)

regimes578.0ms (8.5%)

Compiler

Compiled 7724 to 5810 computations (24.8% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.4s (36.1%)

Algorithm
intervals
Results
390.0ms7662×body128valid
276.0ms8852×pre128true
40.0ms852×body128nan
34.0ms338×body256valid
Compiler

Compiled 1967 to 1481 computations (24.7% saved)

Profiling

Loading profile data...