Details

Time bar (total: 6.1s)

sample295.0ms

Algorithm
intervals
Results
11.0ms38×body2560valid
8.0ms181×body80valid
6.0ms30×body1280valid
4.0ms96×body80nan
3.0ms19×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify13.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: 35.8b

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.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.4b
(- (* b_2 b_2) (* a c))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

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

series267.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
71.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
42.0ms
(- (* b_2 b_2) (* a c))
70.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

prune253.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh000
Picked101
Done000
Total959104

Merged error: 5.8b

Counts
104 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.4b
(/ (/ (+ 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))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

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

series484.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
158.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
192.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify113.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07302960
132002803
250012783

prune488.0ms

Filtered
199 candidates to 148 candidates (74.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1954199
Fresh448
Picked011
Done000
Total1999208

Merged error: 5.7b

Counts
208 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.3b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
3.4b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite87.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)
12.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
24.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
173.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
142.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify95.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
015717388
150016820

prune1.0s

Filtered
452 candidates to 301 candidates (66.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4511452
Fresh167
Picked101
Done011
Total4538461

Merged error: 5.7b

Counts
461 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

5.7b
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
9.6b
(/ (+ 0 (* a c)) (- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2))
15.0b
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
30×*-un-lft-identity
21×times-frac
20×add-cube-cbrt
16×log-prod exp-sum
15×difference-of-squares
11×sqrt-prod
pow1 associate-/r*
add-exp-log exp-prod add-cbrt-cube add-log-exp
distribute-lft-out--
flip3-- sqrt-div flip--
log-pow associate-/l*
log-div sqrt-pow1 pow1/2 exp-diff associate-/r/ associate-/l/
cbrt-undiv sub-neg rem-sqrt-square frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv rem-exp-log
Counts
4 → 100
Calls
4 calls:
6.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
14.0ms
(/ (+ 0 (* a c)) (- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2))
10.0ms
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series385.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(exp (log (sqrt (- (* b_2 b_2) (* a c)))))
191.0ms
(/ (+ 0 (* a c)) (- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2))
68.0ms
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04151314
115391176
250011142

prune275.0ms

Filtered
112 candidates to 82 candidates (73.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh066
Picked101
Done011
Total1128120

Merged error: 5.7b

Counts
120 → 8

regimes198.0ms

Accuracy

85.4% (4.1b remaining)

Error of 9.9b against oracle of 5.8b and baseline of 33.6b

bsearch151.0ms

Steps
ItersRangePoint
6
2087876908255263.8
9946277058360104.0
9787957843074626.0
9
-4.9573805767806585e-301
-7.083727823843107e-308
-3.8234222669553895e-306
9
-2.9777074523227444e+74
-9.540315001687748e+64
-7.825514768656328e+65

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04124
14324
24324

end0.0ms

sample1.2s

Algorithm
intervals
Results
263.0ms5938×body80valid
263.0ms1068×body2560valid
176.0ms852×body1280valid
120.0ms2829×body80nan
69.0ms435×body640valid
33.0ms109×body5120valid
29.0ms213×body320valid
9.0ms112×body160valid

Profiling

Loading profile data...