Details

Time bar (total: 11.4s)

sample142.0ms

Algorithm
intervals
Results
52.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

localize8.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))

rewrite117.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))
96.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))

series501.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06542164
121641642
250021637

prune339.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 22.2b

localize12.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)))))

rewrite109.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))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
90.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series637.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
62.0ms
(pow x (/ 1.0 n))
157.0ms
(pow (+ x 1.0) (/ 1.0 n))
324.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05561604
119711009
25003997

prune354.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)))))

rewrite286.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:
12.0ms
(pow (+ x 1.0) (/ 1.0 n))
88.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
90.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
90.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
156.0ms
(pow (+ x 1.0) (/ 1.0 n))
344.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
334.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
332.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 (39.0ms)

IterNodesCost
04203765
114102050
250021995

prune651.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 22.2b

localize20.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)))))

rewrite372.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:
89.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
91.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
88.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
93.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
339.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
332.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
332.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))
332.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02914792
19062508
250012444

prune729.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 22.2b

regimes235.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
442.0ms1106×body10240exit
277.0ms612×body1280nan
242.0ms4664×body80valid
192.0ms586×body640nan
185.0ms860×body320valid
180.0ms4907×body80nan
64.0ms342×body320nan
60.0ms440×body160valid
18.0ms167×body160nan