Details

Time bar (total: 6.3s)

sample58.0ms

Algorithm
intervals
Results
12.0ms112×body320valid
10.0ms524×pre80true
9.0ms268×body80nan
7.0ms102×body160valid
2.0ms15×body640valid
1.0ms27×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune2.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: 53.2b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
28.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:
45.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
30.0ms
(- (* b b) (* (* 4.0 a) c))
44.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
34.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series325.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
45.0ms
(- (* b b) (* (* 4.0 a) c))
111.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify209.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
014499181
149906678
250016678

prune589.0ms

Filtered
553 candidates to 170 candidates (30.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New54310553
Fresh000
Picked101
Done000
Total54410554

Merged error: 2.6b

Counts
554 → 10

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune22.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New000
Fresh099
Picked011
Done000
Total01010

Merged error: 2.6b

Counts
10 → 10

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite108.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:
40.0ms
(/ (* -2.0 (/ (* a c) b)) (* 2.0 a))
8.0ms
(/ (* a c) b)

series46.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
797 → 797
Iterations

Useful iterations: 1 (61.0ms)

IterNodesCost
041418389
150018343

prune1.7s

Filtered
797 candidates to 566 candidates (71.0%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New78512797
Fresh088
Picked101
Done011
Total78621807

Merged error: 2.6b

Counts
807 → 21

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (/ (* a c) b))
0.2b
(/ (* -2.0 (expm1 (log1p (/ (* a c) b)))) (* 2.0 a))
0.3b
(expm1 (log1p (/ (* a c) b)))
0.3b
(/ (* a c) b)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
180×times-frac
167×add-sqr-sqrt
107×add-cube-cbrt *-un-lft-identity
90×associate-*r* associate-*l*
30×*-commutative unswap-sqr
24×associate-/l*
21×add-exp-log add-cbrt-cube
15×associate-/r*
cbrt-undiv div-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
pow1 add-log-exp
expm1-log1p frac-2neg clear-num div-inv
log1p-udef log1p-expm1 expm1-udef
Counts
4 → 278
Calls
4 calls:
1.0ms
(log1p (/ (* a c) b))
17.0ms
(/ (* -2.0 (expm1 (log1p (/ (* a c) b)))) (* 2.0 a))
1.0ms
(expm1 (log1p (/ (* a c) b)))
8.0ms
(/ (* a c) b)

series258.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(log1p (/ (* a c) b))
89.0ms
(/ (* -2.0 (expm1 (log1p (/ (* a c) b)))) (* 2.0 a))
94.0ms
(expm1 (log1p (/ (* a c) b)))
19.0ms
(/ (* a c) b)

simplify57.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011672785
150012470

prune632.0ms

Filtered
290 candidates to 210 candidates (72.4%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New2846290
Fresh31619
Picked101
Done011
Total28823311

Merged error: 2.6b

Counts
311 → 23

regimes246.0ms

Accuracy

0% (3.5b remaining)

Error of 6.2b against oracle of 2.7b and baseline of 6.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062
162

end0.0ms

sample1.6s

Algorithm
intervals
Results
379.0ms3553×body320valid
304.0ms16112×pre80true
278.0ms8112×body80nan
214.0ms3003×body160valid
74.0ms523×body640valid
33.0ms921×body80valid