Details

Time bar (total: 2.6s)

sample42.0ms

Algorithm
intervals
Results
14.0ms59×body1280valid
5.0ms127×body80valid
5.0ms36×body640valid
5.0ms229×body80nan
2.0ms21×body320valid
1.0ms13×body160valid

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.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.5b
(log (+ N 1.0))
5.0b
(- (log (+ N 1.0)) (log N))

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

series135.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0277598
1837444
23748347
35001343

prune131.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.1b

Counts
72 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series129.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune123.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New67370
Fresh011
Picked011
Done000
Total67572

Merged error: 0.1b

Counts
72 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
0.6b
(/ 1 (pow N 2))

rewrite8.0ms

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

series54.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
17.0ms
(/ 1 (pow N 2))

simplify33.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0208384
1789315
25001269

prune109.0ms

Filtered
75 candidates to 34 candidates (45.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New73275
Fresh123
Picked011
Done011
Total74680

Merged error: 0.1b

Counts
80 → 6

localize10.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.2b
(/ 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))

series77.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0231411
11092387
25002378

prune146.0ms

Filtered
83 candidates to 48 candidates (57.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New82183
Fresh123
Picked011
Done112
Total84589

Merged error: 0.1b

Counts
89 → 5

regimes24.0ms

Accuracy

100% (0.0b remaining)

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

bsearch29.0ms

Steps
ItersRangePoint
8
7328.433068492625
2697524.489058797
7940.225109591849

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.2s

Algorithm
intervals
Results
421.0ms1774×body1280valid
191.0ms1307×body640valid
182.0ms7833×body80nan
167.0ms4021×body80valid
56.0ms586×body320valid
18.0ms312×body160valid