Details

Time bar (total: 2.9s)

sample43.0ms

Algorithm
intervals
Results
13.0ms52×body1280valid
7.0ms276×body80nan
6.0ms139×body80valid
4.0ms28×body640valid
3.0ms27×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: 26.8b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
16×pow1 add-sqr-sqrt prod-diff
14×add-cube-cbrt log-pow
11×log-prod
log-div fma-neg associate--l+ distribute-lft-out--
add-exp-log associate--r+
associate--l- expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
sub-neg flip3-- diff-log rem-log-exp flip-- difference-of-squares
Counts
2 → 65
Calls
2 calls:
8.0ms
(- (log (+ N 1.0)) (log N))
3.0ms
(log (+ N 1.0))

series142.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(- (log (+ N 1.0)) (log N))
47.0ms
(log (+ N 1.0))

simplify123.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0277598
1837444
23748347
35001345

prune139.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(log (log (+ N 1.0)))
0.7b
(exp (log (log (+ N 1.0))))
3.2b
(log (+ N 1.0))
22.5b
(- (exp (log (log (+ N 1.0)))) (log N))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
36×log-prod
31×*-un-lft-identity
30×add-sqr-sqrt
28×prod-diff
26×add-cube-cbrt
25×exp-sum
22×pow1
18×log-pow
fma-neg
add-exp-log
add-log-exp
expm1-log1p-u exp-prod add-cbrt-cube log1p-expm1-u
associate--r+
log-div rem-log-exp distribute-lft-out-- difference-of-squares
sub-neg flip3-- flip3-+ diff-log flip-- flip-+ rem-exp-log distribute-lft-out
Counts
4 → 106
Calls
4 calls:
2.0ms
(log (log (+ N 1.0)))
2.0ms
(exp (log (log (+ N 1.0))))
2.0ms
(log (+ N 1.0))
14.0ms
(- (exp (log (log (+ N 1.0)))) (log N))

series273.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(log (log (+ N 1.0)))
41.0ms
(exp (log (log (+ N 1.0))))
47.0ms
(log (+ N 1.0))
95.0ms
(- (exp (log (log (+ N 1.0)))) (log N))

simplify55.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04481188
11481809
25001615

prune216.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 0.3333333333333333 (/ 1 (pow N 3)) (/ 1.0 N))
0.2b
(/ 1 (pow N 3))
0.4b
(/ 1 (pow N 2))
15.0b
(fma (- 0.5) (/ 1 (pow N 2)) (fma 0.3333333333333333 (/ 1 (pow N 3)) (/ 1.0 N)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
60×times-frac
46×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
22×add-exp-log
20×associate-/r*
12×cube-prod div-exp
add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u unpow2 add-log-exp
cbrt-undiv pow-flip frac-2neg clear-num fma-udef div-inv inv-pow
Counts
4 → 154
Calls
4 calls:
0.0ms
(fma 0.3333333333333333 (/ 1 (pow N 3)) (/ 1.0 N))
5.0ms
(/ 1 (pow N 3))
4.0ms
(/ 1 (pow N 2))
0.0ms
(fma (- 0.5) (/ 1 (pow N 2)) (fma 0.3333333333333333 (/ 1 (pow N 3)) (/ 1.0 N)))

series173.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(fma 0.3333333333333333 (/ 1 (pow N 3)) (/ 1.0 N))
37.0ms
(/ 1 (pow N 3))
16.0ms
(/ 1 (pow N 2))
35.0ms
(fma (- 0.5) (/ 1 (pow N 2)) (fma 0.3333333333333333 (/ 1 (pow N 3)) (/ 1.0 N)))

simplify54.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0348793
11771580
25001557

prune252.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes19.0ms

Accuracy

100% (0.0b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
9
2.027436157277799
7103758.057079569
3926.442943372092

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample1.3s

Algorithm
intervals
Results
465.0ms1832×body1280valid
206.0ms1279×body640valid
185.0ms7781×body80nan
171.0ms3993×body80valid
63.0ms603×body320valid
19.0ms293×body160valid