Details

Time bar (total: 12.9s)

sample159.0ms

Algorithm
intervals
Results
56.0ms96×body1280valid
28.0ms60×body640valid
11.0ms144×body80valid
10.0ms32×body320valid
10.0ms152×body80nan
9.0ms13×body1280nan
5.0ms20×body320nan
5.0ms13×body640nan
3.0ms16×body160valid
3.0ms35×body80overflowed
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.8b

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(pow x (/ 1.0 n))
0.7b
(pow (+ x 1.0) (/ 1.0 n))
1.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite67.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:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series455.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06542164
121641642
250021637

prune330.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 22.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow x (/ 1.0 n))
0.7b
(pow (+ x 1.0) (/ 1.0 n))
1.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.7b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

rewrite177.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:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
105.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series751.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(pow x (/ 1.0 n))
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
276.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
273.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
08353935
124772885
250012880

prune517.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 22.4b

localize19.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.7b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.7b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

rewrite222.0ms

Algorithm
rewrite-expression-head
Rules
236×unpow-prod-down
224×prod-diff
206×*-un-lft-identity
156×add-sqr-sqrt
132×add-cube-cbrt
128×log-prod
122×cbrt-prod
116×exp-sum
74×sqr-pow
32×distribute-lft-out
18×difference-of-squares
16×fma-neg
add-log-exp
pow1 add-exp-log distribute-lft-out--
expm1-log1p-u sub-neg log-pow add-cbrt-cube log1p-expm1-u
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip--
Counts
4 → 334
Calls
4 calls:
51.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
52.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
49.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
47.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.4s

Counts
4 → 12
Calls
4 calls:
276.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
443.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
454.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify97.0ms

Algorithm
egg-herbie
Counts
346 → 346
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06657966
116426298
250015480

prune917.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 22.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow (+ x 1.0) (/ 1.0 n))
1.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.7b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
188×unpow-prod-down
170×*-un-lft-identity
168×prod-diff
132×add-sqr-sqrt
108×add-cube-cbrt
64×log-prod
61×cbrt-prod
60×sqr-pow
58×exp-sum
26×distribute-lft-out
18×difference-of-squares
16×fma-neg
13×pow-unpow
times-frac
add-log-exp
pow1 add-exp-log distribute-lft-out--
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg
flip3-- diff-log log-pow flip--
pow-to-exp log-div cbrt-div pow-pow exp-diff pow1/3 rem-log-exp pow-exp div-inv
Counts
4 → 287
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
51.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
48.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
49.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.1s

Counts
4 → 12
Calls
4 calls:
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
269.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
451.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify98.0ms

Algorithm
egg-herbie
Counts
299 → 299
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07945994
121584638
250024234

prune784.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 22.3b

regimes310.0ms

Accuracy

78% (1.8b remaining)

Error of 23.1b against oracle of 21.3b and baseline of 29.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04754
14754

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.9s3115×body1280valid
747.0ms1602×body640valid
388.0ms4811×body80valid
346.0ms601×body1280nan
323.0ms5106×body80nan
283.0ms896×body320valid
249.0ms573×body640nan
99.0ms1284×body80overflowed
98.0ms363×body320nan
89.0ms440×body160valid
36.0ms207×body160nan