Details

Time bar (total: 6.4s)

analyze475.0ms (7.5%)

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)

sample35.0ms (0.5%)

Algorithm
intervals
Results
15.0ms247×body128valid
8.0ms275×pre128true
1.0ms19×body128nan
1.0msbody256valid
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify317.0ms (5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (312.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
29.0b
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 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)

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

series266.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

106.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
67.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)))
32.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify91.0ms (1.4%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
048991979
148991979

prune104.0ms (1.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New80686
Fresh000
Picked101
Done000
Total81687
Error
0.4b
Counts
87 → 6
Compiler

Compiled 2135 to 1276 computations (40.2% 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)))))

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)))))
11.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))

series448.0ms (7%)

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)))))
155.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))))
34.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify66.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049823037
149823037

prune164.0ms (2.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1038111
Fresh505
Picked101
Done000
Total1098117
Error
0.0b
Counts
117 → 8
Compiler

Compiled 3301 to 2036 computations (38.3% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite48.0ms (0.8%)

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

4 calls:

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

series358.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

156.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (*.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) (*.f64 a 2)))
108.0ms
(*.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))) (*.f64 a 2))
57.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
37.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify95.0ms (1.5%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049392276
149392276

prune117.0ms (1.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New88290
Fresh257
Picked101
Done000
Total91798
Error
0b
Counts
98 → 7
Compiler

Compiled 2654 to 1600 computations (39.7% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (*.f64 (+.f64 b (sqrt.f64 (/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))) (*.f64 a 2)))
0.4b
(/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
0.7b
(pow.f64 (*.f64 a c) 3)

rewrite72.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
54×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
25×prod-exp_binary64_2173 cbrt-unprod_binary64_2157
16×pow1_binary64_2185
14×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
10×cbrt-undiv_binary64_2158 times-frac_binary64_2130 div-exp_binary64_2175
pow-prod-down_binary64_2195
associate-/r/_binary64_2070 associate-/l*_binary64_2069 associate-/r*_binary64_2068 add-log-exp_binary64_2163 distribute-rgt-in_binary64_2074 associate-*r/_binary64_2066 flip3-+_binary64_2127 flip-+_binary64_2098 distribute-lft-in_binary64_2073
pow-unpow_binary64_2201 associate-*l*_binary64_2065
clear-num_binary64_2123 pow-pow_binary64_2196 pow-exp_binary64_2192 associate-*l/_binary64_2067 div-inv_binary64_2121 associate-/l/_binary64_2071 frac-2neg_binary64_2135 rem-cube-cbrt_binary64_2147
unpow3_binary64_2190 unpow-prod-down_binary64_2203 cube-mult_binary64_2154 *-commutative_binary64_2055 sqr-pow_binary64_2096 cube-prod_binary64_2152 pow-to-exp_binary64_2193 associate-*r*_binary64_2064
Counts
4 → 113
Calls

4 calls:

25.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (*.f64 (+.f64 b (sqrt.f64 (/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))) (*.f64 a 2)))
13.0ms
(/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
11.0ms
(*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
4.0ms
(pow.f64 (*.f64 a c) 3)

series505.0ms (7.9%)

Counts
4 → 12
Calls

4 calls:

239.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (*.f64 (+.f64 b (sqrt.f64 (/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))) (*.f64 a 2)))
160.0ms
(/.f64 (+.f64 (*.f64 -64 (pow.f64 (*.f64 a c) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
68.0ms
(*.f64 c (*.f64 (*.f64 a 4) (+.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
37.0ms
(pow.f64 (*.f64 a c) 3)

simplify95.0ms (1.5%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049875188
149875188

prune315.0ms (4.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1250125
Fresh066
Picked011
Done000
Total1257132
Error
0b
Counts
132 → 7
Compiler

Compiled 6546 to 4179 computations (36.2% saved)

regimes469.0ms (7.4%)

Accuracy

Total 0.3b remaining (99.5%)

Threshold costs 0.3b (99.5%)

Compiler

Compiled 6560 to 4894 computations (25.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.2s (34%)

Algorithm
intervals
Results
380.0ms7709×body128valid
269.0ms8823×pre128true
37.0ms823×body128nan
27.0ms291×body256valid
Compiler

Compiled 1676 to 1252 computations (25.3% saved)

Profiling

Loading profile data...