Details

Time bar (total: 2.9s)

sample44.0ms

Algorithm
intervals
Results
14.0ms58×body1280valid
7.0ms47×body640valid
6.0ms245×body80nan
5.0ms111×body80valid
3.0ms28×body320valid
1.0ms12×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: 33.7b

localize6.0ms

Local error

Found 2 expressions with local error:

3.2b
(log (+ N 1.0))
3.4b
(- (log (+ N 1.0)) (log N))

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:
2.0ms
(log (+ N 1.0))
6.0ms
(- (log (+ N 1.0)) (log N))

series134.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0212281
1547264
21875250
35001247

prune93.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
57×times-frac
42×*-un-lft-identity
36×add-cube-cbrt
32×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 frac-add add-log-exp
distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in associate-*r/ flip--
associate-/l*
cbrt-undiv associate-*l/ cbrt-unprod div-inv difference-of-squares
+-commutative pow-flip frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ distribute-lft-out-- inv-pow
Counts
3 → 150
Calls
3 calls:
20.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
40.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
4.0ms
(/ 1 (pow N 2))

series117.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5)) (/ 1.0 N))
72.0ms
(* (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5))
16.0ms
(/ 1 (pow N 2))

simplify74.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05831087
12726904
25001841

prune246.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

3.1b
(log (/ (+ N 1.0) N))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
16×log-prod
15×*-un-lft-identity
12×times-frac
add-sqr-sqrt add-cube-cbrt
add-exp-log
distribute-lft-out
pow1 rem-log-exp
log-div div-exp log-pow add-cbrt-cube div-inv add-log-exp
Counts
1 → 27
Calls
1 calls:
5.0ms
(log (/ (+ N 1.0) N))

series81.0ms

Counts
1 → 3
Calls
1 calls:
81.0ms
(log (/ (+ N 1.0) N))

simplify59.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0167209
1455196
21964184
35002184

prune53.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (log (/ (+ N 1.0) N)))
0.7b
(exp (log (log (/ (+ N 1.0) N))))
3.1b
(log (/ (+ N 1.0) N))

rewrite7.0ms

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

series313.0ms

Counts
3 → 9
Calls
3 calls:
147.0ms
(log (log (/ (+ N 1.0) N)))
84.0ms
(exp (log (log (/ (+ N 1.0) N))))
82.0ms
(log (/ (+ N 1.0) N))

simplify115.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0295470
1944432
24238400
35001394

prune118.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.1b

regimes30.0ms

Accuracy

100% (0.0b remaining)

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

bsearch20.0ms

Steps
ItersRangePoint
6
7065.8830381017015
33294.97377914132
9018.887363236374

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.3s

Algorithm
intervals
Results
443.0ms1782×body1280valid
201.0ms1317×body640valid
183.0ms8078×body80nan
166.0ms3981×body80valid
66.0ms629×body320valid
18.0ms291×body160valid