Details

Time bar (total: 14.1s)

sample227.0ms

Algorithm
intervals
Results
67.0ms123×body1280valid
35.0ms31×body1280nan
31.0ms58×body640valid
18.0ms121×body80overflowed
17.0ms25×body640nan
12.0ms39×body320valid
10.0ms205×body80nan
9.0ms93×body80valid
6.0ms14×body320nan
2.0ms10×body160valid
1.0msbody160nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

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: 33.1b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×unpow-prod-down
difference-of-squares
*-un-lft-identity
sqr-pow
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 24
Calls
1 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series272.0ms

Counts
1 → 3
Calls
1 calls:
272.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify78.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222326
1594313
22745307
35003307

prune67.0ms

Filtered
27 candidates to 23 candidates (85.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New24327
Fresh000
Picked101
Done000
Total25328

Merged error: 22.0b

Counts
28 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (pow x (/ 1.0 n)))
0.0b
(sqrt (+ x 1.0))
0.0b
(sqrt (+ x 1.0))
3.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
31×sqrt-prod
16×unpow-prod-down difference-of-squares
14×*-un-lft-identity
10×sqr-pow
add-cube-cbrt
pow1 add-log-exp
rem-sqrt-square
add-exp-log sqrt-div add-cbrt-cube
sqrt-pow1 pow1/2
flip3-+ flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 80
Calls
4 calls:
2.0ms
(sqrt (pow x (/ 1.0 n)))
3.0ms
(sqrt (+ x 1.0))
3.0ms
(sqrt (+ x 1.0))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series609.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(sqrt (pow x (/ 1.0 n)))
29.0ms
(sqrt (+ x 1.0))
29.0ms
(sqrt (+ x 1.0))
471.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify121.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0427872
11246831
24886817
35001817

prune259.0ms

Filtered
92 candidates to 69 candidates (75.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New91192
Fresh022
Picked101
Done000
Total92395

Merged error: 22.0b

Counts
95 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))))
3.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))
3.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))
3.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
64×sqrt-prod difference-of-squares
48×unpow-prod-down
32×sqr-pow
20×cbrt-prod
13×*-un-lft-identity
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out--
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 117
Calls
4 calls:
13.0ms
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series3.1s

Counts
4 → 12
Calls
4 calls:
1.7s
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))))
475.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))
475.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))
469.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify69.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05552584
118602507
250012446

prune487.0ms

Filtered
129 candidates to 90 candidates (69.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1281129
Fresh022
Picked101
Done000
Total1293132

Merged error: 22.0b

Counts
132 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
0.5b
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
30×unpow-prod-down log-prod
27×*-un-lft-identity difference-of-squares
18×sqr-pow
15×exp-sum
distribute-lft-out--
add-cube-cbrt
pow1 add-log-exp
add-exp-log log-div exp-prod
flip3-- add-cbrt-cube flip-- distribute-lft-out
exp-diff log-pow
sub-neg diff-log rem-log-exp rem-exp-log
Counts
3 → 79
Calls
3 calls:
11.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
10.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.0s

Counts
3 → 9
Calls
3 calls:
286.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
460.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify127.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (115.0ms)

IterNodesCost
03621122
19621069
244631041
350011035

prune208.0ms

Filtered
88 candidates to 69 candidates (78.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New86288
Fresh022
Picked101
Done000
Total87491

Merged error: 22.0b

Counts
91 → 4

regimes157.0ms

Accuracy

82.2% (2.0b remaining)

Error of 23.9b against oracle of 21.9b and baseline of 33.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06373
16373

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.1s3879×body1280valid
1.2s1067×body1280nan
816.0ms1775×body640valid
639.0ms900×body640nan
621.0ms4045×body80overflowed
314.0ms3137×body80valid
301.0ms6208×body80nan
284.0ms898×body320valid
190.0ms439×body320nan
85.0ms424×body160valid
54.0ms233×body160nan