Details

Time bar (total: 7.5s)

sample35.0ms

Algorithm
intervals
Results
7.0ms202×body80valid
6.0ms35×body1280valid
5.0ms27×body2560valid
3.0ms86×body80nan
1.0ms12×body640valid
1.0msbody320valid
0.0msbody5120valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.5b

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

rewrite59.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:
37.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
13.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
32.0ms
(- (* b_2 b_2) (* a c))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0368965
11241910
25001901

prune236.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.4b

localize10.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.7b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.3b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite104.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:
19.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
42.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
28.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series480.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
154.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
193.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07302960
132002803
250012783

prune500.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.3b

localize11.0ms

Local error

Found 4 expressions with local error:

1.3b
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
1.6b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.7b
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite273.0ms

Algorithm
rewrite-expression-head
Rules
3063×times-frac
1689×add-sqr-sqrt
1446×*-un-lft-identity
1204×add-cube-cbrt
242×difference-of-squares
237×associate-/l*
124×sqrt-prod
121×distribute-lft-out--
58×div-inv
41×add-exp-log
28×div-exp
23×add-cbrt-cube
13×cbrt-undiv
associate-/r* add-log-exp
pow1
associate-/r/
rec-exp 1-exp
flip3-- frac-2neg sqrt-div div-sub clear-num flip-- associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 1025
Calls
4 calls:
38.0ms
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
22.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
95.0ms
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series335.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
72.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
96.0ms
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify250.0ms

Algorithm
egg-herbie
Counts
1037 → 1037
Iterations

Useful iterations: 1 (70.0ms)

IterNodesCost
0425921067
1500120479

prune2.3s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.3b

localize12.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.8b
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
10.3b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
20.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
52×times-frac
51×*-un-lft-identity
33×add-cube-cbrt
28×add-exp-log
24×associate-*l*
18×add-cbrt-cube
16×difference-of-squares
13×associate-*r*
11×sqrt-prod
div-exp
prod-exp distribute-lft-out--
pow1
associate-/r* add-log-exp unswap-sqr
cbrt-undiv
flip3-- associate-/r/ flip-- cbrt-unprod
div-inv associate-/l*
rec-exp sqrt-div 1-exp associate-/l/
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 141
Calls
4 calls:
19.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
64.0ms
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
25.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series482.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
156.0ms
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
191.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07001778
132081574
250011556

prune361.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 5.3b

regimes157.0ms

Accuracy

88.6% (3.0b remaining)

Error of 8.7b against oracle of 5.7b and baseline of 31.8b

bsearch130.0ms

Steps
ItersRangePoint
8
2.1878188410446244e+107
3.8616146939177386e+111
2.0393047436202585e+111
10
-1.748936198008001e-296
1.7693602656524167e-306
-3.825646522708247e-308
6
-2.1205983461440786e-16
-4.95051961110899e-17
-1.954602026155351e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03821
13821

end0.0ms

sample1.1s

Algorithm
intervals
Results
221.0ms1110×body2560valid
196.0ms5789×body80valid
141.0ms885×body1280valid
109.0ms2997×body80nan
57.0ms449×body640valid
25.0ms102×body5120valid
24.0ms256×body320valid
8.0ms124×body160valid