Details

Time bar (total: 7.3s)

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.280762%

Guaranteed chance to sample good point: 62.857376%

Results
9.0ms33×body2560valid
7.0ms161×body80valid
7.0ms31×body1280valid
3.0ms16×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0ms25×body80nan
0.0msbody80invalid
0.0msbody160valid

simplify363.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.2b

Counts
2 → 1

localize11.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))
1.0b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite49.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))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series58.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0360964
11233910
25002901

prune134.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: 5.7b

Counts
104 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.7b
(/ (/ (+ 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))
23.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite44.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)
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))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series122.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07042957
130982807
250012787

prune233.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1963199
Fresh077
Picked011
Done000
Total19611207

Merged error: 5.7b

Counts
207 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.8b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
2.7b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
23.5b
(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))
26.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series124.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))
39.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
18.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

prune307.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4502452
Fresh369
Picked101
Done011
Total4549463

Merged error: 5.7b

Counts
463 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
23.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite32.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:
11.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
4.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series57.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05861942
124381777
250011652

prune92.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.7b

Counts
175 → 9

regimes303.0ms

Accuracy

93.3% (1.6b remaining)

Error of 7.1b against oracle of 5.5b and baseline of 29.6b

bsearch92.0ms

Steps
ItersRangePoint
8
7.786515903648168e+33
8.243245634482105e+36
8.138872639988856e+36
9
1.5418353768342275e-282
5.305196384710469e-273
1.5079584948694994e-279
6
-4.7059157791950687e+83
-5.694770959789599e+82
-3.718440583315633e+83

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04022
14022

end0.0ms

sample2.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.280762%

Guaranteed chance to sample good point: 62.857376%

Results
282.0ms1088×body2560valid
233.0ms5136×body80valid
174.0ms840×body1280valid
75.0ms461×body640valid
40.0ms124×body5120valid
29.0ms230×body320valid
23.0ms489×body80nan
10.0ms121×body160valid
8.0ms186×body80invalid

Profiling

Loading profile data...