Details

Time bar (total: 5.8s)

sample48.0ms

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

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

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

rewrite192.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:
40.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
33.0ms
(- (* b b) (* (* 4.0 a) c))
33.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
47.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series357.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
54.0ms
(- (* b b) (* (* 4.0 a) c))
91.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
86.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify223.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 2 (141.0ms)

IterNodesCost
014429181
148926678
250016676

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

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

rewrite203.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:
45.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
35.0ms
(- (* b b) (* (* 4.0 a) c))
37.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
51.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series402.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
64.0ms
(- (* b b) (* (* 4.0 a) c))
105.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
102.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify213.0ms

Algorithm
egg-herbie
Counts
497 → 497
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
012568241
139515763
250015758

prune507.0ms

Filtered
497 candidates to 142 candidates (71.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New4961497
Fresh189
Picked011
Done000
Total49710507

Merged error: 5.1b

Counts
507 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ 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)))

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
500×add-sqr-sqrt
339×*-un-lft-identity
330×prod-diff
312×associate-*l*
258×add-cube-cbrt
159×associate-*r*
123×times-frac
119×unswap-sqr
75×swap-sqr
59×*-commutative
30×difference-of-squares
28×distribute-lft-out
26×associate-/r*
24×sqrt-prod
19×associate-/r/
17×distribute-rgt-neg-in
15×add-exp-log fma-neg
12×distribute-lft-out--
10×fma-def add-log-exp
add-cbrt-cube
div-exp associate-/l*
pow1
flip3-+ flip-+ div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv distribute-lft-neg-in clear-num
rec-exp flip3-- frac-2neg sqrt-div 1-exp sum-log flip-- remove-double-div
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 diff-log neg-log inv-pow
Counts
4 → 567
Calls
4 calls:
46.0ms
(/ 1 (/ a (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
37.0ms
(- (* b b) (* (* 4.0 a) c))
37.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
51.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series452.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(/ 1 (/ a (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
65.0ms
(- (* b b) (* (* 4.0 a) c))
106.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
101.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify147.0ms

Algorithm
egg-herbie
Counts
579 → 579
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
014489524
150016889

prune582.0ms

Filtered
579 candidates to 170 candidates (70.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New5763579
Fresh268
Picked101
Done011
Total57910589

Merged error: 5.1b

Counts
589 → 10

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune0.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New000
Fresh088
Picked011
Done011
Total01010

Merged error: 5.1b

Counts
10 → 10

regimes319.0ms

Accuracy

85.5% (4.2b remaining)

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

bsearch135.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
03716
13716

end0.0ms

sample1.2s

Algorithm
intervals
Results
259.0ms1098×body2560valid
242.0ms5797×body80valid
167.0ms885×body1280valid
104.0ms2780×body80nan
73.0ms464×body640valid
34.0ms116×body5120valid
30.0ms249×body320valid
9.0ms117×body160valid