Details

Time bar (total: 3.8s)

sample57.0ms

Algorithm
intervals
Results
17.0ms52×body1280valid
10.0ms273×body80nan
10.0ms46×body640valid
7.0ms132×body80valid
3.0ms20×body320valid
1.0msbody160valid

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: 29.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×log-prod
pow1 add-sqr-sqrt
add-cube-cbrt log-pow
log-div associate--l+ distribute-lft-out--
add-exp-log associate--r+
associate--l- flip3-+ add-cbrt-cube flip-+ distribute-lft-out add-log-exp
sub-neg flip3-- diff-log rem-log-exp flip-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
6.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series137.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune104.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
2.6b
(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*
div-exp rem-log-exp div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 60
Calls
2 calls:
8.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

series133.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune109.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log (sqrt (+ N 1.0))) (log N))
2.7b
(+ (log (sqrt (+ N 1.0))) (- (log (sqrt (+ N 1.0))) (log N)))
2.8b
(log (sqrt (+ N 1.0)))
2.8b
(log (sqrt (+ N 1.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
38×log-prod
25×pow1
23×log-pow
20×sqrt-prod
17×add-sqr-sqrt
15×add-cube-cbrt distribute-lft-out
14×associate--l+
12×distribute-lft-out--
associate-+r+
log-div sqrt-div
associate-+l+
add-exp-log
flip3-+ flip-+ add-log-exp
add-cbrt-cube
associate--r+
associate--l- associate-+l- sub-neg sqrt-pow1 pow1/2 diff-log rem-log-exp sum-log
+-commutative associate-+r- flip3-- flip-- difference-of-squares
Counts
4 → 110
Calls
4 calls:
9.0ms
(- (log (sqrt (+ N 1.0))) (log N))
23.0ms
(+ (log (sqrt (+ N 1.0))) (- (log (sqrt (+ N 1.0))) (log N)))
3.0ms
(log (sqrt (+ N 1.0)))
3.0ms
(log (sqrt (+ N 1.0)))

series394.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(- (log (sqrt (+ N 1.0))) (log N))
124.0ms
(+ (log (sqrt (+ N 1.0))) (- (log (sqrt (+ N 1.0))) (log N)))
81.0ms
(log (sqrt (+ N 1.0)))
83.0ms
(log (sqrt (+ N 1.0)))

simplify94.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0367947
1947880
23335812
35001785

prune262.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.5b
(/ 1 (pow N 2))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
57×times-frac
42×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
10×prod-exp add-cbrt-cube
unpow2 unswap-sqr sqr-pow
associate-/r*
pow-to-exp rec-exp 1-exp associate-*r* pow-exp
pow1 frac-add add-log-exp
distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in associate-*r/ flip--
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv difference-of-squares
+-commutative pow-flip frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ distribute-lft-out-- inv-pow
Counts
3 → 150
Calls
3 calls:
18.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
47.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
4.0ms
(/ 1 (pow N 2))

series126.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
74.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
16.0ms
(/ 1 (pow N 2))

simplify69.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05831115
12789904
25001841

prune248.0ms

Pruning

4 alts after pruning (1 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 29.4b

bsearch31.0ms

Steps
ItersRangePoint
9
0.25638013280504446
27058.00354315718
7441.562923621332

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.7s

Algorithm
intervals
Results
576.0ms1807×body1280valid
284.0ms8186×body80nan
261.0ms1235×body640valid
230.0ms4064×body80valid
87.0ms604×body320valid
25.0ms290×body160valid