Details

Time bar (total: 5.7s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 25.539477%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
10.0ms39×body2560valid
8.0ms158×body80valid
8.0ms35×body1280valid
2.0ms12×body640valid
1.0msbody320valid
1.0ms15×body80nan
1.0msbody5120valid
0.0msbody80invalid
0.0msbody160valid

simplify354.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 91
Calls
4 calls:
10.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
18.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0360964
11233910
25002901

prune148.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh000
Picked101
Done000
Total959104

Merged error: 5.1b

Counts
104 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.6b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
9.5b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
22.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
150×add-sqr-sqrt
115×*-un-lft-identity
81×add-cube-cbrt
34×difference-of-squares
27×associate-/l*
20×sqrt-prod
17×distribute-lft-out--
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
flip3-- flip--
div-inv add-log-exp
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 187
Calls
4 calls:
9.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
14.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
43.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
53.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify105.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07042957
130982807
250012787

prune243.0ms

Filtered
148 candidates to 199 candidates (-34.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1963199
Fresh268
Picked011
Done000
Total19810208

Merged error: 5.1b

Counts
208 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.1b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
3.6b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
22.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
831×times-frac
549×add-sqr-sqrt
450×*-un-lft-identity
352×add-cube-cbrt
98×difference-of-squares
74×associate-/l*
52×sqrt-prod
49×distribute-lft-out--
25×associate-/r*
22×div-inv
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
add-log-exp
pow1 associate-/r/
flip3-- frac-2neg sqrt-div clear-num flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 440
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
10.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
21.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
54.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
38.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify97.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015577387
150016822

prune330.0ms

Filtered
301 candidates to 452 candidates (-50.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4511452
Fresh178
Picked101
Done011
Total4539462

Merged error: 5.1b

Counts
462 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
0.6b
(- (* b_2 b_2) (* a c))
1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
22.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
121×add-sqr-sqrt
94×*-un-lft-identity
68×add-cube-cbrt
26×difference-of-squares
22×associate-/r*
16×sqrt-prod
15×add-exp-log
13×distribute-lft-out--
add-cbrt-cube
add-log-exp
div-exp
pow1
div-inv
cbrt-undiv flip3-- flip-- associate-/l*
sub-neg rec-exp sqrt-div diff-log 1-exp
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num associate-/r/ inv-pow
Counts
4 → 154
Calls
4 calls:
12.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
3.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify70.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05861942
124381777
250011652

prune101.0ms

Filtered
80 candidates to 166 candidates (-107.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1660166
Fresh077
Picked011
Done011
Total1669175

Merged error: 5.1b

Counts
175 → 9

regimes403.0ms

Accuracy

94.8% (1.2b remaining)

Error of 6.5b against oracle of 5.3b and baseline of 29.2b

bsearch113.0ms

Steps
ItersRangePoint
7
3.717716200485056e+142
7.729613649274468e+144
4.2321230285911654e+142
5
2.9768486293611714e-254
9.786874166580843e-254
3.533707819462155e-254
9
-2.8748988458292226e+66
-1.9644845327573866e+61
-5.365604015267966e+65

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03619
13619

end0.0ms

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 25.539477%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
275.0ms1071×body2560valid
230.0ms5136×body80valid
196.0ms946×body1280valid
66.0ms407×body640valid
39.0ms113×body5120valid
27.0ms218×body320valid
19.0ms474×body80nan
9.0ms109×body160valid
8.0ms188×body80invalid

Profiling

Loading profile data...