Details

Time bar (total: 13.0s)

sample134.0ms

Algorithm
intervals
Results
38.0ms83×body1280valid
19.0ms55×body640valid
19.0ms26×body10240exit
9.0ms171×body80valid
8.0ms19×body1280nan
5.0ms18×body640nan
5.0ms144×body80nan
5.0ms25×body320valid
3.0ms13×body320nan
1.0ms11×body160valid
0.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: 30.2b

localize9.0ms

Local error

Found 3 expressions with local error:

0.5b
(pow x (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite116.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))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
95.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series487.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(pow x (/ 1.0 n))
150.0ms
(pow (+ x 1.0) (/ 1.0 n))
279.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify64.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06542164
121641642
250021637

prune327.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 22.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow x (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.0b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite300.0ms

Algorithm
rewrite-expression-head
Rules
135×unpow-prod-down
130×*-un-lft-identity
112×prod-diff
108×add-sqr-sqrt
84×add-cube-cbrt
61×log-prod
58×exp-sum
45×sqr-pow
26×pow-unpow
18×times-frac distribute-lft-out difference-of-squares
16×log-pow
15×exp-prod
fma-neg
pow1
add-exp-log distribute-lft-out-- add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg pow-pow pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 237
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
12.0ms
(pow (+ x 1.0) (/ 1.0 n))
177.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
94.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series786.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(pow x (/ 1.0 n))
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
290.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
287.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify79.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
08353935
124772885
250012880

prune529.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 22.5b

localize14.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.0b
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
2.0b
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

rewrite573.0ms

Algorithm
rewrite-expression-head
Rules
256×unpow-prod-down
224×prod-diff
222×*-un-lft-identity
182×add-sqr-sqrt
134×add-cube-cbrt
128×log-prod
122×sqrt-prod
116×exp-sum
86×sqr-pow
36×log-pow difference-of-squares
34×distribute-lft-out
32×sqrt-pow1
30×exp-prod
16×fma-neg
12×distribute-lft-out--
pow1 add-log-exp
add-exp-log
expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u
log-div flip3-- pow1/2 exp-diff sqrt-div diff-log rem-log-exp flip--
Counts
4 → 366
Calls
4 calls:
91.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
91.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
183.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
183.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
293.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
290.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
471.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
468.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify107.0ms

Algorithm
egg-herbie
Counts
378 → 378
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
07118170
117206498
250015684

prune1.0s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 22.5b

localize20.0ms

Local error

Found 4 expressions with local error:

1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.0b
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

rewrite393.0ms

Algorithm
rewrite-expression-head
Rules
198×unpow-prod-down
178×*-un-lft-identity
168×prod-diff
145×add-sqr-sqrt
109×add-cube-cbrt
66×sqr-pow
64×log-prod
61×sqrt-prod
58×exp-sum
27×distribute-lft-out difference-of-squares
18×log-pow
16×sqrt-pow1 fma-neg
15×exp-prod
13×pow-unpow
times-frac distribute-lft-out--
add-log-exp
pow1
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg
flip3-- diff-log flip--
pow-to-exp log-div pow-pow pow1/2 exp-diff sqrt-div rem-log-exp pow-exp div-inv
Counts
4 → 303
Calls
4 calls:
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
90.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
91.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
180.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
153.0ms
(pow (+ x 1.0) (/ 1.0 n))
283.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
282.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
472.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify91.0ms

Algorithm
egg-herbie
Counts
315 → 315
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
08406096
122354738
250024336

prune804.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 22.4b

regimes228.0ms

Accuracy

84.4% (1.3b remaining)

Error of 23.1b against oracle of 21.8b and baseline of 30.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05158
15158

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.4s3129×body1280valid
575.0ms1680×body640valid
420.0ms1075×body10240exit
290.0ms663×body1280nan
250.0ms4723×body80valid
207.0ms654×body640nan
188.0ms5045×body80nan
185.0ms847×body320valid
63.0ms343×body320nan
60.0ms446×body160valid
20.0ms185×body160nan