Details

Time bar (total: 4.7s)

sample42.0ms

Algorithm
intervals
Results
11.0ms47×body1280valid
9.0ms155×body80valid
7.0ms276×body80nan
4.0ms24×body640valid
2.0ms21×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: 23.5b

localize6.0ms

Local error

Found 2 expressions with local error:

2.9b
(- (log (+ N 1.0)) (log N))
2.9b
(log (+ N 1.0))

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

series133.0ms

Counts
2 → 6
Calls
2 calls:
92.0ms
(- (log (+ N 1.0)) (log N))
41.0ms
(log (+ N 1.0))

simplify122.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0277598
1837444
23748347
35001345

prune127.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
50.0ms
(/ (+ N 1.0) N)
80.0ms
(log (/ (+ N 1.0) N))

simplify102.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune128.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt N)
0.6b
(cbrt N)
0.6b
(cbrt N)
3.9b
(+ (log (/ (sqrt (+ N 1.0)) (* (cbrt N) (cbrt N)))) (log (/ (sqrt (+ N 1.0)) (cbrt N))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
57×log-prod
56×*-un-lft-identity
49×times-frac
46×associate-+r+
38×add-sqr-sqrt add-cube-cbrt
30×cbrt-prod
28×sqrt-prod
11×associate-+l+ distribute-lft-out
pow1
log-pow
add-exp-log expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
log-div div-inv
+-commutative associate-+l- associate-+r- flip3-+ sum-log flip-+
Counts
4 → 119
Calls
4 calls:
0.0ms
(cbrt N)
0.0ms
(cbrt N)
0.0ms
(cbrt N)
34.0ms
(+ (log (/ (sqrt (+ N 1.0)) (* (cbrt N) (cbrt N)))) (log (/ (sqrt (+ N 1.0)) (cbrt N))))

series771.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt N)
183.0ms
(cbrt N)
175.0ms
(cbrt N)
238.0ms
(+ (log (/ (sqrt (+ N 1.0)) (* (cbrt N) (cbrt N)))) (log (/ (sqrt (+ N 1.0)) (cbrt N))))

simplify47.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
05151353
116411284
250011181

prune364.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt N)
0.6b
(cbrt N)
2.8b
(log (/ (cbrt (+ N 1.0)) (cbrt N)))
2.8b
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
96×cbrt-prod
92×log-prod
84×*-un-lft-identity times-frac
60×add-sqr-sqrt add-cube-cbrt
12×distribute-lft-out
10×add-exp-log
pow1
expm1-log1p-u rem-log-exp add-cbrt-cube log1p-expm1-u add-log-exp
log-div pow1/3 div-exp log-pow div-inv
Counts
4 → 144
Calls
4 calls:
0.0ms
(cbrt N)
0.0ms
(cbrt N)
5.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))
6.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

series793.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt N)
183.0ms
(cbrt N)
215.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))
221.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

simplify41.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
03471510
110271458
250021418

prune488.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

regimes27.0ms

Accuracy

100% (0.0b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
9
7438.015107423713
588165898.4936482
9158.532865351755

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.2s

Algorithm
intervals
Results
432.0ms1782×body1280valid
182.0ms8072×body80nan
171.0ms1136×body640valid
169.0ms4130×body80valid
63.0ms657×body320valid
18.0ms295×body160valid