Details

Time bar (total: 5.7s)

sample47.0ms

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

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

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

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt
116×*-un-lft-identity
60×times-frac
42×unswap-sqr
36×add-cube-cbrt associate-*l*
30×difference-of-squares
28×distribute-lft-out
24×sqrt-prod
18×associate-*r*
14×distribute-rgt-neg-in
12×associate-/r* *-commutative distribute-lft-out--
10×add-log-exp
add-exp-log add-cbrt-cube
swap-sqr
pow1 associate-/l*
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative 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 → 178
Calls
4 calls:
46.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
23.0ms
(- (* b b) (* (* 4.0 a) c))
39.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
47.0ms
(- (* b b) (* (* 4.0 a) c))
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify86.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06212253
124432157
250032140

prune325.0ms

Filtered
190 candidates to 109 candidates (42.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1828190
Fresh000
Picked011
Done000
Total1829191

Merged error: 5.0b

Counts
191 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
438×times-frac
414×*-un-lft-identity
321×add-sqr-sqrt
188×add-cube-cbrt
100×distribute-lft-out
82×associate-*l*
71×associate-/r*
63×associate-*r*
57×unswap-sqr
50×distribute-rgt-neg-in
30×difference-of-squares
28×associate-/r/
27×*-commutative
25×add-exp-log
24×sqrt-prod
17×associate-/l*
13×add-cbrt-cube
12×div-exp distribute-lft-out--
10×add-log-exp
pow1 swap-sqr
cbrt-undiv flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp clear-num remove-double-div
flip3-- frac-2neg sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 diff-log neg-log cbrt-unprod inv-pow
Counts
4 → 398
Calls
4 calls:
58.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.0ms
(- (* b b) (* (* 4.0 a) c))
39.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series365.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
410 → 410
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
011755935
150015465

prune503.0ms

Filtered
410 candidates to 170 candidates (58.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4055410
Fresh437
Picked101
Done011
Total4109419

Merged error: 5.0b

Counts
419 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
48×sqrt-prod
38×*-un-lft-identity
36×unswap-sqr
30×difference-of-squares
18×associate-*l*
12×distribute-lft-out-- add-log-exp
pow1 add-cube-cbrt swap-sqr *-commutative
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 102
Calls
4 calls:
38.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
35.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series326.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
78.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify153.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 3 (141.0ms)

IterNodesCost
02841054
19451012
23750996
35001980

prune273.0ms

Filtered
114 candidates to 72 candidates (36.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh077
Picked011
Done011
Total1149123

Merged error: 5.0b

Counts
123 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
48×sqrt-prod
38×*-un-lft-identity
36×unswap-sqr
30×difference-of-squares
18×associate-*l*
12×distribute-lft-out-- add-log-exp
pow1 add-cube-cbrt swap-sqr *-commutative
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 102
Calls
4 calls:
38.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
39.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series335.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
88.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify152.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
02841054
19451012
23750996
35001980

prune313.0ms

Filtered
114 candidates to 72 candidates (36.8%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh066
Picked011
Done022
Total1149123

Merged error: 5.0b

Counts
123 → 9

regimes306.0ms

Accuracy

85.3% (4.3b remaining)

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

bsearch124.0ms

Steps
ItersRangePoint
9
2.9593950748212843e-63
2.4702945119117623e-58
1.301803315389237e-62
8
-8.122802074996069e+81
-2.6359676868927157e+78
-8.403193116555128e+80

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample1.3s

Algorithm
intervals
Results
284.0ms1098×body2560valid
255.0ms5797×body80valid
182.0ms885×body1280valid
117.0ms2780×body80nan
74.0ms464×body640valid
36.0ms116×body5120valid
30.0ms249×body320valid
9.0ms117×body160valid