Details

Time bar (total: 4.8s)

sample288.0ms

Algorithm
intervals
Results
6.0ms35×body2560valid
6.0ms191×body80valid
5.0ms35×body1280valid
3.0ms115×body80nan
2.0msbody160valid
1.0ms11×body640valid
1.0msbody5120valid
0.0msbody320valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.1b

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

rewrite122.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:
63.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (* b_2 b_2) (* a c))
32.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
30.0ms
(- (* b_2 b_2) (* a c))
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
73.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0368965
11241910
25001901

prune253.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 5.8b

localize11.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.1b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
9.7b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite219.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:
43.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
97.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
61.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
139.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
173.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07302960
132002803
250012783

prune489.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b_2 b_2) (* a c))
1.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
14.5b
(/ a (* a c))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
add-exp-log *-un-lft-identity add-cbrt-cube
add-log-exp
add-cube-cbrt
pow1
sqrt-prod
flip3-- times-frac flip-- associate-/l*
cbrt-undiv sub-neg sqrt-div diff-log div-exp difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 prod-exp clear-num associate-/r* cbrt-unprod div-inv distribute-lft-out--
Counts
4 → 63
Calls
4 calls:
8.0ms
(- (* b_2 b_2) (* a c))
45.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
8.0ms
(/ a (* a c))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* b_2 b_2) (* a c))
64.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
6.0ms
(/ a (* a c))
53.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify127.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0277415
1944374
24178369
35002368

prune183.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 1) (* (/ 1 c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.4b
(- (* b_2 b_2) (* a c))
1.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
104×add-exp-log
69×div-exp
32×1-exp
31×times-frac
28×prod-exp
25×add-cbrt-cube
24×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
17×rec-exp
13×associate-/l*
11×cbrt-undiv
add-log-exp
pow1 flip3-- associate-/r/ flip--
sqrt-prod cbrt-unprod
div-inv
frac-times sub-neg sqrt-div diff-log associate-*r/ difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*l/ clear-num associate-/r* associate-/l/ distribute-lft-out--
Counts
4 → 126
Calls
4 calls:
56.0ms
(/ (/ 1 1) (* (/ 1 c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
8.0ms
(- (* b_2 b_2) (* a c))
45.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
10.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(/ (/ 1 1) (* (/ 1 c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
30.0ms
(- (* b_2 b_2) (* a c))
65.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
54.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07111252
13302977
25003938

prune207.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.7b

regimes127.0ms

Accuracy

81.5% (4.5b remaining)

Error of 10.0b against oracle of 5.4b and baseline of 30.0b

bsearch88.0ms

Steps
ItersRangePoint
9
3.3226137104618393e-109
3.6384927546515274e-103
1.5134930447811e-103
8
-1.0016636615098116e+114
-3.260864156300871e+111
-8.723712166727036e+113

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample1.0s

Algorithm
intervals
Results
190.0ms1063×body2560valid
178.0ms5904×body80valid
139.0ms915×body1280valid
86.0ms2946×body80nan
56.0ms465×body640valid
21.0ms97×body5120valid
16.0ms192×body320valid
7.0ms122×body160valid