Details

Time bar (total: 3.4s)

sample45.0ms

Algorithm
intervals
Results
16.0ms63×body1280valid
6.0ms41×body640valid
6.0ms252×body80nan
5.0ms132×body80valid
2.0ms16×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: 29.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series140.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(- (log (+ N 1.0)) (log N))
45.0ms
(log (+ N 1.0))

simplify123.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0277598
1837444
23748347
35001345

prune121.0ms

Filtered
71 candidates to 43 candidates (60.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh000
Picked101
Done000
Total70272

Merged error: 0.0b

Counts
72 → 2

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
1.5b
(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*
expm1-log1p-u div-exp rem-log-exp log1p-expm1-u div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 64
Calls
2 calls:
5.0ms
(/ (+ N 1.0) N)
5.0ms
(log (/ (+ N 1.0) N))

series139.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune96.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh101
Picked011
Done000
Total70272

Merged error: 0.0b

Counts
72 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))
0.1b
(/ 0.3333333333333333 (pow N 3))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
27×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×unpow-prod-down cube-prod associate-/r*
add-exp-log
cube-mult unpow3 add-cbrt-cube sqr-pow
div-exp associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num fma-udef div-inv
Counts
2 → 77
Calls
2 calls:
1.0ms
(fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))
5.0ms
(/ 0.3333333333333333 (pow N 3))

series79.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))
41.0ms
(/ 0.3333333333333333 (pow N 3))

simplify40.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0231411
11092387
25002378

prune123.0ms

Filtered
83 candidates to 48 candidates (57.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New82183
Fresh000
Picked011
Done011
Total82385

Merged error: 0b

Counts
85 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))) (cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))))
22.0b
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))
22.0b
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))
22.0b
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))) (cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))))
1.0ms
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))
1.0ms
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))
1.0ms
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))

series682.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(* (cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))) (cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3)))))
171.0ms
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))
173.0ms
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))
170.0ms
(cbrt (fma (/ 1 N) (- 1.0 (/ 0.5 N)) (/ 0.3333333333333333 (pow N 3))))

simplify54.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03751581
112961469
250021258

prune276.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done022
Total93396

Merged error: 0b

Counts
96 → 3

regimes19.0ms

Accuracy

100% (0.0b remaining)

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

bsearch30.0ms

Steps
ItersRangePoint
9
0.0002199982819353488
137964.03928948785
8060.172503561494

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.3s

Algorithm
intervals
Results
428.0ms1769×body1280valid
196.0ms1248×body640valid
185.0ms7896×body80nan
166.0ms4066×body80valid
61.0ms627×body320valid
20.0ms290×body160valid