Details

Time bar (total: 4.2s)

sample50.0ms

Algorithm
intervals
Results
13.0ms48×body1280valid
7.0ms250×body80nan
7.0ms39×body640valid
7.0ms134×body80valid
3.0ms25×body320valid
1.0ms10×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.6b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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))

series135.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0210281
1539264
21835250
35002247

prune134.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New45247
Fresh000
Picked101
Done000
Total46248

Merged error: 0.0b

Counts
48 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
5.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

series131.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ (+ N 1.0) N)
84.0ms
(log (/ (+ N 1.0) N))

simplify107.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0241373
1799351
23617339
35001339

prune151.0ms

Filtered
66 candidates to 46 candidates (69.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh011
Picked011
Done000
Total64468

Merged error: 0.0b

Counts
68 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (log (/ (+ N 1.0) N)))
0.3b
(* (sqrt (log (/ (+ N 1.0) N))) (sqrt (log (/ (+ N 1.0) N))))
2.6b
(log (/ (+ N 1.0) N))
2.6b
(log (/ (+ N 1.0) N))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
42×add-sqr-sqrt
32×log-prod
30×sqrt-prod
29×pow1 add-cube-cbrt
24×times-frac
12×add-exp-log
11×swap-sqr
sqrt-pow1 pow1/2 log-pow
associate-*r* associate-*l*
add-cbrt-cube distribute-lft-out
pow-prod-up
rem-log-exp add-log-exp unswap-sqr
pow-prod-down pow-sqr
log-div div-exp div-inv
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 122
Calls
4 calls:
4.0ms
(sqrt (log (/ (+ N 1.0) N)))
7.0ms
(* (sqrt (log (/ (+ N 1.0) N))) (sqrt (log (/ (+ N 1.0) N))))
4.0ms
(log (/ (+ N 1.0) N))
4.0ms
(log (/ (+ N 1.0) N))

series540.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(sqrt (log (/ (+ N 1.0) N)))
227.0ms
(* (sqrt (log (/ (+ N 1.0) N))) (sqrt (log (/ (+ N 1.0) N))))
83.0ms
(log (/ (+ N 1.0) N))
83.0ms
(log (/ (+ N 1.0) N))

simplify56.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0370915
11517838
25002798

prune321.0ms

Filtered
134 candidates to 78 candidates (58.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1313134
Fresh112
Picked101
Done011
Total1335138

Merged error: 0.0b

Counts
138 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

1.1b
(exp (sqrt (log (/ (+ N 1.0) N))))
1.6b
(log (exp (sqrt (log (/ (+ N 1.0) N)))))
2.6b
(log (/ (+ N 1.0) N))
2.6b
(log (/ (+ N 1.0) N))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
35×log-prod
25×add-sqr-sqrt add-cube-cbrt
24×times-frac
14×exp-prod
12×log-pow
10×add-exp-log
pow1
sqrt-prod
distribute-lft-out
rem-log-exp add-log-exp
add-cbrt-cube
log-div div-exp div-inv
rem-exp-log
Counts
4 → 88
Calls
4 calls:
2.0ms
(exp (sqrt (log (/ (+ N 1.0) N))))
3.0ms
(log (exp (sqrt (log (/ (+ N 1.0) N)))))
4.0ms
(log (/ (+ N 1.0) N))
4.0ms
(log (/ (+ N 1.0) N))

series456.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(exp (sqrt (log (/ (+ N 1.0) N))))
156.0ms
(log (exp (sqrt (log (/ (+ N 1.0) N)))))
82.0ms
(log (/ (+ N 1.0) N))
83.0ms
(log (/ (+ N 1.0) N))

simplify42.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0423816
11359759
25001716

prune333.0ms

Filtered
100 candidates to 74 candidates (74.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh033
Picked011
Done011
Total1005105

Merged error: 0.0b

Counts
105 → 5

regimes44.0ms

Accuracy

100% (0.0b remaining)

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

bsearch38.0ms

Steps
ItersRangePoint
9
1325.407106289753
170944420.23003155
236675.39451860223

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample1.5s

Algorithm
intervals
Results
492.0ms1762×body1280valid
232.0ms7856×body80nan
220.0ms1244×body640valid
194.0ms4121×body80valid
70.0ms590×body320valid
22.0ms283×body160valid

Profiling

Loading profile data...