Details

Time bar (total: 7.6s)

sample280.0ms

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

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

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

rewrite68.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:
43.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
12.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
69.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
38.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0368965
11241910
25001901

prune252.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.4b

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

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

series474.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
153.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
187.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07302960
132002803
250012783

prune495.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.3b

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

rewrite287.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:
40.0ms
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
18.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
94.0ms
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
66.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
103.0ms
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify244.0ms

Algorithm
egg-herbie
Counts
1037 → 1037
Iterations

Useful iterations: 1 (66.0ms)

IterNodesCost
0426521068
1500220476

prune2.3s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.3b

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

rewrite115.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)
62.0ms
(* (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
24.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series471.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)) (/ 1 a))
187.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify102.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07001780
132101574
250021559

prune346.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 5.3b

regimes153.0ms

Accuracy

88.6% (3.0b remaining)

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

bsearch121.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

sample982.0ms

Algorithm
intervals
Results
206.0ms1110×body2560valid
185.0ms5789×body80valid
142.0ms885×body1280valid
86.0ms2997×body80nan
52.0ms449×body640valid
23.0ms102×body5120valid
22.0ms256×body320valid
7.0ms124×body160valid