Details

Time bar (total: 2.4s)

sample44.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 99.987794%

Results
14.0ms46×body1280valid
9.0ms44×body640valid
8.0ms144×body80valid
2.0ms14×body320valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.0b
(- (log (+ N 1.0)) (log N))
3.7b
(log (+ N 1.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×log-prod
pow1 add-sqr-sqrt
add-cube-cbrt log-pow
log-div associate--l+ distribute-lft-out--
add-exp-log associate--r+
associate--l- flip3-+ add-cbrt-cube flip-+ distribute-lft-out add-log-exp
sub-neg flip3-- diff-log rem-log-exp flip-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
7.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series8.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune77.0ms

Filtered
34 candidates to 47 candidates (-38.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New45247
Fresh000
Picked101
Done000
Total46248

Merged error: 0.0b

Counts
48 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
1.9b
(log (/ (+ N 1.0) N))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
24×times-frac
19×add-sqr-sqrt add-cube-cbrt
16×log-prod
add-exp-log distribute-lft-out
add-cbrt-cube associate-/l*
pow1 associate-/r*
div-exp rem-log-exp div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 60
Calls
2 calls:
5.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

series9.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

simplify93.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0221370
1736343
23220333
35002333

prune72.0ms

Filtered
46 candidates to 66 candidates (-43.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh011
Picked011
Done000
Total66268

Merged error: 0.0b

Counts
68 → 2

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.3b
(/ 1 (pow N 2))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
57×times-frac
42×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
10×prod-exp add-cbrt-cube
unpow2 unswap-sqr sqr-pow
associate-/r*
pow-to-exp rec-exp 1-exp associate-*r* pow-exp
pow1 frac-add add-log-exp
distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in associate-*r/ flip--
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv difference-of-squares
+-commutative pow-flip frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ distribute-lft-out-- inv-pow
Counts
3 → 150
Calls
3 calls:
14.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
16.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series12.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
6.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
2.0ms
(/ 1 (pow N 2))

simplify72.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05831075
12726892
25001829

prune162.0ms

Filtered
89 candidates to 159 candidates (-78.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1581159
Fresh000
Picked011
Done011
Total1583161

Merged error: 0.0b

Counts
161 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.3b
(/ 1 (pow N 2))
3.6b
(exp (log (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))))
23.1b
(log (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
57×times-frac
46×*-un-lft-identity
40×add-cube-cbrt
34×add-exp-log
28×associate-*l*
23×unpow-prod-down
14×log-div
12×div-exp
11×add-cbrt-cube
10×frac-add prod-exp
unpow2 unswap-sqr sqr-pow
pow1 associate-/r*
exp-diff
frac-times pow-to-exp rec-exp log-prod flip3-- 1-exp associate-*r/ associate-*r* pow-exp flip--
exp-prod add-log-exp
exp-sum associate-*l/ associate-/l*
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in flip3-+ log-pow cbrt-unprod flip-+ div-inv difference-of-squares
pow-flip frac-2neg rem-log-exp pow-prod-down clear-num *-commutative rem-exp-log distribute-lft-out-- inv-pow
Counts
4 → 171
Calls
4 calls:
16.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))
16.0ms
(exp (log (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))))
14.0ms
(log (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

series23.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
2.0ms
(/ 1 (pow N 2))
4.0ms
(exp (log (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))))
6.0ms
(log (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

simplify83.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07311490
132111281
250011210

prune262.0ms

Filtered
110 candidates to 183 candidates (-66.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1821183
Fresh000
Picked101
Done022
Total1833186

Merged error: 0.0b

Counts
186 → 3

regimes34.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 29.8b

bsearch17.0ms

Steps
ItersRangePoint
9
0.026227607831048265
13207.579563402003
7746.134693397183

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 99.987794%

Results
520.0ms1723×body1280valid
266.0ms1349×body640valid
215.0ms4017×body80valid
83.0ms636×body320valid
25.0ms275×body160valid
0.0msbody80nan

Profiling

Loading profile data...