Details

Time bar (total: 23.9s)

sample516.0ms

Algorithm
intervals
Results
179.0ms124×body1280valid
81.0ms57×body1280nan
63.0ms62×body640valid
58.0ms62×body640nan
41.0ms39×body10240exit
20.0ms39×body320nan
19.0ms25×body320valid
13.0ms210×body80nan
11.0ms105×body80valid
7.0ms19×body160valid
5.0ms15×body160nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
2.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 79
Calls
3 calls:
4.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series486.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune238.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 24.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt n)
0.6b
(cbrt n)
0.6b
(cbrt n)
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
17×unpow-prod-down
15×difference-of-squares
11×sqr-pow
cbrt-prod *-un-lft-identity
add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
pow1/3
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 61
Calls
4 calls:
0.0ms
(cbrt n)
0.0ms
(cbrt n)
1.0ms
(cbrt n)
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

series1.2s

Counts
4 → 12
Calls
4 calls:
176.0ms
(cbrt n)
175.0ms
(cbrt n)
175.0ms
(cbrt n)
695.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

simplify97.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
03151017
1824975
23586963
35001963

prune299.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 24.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt n)
0.6b
(cbrt n)
0.6b
(cbrt n)
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
17×unpow-prod-down
15×difference-of-squares
11×sqr-pow
cbrt-prod *-un-lft-identity
add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
pow1/3
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 61
Calls
4 calls:
0.0ms
(cbrt n)
0.0ms
(cbrt n)
1.0ms
(cbrt n)
48.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

series1.1s

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt n)
180.0ms
(cbrt n)
183.0ms
(cbrt n)
568.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

simplify106.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
03151017
1824975
23586963
35001963

prune361.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 24.4b

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt n)
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))
2.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
51×unpow-prod-down
45×difference-of-squares
33×sqr-pow
11×*-un-lft-identity
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
cbrt-prod sub-neg flip3-- diff-log flip-- distribute-lft-out--
pow1/3
Counts
4 → 95
Calls
4 calls:
1.0ms
(cbrt n)
48.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))
47.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))
49.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

series1.9s

Counts
4 → 12
Calls
4 calls:
191.0ms
(cbrt n)
579.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))
585.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))
583.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt n) (cbrt n)))) (/ (cbrt 1.0) (cbrt n))))

simplify111.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
03152739
18242637
235862617
350012617

prune683.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 24.4b

regimes198.0ms

Accuracy

84% (1.7b remaining)

Error of 23.9b against oracle of 22.2b and baseline of 33.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04485
14485

end0.0ms

sample16.1s

Algorithm
intervals
Results
5.6s3894×body1280valid
3.1s2160×body1280nan
1.8s1768×body640valid
1.7s1761×body640nan
1.4s1367×body10240exit
530.0ms858×body320valid
442.0ms867×body320nan
390.0ms6179×body80nan
336.0ms3098×body80valid
168.0ms444×body160valid
138.0ms445×body160nan