Details

Time bar (total: 11.8s)

sample158.0ms

Algorithm
intervals
Results
56.0ms118×body1280valid
23.0ms34×body10240exit
14.0ms22×body1280nan
13.0ms45×body640valid
9.0ms154×body80valid
8.0ms20×body640nan
6.0ms166×body80nan
4.0ms19×body320valid
2.0ms14×body160valid
2.0msbody320nan
0.0msbody160nan

simplify34.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: 31.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.7b
(pow x (/ 1.0 n))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite121.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:
4.0ms
(pow x (/ 1.0 n))
98.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))

series455.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(pow x (/ 1.0 n))
258.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
137.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify66.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06542164
121641642
250021637

prune340.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 22.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow x (/ 1.0 n))
1.4b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite315.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:
4.0ms
(pow x (/ 1.0 n))
186.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
98.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))

series736.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow x (/ 1.0 n))
268.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
269.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify84.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
08353935
124772885
250012880

prune530.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 22.1b

localize17.0ms

Local error

Found 4 expressions with local error:

1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite210.0ms

Algorithm
rewrite-expression-head
Rules
128×log-prod
122×cbrt-prod
116×*-un-lft-identity exp-sum
112×unpow-prod-down prod-diff
84×add-sqr-sqrt add-cube-cbrt
32×sqr-pow
26×pow-unpow
18×times-frac
16×distribute-lft-out
pow1 add-exp-log
expm1-log1p-u log-pow add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg log-div cbrt-div pow-pow exp-diff pow1/3 rem-log-exp pow-exp div-inv
Counts
4 → 214
Calls
4 calls:
84.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
87.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))

series1.2s

Counts
4 → 12
Calls
4 calls:
445.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
442.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
141.0ms
(pow (+ x 1.0) (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify77.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06804636
117333996
250023348

prune737.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 22.0b

localize18.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))

rewrite226.0ms

Algorithm
rewrite-expression-head
Rules
126×unpow-prod-down
125×*-un-lft-identity
112×prod-diff
96×add-sqr-sqrt
84×add-cube-cbrt
64×log-prod
61×cbrt-prod
58×exp-sum
39×sqr-pow
26×pow-unpow
18×times-frac 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 sub-neg pow-pow pow-exp log-pow div-inv
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip--
Counts
4 → 227
Calls
4 calls:
97.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
89.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))

series1.0s

Counts
4 → 12
Calls
4 calls:
277.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
448.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
143.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify93.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07944325
121583487
250023084

prune712.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 22.0b

regimes291.0ms

Accuracy

81.1% (1.7b remaining)

Error of 22.1b against oracle of 20.4b and baseline of 29.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04324
14324

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.4s3151×body1280valid
577.0ms1640×body640valid
508.0ms1186×body10240exit
291.0ms627×body1280nan
265.0ms4753×body80valid
221.0ms645×body640nan
197.0ms5039×body80nan
188.0ms833×body320valid
73.0ms368×body320nan
60.0ms426×body160valid
20.0ms174×body160nan