Details

Time bar (total: 2.9s)

sample52.0ms

Algorithm
intervals
Results
16.0ms59×body1280valid
8.0ms278×body80nan
8.0ms47×body640valid
6.0ms125×body80valid
2.0ms17×body320valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.7b
(- (log (+ N 1.0)) (log N))
4.4b
(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))

series143.0ms

Counts
2 → 6
Calls
2 calls:
96.0ms
(- (log (+ N 1.0)) (log N))
47.0ms
(log (+ N 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune94.0ms

Filtered
47 candidates to 33 candidates (70.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 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
58×times-frac
44×*-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 add-log-exp
difference-of-squares
sub-neg flip3-- flip-- associate-/l*
cbrt-undiv distribute-rgt-in frac-times distribute-lft-in associate-*r/ cbrt-unprod div-inv distribute-lft-out--
pow-flip frac-2neg diff-log pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
3 → 145
Calls
3 calls:
7.0ms
(- (/ 0.3333333333333333 N) 0.5)
20.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series129.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(- (/ 0.3333333333333333 N) 0.5)
78.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
16.0ms
(/ 1 (pow N 2))

simplify65.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0459878
12149718
25001657

prune191.0ms

Filtered
154 candidates to 83 candidates (53.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1540154
Fresh022
Picked011
Done000
Total1543157

Merged error: 0.0b

Counts
157 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
6.0ms
(/ (+ N 1.0) N)
8.0ms
(log (/ (+ N 1.0) N))

series132.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune92.0ms

Filtered
66 candidates to 45 candidates (68.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New65166
Fresh101
Picked101
Done011
Total67269

Merged error: 0.0b

Counts
69 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1.0 (/ 1 N)) 1)
2.8b
(log (+ (* 1.0 (/ 1 N)) 1))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
log-div flip3-+ add-cbrt-cube flip-+
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 25
Calls
2 calls:
5.0ms
(+ (* 1.0 (/ 1 N)) 1)
6.0ms
(log (+ (* 1.0 (/ 1 N)) 1))

series102.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ (* 1.0 (/ 1 N)) 1)
72.0ms
(log (+ (* 1.0 (/ 1 N)) 1))

simplify96.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0159214
1750192
23349184
35002184

prune45.0ms

Filtered
31 candidates to 22 candidates (71.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done011
Total31233

Merged error: 0.0b

Counts
33 → 2

regimes14.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 30.8b

bsearch29.0ms

Steps
ItersRangePoint
8
1.1080729073972495
46679.72396854204
7952.823296865419

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample1.5s

Algorithm
intervals
Results
490.0ms1738×body1280valid
256.0ms8174×body80nan
237.0ms1297×body640valid
195.0ms3998×body80valid
80.0ms642×body320valid
24.0ms325×body160valid

Profiling

Loading profile data...