Details

Time bar (total: 6.8s)

sample1.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 22.631836%

Guaranteed chance to sample good point: 70.459924%

Results
11.0ms154×body80valid
9.0ms35×body2560valid
8.0ms36×body1280valid
3.0ms19×body640valid
1.0ms22×body80nan
1.0ms16×body80invalid
1.0msbody5120valid
1.0msbody160valid
0.0msbody320valid

simplify361.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.5b

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.2b
(- (* b_2 b_2) (* a c))
1.5b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
26.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite32.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:
11.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))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
23.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))))
22.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0360964
11233910
25002901

prune138.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New958103
Fresh000
Picked101
Done000
Total968104

Merged error: 6.7b

Counts
104 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
12.2b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
26.3b
(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:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
17.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)))

series125.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07042957
130982807
250012787

prune240.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1936199
Fresh347
Picked101
Done000
Total19710207

Merged error: 6.5b

Counts
207 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.1b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
4.0b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
26.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite80.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)
11.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
23.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
53.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
44.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify98.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015577387
150016822

prune314.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4502452
Fresh369
Picked011
Done000
Total4539462

Merged error: 6.5b

Counts
462 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
0.3b
(/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
1.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
26.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
807×times-frac
520×add-sqr-sqrt
425×*-un-lft-identity
331×add-cube-cbrt
94×difference-of-squares
50×sqrt-prod
48×add-exp-log
47×distribute-lft-out--
41×div-inv
34×div-exp
31×associate-/r/
27×associate-/l*
19×associate-/r*
18×add-cbrt-cube
17×flip3-- flip--
cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 diff-log associate-/l/ inv-pow
Counts
4 → 456
Calls
4 calls:
21.0ms
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
9.0ms
(/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series71.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
468 → 468
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
017758061
150017321

prune313.0ms

Filtered
188 candidates to 468 candidates (-148.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4671468
Fresh167
Picked011
Done011
Total4689477

Merged error: 6.5b

Counts
477 → 9

regimes319.0ms

Accuracy

79.2% (5.0b remaining)

Error of 10.7b against oracle of 5.7b and baseline of 29.9b

bsearch67.0ms

Steps
ItersRangePoint
9
2.904374354949655e-138
4.568446479967262e-131
2.7998310366975115e-131
7
-6.354608940524709e+74
-5.0242283959340966e+72
-5.244181346966041e+74

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 22.631836%

Guaranteed chance to sample good point: 70.459924%

Results
259.0ms1033×body2560valid
230.0ms5142×body80valid
192.0ms904×body1280valid
78.0ms466×body640valid
34.0ms111×body5120valid
28.0ms217×body320valid
23.0ms517×body80invalid
21.0ms503×body80nan
10.0ms127×body160valid

Profiling

Loading profile data...