Details

Time bar (total: 4.8s)

sample38.0ms

Algorithm
intervals
Results
7.0ms35×body2560valid
6.0ms179×body80valid
5.0ms89×body80nan
5.0ms32×body1280valid
2.0ms15×body640valid
2.0msbody5120valid
1.0msbody320valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.3b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite56.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:
12.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
35.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
2.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
84.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
36.0ms
(- (* b_2 b_2) (* a c))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0368965
11241910
25001901

prune253.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.7b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
7.7b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite97.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:
17.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
39.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
26.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series465.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
152.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
184.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07302960
132002803
250012783

prune703.0ms

Filtered
199 candidates to 148 candidates (74.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (/ 1 1) (* (/ a (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
11.0b
(/ a (* a c))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
103×add-exp-log
60×div-exp
41×add-cbrt-cube
34×times-frac
29×prod-exp
26×add-sqr-sqrt
23×*-un-lft-identity
21×add-cube-cbrt
20×1-exp
18×cbrt-undiv
16×associate-/l*
cbrt-unprod
rec-exp
add-log-exp
pow1 associate-/r/
flip3-- sqrt-prod flip-- div-inv
frac-times frac-2neg sqrt-div associate-*r/ clear-num associate-/r* difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*l/ associate-/l/ distribute-lft-out--
Counts
4 → 130
Calls
4 calls:
25.0ms
(/ (/ 1 1) (* (/ a (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
17.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.0ms
(/ a (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(/ (/ 1 1) (* (/ a (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
72.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
6.0ms
(/ a (* a c))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify89.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07471294
13857947
25001885

prune226.0ms

Filtered
142 candidates to 74 candidates (52.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
0.4b
(- (* b_2 b_2) (* a c))
0.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×*-un-lft-identity
18×times-frac
16×add-cube-cbrt
10×difference-of-squares
sqrt-prod add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1 distribute-lft-out--
flip3-- flip--
associate-/l*
sub-neg sqrt-div diff-log associate-/r/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 83
Calls
4 calls:
18.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
2.0ms
(- (* b_2 b_2) (* a c))
20.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
36.0ms
(- (* b_2 b_2) (* a c))
67.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify131.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0314812
11008760
23967755
35001755

prune211.0ms

Filtered
95 candidates to 70 candidates (73.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.3b

regimes207.0ms

Accuracy

95.9% (1.0b remaining)

Error of 6.3b against oracle of 5.3b and baseline of 29.4b

bsearch147.0ms

Steps
ItersRangePoint
10
2.531505514381809e+64
2.4051897841780437e+82
1.3017976234533476e+80
10
1.3073375047174026e-281
5.2835940265373795e-264
1.4444479783899298e-267
7
-4.788437381304621e+112
-4.459607117755996e+110
-4.419169890115165e+111

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04122
14322
24322

end0.0ms

sample991.0ms

Algorithm
intervals
Results
209.0ms1047×body2560valid
192.0ms5916×body80valid
140.0ms897×body1280valid
84.0ms2837×body80nan
54.0ms419×body640valid
32.0ms133×body5120valid
22.0ms242×body320valid
7.0ms116×body160valid