Details

Time bar (total: 3.4s)

sample55.0ms

Algorithm
intervals
Results
20.0ms71×body1280valid
9.0ms49×body640valid
8.0ms246×body80nan
6.0ms117×body80valid
2.0ms15×body320valid
0.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: 32.7b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (log (+ N 1.0)) (log N))
2.3b
(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))

series141.0ms

Counts
2 → 6
Calls
2 calls:
93.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 (50.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune96.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 0.1b

Counts
48 → 4

localize10.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))

rewrite46.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:
16.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
18.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
6.0ms
(/ 1 (pow N 2))

series128.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
76.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
20.0ms
(/ 1 (pow N 2))

simplify76.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05831075
12726892
25001829

prune210.0ms

Filtered
159 candidates to 89 candidates (56.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done000
Total1594163

Merged error: 0.1b

Counts
163 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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))

series134.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune87.0ms

Filtered
66 candidates to 45 candidates (68.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done011
Total66470

Merged error: 0.1b

Counts
70 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

2.1b
(- (* (log (+ N 1.0)) (log (+ N 1.0))) (* (log N) (log N)))
2.3b
(log (+ N 1.0))
2.3b
(log (+ N 1.0))
2.3b
(log (+ N 1.0))

rewrite18.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:
7.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))

series275.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(- (* (log (+ N 1.0)) (log (+ N 1.0))) (* (log N) (log N)))
42.0ms
(log (+ N 1.0))
46.0ms
(log (+ N 1.0))
42.0ms
(log (+ N 1.0))

simplify132.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0372688
11204619
24948583
35002583

prune198.0ms

Filtered
84 candidates to 67 candidates (79.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh101
Picked101
Done022
Total85388

Merged error: 0.0b

Counts
88 → 3

regimes19.0ms

Accuracy

100% (0.0b remaining)

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

bsearch33.0ms

Steps
ItersRangePoint
8
2456.611191262651
40897918.92904403
7210.03949896932

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.5s

Algorithm
intervals
Results
505.0ms1748×body1280valid
268.0ms8240×body80nan
243.0ms1289×body640valid
205.0ms4043×body80valid
73.0ms593×body320valid
25.0ms327×body160valid

Profiling

Loading profile data...