Details

Time bar (total: 3.4s)

sample52.0ms

Algorithm
intervals
Results
18.0ms60×body1280valid
7.0ms216×body80nan
7.0ms35×body640valid
7.0ms130×body80valid
3.0ms24×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: 29.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

series132.0ms

Counts
2 → 6
Calls
2 calls:
88.0ms
(- (log (+ N 1.0)) (log N))
44.0ms
(log (+ N 1.0))

simplify124.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0277598
1837444
23748347
35001345

prune120.0ms

Filtered
71 candidates to 43 candidates (60.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New68371
Fresh000
Picked101
Done000
Total69372

Merged error: 0.0b

Counts
72 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

series128.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune97.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh112
Picked011
Done000
Total70373

Merged error: 0.0b

Counts
73 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (log (+ N 1.0)))
4.4b
(log (+ N 1.0))
4.4b
(log (+ N 1.0))
29.9b
(fma (sqrt (log (+ N 1.0))) (sqrt (log (+ N 1.0))) (log (/ 1 N)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
pow1 add-sqr-sqrt log-prod
add-cube-cbrt
add-exp-log
expm1-log1p-u log-div sqrt-prod add-cbrt-cube log1p-expm1-u add-log-exp
log-pow
flip3-+ rem-log-exp flip-+ distribute-lft-out
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt (log (+ N 1.0)))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
1.0ms
(fma (sqrt (log (+ N 1.0))) (sqrt (log (+ N 1.0))) (log (/ 1 N)))

series376.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (log (+ N 1.0)))
40.0ms
(log (+ N 1.0))
45.0ms
(log (+ N 1.0))
202.0ms
(fma (sqrt (log (+ N 1.0))) (sqrt (log (+ N 1.0))) (log (/ 1 N)))

simplify112.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0332511
11034456
24431417
35001412

prune182.0ms

Filtered
72 candidates to 59 candidates (81.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh101
Picked011
Done011
Total72375

Merged error: 0.0b

Counts
75 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (/ 1 N) (- 1.0 (/ 0.5 N)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
89×add-sqr-sqrt
80×*-un-lft-identity
78×prod-diff
77×add-cube-cbrt
66×times-frac
41×distribute-rgt-in distribute-lft-in
13×associate-*l*
10×add-exp-log
div-inv
associate-*r* add-cbrt-cube
prod-exp
pow1 unswap-sqr
frac-times sub-neg flip3-- associate-*r/ div-exp flip-- cbrt-unprod difference-of-squares
cbrt-undiv expm1-log1p-u rec-exp 1-exp pow-prod-down associate-*l/ *-commutative log1p-expm1-u distribute-lft-out-- add-log-exp
Counts
1 → 126
Calls
1 calls:
16.0ms
(* (/ 1 N) (- 1.0 (/ 0.5 N)))

series70.0ms

Counts
1 → 3
Calls
1 calls:
70.0ms
(* (/ 1 N) (- 1.0 (/ 0.5 N)))

simplify92.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
08702380
133711616
250011138

prune74.0ms

Filtered
129 candidates to 39 candidates (30.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1281129
Fresh000
Picked101
Done022
Total1293132

Merged error: 0.0b

Counts
132 → 3

regimes16.0ms

Accuracy

100% (0.0b remaining)

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

bsearch31.0ms

Steps
ItersRangePoint
10
6.398614580632226
1668043056922.9724
172828.26840643145

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample1.6s

Algorithm
intervals
Results
535.0ms1770×body1280valid
261.0ms8123×body80nan
249.0ms1250×body640valid
208.0ms4039×body80valid
84.0ms647×body320valid
24.0ms294×body160valid