Details

Time bar (total: 2.4s)

sample53.0ms

Algorithm
intervals
Results
16.0ms54×body1280valid
8.0ms43×body640valid
8.0ms245×body80nan
7.0ms134×body80valid
3.0ms22×body320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0107
1107

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

1.5b
(- (log (+ N 1.0)) (log N))
3.0b
(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))

series9.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(- (log (+ N 1.0)) (log N))
4.0ms
(log (+ N 1.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05335437

prune83.0ms

Filtered
35 candidates to 47 candidates (-34.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 0.1b

Counts
48 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

1.7b
(log (+ 1 (/ 1.0 N)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
1 → 15
Calls
1 calls:
5.0ms
(log (+ 1 (/ 1.0 N)))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(log (+ 1 (/ 1.0 N)))

simplify38.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04994183
14994183

prune29.0ms

Filtered
13 candidates to 18 candidates (-38.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New17118
Fresh112
Picked011
Done000
Total18321

Merged error: 0.0b

Counts
21 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (/ 1.0 N) (/ 0.5 (* N N)))
0.5b
(/ 0.5 (* N N))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
add-exp-log times-frac add-cbrt-cube
*-un-lft-identity
add-cube-cbrt add-log-exp difference-of-squares
associate-/l*
pow1 cbrt-undiv div-exp
sub-neg flip3-- frac-2neg diff-log prod-exp clear-num associate-/r* frac-sub flip-- cbrt-unprod div-inv distribute-lft-out--
Counts
2 → 39
Calls
2 calls:
9.0ms
(- (/ 1.0 N) (/ 0.5 (* N N)))
4.0ms
(/ 0.5 (* N N))

series9.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(- (/ 1.0 N) (/ 0.5 (* N N)))
3.0ms
(/ 0.5 (* N N))

simplify31.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
04971442
14971442

prune49.0ms

Filtered
31 candidates to 45 candidates (-45.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New45045
Fresh011
Picked011
Done011
Total45348

Merged error: 0.0b

Counts
48 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ 1.0 N) 3)
0.4b
(- (log (+ 1 (pow (/ 1.0 N) 3))) (log (+ 1 (* 1.0 (/ (+ (/ 1.0 N) -1) N)))))
18.2b
(log (+ 1 (* 1.0 (/ (+ (/ 1.0 N) -1) N))))
20.9b
(log (+ 1 (pow (/ 1.0 N) 3)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
25×add-sqr-sqrt
23×add-cube-cbrt
18×times-frac
14×log-prod
13×unpow-prod-down cube-prod
11×pow1
add-exp-log
log-div
add-cbrt-cube
log-pow
flip3-+ associate--l+ flip-+ distribute-lft-out-- add-log-exp
pow-unpow associate--r+
associate--l- rem-log-exp pow-exp div-inv distribute-lft-out associate--r- rem-cube-cbrt
cbrt-undiv cube-div cube-mult pow-to-exp sub-neg flip3-- pow-pow diff-log unpow3 div-exp flip-- difference-of-squares sqr-pow
Counts
4 → 103
Calls
4 calls:
4.0ms
(pow (/ 1.0 N) 3)
14.0ms
(- (log (+ 1 (pow (/ 1.0 N) 3))) (log (+ 1 (* 1.0 (/ (+ (/ 1.0 N) -1) N)))))
2.0ms
(log (+ 1 (* 1.0 (/ (+ (/ 1.0 N) -1) N))))
10.0ms
(log (+ 1 (pow (/ 1.0 N) 3)))

series29.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(pow (/ 1.0 N) 3)
8.0ms
(- (log (+ 1 (pow (/ 1.0 N) 3))) (log (+ 1 (* 1.0 (/ (+ (/ 1.0 N) -1) N)))))
4.0ms
(log (+ 1 (* 1.0 (/ (+ (/ 1.0 N) -1) N))))
12.0ms
(log (+ 1 (pow (/ 1.0 N) 3)))

simplify49.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
052221689

prune188.0ms

Filtered
72 candidates to 115 candidates (-59.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1132115
Fresh000
Picked101
Done022
Total1144118

Merged error: 0.0b

Counts
118 → 4

regimes40.0ms

Accuracy

100% (0.0b remaining)

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

bsearch16.0ms

Steps
ItersRangePoint
10
1253.8160530937032
140185997046779.6
205416.63636369797

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01519
11519

end0.0ms

sample1.6s

Algorithm
intervals
Results
538.0ms1787×body1280valid
257.0ms8097×body80nan
252.0ms1280×body640valid
208.0ms4003×body80valid
83.0ms621×body320valid
25.0ms309×body160valid

Profiling

Loading profile data...