Details

Time bar (total: 17.8s)

sample240.0ms

Algorithm
intervals
Results
52.0ms110×body1280valid
49.0ms77×body1280nan
31.0ms74×body640nan
27.0ms48×body10240exit
24.0ms73×body640valid
10.0ms40×body320nan
10.0ms234×body80nan
7.0ms32×body320valid
5.0ms104×body80valid
2.0ms14×body160nan
1.0ms11×body160valid

simplify36.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: 35.1b

localize9.0ms

Local error

Found 1 expressions with local error:

2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
66×unpow-prod-down
56×*-un-lft-identity prod-diff
45×add-sqr-sqrt
33×add-cube-cbrt
22×sqr-pow
distribute-lft-out difference-of-squares
fma-neg
distribute-lft-out-- add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 90
Calls
1 calls:
15.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series282.0ms

Counts
1 → 3
Calls
1 calls:
282.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify50.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04131840
111821320
250021316

prune169.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 22.8b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
208×unpow-prod-down
177×*-un-lft-identity
168×prod-diff
149×add-sqr-sqrt
101×add-cube-cbrt
72×sqr-pow
36×difference-of-squares
28×distribute-lft-out
24×fma-neg
15×cbrt-prod
12×distribute-lft-out--
10×add-log-exp
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 297
Calls
4 calls:
9.0ms
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.4s

Counts
4 → 12
Calls
4 calls:
585.0ms
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
283.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)))
288.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify91.0ms

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05545996
115344421
250014401

prune739.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 22.7b

localize29.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
4.3b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
234×unpow-prod-down
192×prod-diff
184×*-un-lft-identity
155×add-sqr-sqrt
114×add-cube-cbrt
70×sqr-pow
30×difference-of-squares
29×distribute-lft-out
27×sqrt-prod
24×fma-neg
10×add-log-exp
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
fma-udef
Counts
4 → 305
Calls
4 calls:
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.0ms
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

series2.2s

Counts
4 → 12
Calls
4 calls:
475.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
299.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
292.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.1s
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

simplify123.0ms

Algorithm
egg-herbie
Counts
317 → 317
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
09237382
128875237
250025220

prune1.1s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 22.7b

localize35.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow x (/ (/ 1.0 n) 2)))
4.3b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
267×unpow-prod-down
213×prod-diff
193×*-un-lft-identity
174×add-sqr-sqrt
128×add-cube-cbrt
74×sqr-pow
62×sqrt-prod
33×difference-of-squares
28×distribute-lft-out
27×fma-neg
10×add-log-exp
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
fma-udef
Counts
4 → 330
Calls
4 calls:
15.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow x (/ (/ 1.0 n) 2)))
1.0ms
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

series2.4s

Counts
4 → 12
Calls
4 calls:
290.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
473.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
482.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow x (/ (/ 1.0 n) 2)))
1.1s
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

simplify166.0ms

Algorithm
egg-herbie
Counts
342 → 342
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
013428707
141596045
250016035

prune1.5s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 22.7b

regimes262.0ms

Accuracy

81.4% (1.9b remaining)

Error of 24.4b against oracle of 22.5b and baseline of 33.0b

bsearch3.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
091119
193119
293119

end0.0ms

sample6.7s

Algorithm
intervals
Results
1.9s3923×body1280valid
1.4s2258×body1280nan
739.0ms1811×body640nan
646.0ms1446×body10240exit
612.0ms1792×body640valid
279.0ms6286×body80nan
226.0ms918×body320nan
194.0ms891×body320valid
159.0ms3191×body80valid
73.0ms478×body160nan
64.0ms466×body160valid