Details

Time bar (total: 2.7s)

sample48.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
19.0ms66×body1280valid
8.0ms44×body640valid
6.0ms117×body80valid
2.0ms18×body320valid
1.0ms11×body160valid

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: 32.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

1.6b
(log (+ N 1.0))
3.1b
(- (log (+ N 1.0)) (log N))

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:
3.0ms
(log (+ N 1.0))
7.0ms
(- (log (+ N 1.0)) (log N))

series10.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune81.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 0.0b

Counts
48 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.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:
15.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
7.0ms
(- (/ 0.3333333333333333 N) 0.5)
17.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series15.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
3.0ms
(- (/ 0.3333333333333333 N) 0.5)
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

prune197.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1761177
Fresh033
Picked011
Done000
Total1765181

Merged error: 0.0b

Counts
181 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 1 (pow N 2))
18.9b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
18.9b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
18.9b
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
21×cbrt-div
15×frac-add
13×add-exp-log
12×unpow-prod-down
cbrt-prod
associate-/r*
frac-times flip3-- associate-*r/ div-exp add-cbrt-cube flip--
pow1 unpow2 add-log-exp sqr-pow
pow-to-exp rec-exp flip3-+ pow1/3 1-exp associate-*l/ pow-exp flip-+ associate-/l*
cbrt-undiv pow-flip frac-2neg clear-num div-inv inv-pow
Counts
4 → 111
Calls
4 calls:
5.0ms
(/ 1 (pow N 2))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
15.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (pow N 2))
12.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
12.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))
16.0ms
(cbrt (+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N)))

simplify65.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05141537
120611434
250011376

prune450.0ms

Filtered
82 candidates to 123 candidates (-50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh033
Picked011
Done011
Total1235128

Merged error: 0.0b

Counts
128 → 5

localize4.0ms

Local error

Found 2 expressions with local error:

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

series8.0ms

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

simplify91.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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New63366
Fresh202
Picked101
Done022
Total66571

Merged error: 0.0b

Counts
71 → 5

regimes40.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch17.0ms

Steps
ItersRangePoint
8
81.18943540732513
253778.19512877698
8492.630877905292

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

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.987794%

Results
519.0ms1762×body1280valid
238.0ms1271×body640valid
212.0ms4081×body80valid
77.0ms612×body320valid
22.0ms274×body160valid
0.0msbody80nan

Profiling

Loading profile data...