Details

Time bar (total: 12.5s)

sample121.0ms

Algorithm
intervals
Results
50.0ms109×body1280valid
17.0ms52×body640valid
8.0ms155×body80valid
8.0ms37×body320valid
6.0ms158×body80nan
5.0msbody1280nan
4.0ms69×body80overflowed
3.0msbody640nan
2.0msbody320nan
2.0ms11×body160valid
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: 31.2b

localize12.0ms

Local error

Found 2 expressions with local error:

0.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.1b
(pow (+ x 1.0) (/ 1.0 n))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
70×unpow-prod-down
67×*-un-lft-identity
56×prod-diff
54×add-sqr-sqrt
42×add-cube-cbrt
23×sqr-pow
13×pow-unpow
10×distribute-lft-out
times-frac difference-of-squares
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
2 → 120
Calls
2 calls:
52.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))

series417.0ms

Counts
2 → 6
Calls
2 calls:
271.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
146.0ms
(pow (+ x 1.0) (/ 1.0 n))

simplify64.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05422011
116941489
250011488

prune241.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 23.1b

localize23.0ms

Local error

Found 4 expressions with local error:

1.1b
(pow (+ x 1.0) (/ 1.0 n))
1.1b
(pow (+ x 1.0) (/ 1.0 n))
1.1b
(pow (+ x 1.0) (/ 1.0 n))
1.4b
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (pow (+ x 1.0) (/ 1.0 n)))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
39×pow-unpow
34×*-un-lft-identity
28×add-sqr-sqrt add-cube-cbrt
27×times-frac
12×unpow-prod-down
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out sqr-pow
fma-udef
Counts
4 → 100
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
0.0ms
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (pow (+ x 1.0) (/ 1.0 n)))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
142.0ms
(pow (+ x 1.0) (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
804.0ms
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (pow (+ x 1.0) (/ 1.0 n)))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0532990
11951912
25002910

prune560.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 22.9b

localize38.0ms

Local error

Found 4 expressions with local error:

1.1b
(pow (+ x 1.0) (/ 1.0 n))
1.1b
(pow (+ x 1.0) (/ 1.0 n))
1.8b
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
2.7b
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
26×pow-unpow
25×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt
18×times-frac
unpow-prod-down
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out sqr-pow
pow1/3 fma-udef
Counts
4 → 83
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
1.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
0.0ms
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

series2.1s

Counts
4 → 12
Calls
4 calls:
146.0ms
(pow (+ x 1.0) (/ 1.0 n))
151.0ms
(pow (+ x 1.0) (/ 1.0 n))
157.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
1.7s
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06851182
125111086
250021082

prune705.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 22.9b

localize45.0ms

Local error

Found 4 expressions with local error:

1.8b
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
1.8b
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
1.8b
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
2.7b
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (* (cbrt (* (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n))))) (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n))))))) (cbrt (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
1.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
1.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
0.0ms
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (* (cbrt (* (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n))))) (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n))))))) (cbrt (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

series2.2s

Counts
4 → 12
Calls
4 calls:
153.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
160.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
161.0ms
(cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))
1.7s
(fma (* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (* (cbrt (* (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n))))) (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n))))))) (cbrt (cbrt (fma 1.0 (/ 1 (* x n)) (- 1 (* 1.0 (/ (log (/ 1 x)) n)))))))) (cbrt (pow (+ x 1.0) (/ 1.0 n))) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05431588
119611416
250011396

prune545.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 22.9b

regimes389.0ms

Accuracy

78.9% (1.8b remaining)

Error of 22.3b against oracle of 20.5b and baseline of 29.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05955
16155
26155

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s3140×body1280valid
523.0ms1501×body640valid
254.0ms4669×body80valid
199.0ms891×body320valid
190.0ms5033×body80nan
160.0ms171×body1280nan
136.0ms2291×body80overflowed
111.0ms232×body640nan
63.0ms457×body160valid
40.0ms156×body320nan
11.0ms87×body160nan