Details

Time bar (total: 17.2s)

sample293.0ms

Algorithm
intervals
Results
9.0ms200×body80valid
7.0ms30×body2560valid
6.0ms104×body80nan
5.0ms24×body1280valid
3.0ms16×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.5b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.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:
23.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
9.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
35.0ms
(- (* b_2 b_2) (* a c))
73.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
68.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0368965
11241910
25001901

prune236.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9310103
Fresh000
Picked101
Done000
Total9410104

Merged error: 6.5b

Counts
104 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.9b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.1b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite49.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)
15.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
14.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series461.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
148.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
183.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify113.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07302960
132002803
250012783

prune453.0ms

Filtered
199 candidates to 148 candidates (74.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1954199
Fresh459
Picked101
Done000
Total2009209

Merged error: 6.3b

Counts
209 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

3.3b
(/ (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)) (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
3.9b
(/ (/ (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)) (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) a)
23.2b
(sqrt (- (* b_2 b_2) (* a c)))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite985.0ms

Algorithm
rewrite-expression-head
Rules
15078×times-frac
9183×add-sqr-sqrt
7371×*-un-lft-identity
6341×sqrt-prod
5561×add-cube-cbrt
1810×difference-of-squares
986×associate-/l*
905×distribute-lft-out--
190×div-inv
56×associate-/r/
27×add-exp-log add-cbrt-cube
16×cbrt-undiv div-exp
14×sqrt-div
12×associate-/r*
flip3-- flip--
pow1
add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 4612
Calls
4 calls:
52.0ms
(/ (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)) (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
191.0ms
(/ (/ (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)) (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series405.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(/ (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)) (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
129.0ms
(/ (/ (/ a (/ (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c)) (sqrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) a)
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify1.3s

Algorithm
egg-herbie
Counts
4624 → 4624
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05001157498

prune10.3s

Filtered
4624 candidates to 2187 candidates (47.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New462314624
Fresh178
Picked011
Done000
Total462494633

Merged error: 6.3b

Counts
4633 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

5.5b
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
16.5b
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
23.2b
(sqrt (- (* b_2 b_2) (* a c)))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
11×*-un-lft-identity
10×sqrt-prod
add-cube-cbrt
pow1 log-prod exp-sum
exp-prod sqrt-div add-log-exp
add-exp-log flip3-- add-cbrt-cube flip--
sqrt-pow1 pow1/2 log-pow difference-of-squares
rem-sqrt-square log-div exp-diff
sub-neg diff-log rem-exp-log distribute-lft-out--
Counts
4 → 68
Calls
4 calls:
6.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
10.0ms
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
70.0ms
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0234599
1644550
21885528
35001514

prune254.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh077
Picked101
Done011
Total80989

Merged error: 6.3b

Counts
89 → 9

regimes222.0ms

Accuracy

87.5% (3.3b remaining)

Error of 9.3b against oracle of 5.9b and baseline of 32.7b

bsearch131.0ms

Steps
ItersRangePoint
6
6.333441064762502e+69
2.6854631551896503e+70
2.6627070202833933e+70
9
6.38437193350804e-207
1.0453187696585907e-198
6.54999720168097e-207
7
-1.4866309009530871e+23
-7.041318958472561e+21
-1.0748567715632585e+22

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04331
14331

end0.0ms

sample1.2s

Algorithm
intervals
Results
262.0ms1082×body2560valid
251.0ms5823×body80valid
183.0ms889×body1280valid
117.0ms2907×body80nan
70.0ms442×body640valid
34.0ms107×body5120valid
32.0ms239×body320valid
10.0ms120×body160valid