Details

Time bar (total: 3.1s)

sample46.0ms

Algorithm
intervals
Results
14.0ms58×body1280valid
9.0ms296×body80nan
6.0ms43×body640valid
5.0ms125×body80valid
1.0ms15×body320valid
1.0ms15×body160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.6b

localize6.0ms

Local error

Found 2 expressions with local error:

2.1b
(log (+ N 1.0))
3.6b
(- (log (+ N 1.0)) (log N))

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

series136.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0277598
1837444
23748347
35001343

prune124.0ms

Filtered
71 candidates to 43 candidates (60.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 0.3333333333333333 N) 0.5)
0.1b
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
0.4b
(/ 1 (pow N 2))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
63×*-un-lft-identity
61×add-cube-cbrt times-frac
39×prod-diff
13×fma-neg
12×add-exp-log unpow-prod-down
associate-/r*
div-exp
add-cbrt-cube div-inv add-log-exp
unpow2 sqr-pow
pow1 expm1-log1p-u pow-to-exp rec-exp 1-exp pow-exp log1p-expm1-u associate-/l*
difference-of-squares
cbrt-undiv sub-neg flip3-- pow-flip frac-2neg diff-log clear-num flip-- fma-udef distribute-lft-out-- inv-pow
Counts
3 → 138
Calls
3 calls:
14.0ms
(- (/ 0.3333333333333333 N) 0.5)
0.0ms
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
4.0ms
(/ 1 (pow N 2))

series87.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (/ 0.3333333333333333 N) 0.5)
34.0ms
(fma (/ 1 (pow N 2)) (- (/ 0.3333333333333333 N) 0.5) (/ 1.0 N))
16.0ms
(/ 1 (pow N 2))

simplify49.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04251067
11442713
25001631

prune206.0ms

Filtered
147 candidates to 67 candidates (45.6%)
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)
3.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*
expm1-log1p-u div-exp rem-log-exp log1p-expm1-u div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 64
Calls
2 calls:
8.0ms
(/ (+ N 1.0) N)
3.0ms
(log (/ (+ N 1.0) N))

series131.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0243383
1808358
23663347
35001344

prune121.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

2.1b
(log (+ N 1.0))
2.1b
(log (+ N 1.0))
2.1b
(log (+ N 1.0))
3.5b
(- (* (log (+ N 1.0)) (log (+ N 1.0))) (* (log N) (log N)))

rewrite18.0ms

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

series275.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(log (+ N 1.0))
42.0ms
(log (+ N 1.0))
47.0ms
(log (+ N 1.0))
139.0ms
(- (* (log (+ N 1.0)) (log (+ N 1.0))) (* (log N) (log N)))

simplify39.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0413732
11351650
25002627

prune249.0ms

Filtered
94 candidates to 77 candidates (81.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes30.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch26.0ms

Steps
ItersRangePoint
8
6.164824567421913
81461.56837266182
13931.961951684772

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.2s

Algorithm
intervals
Results
427.0ms1769×body1280valid
188.0ms1268×body640valid
180.0ms7974×body80nan
164.0ms4071×body80valid
57.0ms606×body320valid
17.0ms286×body160valid