Details

Time bar (total: 5.4s)

sample52.0ms

Algorithm
intervals
Results
10.0ms200×body80valid
9.0ms30×body2560valid
7.0ms104×body80nan
6.0ms24×body1280valid
3.0ms16×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

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

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

rewrite40.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:
16.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 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))))

series286.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
46.0ms
(- (* b b) (* 4.0 (* a c)))
76.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
70.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify82.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05903305
121012212
250022128

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

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

rewrite44.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:
16.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
6.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series289.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
48.0ms
(- (* b b) (* 4.0 (* a c)))
73.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify90.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06563422
125942238
250012193

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

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

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

series578.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt b)
183.0ms
(cbrt b)
142.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify91.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0214411
1699373
22823356
35001352

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

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

series571.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt b)
187.0ms
(cbrt b)
134.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
70.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify91.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0214411
1699373
22823356
35001352

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

regimes438.0ms

Accuracy

83.3% (5.0b remaining)

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

bsearch219.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.4s

Algorithm
intervals
Results
314.0ms1082×body2560valid
293.0ms5819×body80valid
224.0ms889×body1280valid
141.0ms2916×body80nan
83.0ms445×body640valid
39.0ms106×body5120valid
33.0ms233×body320valid
12.0ms127×body160valid