Details

Time bar (total: 3.1s)

sample51.0ms

Algorithm
intervals
Results
14.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.6b

Counts
2 → 1

localize11.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:
7.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series10.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune128.0ms

Filtered
47 candidates to 34 candidates (27.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 0.0b

Counts
48 → 3

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

series8.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0221370
1736343
23220333
35002333

prune164.0ms

Filtered
66 candidates to 45 candidates (31.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh022
Picked011
Done000
Total64569

Merged error: 0.0b

Counts
69 → 5

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

rewrite21.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:
1.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))

series19.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (log (/ (+ N 1.0) N)))
4.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))

simplify47.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0325909
11303815
25001747

prune313.0ms

Filtered
134 candidates to 73 candidates (45.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1313134
Fresh123
Picked101
Done011
Total1336139

Merged error: 0.0b

Counts
139 → 6

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

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

series24.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(exp (sqrt (log (/ (+ N 1.0) N))))
7.0ms
(log (exp (sqrt (log (/ (+ N 1.0) N)))))
4.0ms
(log (/ (+ N 1.0) N))
4.0ms
(log (/ (+ N 1.0) N))

simplify39.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0390874
11185790
25001725

prune469.0ms

Filtered
100 candidates to 70 candidates (30.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh044
Picked011
Done011
Total1006106

Merged error: 0.0b

Counts
106 → 6

regimes47.0ms

Accuracy

100% (0.0b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
9
1325.407106289753
170944420.23003155
10613.272105470618

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.5s

Algorithm
intervals
Results
502.0ms1762×body1280valid
231.0ms7856×body80nan
229.0ms1244×body640valid
200.0ms4121×body80valid
71.0ms590×body320valid
21.0ms283×body160valid

Profiling

Loading profile data...