Details

Time bar (total: 2.5s)

sample44.0ms

Algorithm
intervals
Results
13.0ms56×body1280valid
7.0ms43×body640valid
5.0ms131×body80valid
5.0ms233×body80nan
2.0ms20×body320valid
0.0msbody160valid

simplify8.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.5b

localize7.0ms

Local error

Found 2 expressions with local error:

1.9b
(log (+ N 1.0))
2.3b
(- (log (+ N 1.0)) (log N))

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

series128.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(log (+ N 1.0))
89.0ms
(- (log (+ N 1.0)) (log N))

simplify57.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0212281
1547264
21875250
35001247

prune100.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series121.0ms

Counts
2 → 6
Calls
2 calls:
42.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

prune109.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
0.4b
(/ 1 (pow N 2))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
57×times-frac
41×*-un-lft-identity
35×add-cube-cbrt
31×add-exp-log
28×associate-*l*
23×unpow-prod-down
12×div-exp
10×prod-exp
add-cbrt-cube unpow2 unswap-sqr sqr-pow
associate-/r*
pow-to-exp rec-exp 1-exp associate-*r* pow-exp
pow1
associate-/l*
cbrt-undiv distribute-rgt-in frac-times sub-neg flip3-- distribute-lft-in associate-*r/ flip-- cbrt-unprod div-inv add-log-exp difference-of-squares
pow-flip frac-2neg pow-prod-down associate-*l/ clear-num *-commutative distribute-lft-out-- inv-pow
Counts
2 → 130
Calls
2 calls:
72.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
9.0ms
(/ 1 (pow N 2))

series85.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
15.0ms
(/ 1 (pow N 2))

simplify55.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0445808
12121656
25001595

prune198.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes14.0ms

Accuracy

100% (0.0b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
10
8.950540206577903e-05
611368.3395468491
7877.19975446712

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.3s

Algorithm
intervals
Results
426.0ms1764×body1280valid
186.0ms1262×body640valid
181.0ms8007×body80nan
166.0ms4051×body80valid
63.0ms630×body320valid
18.0ms293×body160valid