Details

Time bar (total: 2.3s)

sample49.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 99.993897%

Results
16.0ms53×body1280valid
9.0ms49×body640valid
8.0ms31×body320valid
6.0ms116×body80valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.8b
(- (log (+ N 1.0)) (log N))
4.1b
(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))

series10.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune82.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 0.0b

Counts
48 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 0.3333333333333333 N) 0.5)
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.7b
(/ 1 (pow N 2))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
58×times-frac
45×*-un-lft-identity
37×add-cube-cbrt
33×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
11×add-cbrt-cube
10×prod-exp
unpow2 unswap-sqr sqr-pow
associate-/r* add-log-exp
pow1 pow-to-exp rec-exp 1-exp associate-*r* pow-exp
sub-neg flip3-- frac-add flip--
distribute-rgt-in frac-times associate-+l+ distribute-lft-in associate-*r/ difference-of-squares
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv distribute-lft-out--
+-commutative pow-flip frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ inv-pow
Counts
4 → 165
Calls
4 calls:
7.0ms
(- (/ 0.3333333333333333 N) 0.5)
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))

series18.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (/ 0.3333333333333333 N) 0.5)
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))

simplify74.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05971157
12754966
25001903

prune194.0ms

Filtered
101 candidates to 177 candidates (-75.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1761177
Fresh022
Picked011
Done000
Total1764180

Merged error: 0.0b

Counts
180 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
2.6b
(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))

series10.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221370
1736343
23220333
35002333

prune75.0ms

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done011
Total66470

Merged error: 0.0b

Counts
70 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

2.7b
(- (* (log (+ N 1.0)) (log (+ N 1.0))) (* (log N) (log N)))
4.1b
(log (+ N 1.0))
4.1b
(log (+ N 1.0))
4.1b
(log (+ N 1.0))

rewrite17.0ms

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

series24.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (* (log (+ N 1.0)) (log (+ N 1.0))) (* (log N) (log N)))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0435719
11434640
25001595

prune160.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh011
Picked101
Done022
Total84488

Merged error: 0.0b

Counts
88 → 4

regimes37.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 31.5b

bsearch17.0ms

Steps
ItersRangePoint
9
102.62816987946948
16863139118.531946
7710.191728627831

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 99.993897%

Results
512.0ms1748×body1280valid
239.0ms1259×body640valid
209.0ms4063×body80valid
80.0ms635×body320valid
26.0ms295×body160valid
0.0msbody80nan

Profiling

Loading profile data...