Details

Time bar (total: 11.3s)

sample138.0ms

Algorithm
intervals
Results
54.0ms113×body1280valid
16.0ms51×body640valid
10.0ms24×body1280nan
10.0ms35×body10240exit
7.0ms131×body80valid
6.0ms19×body640nan
6.0ms153×body80nan
5.0ms23×body320valid
2.0ms15×body160valid
2.0msbody320nan
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: 30.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.3b
(pow x (/ 1.0 n))
1.0b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite111.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))
91.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series448.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(pow x (/ 1.0 n))
139.0ms
(pow (+ x 1.0) (/ 1.0 n))
258.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify71.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06542164
121641642
250021637

prune331.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 22.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ 1.0 n))
1.0b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

rewrite282.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))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
87.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
169.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series699.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(pow x (/ 1.0 n))
137.0ms
(pow (+ x 1.0) (/ 1.0 n))
257.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
253.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify89.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
08353935
124772885
250012880

prune520.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 22.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ (/ 1.0 n) 2))
1.0b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.0b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
2.1b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
198×times-frac
171×*-un-lft-identity
156×add-sqr-sqrt
144×add-cube-cbrt
129×pow-unpow
77×unpow-prod-down
56×prod-diff
25×sqr-pow
12×div-inv
11×distribute-lft-out
difference-of-squares
fma-neg
pow1 add-exp-log
add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp pow-pow pow-exp distribute-lft-out--
sub-neg flip3-- diff-log flip--
Counts
4 → 269
Calls
4 calls:
7.0ms
(pow x (/ (/ 1.0 n) 2))
13.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
13.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
90.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

series589.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(pow x (/ (/ 1.0 n) 2))
142.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
133.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
262.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

simplify104.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
09853525
135002856
250012853

prune904.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 22.7b

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
2.1b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
2.1b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
2.1b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

rewrite297.0ms

Algorithm
rewrite-expression-head
Rules
207×*-un-lft-identity
202×unpow-prod-down
172×add-sqr-sqrt
168×prod-diff
136×add-cube-cbrt
67×sqr-pow
66×times-frac
43×pow-unpow
28×distribute-lft-out
27×difference-of-squares
24×fma-neg
10×add-log-exp
distribute-lft-out--
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u div-inv
sub-neg flip3-- diff-log flip--
pow-to-exp pow-pow pow-exp
Counts
4 → 330
Calls
4 calls:
14.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
87.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
88.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
90.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

series933.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
263.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
266.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))
268.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

simplify118.0ms

Algorithm
egg-herbie
Counts
342 → 342
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
07847290
127965302
250015296

prune944.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 22.7b

regimes238.0ms

Accuracy

84% (1.4b remaining)

Error of 22.4b against oracle of 21.0b and baseline of 29.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05370
15370

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.5s3138×body1280valid
562.0ms1627×body640valid
453.0ms1100×body10240exit
294.0ms645×body1280nan
251.0ms4707×body80valid
208.0ms643×body640nan
200.0ms853×body320valid
184.0ms4912×body80nan
71.0ms340×body320nan
63.0ms455×body160valid
22.0ms198×body160nan