Details

Time bar (total: 16.6s)

sample232.0ms

Algorithm
intervals
Results
64.0ms113×body1280valid
40.0ms36×body1280nan
29.0ms68×body640valid
21.0ms151×body80overflowed
15.0ms22×body640nan
11.0ms223×body80nan
11.0ms107×body80valid
10.0ms34×body320valid
7.0ms17×body320nan
2.0msbody160valid
1.0msbody160nan

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune4.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: 35.9b

Counts
2 → 1

localize24.0ms

Local error

Found 1 expressions with local error:

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

rewrite21.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:
19.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series306.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222326
1594313
22745307
35003307

prune89.0ms

Filtered
27 candidates to 23 candidates (85.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New22527
Fresh000
Picked101
Done000
Total23528

Merged error: 24.2b

Counts
28 → 5

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
32×sqrt-prod
22×unpow-prod-down
16×difference-of-squares
13×*-un-lft-identity
12×sqr-pow
add-cube-cbrt
rem-sqrt-square
add-log-exp
pow1 add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 distribute-lft-out
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
3 → 69
Calls
3 calls:
5.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
5.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
16.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

series994.0ms

Counts
3 → 9
Calls
3 calls:
242.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
237.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
515.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

simplify100.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0329834
1964806
23705797
35001797

prune269.0ms

Filtered
78 candidates to 60 candidates (76.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh134
Picked101
Done000
Total77683

Merged error: 24.1b

Counts
83 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
134×add-sqr-sqrt
105×unpow-prod-down
88×sqrt-prod
80×difference-of-squares
46×cbrt-prod
44×sqr-pow
40×cube-prod
24×*-un-lft-identity
12×add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube distribute-lft-out--
cube-div
rem-sqrt-square pow-unpow flip3-- flip--
cube-mult cbrt-div unpow3
pow-to-exp sub-neg pow-pow sqrt-pow1 pow1/2 pow1/3 diff-log pow-exp rem-cbrt-cube distribute-lft-out rem-cube-cbrt
Counts
4 → 165
Calls
4 calls:
5.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
19.0ms
(pow (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))) 3)
16.0ms
(cbrt (pow (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))) 3))
13.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

series3.1s

Counts
4 → 12
Calls
4 calls:
250.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
1.8s
(pow (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))) 3)
512.0ms
(cbrt (pow (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))) 3))
518.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

simplify121.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010813183
149093099
250013099

prune546.0ms

Filtered
177 candidates to 92 candidates (52.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1752177
Fresh055
Picked101
Done000
Total1767183

Merged error: 24.1b

Counts
183 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
0.0b
(exp (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))))
2.1b
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))
2.1b
(log (exp (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
56×sqrt-prod
48×difference-of-squares
41×unpow-prod-down
40×exp-prod
26×sqr-pow
21×log-pow
17×*-un-lft-identity
add-cube-cbrt add-log-exp
pow1 log-prod
add-exp-log exp-sum add-cbrt-cube
sub-neg rem-sqrt-square distribute-lft-out--
exp-diff diff-log rem-exp-log
log-div flip3-- sqrt-pow1 pow1/2 rem-log-exp flip-- distribute-lft-out
Counts
4 → 116
Calls
4 calls:
5.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
15.0ms
(exp (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))))
14.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))
15.0ms
(log (exp (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))))

series2.4s

Counts
4 → 12
Calls
4 calls:
249.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
1.1s
(exp (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))))
528.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))
530.0ms
(log (exp (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))))

simplify119.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
04241524
112431454
243791440
350021440

prune422.0ms

Filtered
128 candidates to 89 candidates (69.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1271128
Fresh066
Picked011
Done000
Total1278135

Merged error: 24.1b

Counts
135 → 8

regimes208.0ms

Accuracy

85.7% (1.6b remaining)

Error of 23.6b against oracle of 22.0b and baseline of 33.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05750
15750

end0.0ms

sample7.4s

Algorithm
intervals
Results
2.1s3942×body1280valid
1.4s1081×body1280nan
814.0ms1778×body640valid
648.0ms926×body640nan
616.0ms4101×body80overflowed
313.0ms3101×body80valid
305.0ms6210×body80nan
274.0ms889×body320valid
177.0ms434×body320nan
90.0ms450×body160valid
50.0ms232×body160nan

Profiling

Loading profile data...