Details

Time bar (total: 16.4s)

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.359131%

Guaranteed chance to sample good point: 62.745571%

Results
68.0ms123×body1280valid
30.0ms28×body1280nan
21.0ms48×body640valid
19.0ms24×body640nan
8.0ms26×body320valid
5.0ms12×body320nan
5.0msbody640invalid
5.0ms50×body80valid
3.0msbody1280invalid
2.0msbody160valid
2.0msbody320invalid
1.0msbody80invalid
1.0msbody160nan
0.0msbody80nan
0.0msbody80overflowed
0.0msbody160invalid

simplify33.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: 32.8b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.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 → 24
Calls
1 calls:
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series41.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0280352
1785337
23548329
35001329

prune84.0ms

Filtered
23 candidates to 27 candidates (-17.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23427
Fresh000
Picked011
Done000
Total23528

Merged error: 22.1b

Counts
28 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
56×unpow-prod-down
45×*-un-lft-identity
36×sqrt-prod
32×difference-of-squares
23×associate-*r*
16×sqr-pow
13×distribute-lft-out
distribute-lft-out-- add-log-exp
pow1 add-cube-cbrt associate-*l*
add-exp-log add-cbrt-cube
flip3-+ flip-+
frac-times flip3-- flip--
sub-neg
distribute-rgt-in distribute-lft-in sqrt-div associate-*r/ associate-*l/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 117
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
14.0ms
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
29.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series374.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
65.0ms
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
198.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
107.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify86.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06902178
130012029
250012017

prune392.0ms

Filtered
92 candidates to 129 candidates (-40.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1272129
Fresh033
Picked101
Done011
Total1286134

Merged error: 22.1b

Counts
134 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
88×unpow-prod-down
64×difference-of-squares
48×sqrt-prod
41×*-un-lft-identity
32×sqr-pow
23×cbrt-prod
16×distribute-lft-out--
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 129
Calls
4 calls:
12.0ms
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series779.0ms

Counts
4 → 12
Calls
4 calls:
456.0ms
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
106.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
106.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
111.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify66.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05542652
120162567
250012524

prune832.0ms

Filtered
96 candidates to 141 candidates (-46.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1392141
Fresh134
Picked101
Done011
Total1416147

Merged error: 22.1b

Counts
147 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.7b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
88×unpow-prod-down
64×difference-of-squares
48×sqrt-prod
40×*-un-lft-identity
32×sqr-pow
16×distribute-lft-out--
12×add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
4 → 128
Calls
4 calls:
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series417.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
105.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify157.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02802376
19612296
247022264
350032264

prune1.2s

Filtered
96 candidates to 140 candidates (-45.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1391140
Fresh044
Picked101
Done011
Total1406146

Merged error: 22.1b

Counts
146 → 6

regimes400.0ms

Accuracy

83% (1.8b remaining)

Error of 24.2b against oracle of 22.3b and baseline of 33.2b

bsearch1.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06372
16972
27272
37272

end0.0ms

sample8.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.359131%

Guaranteed chance to sample good point: 62.745571%

Results
2.1s3785×body1280valid
1.1s1039×body1280nan
730.0ms1569×body640valid
638.0ms881×body640nan
230.0ms729×body320valid
196.0ms453×body320nan
171.0ms242×body640invalid
147.0ms1577×body80valid
146.0ms109×body1280invalid
73.0ms168×body320invalid
71.0ms340×body160valid
58.0ms221×body160nan
16.0ms259×body80nan
14.0ms111×body80invalid
13.0ms52×body160invalid
10.0ms62×body80overflowed

Profiling

Loading profile data...