Details

Time bar (total: 3.1s)

sample52.0ms

Algorithm
intervals
Results
16.0ms56×body1280valid
8.0ms243×body80nan
8.0ms41×body640valid
6.0ms119×body80valid
3.0ms27×body320valid
1.0ms13×body160valid

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

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.8b
(log (+ N 1.0))
3.9b
(- (log (+ N 1.0)) (log N))

rewrite16.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))
11.0ms
(- (log (+ N 1.0)) (log N))

series130.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0277598
1837444
23748347
35001343

prune118.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

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
1.0b
(/ 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))

series53.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0208384
1789315
25001269

prune85.0ms

Filtered
75 candidates to 34 candidates (45.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh011
Picked011
Done000
Total73477

Merged error: 0.0b

Counts
77 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ 1 (pow N 2))
1.0b
(/ 1 (pow N 2))
7.8b
(sqrt (fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N)))
7.8b
(sqrt (fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N)))

rewrite20.0ms

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

series146.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ 1 (pow N 2))
16.0ms
(/ 1 (pow N 2))
58.0ms
(sqrt (fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N)))
56.0ms
(sqrt (fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N)))

simplify44.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0237852
1849730
25002634

prune258.0ms

Filtered
160 candidates to 76 candidates (47.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1591160
Fresh022
Picked011
Done011
Total1595164

Merged error: 0b

Counts
164 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

series127.0ms

Counts
2 → 6
Calls
2 calls:
45.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

prune98.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh112
Picked011
Done112
Total71475

Merged error: 0b

Counts
75 → 4

regimes21.0ms

Accuracy

100% (0.0b remaining)

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

bsearch35.0ms

Steps
ItersRangePoint
9
0.23207878676536348
172312.70592171172
8824.451921478636

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.5s

Algorithm
intervals
Results
517.0ms1801×body1280valid
261.0ms8097×body80nan
227.0ms1184×body640valid
215.0ms4091×body80valid
78.0ms618×body320valid
24.0ms306×body160valid