Details

Time bar (total: 2.8s)

sample48.0ms

Algorithm
intervals
Results
16.0ms66×body1280valid
8.0ms256×body80nan
7.0ms46×body640valid
5.0ms119×body80valid
1.0ms14×body320valid
1.0ms11×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize6.0ms

Local error

Found 2 expressions with local error:

1.8b
(log (+ N 1.0))
2.4b
(- (log (+ N 1.0)) (log N))

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

series141.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0277598
1837444
23748347
35001343

prune133.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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))
0.4b
(/ 1 (pow N 2))

rewrite7.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:
0.0ms
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
4.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

prune109.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (log (exp (/ 1 (pow N 2)))) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
0.4b
(/ 1 (pow N 2))
2.4b
(log (exp (/ 1 (pow N 2))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
29×log-pow
28×exp-prod
21×unpow-prod-down
12×add-exp-log
associate-/r*
unpow2 sqr-pow
div-exp
add-cbrt-cube
pow1
expm1-log1p-u pow-to-exp rec-exp log-prod 1-exp pow-exp log1p-expm1-u associate-/l* add-log-exp
div-inv
cbrt-undiv pow-flip frac-2neg rem-log-exp clear-num fma-udef inv-pow
Counts
3 → 111
Calls
3 calls:
0.0ms
(fma (log (exp (/ 1 (pow N 2)))) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
4.0ms
(/ 1 (pow N 2))
10.0ms
(log (exp (/ 1 (pow N 2))))

series69.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(fma (log (exp (/ 1 (pow N 2)))) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
16.0ms
(/ 1 (pow N 2))
20.0ms
(log (exp (/ 1 (pow N 2))))

simplify35.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0281579
1866477
25002396

prune243.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series130.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune120.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes24.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
9
168.70424079671096
29129170.846978452
7004.853881128945

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.3s

Algorithm
intervals
Results
440.0ms1779×body1280valid
199.0ms1295×body640valid
175.0ms7958×body80nan
166.0ms4015×body80valid
62.0ms636×body320valid
17.0ms275×body160valid