Details

Time bar (total: 48.2s)

sample48.0ms

Algorithm
intervals
Results
12.0ms37×body2560valid
7.0ms180×body80valid
7.0ms35×body1280valid
4.0ms110×body80nan
2.0ms14×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1

localize11.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.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
483×add-sqr-sqrt
330×associate-*l* prod-diff
309×*-un-lft-identity
229×add-cube-cbrt
177×associate-*r*
125×unswap-sqr
75×swap-sqr
65×*-commutative
60×times-frac
30×difference-of-squares
28×distribute-lft-out
24×sqrt-prod
17×distribute-rgt-neg-in
15×fma-neg
12×associate-/r* distribute-lft-out--
10×fma-def add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num cbrt-unprod div-inv
Counts
4 → 541
Calls
4 calls:
42.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
34.0ms
(- (* b b) (* (* 4.0 a) c))
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
45.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series340.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
49.0ms
(- (* b b) (* (* 4.0 a) c))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
82.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify209.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
014429181
148926678
250016676

prune555.0ms

Filtered
553 candidates to 170 candidates (69.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New54310553
Fresh000
Picked101
Done000
Total54410554

Merged error: 5.1b

Counts
554 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
0.4b
(- (* b b) (* (* 4.0 a) c))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
450×add-sqr-sqrt
330×prod-diff
312×associate-*l*
252×*-un-lft-identity
208×add-cube-cbrt
159×associate-*r*
119×unswap-sqr
75×swap-sqr
59×*-commutative
30×difference-of-squares
24×sqrt-prod
15×times-frac fma-neg
12×distribute-lft-out--
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r*
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 485
Calls
4 calls:
42.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
32.0ms
(- (* b b) (* (* 4.0 a) c))
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
45.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
52.0ms
(- (* b b) (* (* 4.0 a) c))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
84.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify177.0ms

Algorithm
egg-herbie
Counts
497 → 497
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
012568241
139515763
250015758

prune480.0ms

Filtered
497 candidates to 142 candidates (71.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New4943497
Fresh369
Picked011
Done000
Total49710507

Merged error: 5.1b

Counts
507 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite227.0ms

Algorithm
rewrite-expression-head
Rules
665×add-sqr-sqrt
607×*-un-lft-identity
438×times-frac
381×add-cube-cbrt
376×associate-*l*
330×prod-diff
222×associate-*r*
140×unswap-sqr
100×distribute-lft-out
80×*-commutative
75×swap-sqr
71×associate-/r*
53×distribute-rgt-neg-in
30×difference-of-squares
28×associate-/r/
25×add-exp-log
24×sqrt-prod
17×associate-/l*
15×fma-neg
13×add-cbrt-cube
12×div-exp distribute-lft-out--
10×fma-def add-log-exp
pow1
cbrt-undiv flip3-+ flip-+ div-inv
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in rec-exp 1-exp prod-exp clear-num remove-double-div
flip3-- frac-2neg sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 diff-log neg-log cbrt-unprod inv-pow
Counts
4 → 761
Calls
4 calls:
56.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
34.0ms
(- (* b b) (* (* 4.0 a) c))
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
53.0ms
(- (* b b) (* (* 4.0 a) c))
88.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
85.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify157.0ms

Algorithm
egg-herbie
Counts
773 → 773
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0199212865
1500110486

prune806.0ms

Filtered
773 candidates to 242 candidates (68.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New7676773
Fresh538
Picked101
Done011
Total77310783

Merged error: 5.1b

Counts
783 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (cbrt 1) (cbrt 1)) (/ (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (cbrt 1)))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite3.1s

Algorithm
rewrite-expression-head
Rules
37808×times-frac
25764×*-un-lft-identity
20820×add-sqr-sqrt
16161×cbrt-prod
13774×add-cube-cbrt
5706×associate-*l*
5553×associate-*r*
4780×distribute-lft-out
4724×unswap-sqr
2481×swap-sqr
2393×distribute-rgt-neg-in
1456×*-commutative
493×associate-/r/
411×associate-/r*
330×prod-diff
233×div-inv
200×flip3-+ flip-+
119×add-cbrt-cube
110×associate-/l*
85×cbrt-undiv
38×cbrt-unprod
36×add-exp-log
30×difference-of-squares
24×sqrt-prod
20×associate-/l/
18×div-exp
15×fma-neg
12×distribute-lft-out--
10×fma-def add-log-exp
prod-exp
pow1
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in frac-2neg clear-num
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log neg-log
Counts
4 → 13827
Calls
4 calls:
396.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (cbrt 1)))
34.0ms
(- (* b b) (* (* 4.0 a) c))
38.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (cbrt 1)))
55.0ms
(- (* b b) (* (* 4.0 a) c))
100.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
97.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify4.2s

Algorithm
egg-herbie
Counts
13839 → 13839
Iterations

Useful iterations: 0 (145.0ms)

IterNodesCost
08549440527

prune34.5s

Filtered
13839 candidates to 6689 candidates (51.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New13837213839
Fresh268
Picked011
Done011
Total138391013849

Merged error: 5.1b

Counts
13849 → 10

regimes250.0ms

Accuracy

85.5% (4.2b remaining)

Error of 9.7b against oracle of 5.6b and baseline of 34.4b

bsearch136.0ms

Steps
ItersRangePoint
9
2.9593950748212843e-63
2.4702945119117623e-58
1.301803315389237e-62
8
-8.122802074996069e+81
-2.6359676868927157e+78
-8.403193116555128e+80

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04119
14119

end0.0ms

sample1.3s

Algorithm
intervals
Results
291.0ms1098×body2560valid
264.0ms5797×body80valid
195.0ms885×body1280valid
119.0ms2780×body80nan
77.0ms464×body640valid
37.0ms116×body5120valid
34.0ms249×body320valid
10.0ms117×body160valid