Details

Time bar (total: 11.3s)

sample156.0ms

Algorithm
intervals
Results
47.0ms98×body1280valid
24.0ms23×body10240exit
20.0ms56×body640valid
15.0ms28×body1280nan
8.0ms152×body80valid
6.0ms28×body320valid
6.0ms18×body640nan
6.0ms160×body80nan
3.0ms17×body320nan
1.0msbody160valid
0.0msbody160nan

simplify37.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: 28.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite71.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 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
53.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series483.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(pow x (/ 1.0 n))
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
280.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify75.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06542164
121641642
250021637

prune330.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 20.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (+ x 1.0) (/ 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)))

rewrite318.0ms

Algorithm
rewrite-expression-head
Rules
202×unpow-prod-down
179×*-un-lft-identity
168×prod-diff
144×add-sqr-sqrt
108×add-cube-cbrt
67×sqr-pow
28×distribute-lft-out
27×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 → 300
Calls
4 calls:
8.0ms
(pow (+ x 1.0) (/ 1.0 n))
53.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
56.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
186.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series960.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
272.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
272.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
268.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify100.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05425691
116944129
250014126

prune715.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 20.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (log1p (pow x (/ 1.0 n))))
0.3b
(pow x (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
34.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

rewrite65.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:
0.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
2.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
52.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

series606.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(expm1 (log1p (pow x (/ 1.0 n))))
55.0ms
(pow x (/ 1.0 n))
149.0ms
(pow (+ x 1.0) (/ 1.0 n))
313.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (expm1 (log1p (pow x (/ 1.0 n)))))

simplify59.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: 20.5b

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)))))

rewrite295.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:
54.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
55.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)))
112.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
279.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
279.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)))
280.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
370 → 370
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05947291
114935203
250024228

prune895.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 20.5b

regimes198.0ms

Accuracy

83.3% (1.4b remaining)

Error of 22.7b against oracle of 21.3b and baseline of 29.4b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05251
15251

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.5s3180×body1280valid
580.0ms1614×body640valid
490.0ms1152×body10240exit
300.0ms627×body1280nan
267.0ms4669×body80valid
232.0ms654×body640nan
202.0ms5087×body80nan
197.0ms832×body320valid
75.0ms363×body320nan
67.0ms458×body160valid
23.0ms188×body160nan