Details

Time bar (total: 18.3s)

sample243.0ms

Algorithm
intervals
Results
64.0ms113×body1280valid
44.0ms36×body1280nan
30.0ms68×body640valid
23.0ms151×body80overflowed
16.0ms22×body640nan
12.0ms223×body80nan
11.0ms107×body80valid
10.0ms34×body320valid
7.0ms17×body320nan
2.0msbody160valid
1.0msbody160nan

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
550016

prune3.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: 35.9b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

1.6b
(- (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)))

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04131840
111821320
250021316

prune156.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: 24.4b

Counts
94 → 4

localize21.0ms

Local error

Found 2 expressions with local error:

1.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
4.6b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
102×unpow-prod-down
80×prod-diff
72×*-un-lft-identity
65×add-sqr-sqrt
48×add-cube-cbrt
27×sqrt-prod
26×sqr-pow
12×difference-of-squares
11×distribute-lft-out
fma-neg
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out--
Counts
2 → 125
Calls
2 calls:
13.0ms
(- (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))))

series1.5s

Counts
2 → 6
Calls
2 calls:
446.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 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))))

simplify76.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06213815
119612692
250022656

prune286.0ms

Filtered
131 candidates to 59 candidates (45.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1292131
Fresh123
Picked101
Done000
Total1314135

Merged error: 24.4b

Counts
135 → 4

localize20.0ms

Local error

Found 3 expressions with local error:

1.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.8b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))))
4.6b
(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
200×unpow-prod-down
160×prod-diff
141×*-un-lft-identity
129×add-sqr-sqrt
95×add-cube-cbrt
85×log-prod
82×exp-sum
54×sqrt-prod
51×sqr-pow
24×difference-of-squares
21×distribute-lft-out
17×log-pow
16×exp-prod
fma-neg
add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg distribute-lft-out--
log-div flip3-- exp-diff diff-log rem-log-exp flip-- fma-udef
Counts
3 → 238
Calls
3 calls:
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
20.0ms
(log (exp (- (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.0s

Counts
3 → 9
Calls
3 calls:
448.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
448.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 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))))

simplify106.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
08337303
123175082
250024358

prune529.0ms

Filtered
247 candidates to 103 candidates (41.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2461247
Fresh033
Picked011
Done000
Total2465251

Merged error: 24.4b

Counts
251 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.9b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n)))))))
1.9b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n)))))))
4.6b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
278×unpow-prod-down
240×prod-diff
206×*-un-lft-identity
176×log-prod
170×cbrt-prod
164×exp-sum
159×add-sqr-sqrt
142×add-cube-cbrt
75×sqrt-prod
62×sqr-pow
31×distribute-lft-out
12×difference-of-squares
fma-neg
pow1 add-exp-log add-log-exp
expm1-log1p-u log-pow add-cbrt-cube log1p-expm1-u
sub-neg
log-div cbrt-div exp-diff pow1/3 rem-log-exp
flip3-- diff-log flip-- fma-udef distribute-lft-out--
Counts
4 → 327
Calls
4 calls:
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
22.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n)))))))
25.0ms
(log (cbrt (exp (- (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))))

series4.0s

Counts
4 → 12
Calls
4 calls:
443.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.1s
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n)))))))
1.3s
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 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))))

simplify155.0ms

Algorithm
egg-herbie
Counts
339 → 339
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
096511743
126329511
250018138

prune957.0ms

Filtered
339 candidates to 129 candidates (38.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3363339
Fresh033
Picked101
Done011
Total3377344

Merged error: 24.3b

Counts
344 → 7

regimes219.0ms

Accuracy

84.1% (1.7b remaining)

Error of 24.1b against oracle of 22.4b and baseline of 33.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05980
15980

end0.0ms

sample7.4s

Algorithm
intervals
Results
2.2s3942×body1280valid
1.3s1081×body1280nan
832.0ms1778×body640valid
678.0ms926×body640nan
659.0ms4101×body80overflowed
338.0ms3101×body80valid
309.0ms6210×body80nan
293.0ms889×body320valid
188.0ms434×body320nan
89.0ms450×body160valid
52.0ms232×body160nan

Profiling

Loading profile data...