Details

Time bar (total: 10.9s)

sample138.0ms

Algorithm
intervals
Results
49.0ms106×body1280valid
19.0ms38×body10240exit
17.0ms55×body640valid
7.0ms137×body80valid
6.0ms30×body320valid
6.0ms20×body640nan
5.0ms137×body80nan
4.0ms10×body1280nan
2.0ms16×body160valid
2.0msbody320nan
1.0msbody160nan

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: 32.3b

localize13.0ms

Local error

Found 3 expressions with local error:

0.8b
(pow x (/ 1.0 n))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.7b
(pow (+ x 1.0) (/ 1.0 n))

rewrite108.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))
88.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))

series440.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(pow x (/ 1.0 n))
248.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
135.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

prune324.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 22.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (log1p (pow x (/ 1.0 n))))
0.8b
(pow x (/ 1.0 n))
1.7b
(pow (+ x 1.0) (/ 1.0 n))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
41×add-sqr-sqrt
36×add-cube-cbrt
26×pow-unpow
24×unpow-prod-down prod-diff
18×times-frac
fma-neg
sqr-pow
pow1 add-exp-log add-log-exp
distribute-lft-out
expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-of-squares
pow-to-exp pow-pow pow-exp div-inv expm1-udef
sub-neg expm1-log1p flip3-- diff-log flip-- distribute-lft-out-- associate--r-
Counts
4 → 121
Calls
4 calls:
0.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
4.0ms
(pow x (/ 1.0 n))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
83.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series568.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
57.0ms
(pow x (/ 1.0 n))
133.0ms
(pow (+ x 1.0) (/ 1.0 n))
296.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05561604
119711009
25003997

prune342.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 22.2b

localize16.0ms

Local error

Found 4 expressions with local error:

1.7b
(pow (+ x 1.0) (/ 1.0 n))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

rewrite269.0ms

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity
75×add-sqr-sqrt
72×prod-diff
60×add-cube-cbrt
55×unpow-prod-down
24×fma-neg
16×sqr-pow
13×pow-unpow distribute-lft-out
10×add-log-exp
times-frac difference-of-squares
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- distribute-lft-out-- expm1-udef associate--r-
pow-to-exp pow-pow pow-exp div-inv
Counts
4 → 183
Calls
4 calls:
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
83.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
83.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
85.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
134.0ms
(pow (+ x 1.0) (/ 1.0 n))
296.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
301.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
292.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04203765
114102050
250021995

prune617.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 22.2b

localize24.0ms

Local error

Found 4 expressions with local error:

34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
34.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

rewrite343.0ms

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity
96×prod-diff
88×add-sqr-sqrt
68×add-cube-cbrt unpow-prod-down
32×fma-neg
20×sqr-pow
16×distribute-lft-out
12×add-log-exp difference-of-squares
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- expm1-udef associate--r-
Counts
4 → 204
Calls
4 calls:
84.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
84.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
83.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
84.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
305.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
298.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
296.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
305.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02914792
19062508
250012444

prune705.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 22.2b

regimes243.0ms

Accuracy

81.5% (1.6b remaining)

Error of 22.5b against oracle of 20.9b and baseline of 29.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05767
15767

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.4s3146×body1280valid
532.0ms1610×body640valid
424.0ms1106×body10240exit
286.0ms612×body1280nan
244.0ms4664×body80valid
192.0ms586×body640nan
185.0ms860×body320valid
175.0ms4907×body80nan
65.0ms342×body320nan
59.0ms440×body160valid
18.0ms167×body160nan