Details

Time bar (total: 12.9s)

sample216.0ms

Algorithm
intervals
Results
57.0ms122×body1280valid
40.0ms69×body1280nan
26.0ms66×body640valid
22.0ms55×body640nan
22.0ms30×body10240exit
9.0ms35×body320nan
8.0ms190×body80nan
6.0ms30×body320valid
4.0ms92×body80valid
1.0ms10×body160nan
1.0msbody160valid

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: 34.6b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
1.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite27.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:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
4.0ms
(pow x (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series475.0ms

Counts
3 → 9
Calls
3 calls:
145.0ms
(pow (+ x 1.0) (/ 1.0 n))
55.0ms
(pow x (/ 1.0 n))
275.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

prune462.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 22.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
1.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
201×unpow-prod-down
177×*-un-lft-identity
168×prod-diff
144×add-sqr-sqrt
108×add-cube-cbrt
67×sqr-pow
27×distribute-lft-out difference-of-squares
24×fma-neg
13×pow-unpow
10×add-log-exp
times-frac distribute-lft-out--
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
pow-to-exp pow-pow pow-exp div-inv
Counts
4 → 299
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
14.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)))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series857.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(pow x (/ 1.0 n))
270.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
265.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
266.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify94.0ms

Algorithm
egg-herbie
Counts
311 → 311
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05875673
119584113
250024107

prune729.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 22.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
0.0b
(expm1 (log1p (pow x (/ 1.0 n))))
42.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
41×add-sqr-sqrt
36×add-cube-cbrt
26×pow-unpow
24×unpow-prod-down prod-diff
18×times-frac
fma-neg
sqr-pow
pow1 add-exp-log add-log-exp
distribute-lft-out
expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-of-squares
pow-to-exp pow-pow pow-exp div-inv expm1-udef
sub-neg expm1-log1p flip3-- diff-log flip-- distribute-lft-out-- associate--r-
Counts
4 → 121
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
4.0ms
(pow x (/ 1.0 n))
1.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series604.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(pow (+ x 1.0) (/ 1.0 n))
61.0ms
(pow x (/ 1.0 n))
88.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
314.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05561604
119711009
25003997

prune346.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 22.2b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
260×unpow-prod-down
224×prod-diff
222×*-un-lft-identity
180×add-sqr-sqrt
132×add-cube-cbrt
87×sqr-pow
61×log-prod
58×exp-sum
36×difference-of-squares
35×distribute-lft-out
24×fma-neg
16×log-pow
15×exp-prod
12×distribute-lft-out--
10×add-log-exp
pow1
add-exp-log expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u
flip3-- diff-log flip--
log-div exp-diff rem-log-exp
Counts
4 → 358
Calls
4 calls:
12.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)))
15.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
18.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
277.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
284.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
279.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify96.0ms

Algorithm
egg-herbie
Counts
370 → 370
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05947291
114935203
250024228

prune907.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 22.2b

regimes204.0ms

Accuracy

83.5% (1.6b remaining)

Error of 24.3b against oracle of 22.6b and baseline of 32.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05251
15251

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.8s3892×body1280valid
1.2s2167×body1280nan
723.0ms1801×body640nan
607.0ms1803×body640valid
591.0ms1437×body10240exit
267.0ms6260×body80nan
213.0ms871×body320nan
203.0ms881×body320valid
160.0ms3147×body80valid
65.0ms468×body160valid
62.0ms434×body160nan