Details

Time bar (total: 4.3s)

sample39.0ms

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

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune2.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)))

rewrite100.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:
59.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
22.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
29.0ms
(- (* b_2 b_2) (* a c))
63.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
54.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify40.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0368965
11241910
25001901

prune228.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)))

rewrite202.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:
40.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
89.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
56.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series419.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
138.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
166.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
51.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify102.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07302960
132002803
250012783

prune457.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.7b

localize11.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)))

rewrite66.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))
42.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
7.0ms
(/ a (* a c))
8.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* b_2 b_2) (* a c))
65.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
6.0ms
(/ a (* a c))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify120.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0277415
1944374
24178369
35002368

prune160.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.7b

localize11.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)))

rewrite114.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:
51.0ms
(/ (/ 1 1) (* (/ 1 c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
7.0ms
(- (* b_2 b_2) (* a c))
41.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
8.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(/ (/ 1 1) (* (/ 1 c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
33.0ms
(- (* b_2 b_2) (* a c))
60.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07091194
13396971
25002933

prune188.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.7b

regimes114.0ms

Accuracy

81.5% (4.5b remaining)

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

bsearch83.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample1.1s

Algorithm
intervals
Results
200.0ms5904×body80valid
198.0ms1063×body2560valid
138.0ms915×body1280valid
88.0ms2946×body80nan
54.0ms465×body640valid
24.0ms97×body5120valid
17.0ms192×body320valid
7.0ms122×body160valid