Details

Time bar (total: 10.7s)

analyze1.2s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%62.4%12.6%5
25%56.2%18.8%6
28.1%50%22%7
28.1%46.8%25.1%8
29.7%41.4%29%9
29.7%39.4%30.9%10
31.1%35.8%33.1%11
31.1%34.4%34.5%12
31.5%32.9%35.6%13
31.5%32.1%36.4%14

sample232.0ms

Algorithm
intervals
Results
73.0ms128×body1280valid
43.0ms41×body1280nan
22.0ms46×body640valid
17.0ms26×body640nan
17.0ms99×body80overflowed
10.0ms15×body640invalid
7.0ms22×body320valid
7.0ms16×body320nan
4.0ms49×body80valid
4.0msbody320invalid
4.0msbody1280invalid
2.0ms11×body160valid
2.0msbody160nan
2.0ms26×body80nan
1.0msbody160invalid
1.0msbody80invalid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0497713
1497713

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1

localize11.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×unpow-prod-down
difference-of-squares
*-un-lft-identity
sqr-pow
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 23
Calls
1 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify53.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04956583
14956583

prune82.0ms

Filtered
23 candidates to 26 candidates (-13.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New21526
Fresh000
Picked011
Done000
Total21627

Merged error: 19.0b

Counts
27 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (pow (sqrt x) (/ 1.0 n)) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))))
0.0b
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
0.0b
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
1.8b
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
48×sqrt-prod
34×unpow-prod-down
32×difference-of-squares
20×*-un-lft-identity associate-*r* sqr-pow
10×add-cube-cbrt
pow1 add-exp-log rem-sqrt-square add-cbrt-cube add-log-exp
frac-times flip3-- associate-*l* flip--
sub-neg flip3-+ flip-+ distribute-lft-out
sqrt-pow1 pow1/2 associate-*r/ associate-*l/ distribute-lft-out--
distribute-rgt-in distribute-lft-in diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 114
Calls
4 calls:
30.0ms
(* (+ (pow (sqrt x) (/ 1.0 n)) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))))
4.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
4.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
12.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(* (+ (pow (sqrt x) (/ 1.0 n)) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n))))
31.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
31.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
69.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

simplify54.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050933223

prune384.0ms

Filtered
97 candidates to 126 candidates (-29.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh044
Picked101
Done011
Total1266132

Merged error: 19.0b

Counts
132 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
68×sqrt-prod
56×add-sqr-sqrt
30×unpow-prod-down
25×difference-of-squares
14×*-un-lft-identity
12×sqr-pow
10×add-cube-cbrt
sqrt-pow1
pow1
rem-sqrt-square
add-log-exp
pow1/2
add-exp-log add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out distribute-lft-out--
Counts
4 → 95
Calls
4 calls:
4.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
2.0ms
(sqrt (sqrt x))
2.0ms
(sqrt (sqrt x))
16.0ms
(- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n)))

series137.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(sqrt (pow (+ x 1.0) (/ 1.0 n)))
14.0ms
(sqrt (sqrt x))
16.0ms
(sqrt (sqrt x))
76.0ms
(- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n)))

simplify41.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049561850
149561850

prune347.0ms

Filtered
67 candidates to 107 candidates (-59.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh044
Picked101
Done011
Total1067113

Merged error: 18.9b

Counts
113 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n))) 3))
0.1b
(sqrt (sqrt x))
0.1b
(sqrt (sqrt x))
2.3b
(- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
140×sqrt-prod
135×add-sqr-sqrt
104×unpow-prod-down
75×difference-of-squares
64×cbrt-prod
31×sqr-pow
29×cube-prod
17×*-un-lft-identity
11×add-cube-cbrt
pow1 sqrt-pow1
add-log-exp
add-exp-log rem-sqrt-square pow1/2 add-cbrt-cube
distribute-lft-out--
cube-div cbrt-div flip3-- flip--
cube-mult sub-neg pow1/3 diff-log unpow3 rem-cbrt-cube
Counts
4 → 150
Calls
4 calls:
21.0ms
(cbrt (pow (- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n))) 3))
2.0ms
(sqrt (sqrt x))
2.0ms
(sqrt (sqrt x))
16.0ms
(- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n)))

series180.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(cbrt (pow (- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n))) 3))
13.0ms
(sqrt (sqrt x))
14.0ms
(sqrt (sqrt x))
77.0ms
(- (sqrt (pow (sqrt (+ x 1.0)) (/ 1.0 n))) (pow (sqrt (sqrt x)) (/ 1.0 n)))

simplify43.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050474339

prune413.0ms

Filtered
74 candidates to 162 candidates (-118.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1611162
Fresh055
Picked101
Done011
Total1627169

Merged error: 18.9b

Counts
169 → 7

regimes324.0ms

Accuracy

85.4% (1.5b remaining)

Error of 23.6b against oracle of 22.2b and baseline of 32.3b

bsearch102.0ms

Steps
ItersRangePoint
7
824213181560625.0
60723579848863384.0
1425461234759011.2
9
-2584110919.497428
-161.4807360789119
-2333063452.297904

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06155
16155

end0.0ms

sample6.5s

Algorithm
intervals
Results
2.1s3776×body1280valid
1.2s1040×body1280nan
665.0ms1499×body640valid
613.0ms869×body640nan
470.0ms2645×body80overflowed
227.0ms736×body320valid
195.0ms451×body320nan
163.0ms235×body640invalid
156.0ms1601×body80valid
117.0ms92×body1280invalid
76.0ms388×body160valid
71.0ms175×body320invalid
57.0ms209×body160nan
31.0ms515×body80nan
27.0ms213×body80invalid
17.0ms72×body160invalid

Profiling

Loading profile data...