Details

Time bar (total: 16.0s)

analyze2.5s

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 21.655544%

Guaranteed chance to sample good point: 59.9175%

sample210.0ms

Algorithm
intervals
Results
82.0ms100×body1280valid
79.0ms34×body2560valid
16.0ms45×body640valid
5.0ms10×body640invalid
5.0ms23×body320valid
3.0ms46×body80valid
2.0msbody1280invalid
2.0ms22×body80invalid
1.0msbody320invalid
1.0msbody160valid
1.0msbody160invalid
0.0ms10×body80nan

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 47.1b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.9b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.3b
(pow (+ 1.0 (/ i n)) n)
11.4b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
289×add-sqr-sqrt
198×*-un-lft-identity
140×add-cube-cbrt
96×associate-*r*
84×difference-of-squares
32×unpow-prod-down
29×sqr-pow
28×distribute-lft-out--
19×add-exp-log
18×add-cbrt-cube
17×div-inv
13×associate-/r*
pow1 associate-/l*
cbrt-undiv div-exp add-log-exp
pow-unpow associate-*l* prod-exp cbrt-unprod unswap-sqr
flip3-- associate-/r/ flip-- associate-/l/
pow-to-exp sub-neg pow-pow frac-2neg diff-log div-sub associate-*r/ pow-prod-down pow-exp clear-num *-commutative distribute-lft-out
Counts
4 → 281
Calls
4 calls:
32.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
9.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.0ms
(pow (+ 1.0 (/ i n)) n)
19.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series195.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
35.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
28.0ms
(pow (+ 1.0 (/ i n)) n)
66.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify63.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012263285
150023166

prune574.0ms

Filtered
223 candidates to 293 candidates (-31.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2894293
Fresh000
Picked011
Done000
Total2895294

Merged error: 24.0b

Counts
294 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
0.1b
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
11.9b
(* (pow i 2) (log 1.0))
19.0b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
102×add-sqr-sqrt
87×add-cube-cbrt *-un-lft-identity
48×associate-*r*
23×add-exp-log
20×add-cbrt-cube
13×associate-/r*
11×associate-*l*
div-inv add-log-exp
pow1 unswap-sqr
cbrt-undiv log-prod div-exp prod-exp
unpow-prod-down cbrt-unprod
distribute-rgt-in distribute-lft-in sum-log associate-/l*
associate-/r/ *-commutative associate-/l/ unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down pow-exp clear-num log-pow flip-- flip-+
Counts
4 → 186
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
19.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
6.0ms
(* (pow i 2) (log 1.0))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series68.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
22.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
14.0ms
(* (pow i 2) (log 1.0))
25.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify151.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09293604
148183341
250013341

prune799.0ms

Filtered
150 candidates to 198 candidates (-32.0%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New18216198
Fresh033
Picked101
Done011
Total18320203

Merged error: 12.5b

Counts
203 → 20

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
0.1b
(* 100.0 (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n))
11.3b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
11.9b
(* (pow i 2) (log 1.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×add-exp-log
18×add-cube-cbrt *-un-lft-identity
17×add-cbrt-cube
11×associate-*l*
10×pow1
times-frac add-log-exp
prod-exp
log-prod cbrt-unprod
associate-*r*
unpow-prod-down unswap-sqr
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r* sum-log associate-/l*
cbrt-undiv div-exp *-commutative associate-/l/ unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ pow-exp clear-num log-pow flip-- flip-+ div-inv
Counts
4 → 98
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
14.0ms
(* 100.0 (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n))
11.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
6.0ms
(* (pow i 2) (log 1.0))

series58.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
23.0ms
(* 100.0 (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n))
16.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
13.0ms
(* (pow i 2) (log 1.0))

simplify80.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05401516
124651293
250011289

prune379.0ms

Filtered
72 candidates to 110 candidates (-52.8%)
Pruning

20 alts after pruning (18 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh11718
Picked011
Done011
Total11020130

Merged error: 12.5b

Counts
130 → 20

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
3.2b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n))
11.9b
(* (pow i 2) (log 1.0))
13.3b
(* (/ 100.0 i) (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
164×times-frac
127×add-sqr-sqrt
95×*-un-lft-identity
93×add-cube-cbrt
53×add-exp-log
48×associate-*r*
32×add-cbrt-cube
23×div-exp
21×associate-*l*
13×prod-exp associate-/r*
12×cbrt-undiv unswap-sqr
10×div-inv
add-log-exp
pow1 cbrt-unprod
log-prod
unpow-prod-down
distribute-rgt-in rec-exp distribute-lft-in 1-exp sum-log associate-/l*
associate-/r/ *-commutative associate-/l/ unpow2 sqr-pow
+-commutative frac-times pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ pow-exp clear-num log-pow flip-- flip-+
Counts
4 → 215
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n))
6.0ms
(* (pow i 2) (log 1.0))
30.0ms
(* (/ 100.0 i) (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
20.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n))
13.0ms
(* (pow i 2) (log 1.0))
24.0ms
(* (/ 100.0 i) (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ 1 n)))

simplify68.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
011534360
150013911

prune761.0ms

Filtered
149 candidates to 227 candidates (-52.3%)
Pruning

20 alts after pruning (17 fresh and 3 done)

PrunedKeptTotal
New2261227
Fresh11617
Picked011
Done022
Total22720247

Merged error: 12.5b

Counts
247 → 20

regimes606.0ms

Accuracy

66.2% (6.1b remaining)

Error of 17.2b against oracle of 11.1b and baseline of 29.1b

bsearch432.0ms

Steps
ItersRangePoint
9
6.35902867718013e+239
6.448363558604509e+246
3.1504271704062454e+243
10
2.4322725023317916e+129
1.7022384688170886e+143
1.3298171590023524e+143
6
23.486212534144155
119.81348122388087
23.786737204236545
6
6.887435232341738e-214
4.0739848992615314e-213
4.015583309961557e-213
4
-3.2791178443538286e-28
-1.7903717444347643e-28
-3.2254347733272635e-28

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08684
18684

end0.0ms

analyze2.5s

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 21.655544%

Guaranteed chance to sample good point: 59.9175%

sample6.1s

Algorithm
intervals
Results
2.4s2768×body1280valid
2.1s974×body2560valid
629.0ms1566×body640valid
173.0ms721×body320valid
129.0ms256×body640invalid
118.0ms1617×body80valid
90.0ms106×body1280invalid
56.0ms175×body320invalid
55.0ms346×body160valid
37.0ms379×body80invalid
30.0msbody5120valid
28.0ms13×body2560invalid
14.0ms71×body160invalid
11.0ms186×body80nan

Profiling

Loading profile data...