Details

Time bar (total: 5.6s)

sample91.0ms

Algorithm
intervals
Results
19.0ms200×body80valid
16.0ms30×body2560valid
10.0ms24×body1280valid
10.0ms104×body80nan
6.0ms16×body640valid
5.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.5b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.3b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
15.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
13.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series307.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
46.0ms
(- (* b b) (* 4.0 (* a c)))
84.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
77.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify83.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05903305
121012212
250022128

prune314.0ms

Filtered
169 candidates to 89 candidates (52.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1609169
Fresh000
Picked101
Done000
Total1619170

Merged error: 6.5b

Counts
170 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.3b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
60×add-sqr-sqrt
57×*-un-lft-identity
49×add-cube-cbrt
35×sqrt-prod
23×add-exp-log distribute-rgt-neg-in
21×distribute-lft-neg-in
13×add-cbrt-cube
11×fma-neg
10×prod-exp add-log-exp
pow1 neg-mul-1 associate-*r* associate-*l*
flip3-- flip--
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
times-frac diff-log
cbrt-undiv frac-times sub-neg rec-exp sqrt-div 1-exp associate-*l/
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 165
Calls
4 calls:
15.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
4.0ms
(- (* b b) (* 4.0 (* a c)))
10.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series295.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
49.0ms
(- (* b b) (* 4.0 (* a c)))
78.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
71.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify88.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06563422
125942238
250012193

prune486.0ms

Filtered
177 candidates to 90 candidates (50.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1752177
Fresh268
Picked101
Done000
Total1788186

Merged error: 6.5b

Counts
186 → 8

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt b)
0.6b
(cbrt b)
21.0b
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-prod
pow1/3 sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip-- fma-udef
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt b)
1.0ms
(cbrt b)
1.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series595.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt b)
174.0ms
(cbrt b)
166.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
70.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify89.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0214411
1699373
22823356
35001352

prune218.0ms

Filtered
65 candidates to 58 candidates (89.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New62365
Fresh257
Picked011
Done000
Total64973

Merged error: 6.5b

Counts
73 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt b)
0.6b
(cbrt b)
21.0b
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-prod
pow1/3 sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip-- fma-udef
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt b)
1.0ms
(cbrt b)
1.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series574.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt b)
179.0ms
(cbrt b)
141.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
67.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify92.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0214412
1699373
22823356
35001352

prune218.0ms

Filtered
65 candidates to 58 candidates (89.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New64165
Fresh077
Picked011
Done011
Total641074

Merged error: 6.5b

Counts
74 → 10

regimes241.0ms

Accuracy

83.3% (5.0b remaining)

Error of 11.1b against oracle of 6.1b and baseline of 36.0b

bsearch221.0ms

Steps
ItersRangePoint
6
6.333441064762502e+69
2.6854631551896503e+70
2.6627070202833933e+70
5
-1.482547241207331e-101
-6.742792119201738e-102
-1.0320808747865978e-101
8
-8.810326546476336e-23
-4.169997451253584e-26
-1.0154709195266253e-23
8
-9.838482322929929
-0.0014803844373699059
-0.0015046342707181791

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05037
15037

end0.0ms

sample1.5s

Algorithm
intervals
Results
332.0ms1082×body2560valid
309.0ms5819×body80valid
216.0ms889×body1280valid
149.0ms2916×body80nan
87.0ms445×body640valid
42.0ms106×body5120valid
34.0ms233×body320valid
15.0ms127×body160valid