Details

Time bar (total: 5.8s)

sample62.0ms

Algorithm
intervals
Results
13.0ms114×body320valid
10.0ms526×pre80true
10.0ms270×body80nan
8.0ms105×body160valid
2.0ms15×body640valid
1.0ms22×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 54.5b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* 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))))

rewrite188.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:
43.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
29.0ms
(- (* b b) (* (* 4.0 a) c))
42.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
36.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series314.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
48.0ms
(- (* b b) (* (* 4.0 a) c))
112.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify191.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
014429181
148916678
250016678

prune467.0ms

Filtered
553 candidates to 170 candidates (30.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New54211553
Fresh000
Picked101
Done000
Total54311554

Merged error: 2.2b

Counts
554 → 11

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

prune27.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01010
Picked011
Done000
Total01111

Merged error: 2.2b

Counts
11 → 11

localize7.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:
41.0ms
(/ (* -2.0 (/ (* a c) b)) (* 2.0 a))
7.0ms
(/ (* a c) b)

series47.0ms

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

simplify153.0ms

Algorithm
egg-herbie
Counts
797 → 797
Iterations

Useful iterations: 1 (65.0ms)

IterNodesCost
041418389
150018343

prune1.4s

Filtered
797 candidates to 566 candidates (71.0%)
Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New78314797
Fresh099
Picked101
Done011
Total78424808

Merged error: 2.1b

Counts
808 → 24

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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))
14.0ms
(/ (* -2.0 (expm1 (log1p (/ (* a c) b)))) (* 2.0 a))
7.0ms
(/ (* a c) b)
1.0ms
(expm1 (log1p (/ (* a c) b)))

series264.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011672785
150012462

prune450.0ms

Filtered
290 candidates to 210 candidates (72.4%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New2855290
Fresh71522
Picked101
Done011
Total29321314

Merged error: 2.1b

Counts
314 → 21

regimes301.0ms

Accuracy

18% (2.9b remaining)

Error of 5.5b against oracle of 2.6b and baseline of 6.1b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03027
13027

end0.0ms

sample1.7s

Algorithm
intervals
Results
420.0ms3613×body320valid
310.0ms15982×pre80true
287.0ms7982×body80nan
232.0ms2985×body160valid
82.0ms513×body640valid
34.0ms889×body80valid