Details

Time bar (total: 10.5s)

analyze1.1s

Algorithm
search

sample209.0ms

Algorithm
intervals
Results
61.0ms110×body1280valid
43.0ms38×body1280nan
23.0ms54×body640valid
22.0ms33×body640nan
13.0ms80×body80overflowed
8.0ms25×body320valid
5.0msbody640invalid
5.0ms53×body80valid
4.0ms10×body320nan
3.0ms14×body160valid
2.0msbody1280invalid
2.0ms26×body80nan
1.0msbody80invalid
1.0msbody160nan
0.0msbody160invalid
0.0msbody320invalid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.3b

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.8b
(- (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:
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)))

series75.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0552688
11885669
25002641

prune189.0ms

Filtered
71 candidates to 88 candidates (-23.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 22.5b

Counts
89 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
pow1 add-exp-log add-cbrt-cube
pow1/3
sub-neg flip3-- diff-log flip--
Counts
4 → 45
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)) (pow (cbrt x) (/ 1.0 n))))

series147.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt x)
23.0ms
(cbrt x)
21.0ms
(cbrt x)
82.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)) (pow (cbrt x) (/ 1.0 n))))

simplify36.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0370561
11262511
25002465

prune138.0ms

Filtered
46 candidates to 57 candidates (-23.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55257
Fresh055
Picked011
Done000
Total55863

Merged error: 22.1b

Counts
63 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
60×unpow-prod-down
58×add-sqr-sqrt
46×cbrt-prod
34×*-un-lft-identity
27×difference-of-squares
25×cube-prod sqr-pow
22×add-cube-cbrt
16×pow-unpow
times-frac
add-exp-log
add-log-exp
pow1 pow-exp add-cbrt-cube distribute-lft-out
pow-to-exp
cube-mult pow-pow unpow3
sub-neg flip3-- pow1/3 diff-log flip-- rem-cbrt-cube div-inv distribute-lft-out-- rem-cube-cbrt
Counts
4 → 134
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
6.0ms
(cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3))
6.0ms
(pow (pow (+ x 1.0) (/ 1.0 n)) 3)
17.0ms
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
17.0ms
(cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3))
38.0ms
(pow (pow (+ x 1.0) (/ 1.0 n)) 3)
40.0ms
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

simplify68.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06201351
122171298
250011287

prune245.0ms

Filtered
85 candidates to 146 candidates (-71.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1433146
Fresh156
Picked011
Done011
Total14410154

Merged error: 22.1b

Counts
154 → 10

localize9.0ms

Local error

Found 1 expressions with local error:

0.5b
(/ 1 (* x n))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×add-exp-log
add-cbrt-cube
pow1 div-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac prod-exp associate-/l*
cbrt-undiv rec-exp pow-flip 1-exp
frac-2neg pow-prod-down clear-num associate-/r* cbrt-unprod div-inv inv-pow add-log-exp
Counts
1 → 28
Calls
1 calls:
5.0ms
(/ 1 (* x n))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(/ 1 (* x n))

simplify53.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
010991
141776
2158570
3345270
4500170

prune26.0ms

Filtered
13 candidates to 31 candidates (-138.5%)
Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New25631
Fresh167
Picked011
Done022
Total261541

Merged error: 22.1b

Counts
41 → 15

regimes372.0ms

Accuracy

85.8% (1.6b remaining)

Error of 23.3b against oracle of 21.7b and baseline of 33.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03930
13930

end0.0ms

analyze1.1s

Algorithm
search

sample6.4s

Algorithm
intervals
Results
2.1s3855×body1280valid
1.2s1072×body1280nan
661.0ms1512×body640valid
617.0ms878×body640nan
456.0ms2655×body80overflowed
224.0ms731×body320valid
187.0ms445×body320nan
146.0ms210×body640invalid
142.0ms1528×body80valid
123.0ms101×body1280invalid
71.0ms374×body160valid
67.0ms159×body320invalid
47.0ms214×body160nan
35.0ms517×body80nan
26.0ms214×body80invalid
18.0ms76×body160invalid

Profiling

Loading profile data...