Details

Time bar (total: 14.3s)

sample227.0ms

Algorithm
intervals
Results
59.0ms121×body1280valid
39.0ms71×body1280nan
37.0ms54×body10240exit
22.0ms69×body640valid
20.0ms56×body640nan
8.0ms181×body80nan
8.0ms30×body320nan
6.0ms27×body320valid
5.0ms105×body80valid
2.0ms15×body160nan
1.0msbody160valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
550016

prune2.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: 29.9b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
1.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
73×unpow-prod-down
63×add-sqr-sqrt
56×prod-diff
51×add-cube-cbrt
26×pow-unpow
24×sqr-pow
18×times-frac
10×distribute-lft-out
difference-of-squares
fma-neg
pow1 add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 149
Calls
3 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series510.0ms

Counts
3 → 9
Calls
3 calls:
154.0ms
(pow (+ x 1.0) (/ 1.0 n))
65.0ms
(pow x (/ 1.0 n))
291.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify67.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06542164
121541642
250011637

prune266.0ms

Filtered
158 candidates to 95 candidates (39.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1535158
Fresh000
Picked101
Done000
Total1545159

Merged error: 19.1b

Counts
159 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
148×add-sqr-sqrt
141×times-frac
131×add-cube-cbrt
112×unpow-prod-down
99×pow-unpow
77×prod-diff
39×sqrt-prod
29×sqr-pow
12×difference-of-squares
11×fma-neg
div-inv distribute-lft-out
pow1
add-exp-log
add-log-exp
pow-pow
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp pow-exp
sub-neg flip3-- sqrt-pow1 pow1/2 diff-log sqrt-pow2 flip-- distribute-lft-out--
Counts
4 → 269
Calls
4 calls:
5.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
9.0ms
(pow x (/ (/ 1.0 n) 2))
6.0ms
(pow x (/ (/ 1.0 n) 2))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow x (/ (/ 1.0 n) 2)))

series976.0ms

Counts
4 → 12
Calls
4 calls:
373.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
64.0ms
(pow x (/ (/ 1.0 n) 2))
58.0ms
(pow x (/ (/ 1.0 n) 2))
480.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow x (/ (/ 1.0 n) 2)))

simplify104.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09584123
133933178
250023169

prune693.0ms

Filtered
281 candidates to 181 candidates (35.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2810281
Fresh044
Picked011
Done000
Total2815286

Merged error: 19.1b

Counts
286 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
193×unpow-prod-down
172×*-un-lft-identity
168×prod-diff
143×add-sqr-sqrt
116×exp-sum
107×add-cube-cbrt
65×sqr-pow
61×log-prod
30×exp-prod
27×difference-of-squares
25×distribute-lft-out
16×log-pow
13×pow-unpow
times-frac distribute-lft-out-- add-log-exp
fma-neg
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg
exp-diff diff-log rem-log-exp rem-exp-log
pow-to-exp log-div flip3-- pow-pow pow-exp flip-- div-inv
Counts
4 → 293
Calls
4 calls:
20.0ms
(exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
3.0ms
(pow x (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
18.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
477.0ms
(exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
66.0ms
(pow x (/ 1.0 n))
510.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
294.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify103.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07875600
123244244
250013441

prune448.0ms

Filtered
305 candidates to 143 candidates (53.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3032305
Fresh033
Picked101
Done011
Total3046310

Merged error: 19.1b

Counts
310 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
256×unpow-prod-down
224×prod-diff
222×*-un-lft-identity
182×add-sqr-sqrt
134×add-cube-cbrt
128×log-prod
122×sqrt-prod
116×exp-sum
86×sqr-pow
36×log-pow difference-of-squares
34×distribute-lft-out
32×sqrt-pow1
30×exp-prod
16×fma-neg
12×distribute-lft-out--
pow1 add-log-exp
add-exp-log
expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u
log-div flip3-- pow1/2 exp-diff sqrt-div diff-log rem-log-exp flip--
Counts
4 → 366
Calls
4 calls:
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
23.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
21.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.6s

Counts
4 → 12
Calls
4 calls:
294.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
310.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
481.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
475.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify123.0ms

Algorithm
egg-herbie
Counts
378 → 378
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
07098170
116946502
250015684

prune819.0ms

Filtered
378 candidates to 172 candidates (54.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3771378
Fresh044
Picked101
Done011
Total3786384

Merged error: 19.1b

Counts
384 → 6

regimes204.0ms

Accuracy

84.6% (1.6b remaining)

Error of 24.4b against oracle of 22.8b and baseline of 33.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05769
15769

end0.0ms

sample6.5s

Algorithm
intervals
Results
1.9s3888×body1280valid
1.3s2107×body1280nan
687.0ms1655×body640nan
657.0ms1912×body640valid
612.0ms1416×body10240exit
274.0ms6166×body80nan
237.0ms928×body320nan
188.0ms849×body320valid
148.0ms3089×body80valid
68.0ms468×body160nan
57.0ms417×body160valid