Details

Time bar (total: 10.2s)

sample110.0ms

Algorithm
intervals
Results
49.0ms100×body1280valid
12.0ms37×body640valid
9.0ms164×body80valid
6.0ms161×body80nan
6.0ms25×body320valid
4.0ms75×body80overflowed
4.0msbody640nan
2.0msbody1280nan
1.0ms10×body160valid
1.0msbody320nan
0.0msbody160nan

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
550016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.8b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite67.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:
2.0ms
(pow x (/ 1.0 n))
8.0ms
(pow (+ x 1.0) (/ 1.0 n))
51.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series452.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(pow x (/ 1.0 n))
138.0ms
(pow (+ x 1.0) (/ 1.0 n))
261.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify69.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06542164
121641642
250021637

prune324.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 19.3b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
135×unpow-prod-down
130×*-un-lft-identity
112×prod-diff
108×add-sqr-sqrt
84×add-cube-cbrt
61×log-prod
58×exp-sum
45×sqr-pow
26×pow-unpow
18×times-frac distribute-lft-out difference-of-squares
16×log-pow
15×exp-prod
fma-neg
pow1
add-exp-log distribute-lft-out-- add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg pow-pow pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 237
Calls
4 calls:
2.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
53.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
107.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series734.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(pow x (/ 1.0 n))
144.0ms
(pow (+ x 1.0) (/ 1.0 n))
266.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
264.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify83.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
08353935
124772885
250012880

prune526.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (+ x 1.0) (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
140×unpow-prod-down
134×*-un-lft-identity
112×prod-diff
108×add-sqr-sqrt
84×add-cube-cbrt
46×sqr-pow
26×pow-unpow
20×distribute-lft-out
18×times-frac difference-of-squares
16×fma-neg
add-log-exp
pow1 add-exp-log distribute-lft-out--
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- div-inv
Counts
4 → 240
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
7.0ms
(pow (+ x 1.0) (/ 1.0 n))
51.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
54.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series839.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(pow (+ x 1.0) (/ 1.0 n))
146.0ms
(pow (+ x 1.0) (/ 1.0 n))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
271.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify77.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05424022
116942978
250012976

prune668.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.8b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
162×*-un-lft-identity
140×unpow-prod-down
136×add-sqr-sqrt
112×add-cube-cbrt prod-diff
75×times-frac
56×pow-unpow
46×sqr-pow
20×distribute-lft-out
18×difference-of-squares
16×fma-neg
add-log-exp
pow1 add-exp-log distribute-lft-out--
div-inv
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip--
Counts
4 → 270
Calls
4 calls:
10.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
52.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
55.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

series861.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
152.0ms
(pow (+ x 1.0) (/ 1.0 n))
280.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
278.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

simplify124.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
011954650
140183441
250013438

prune950.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.2b

regimes250.0ms

Accuracy

82.4% (1.5b remaining)

Error of 22.6b against oracle of 21.1b and baseline of 29.4b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04441
14441

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s3131×body1280valid
570.0ms1610×body640valid
267.0ms4802×body80valid
192.0ms5101×body80nan
184.0ms815×body320valid
136.0ms2313×body80overflowed
131.0ms266×body640nan
127.0ms128×body1280nan
65.0ms470×body160valid
39.0ms162×body320nan
12.0ms95×body160nan