Details

Time bar (total: 12.5s)

sample170.0ms

Algorithm
intervals
Results
69.0ms112×body1280valid
27.0ms59×body640valid
12.0ms17×body1280nan
12.0ms150×body80valid
10.0ms22×body640nan
9.0ms161×body80nan
5.0ms18×body320valid
3.0ms40×body80overflowed
2.0ms10×body160nan
2.0msbody320nan
1.0msbody160valid

simplify35.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: 28.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.3b
(pow x (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite63.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))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series474.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(pow x (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
271.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify72.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: 20.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.6b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite165.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))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
98.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
47.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series759.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(pow x (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
272.0ms
(log (exp (- (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)))

simplify85.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
08353935
124772885
250012880

prune514.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite170.0ms

Algorithm
rewrite-expression-head
Rules
202×unpow-prod-down
179×*-un-lft-identity
168×prod-diff
144×add-sqr-sqrt
108×add-cube-cbrt
67×sqr-pow
28×distribute-lft-out
27×difference-of-squares
24×fma-neg
13×pow-unpow
10×add-log-exp
times-frac distribute-lft-out--
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
pow-to-exp pow-pow pow-exp div-inv
Counts
4 → 300
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
47.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
51.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series977.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(pow (+ x 1.0) (/ 1.0 n))
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
273.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
279.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify94.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05425691
116944129
250014126

prune794.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 20.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
0.6b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
202×unpow-prod-down
179×*-un-lft-identity
168×prod-diff
144×add-sqr-sqrt
108×add-cube-cbrt
67×sqr-pow
28×distribute-lft-out
27×difference-of-squares
24×fma-neg
13×pow-unpow
10×add-log-exp
times-frac distribute-lft-out--
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
pow-to-exp pow-pow pow-exp div-inv
Counts
4 → 300
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
47.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
52.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

series995.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(pow (+ x 1.0) (/ 1.0 n))
280.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
279.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
283.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

simplify126.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08676070
127054345
250014341

prune967.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 20.0b

regimes308.0ms

Accuracy

82.9% (1.4b remaining)

Error of 22.3b against oracle of 20.9b and baseline of 29.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06186
16186

end0.0ms

sample5.2s

Algorithm
intervals
Results
1.9s3182×body1280valid
749.0ms1645×body640valid
595.0ms637×body1280nan
382.0ms4691×body80valid
284.0ms4954×body80nan
270.0ms610×body640nan
245.0ms779×body320valid
95.0ms354×body320nan
94.0ms1220×body80overflowed
90.0ms445×body160valid
30.0ms183×body160nan