Details

Time bar (total: 3.2s)

sample53.0ms

Algorithm
intervals
Results
15.0ms49×body1280valid
9.0ms281×body80nan
9.0ms46×body640valid
7.0ms133×body80valid
2.0ms15×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: 29.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.0b
(log (+ N 1.0))
3.4b
(- (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))

series134.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(log (+ N 1.0))
91.0ms
(- (log (+ N 1.0)) (log N))

simplify125.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0277598
1837444
23748347
35001343

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)
3.3b
(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)
4.0ms
(log (/ (+ N 1.0) N))

series132.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(/ (+ N 1.0) N)
83.0ms
(log (/ (+ N 1.0) N))

simplify104.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune99.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh022
Picked011
Done000
Total69473

Merged error: 0.0b

Counts
73 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (log (+ N 1.0)))
0.8b
(exp (log (log (+ N 1.0))))
3.0b
(log (+ N 1.0))
25.5b
(- (exp (log (log (+ N 1.0)))) (log N))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
36×log-prod
31×*-un-lft-identity
30×add-sqr-sqrt
28×prod-diff
26×add-cube-cbrt
25×exp-sum
22×pow1
18×log-pow
fma-neg
add-exp-log
add-log-exp
expm1-log1p-u exp-prod add-cbrt-cube log1p-expm1-u
associate--r+
log-div rem-log-exp distribute-lft-out-- difference-of-squares
sub-neg flip3-- flip3-+ diff-log flip-- flip-+ rem-exp-log distribute-lft-out
Counts
4 → 106
Calls
4 calls:
3.0ms
(log (log (+ N 1.0)))
2.0ms
(exp (log (log (+ N 1.0))))
3.0ms
(log (+ N 1.0))
8.0ms
(- (exp (log (log (+ N 1.0)))) (log N))

series271.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(log (log (+ N 1.0)))
46.0ms
(exp (log (log (+ N 1.0))))
40.0ms
(log (+ N 1.0))
96.0ms
(- (exp (log (log (+ N 1.0)))) (log N))

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04481188
11481809
25001615

prune186.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh022
Picked011
Done011
Total1184122

Merged error: 0.0b

Counts
122 → 4

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

series50.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0208384
1789315
25001269

prune89.0ms

Filtered
75 candidates to 34 candidates (45.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh011
Picked101
Done022
Total75479

Merged error: 0.0b

Counts
79 → 4

regimes21.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.3b

bsearch31.0ms

Steps
ItersRangePoint
9
0.00034751998712624757
30542.545607798078
7260.840796868625

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.6s

Algorithm
intervals
Results
554.0ms1812×body1280valid
261.0ms8286×body80nan
242.0ms1234×body640valid
209.0ms4098×body80valid
76.0ms589×body320valid
22.0ms267×body160valid