Details

Time bar (total: 1.8m)

sample57.0ms

Algorithm
intervals
Results
13.0ms134×body160valid
11.0ms539×pre80true
10.0ms283×body80nan
5.0ms122×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: 26.8b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.3b
(- (* b b) (* (* 4.0 a) c))
26.6b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

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

series317.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
110.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
48.0ms
(- (* b b) (* (* 4.0 a) c))
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify197.0ms

Algorithm
egg-herbie
Counts
553 → 553
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014429181
148916678
250016678

prune488.0ms

Filtered
553 candidates to 170 candidates (30.7%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New53419553
Fresh000
Picked101
Done000
Total53519554

Merged error: 9.0b

Counts
554 → 19

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

prune51.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01818
Picked011
Done000
Total01919

Merged error: 9.0b

Counts
19 → 19

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series46.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
797 → 797
Iterations

Useful iterations: 1 (65.0ms)

IterNodesCost
041418389
150018343

prune1.5s

Filtered
797 candidates to 566 candidates (71.0%)
Pruning

36 alts after pruning (35 fresh and 1 done)

PrunedKeptTotal
New77918797
Fresh01717
Picked101
Done011
Total78036816

Merged error: 8.9b

Counts
816 → 36

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (sqrt b))
0.3b
(/ (* 2.0 a) (/ (* a c) (sqrt b)))
0.3b
(/ (* -2.0 (/ 1 (sqrt b))) (/ (* 2.0 a) (/ (* a c) (sqrt b))))
0.4b
(/ (* a c) (sqrt b))

rewrite6.7s

Algorithm
rewrite-expression-head
Rules
119377×times-frac
64304×add-sqr-sqrt
43857×*-un-lft-identity
41980×add-cube-cbrt
37238×associate-*r*
26539×sqrt-prod
19416×associate-*l*
10224×unswap-sqr
6472×*-commutative
1424×div-inv
1329×associate-/r*
868×associate-/r/
522×associate-/l*
214×add-exp-log
140×add-cbrt-cube
113×div-exp
71×cbrt-undiv
59×prod-exp
44×clear-num
43×frac-2neg
35×cbrt-unprod
15×associate-/l/
12×associate-*r/
rec-exp 1-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
pow-flip un-div-inv
sqrt-pow1 pow1/2 inv-pow
Counts
4 → 35139
Calls
4 calls:
4.0ms
(/ 1 (sqrt b))
44.0ms
(/ (* 2.0 a) (/ (* a c) (sqrt b)))
818.0ms
(/ (* -2.0 (/ 1 (sqrt b))) (/ (* 2.0 a) (/ (* a c) (sqrt b))))
8.0ms
(/ (* a c) (sqrt b))

series187.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1 (sqrt b))
72.0ms
(/ (* 2.0 a) (/ (* a c) (sqrt b)))
36.0ms
(/ (* -2.0 (/ 1 (sqrt b))) (/ (* 2.0 a) (/ (* a c) (sqrt b))))
51.0ms
(/ (* a c) (sqrt b))

simplify8.1s

Algorithm
egg-herbie
Counts
35151 → 35151
Iterations

Useful iterations: 0 (582.0ms)

IterNodesCost
031269806623

prune1.4m

Filtered
35151 candidates to 19509 candidates (55.5%)
Pruning

44 alts after pruning (43 fresh and 1 done)

PrunedKeptTotal
New351272435151
Fresh151934
Picked101
Done011
Total351434435187

Merged error: 8.8b

Counts
35187 → 44

regimes956.0ms

Accuracy

57.3% (6.0b remaining)

Error of 15.0b against oracle of 9.0b and baseline of 23.0b

bsearch5.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03027
13027

end0.0ms

sample1.5s

Algorithm
intervals
Results
343.0ms4473×body160valid
328.0ms16522×pre80true
309.0ms8522×body80nan
139.0ms3527×body80valid