Details

Time bar (total: 6.1s)

sample290.0ms

Algorithm
intervals
Results
9.0ms166×body80valid
8.0ms33×body2560valid
8.0ms39×body1280valid
4.0ms22×body640valid
3.0ms77×body80nan
1.0ms12×body320valid
1.0msbody5120valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

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: 35.7b

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.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.6b
(- (* b_2 b_2) (* a c))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
25.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series277.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
72.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
41.0ms
(- (* b_2 b_2) (* a c))
71.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0389850
11366779
25001753

prune264.0ms

Filtered
112 candidates to 88 candidates (78.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1057112
Fresh000
Picked101
Done000
Total1067113

Merged error: 4.4b

Counts
113 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.8b
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
8.0b
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
199×add-sqr-sqrt
198×*-un-lft-identity
186×times-frac
130×add-cube-cbrt
60×prod-diff
50×sqrt-prod
38×distribute-rgt-neg-in
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
21×distribute-lft-neg-in
11×add-exp-log add-cbrt-cube
10×fma-neg associate-/r* associate-/r/
add-log-exp
neg-mul-1 flip3-- flip--
div-inv
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 284
Calls
4 calls:
15.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
17.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
12.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series442.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
142.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
166.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify145.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
09195579
139184508
250014505

prune525.0ms

Filtered
296 candidates to 172 candidates (58.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2933296
Fresh156
Picked011
Done000
Total2949303

Merged error: 4.4b

Counts
303 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.8b
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
4.8b
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
951×times-frac
630×add-sqr-sqrt
629×*-un-lft-identity
433×add-cube-cbrt
98×distribute-lft-out-- difference-of-squares
83×associate-/l*
82×sqrt-prod
70×distribute-rgt-neg-in
60×prod-diff
28×associate-/r*
22×div-inv
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
cbrt-undiv div-exp
add-log-exp
neg-mul-1
pow1 associate-/r/
expm1-log1p-u log1p-expm1-u
flip3-- frac-2neg sqrt-div diff-log clear-num flip--
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log associate-/l/
Counts
4 → 569
Calls
4 calls:
11.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
14.0ms
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
27.0ms
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
181.0ms
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
155.0ms
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
66.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify132.0ms

Algorithm
egg-herbie
Counts
581 → 581
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0175510832
150029428

prune1.0s

Filtered
581 candidates to 328 candidates (56.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New5774581
Fresh347
Picked101
Done011
Total5819590

Merged error: 4.4b

Counts
590 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
169×add-sqr-sqrt
168×*-un-lft-identity
159×times-frac
116×add-cube-cbrt
61×prod-diff
46×sqrt-prod
34×distribute-rgt-neg-in
26×distribute-lft-out-- difference-of-squares
25×associate-/r*
21×distribute-lft-neg-in
15×add-exp-log
11×fma-neg
10×add-log-exp
add-cbrt-cube
neg-mul-1 div-exp
pow1
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv flip3-- diff-log flip-- associate-/l*
sub-neg rec-exp sqrt-div 1-exp
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num associate-/r/ inv-pow
Counts
4 → 249
Calls
4 calls:
13.0ms
(/ 1 (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
4.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ 1 (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
37.0ms
(- (* b_2 b_2) (* a c))
67.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify104.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
08024369
132033287
250023111

prune282.0ms

Filtered
261 candidates to 107 candidates (41.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2592261
Fresh257
Picked011
Done011
Total2619270

Merged error: 4.4b

Counts
270 → 9

regimes168.0ms

Accuracy

92.8% (1.7b remaining)

Error of 7.2b against oracle of 5.4b and baseline of 29.8b

bsearch99.0ms

Steps
ItersRangePoint
7
3.0106008231332273e+28
3.853441604264477e+30
3.7841174599135035e+30
7
-2.7658122324780073e-177
-4.963613050543331e-179
-1.3880501838027266e-178
2
-4.193597519284562e+95
-3.5355996581575456e+95
-4.111347786643685e+95

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04123
14123

end0.0ms

sample1.3s

Algorithm
intervals
Results
292.0ms1137×body2560valid
257.0ms5779×body80valid
186.0ms893×body1280valid
118.0ms2863×body80nan
76.0ms464×body640valid
33.0ms107×body5120valid
30.0ms249×body320valid
9.0ms110×body160valid