Details

Time bar (total: 10.6s)

sample241.0ms

Algorithm
intervals
Results
73.0ms132×body1280valid
35.0ms32×body1280nan
31.0ms56×body640valid
22.0ms33×body640nan
17.0ms118×body80overflowed
11.0ms96×body80valid
10.0ms193×body80nan
10.0ms32×body320valid
5.0ms13×body320nan
2.0ms11×body160valid
2.0msbody160nan

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series76.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
45.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify47.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0552688
11885669
25002641

prune186.0ms

Filtered
88 candidates to 71 candidates (19.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589

Merged error: 23.7b

Counts
89 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(pow (+ x 1.0) (/ 1.0 n))
1.8b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
1.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×*-un-lft-identity
27×unpow-prod-down
26×pow-unpow
22×add-cube-cbrt
18×times-frac difference-of-squares
16×log-pow
15×exp-prod
14×sqr-pow
pow1
add-exp-log distribute-lft-out-- add-log-exp
log-prod
add-cbrt-cube
distribute-lft-out
pow-to-exp sub-neg pow-pow exp-sum pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 109
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
10.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series111.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
41.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0617997
12043954
25002926

prune281.0ms

Filtered
121 candidates to 96 candidates (20.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1183121
Fresh134
Picked101
Done000
Total1206126

Merged error: 23.7b

Counts
126 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
40×unpow-prod-down
38×*-un-lft-identity
36×log-pow difference-of-squares
32×sqrt-pow1
30×exp-prod
24×sqr-pow
16×log-prod
12×distribute-lft-out--
10×add-cube-cbrt sqrt-prod
pow1 add-log-exp
add-exp-log
sub-neg exp-sum add-cbrt-cube distribute-lft-out
log-div flip3-- pow1/2 exp-diff sqrt-div diff-log rem-log-exp flip--
Counts
4 → 118
Calls
4 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
14.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series296.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
84.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
129.0ms
(log (sqrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify139.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
04031512
111091414
247131376
350021376

prune512.0ms

Filtered
130 candidates to 102 candidates (21.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh145
Picked101
Done000
Total1306136

Merged error: 23.6b

Counts
136 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×*-un-lft-identity
20×unpow-prod-down
18×difference-of-squares
16×log-prod
12×sqr-pow
10×cbrt-prod
add-cube-cbrt add-log-exp
pow1 add-exp-log distribute-lft-out--
sub-neg exp-sum log-pow add-cbrt-cube
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip-- distribute-lft-out
Counts
4 → 86
Calls
4 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
11.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series258.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
89.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
89.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03871374
112301276
250011242

prune402.0ms

Filtered
98 candidates to 80 candidates (18.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh055
Picked101
Done000
Total968104

Merged error: 23.5b

Counts
104 → 8

regimes360.0ms

Accuracy

83.6% (2.0b remaining)

Error of 23.5b against oracle of 21.5b and baseline of 33.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07259
17459
27459

end0.0ms

sample7.4s

Algorithm
intervals
Results
2.2s3877×body1280valid
1.2s1116×body1280nan
831.0ms1794×body640valid
626.0ms896×body640nan
590.0ms3983×body80overflowed
327.0ms6184×body80nan
319.0ms3140×body80valid
288.0ms904×body320valid
198.0ms481×body320nan
92.0ms470×body160valid
49.0ms209×body160nan

Profiling

Loading profile data...