Details

Time bar (total: 15.7s)

sample224.0ms

Algorithm
intervals
Results
60.0ms113×body1280valid
43.0ms41×body1280nan
30.0ms58×body640valid
22.0ms33×body640nan
18.0ms116×body80overflowed
10.0ms104×body80valid
8.0ms176×body80nan
7.0ms24×body320valid
4.0ms21×body160valid
2.0msbody320nan
1.0msbody160nan

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite16.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:
11.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)))

simplify58.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04131840
111821320
250021316

prune154.0ms

Filtered
93 candidates to 44 candidates (47.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh000
Picked101
Done000
Total90494

Merged error: 20.5b

Counts
94 → 4

localize12.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.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite62.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)))
14.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:
581.0ms
(cbrt (- (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)) (pow x (/ 1.0 n)))
279.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify98.0ms

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05545996
115344421
250014401

prune644.0ms

Filtered
309 candidates to 157 candidates (50.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3072309
Fresh033
Picked011
Done000
Total3076313

Merged error: 20.5b

Counts
313 → 6

localize35.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
5.1b
(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)))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
132×unpow-prod-down
115×*-un-lft-identity
112×prod-diff
93×add-sqr-sqrt
69×add-cube-cbrt
44×sqr-pow
18×distribute-lft-out difference-of-squares
16×fma-neg
add-log-exp
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod
sub-neg flip3-- diff-log flip--
pow1/3 fma-udef
Counts
4 → 203
Calls
4 calls:
1.0ms
(cbrt x)
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.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.6s

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt x)
286.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)))
839.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)))))

simplify95.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
07394188
124322959
250022915

prune795.0ms

Filtered
215 candidates to 109 candidates (50.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2141215
Fresh044
Picked101
Done011
Total2156221

Merged error: 20.5b

Counts
221 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (+ x 1.0) (/ 1.0 n)))
0.0b
(* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (pow (+ x 1.0) (/ 1.0 n))))
5.4b
(- (* (* (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 (sqrt x) (* 2 (/ 1.0 n))))
6.0b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
68×cbrt-prod
45×add-sqr-sqrt
38×unpow-prod-down
37×*-un-lft-identity
21×add-cube-cbrt
16×unswap-sqr
14×sqr-pow
13×swap-sqr
11×pow1 associate-*r* associate-*l*
10×prod-diff
pow1/3 distribute-lft-out
add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sqrt-prod
pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg flip3-- pow-plus fma-neg diff-log prod-exp *-commutative flip-- cbrt-unprod fma-udef
Counts
4 → 124
Calls
4 calls:
4.0ms
(cbrt (pow (+ x 1.0) (/ 1.0 n)))
14.0ms
(* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (pow (+ x 1.0) (/ 1.0 n))))
21.0ms
(- (* (* (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 (sqrt x) (* 2 (/ 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:
173.0ms
(cbrt (pow (+ x 1.0) (/ 1.0 n)))
267.0ms
(* (cbrt (pow (+ x 1.0) (/ 1.0 n))) (cbrt (pow (+ x 1.0) (/ 1.0 n))))
441.0ms
(- (* (* (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 (sqrt x) (* 2 (/ 1.0 n))))
1.3s
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

simplify77.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06752235
125431825
250021678

prune437.0ms

Filtered
136 candidates to 94 candidates (69.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh044
Picked011
Done011
Total1357142

Merged error: 20.4b

Counts
142 → 7

regimes242.0ms

Accuracy

83.6% (1.7b remaining)

Error of 23.8b against oracle of 22.1b and baseline of 32.5b

bsearch1.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079111
181111
281111

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.1s3915×body1280valid
1.2s1146×body1280nan
774.0ms1743×body640valid
665.0ms934×body640nan
589.0ms4016×body80overflowed
318.0ms3207×body80valid
306.0ms6364×body80nan
286.0ms933×body320valid
194.0ms466×body320nan
84.0ms446×body160valid
44.0ms210×body160nan