Details

Time bar (total: 3.2s)

sample50.0ms

Algorithm
intervals
Results
16.0ms58×body1280valid
9.0ms276×body80nan
6.0ms132×body80valid
6.0ms35×body640valid
3.0ms23×body320valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.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: 29.2b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.2b
(- (log (+ N 1.0)) (log N))
2.5b
(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))

series130.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- (log (+ N 1.0)) (log N))
43.0ms
(log (+ N 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune88.0ms

Filtered
47 candidates to 33 candidates (70.2%)
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.4b
(log (/ (+ N 1.0) N))

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

series125.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune85.0ms

Filtered
66 candidates to 45 candidates (68.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done000
Total66369

Merged error: 0.0b

Counts
69 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

2.5b
(log (+ N 1.0))
2.5b
(log (+ N 1.0))
2.5b
(log (+ N 1.0))
19.7b
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×log-prod
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log
log-div
add-log-exp
add-cbrt-cube
flip3-+ rem-log-exp log-pow flip-+ distribute-lft-out associate--r+
sub-neg flip3-- diff-log flip--
Counts
4 → 60
Calls
4 calls:
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
3.0ms
(log (+ N 1.0))
10.0ms
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

series208.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(log (+ N 1.0))
42.0ms
(log (+ N 1.0))
39.0ms
(log (+ N 1.0))
88.0ms
(- (* (* (cbrt (log (+ N 1.0))) (cbrt (log (+ N 1.0)))) (cbrt (log (+ N 1.0)))) (log N))

simplify65.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0217609
1595492
22061435
35002417

prune147.0ms

Filtered
72 candidates to 52 candidates (72.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done011
Total72375

Merged error: 0.0b

Counts
75 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 0.3333333333333333 N) 0.5)
0.0b
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.2b
(/ 1 (pow N 2))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
58×times-frac
45×*-un-lft-identity
37×add-cube-cbrt
33×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
11×add-cbrt-cube
10×prod-exp
unpow2 unswap-sqr sqr-pow
associate-/r* add-log-exp
pow1 pow-to-exp rec-exp 1-exp associate-*r* pow-exp
sub-neg flip3-- frac-add flip--
distribute-rgt-in frac-times associate-+l+ distribute-lft-in associate-*r/ difference-of-squares
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv distribute-lft-out--
+-commutative pow-flip frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ inv-pow
Counts
4 → 165
Calls
4 calls:
7.0ms
(- (/ 0.3333333333333333 N) 0.5)
15.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
17.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
5.0ms
(/ 1 (pow N 2))

series151.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 0.3333333333333333 N) 0.5)
29.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
70.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
18.0ms
(/ 1 (pow N 2))

simplify79.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05971157
12754966
25001903

prune231.0ms

Filtered
177 candidates to 101 candidates (57.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1752177
Fresh000
Picked011
Done022
Total1755180

Merged error: 0.0b

Counts
180 → 5

regimes26.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
9
0.23412953424089325
32407.745953778784
3797.707383259402

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02920
12920

end0.0ms

sample1.4s

Algorithm
intervals
Results
498.0ms1772×body1280valid
240.0ms7964×body80nan
219.0ms1208×body640valid
199.0ms4113×body80valid
71.0ms586×body320valid
24.0ms321×body160valid

Profiling

Loading profile data...