Details

Time bar (total: 13.5s)

sample253.0ms

Algorithm
intervals
Results
58.0ms118×body1280valid
51.0ms45×body1280nan
32.0ms75×body640valid
25.0ms155×body80overflowed
23.0ms34×body640nan
13.0ms265×body80nan
10.0ms25×body320nan
9.0ms101×body80valid
9.0ms27×body320valid
2.0ms10×body160valid
1.0msbody160nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize12.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))
0.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite20.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:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series467.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune204.0ms

Filtered
88 candidates to 70 candidates (79.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 22.2b

Counts
89 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
0.0b
(pow x (/ 1.0 n))
0.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
52×unpow-prod-down
46×*-un-lft-identity
29×pow-unpow
27×difference-of-squares
23×add-cube-cbrt
21×sqr-pow
18×times-frac
15×cube-prod
distribute-lft-out--
pow1 add-exp-log
add-log-exp
add-cbrt-cube
distribute-lft-out
pow-to-exp pow-pow pow-exp
cube-div flip3-- flip-- div-inv
cube-mult sub-neg diff-log unpow3 rem-cube-cbrt
Counts
4 → 128
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
4.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series934.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
455.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
55.0ms
(pow x (/ 1.0 n))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify79.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07571328
131441278
250011272

prune354.0ms

Filtered
140 candidates to 95 candidates (67.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1355140
Fresh235
Picked101
Done000
Total1388146

Merged error: 22.2b

Counts
146 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
0.0b
(pow (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)) 3)
0.0b
(pow x (/ 1.0 n))
0.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
157×unpow-prod-down
108×add-sqr-sqrt
84×cube-prod
73×*-un-lft-identity
72×cbrt-prod
63×difference-of-squares
47×sqr-pow
24×add-cube-cbrt
21×distribute-lft-out--
19×pow-unpow
times-frac
pow1 add-exp-log distribute-lft-out
cube-div add-log-exp
add-cbrt-cube
cube-mult pow-pow unpow3
pow-to-exp flip3-- pow-exp flip--
cbrt-div rem-cube-cbrt
sub-neg pow1/3 diff-log div-inv
Counts
4 → 198
Calls
4 calls:
12.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
19.0ms
(pow (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)) 3)
4.0ms
(pow x (/ 1.0 n))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.3s

Counts
4 → 12
Calls
4 calls:
471.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
458.0ms
(pow (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)) 3)
62.0ms
(pow x (/ 1.0 n))
284.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify111.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09622587
134432432
250022414

prune411.0ms

Filtered
210 candidates to 99 candidates (47.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2082210
Fresh167
Picked011
Done000
Total2099218

Merged error: 22.2b

Counts
218 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (cbrt (pow (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)) 3)) 3)
0.0b
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
0.0b
(pow x (/ 1.0 n))
0.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
353×unpow-prod-down
312×cbrt-prod
240×cube-prod
168×add-sqr-sqrt
113×*-un-lft-identity
99×difference-of-squares
75×sqr-pow
36×add-cube-cbrt
33×distribute-lft-out--
19×pow-unpow
11×distribute-lft-out
times-frac
cube-div cube-mult unpow3
pow1 add-exp-log
add-log-exp
add-cbrt-cube
cbrt-div pow-pow
pow-to-exp flip3-- pow-exp flip--
rem-cube-cbrt
sub-neg pow1/3 diff-log div-inv
Counts
4 → 294
Calls
4 calls:
31.0ms
(pow (cbrt (pow (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)) 3)) 3)
12.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
4.0ms
(pow x (/ 1.0 n))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.3s

Counts
4 → 12
Calls
4 calls:
456.0ms
(pow (cbrt (pow (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)) 3)) 3)
458.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
62.0ms
(pow x (/ 1.0 n))
284.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify121.0ms

Algorithm
egg-herbie
Counts
306 → 306
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
012594047
137413756
250013722

prune425.0ms

Filtered
306 candidates to 100 candidates (32.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3051306
Fresh167
Picked011
Done011
Total3069315

Merged error: 22.2b

Counts
315 → 9

regimes254.0ms

Accuracy

84.2% (1.7b remaining)

Error of 23.7b against oracle of 22.1b and baseline of 32.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04540
14540

end0.0ms

sample7.0s

Algorithm
intervals
Results
2.0s3869×body1280valid
1.2s1076×body1280nan
800.0ms1813×body640valid
779.0ms4108×body80overflowed
623.0ms915×body640nan
308.0ms3127×body80valid
296.0ms6255×body80nan
263.0ms881×body320valid
175.0ms437×body320nan
87.0ms463×body160valid
52.0ms243×body160nan

Profiling

Loading profile data...