Details

Time bar (total: 6.1s)

sample58.0ms

Algorithm
intervals
Results
15.0ms164×body160valid
10.0ms516×pre80true
9.0ms260×body80nan
5.0ms44×body320valid
2.0ms48×body80valid

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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 45.0b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.2b
(- (* b b) (* (* 4.0 a) c))
39.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite191.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
(sqrt (- (* b b) (* (* 4.0 a) c)))
43.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
34.0ms
(- (* b b) (* (* 4.0 a) c))
34.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series315.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
115.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
45.0ms
(- (* b b) (* (* 4.0 a) c))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify196.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
014499181
149906678
250016678

prune762.0ms

Filtered
553 candidates to 170 candidates (30.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New54013553
Fresh000
Picked101
Done000
Total54113554

Merged error: 5.1b

Counts
554 → 13

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 (1.0ms)

IterNodesCost
000

prune35.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01212
Picked011
Done000
Total01313

Merged error: 5.1b

Counts
13 → 13

localize7.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (* a c) b)
0.3b
(/ (* -2.0 (/ (* a c) b)) (* 2.0 a))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
1142×times-frac
808×add-sqr-sqrt associate-*r*
501×*-un-lft-identity
499×add-cube-cbrt
328×associate-*l*
148×unswap-sqr
109×*-commutative
77×associate-/l*
39×add-exp-log add-cbrt-cube
21×associate-/l/
18×associate-*r/ associate-/r*
15×div-inv
14×cbrt-undiv div-exp
13×prod-exp cbrt-unprod
clear-num
frac-2neg un-div-inv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
Counts
2 → 791
Calls
2 calls:
7.0ms
(/ (* a c) b)
43.0ms
(/ (* -2.0 (/ (* a c) b)) (* 2.0 a))

series40.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ (* a c) b)
21.0ms
(/ (* -2.0 (/ (* a c) b)) (* 2.0 a))

simplify149.0ms

Algorithm
egg-herbie
Counts
797 → 797
Iterations

Useful iterations: 1 (66.0ms)

IterNodesCost
041418389
150018343

prune1.8s

Filtered
797 candidates to 566 candidates (71.0%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New77819797
Fresh11011
Picked101
Done101
Total78129810

Merged error: 5.0b

Counts
810 → 29

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (* 2.0 a) (/ a b))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
273×times-frac
164×add-sqr-sqrt
136×add-cube-cbrt *-un-lft-identity
42×associate-*r* associate-*l*
16×associate-/r*
15×associate-/l*
14×*-commutative div-inv unswap-sqr
13×add-exp-log add-cbrt-cube
associate-/r/
cbrt-undiv div-exp
frac-2neg prod-exp clear-num cbrt-unprod
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
Counts
1 → 210
Calls
1 calls:
16.0ms
(/ (* 2.0 a) (/ a b))

series11.0ms

Counts
1 → 3
Calls
1 calls:
11.0ms
(/ (* 2.0 a) (/ a b))

simplify42.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09981683
150021511

prune443.0ms

Filtered
213 candidates to 145 candidates (68.1%)
Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New2067213
Fresh42428
Picked101
Done000
Total21131242

Merged error: 5.0b

Counts
242 → 31

regimes461.0ms

Accuracy

19.1% (5.4b remaining)

Error of 10.6b against oracle of 5.2b and baseline of 11.9b

bsearch4.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04033
14633
24933
35433
45433

end0.0ms

sample1.5s

Algorithm
intervals
Results
346.0ms4911×body160valid
302.0ms16410×pre80true
282.0ms8410×body80nan
142.0ms1345×body320valid
62.0ms1744×body80valid