Details

Time bar (total: 3.2s)

sample47.0ms

Algorithm
intervals
Results
16.0ms66×body1280valid
7.0ms50×body640valid
7.0ms277×body80nan
4.0ms108×body80valid
2.0ms22×body320valid
1.0ms10×body160valid

simplify5.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: 34.9b

localize7.0ms

Local error

Found 2 expressions with local error:

2.7b
(- (log (+ N 1.0)) (log N))
3.9b
(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:
7.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series135.0ms

Counts
2 → 6
Calls
2 calls:
91.0ms
(- (log (+ N 1.0)) (log N))
44.0ms
(log (+ N 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0212281
1547264
21874250
35001247

prune101.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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.3b
(/ 1 (pow N 2))

rewrite85.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:
11.0ms
(- (/ 0.3333333333333333 N) 0.5)
18.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
46.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
4.0ms
(/ 1 (pow N 2))

series157.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 0.3333333333333333 N) 0.5)
35.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
74.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
16.0ms
(/ 1 (pow N 2))

simplify75.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05971169
12754978
25001915

prune294.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
8.0ms
(/ (+ N 1.0) N)
3.0ms
(log (/ (+ N 1.0) N))

series133.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0233373
1773351
23489339
35002339

prune114.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (/ 1 N))
3.0b
(+ (log (+ N 1.0)) (log (/ 1 N)))
3.9b
(log (+ N 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
34×log-prod
27×*-un-lft-identity
19×add-sqr-sqrt add-cube-cbrt
18×times-frac
13×associate-+r+
10×pow1
add-exp-log
log-pow
log-div distribute-lft-out
rem-log-exp
associate-+l+
flip3-+ log-rec add-cbrt-cube flip-+ add-log-exp
associate-+l- div-exp div-inv
+-commutative associate-+r- rec-exp pow-flip 1-exp unsub-neg sum-log inv-pow
Counts
3 → 81
Calls
3 calls:
2.0ms
(log (/ 1 N))
9.0ms
(+ (log (+ N 1.0)) (log (/ 1 N)))
3.0ms
(log (+ N 1.0))

series239.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(log (/ 1 N))
78.0ms
(+ (log (+ N 1.0)) (log (/ 1 N)))
45.0ms
(log (+ N 1.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0324495
1906452
23587406
35001387

prune152.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes29.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch30.0ms

Steps
ItersRangePoint
9
251.47950061764826
4321407464.299789
5358.0336570575955

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample1.3s

Algorithm
intervals
Results
431.0ms1750×body1280valid
196.0ms8377×body80nan
192.0ms1261×body640valid
169.0ms4068×body80valid
60.0ms616×body320valid
18.0ms305×body160valid