Details

Time bar (total: 5.1s)

sample43.0ms

Algorithm
intervals
Results
14.0ms63×body1280valid
5.0ms264×body80nan
5.0ms39×body640valid
5.0ms130×body80valid
1.0ms15×body320valid
0.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.6b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
12.0ms
(- (log (+ N 1.0)) (log N))
5.0ms
(log (+ N 1.0))

series141.0ms

Counts
2 → 6
Calls
2 calls:
94.0ms
(- (log (+ N 1.0)) (log N))
47.0ms
(log (+ N 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune97.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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:
18.0ms
(/ (+ N 1.0) N)
6.0ms
(log (/ (+ N 1.0) N))

series135.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune106.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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
rem-log-exp add-cbrt-cube add-log-exp
log-div pow1/3 div-exp log-pow div-inv
Counts
4 → 136
Calls
4 calls:
1.0ms
(cbrt N)
1.0ms
(cbrt N)
8.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))
8.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

series792.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(cbrt N)
181.0ms
(cbrt N)
214.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))
221.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

simplify37.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
03391480
19971434
250011388

prune452.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt N)
2.4b
(log (sqrt (/ (cbrt (+ N 1.0)) (cbrt N))))
2.4b
(log (sqrt (/ (cbrt (+ N 1.0)) (cbrt N))))
2.5b
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
144×log-prod
138×cbrt-prod
126×times-frac
124×*-un-lft-identity
92×sqrt-prod
88×add-sqr-sqrt add-cube-cbrt
18×distribute-lft-out
pow1 add-exp-log
log-pow
rem-log-exp add-cbrt-cube add-log-exp
log-div div-inv
sqrt-pow1 pow1/2 sqrt-div
pow1/3 div-exp
Counts
4 → 190
Calls
4 calls:
1.0ms
(cbrt N)
10.0ms
(log (sqrt (/ (cbrt (+ N 1.0)) (cbrt N))))
10.0ms
(log (sqrt (/ (cbrt (+ N 1.0)) (cbrt N))))
8.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

series861.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt N)
230.0ms
(log (sqrt (/ (cbrt (+ N 1.0)) (cbrt N))))
234.0ms
(log (sqrt (/ (cbrt (+ N 1.0)) (cbrt N))))
215.0ms
(log (/ (cbrt (+ N 1.0)) (cbrt N)))

simplify50.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
05162470
113122407
250022358

prune775.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes24.0ms

Accuracy

100% (0.0b remaining)

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

bsearch20.0ms

Steps
ItersRangePoint
6
6031.575547282502
27711.216442224475
7664.61661724573

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.2s

Algorithm
intervals
Results
416.0ms1805×body1280valid
174.0ms1201×body640valid
169.0ms7948×body80nan
161.0ms4077×body80valid
54.0ms598×body320valid
21.0ms319×body160valid