Details

Time bar (total: 3.4s)

sample82.0ms

Algorithm
intervals
Results
43.0ms121×body1280valid
20.0ms84×body640valid
7.0ms43×body320valid
3.0ms256×pre80true
1.0msbody160valid

simplify165.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0188
1438
21238
32128
43748
54968
67158
79678
811218
912218
1014818
1116598
1220398
1323768
1432098
1550018

prune11.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 63.0b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (+ n 1.0) (log (+ n 1.0)))
0.3b
(* n (log n))
3.9b
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
28×log-prod
25×*-un-lft-identity
19×add-sqr-sqrt
15×add-cube-cbrt
14×distribute-rgt-in distribute-lft-in
pow1
associate-*r* associate--l+
add-exp-log associate-*l* add-cbrt-cube
associate--r+
distribute-lft-out add-log-exp
pow-prod-down associate-*l/ prod-exp log-pow *-commutative cbrt-unprod unswap-sqr
sub-neg flip3-- flip3-+ diff-log flip-- flip-+
Counts
3 → 81
Calls
3 calls:
8.0ms
(* (+ n 1.0) (log (+ n 1.0)))
4.0ms
(* n (log n))
9.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

series32.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (+ n 1.0) (log (+ n 1.0)))
16.0ms
(* n (log n))
12.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

simplify52.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0439660
11891592
25001573

prune129.0ms

Filtered
90 candidates to 63 candidates (30.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New89190
Fresh000
Picked101
Done000
Total90191

Merged error: 0b

Counts
91 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* 1.0 (log 1)) (+ (* 0.5 (/ 1 n)) 1.0)) (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2)))))
0.0b
(log (/ 1 n))
0.1b
(* 0.16666666666666669 (/ 1 (pow n 2)))
0.6b
(/ 1 (pow n 2))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
65×times-frac
64×add-sqr-sqrt
50×*-un-lft-identity
44×add-cube-cbrt
38×add-exp-log
28×associate-*r*
25×add-log-exp
23×unpow-prod-down
14×div-exp
13×log-prod
11×add-cbrt-cube
10×prod-exp
sum-log unpow2 unswap-sqr sqr-pow
pow1 associate-/r*
rec-exp 1-exp
pow-to-exp diff-log pow-exp
flip3-+ rem-log-exp frac-sub flip-+
associate-*l* log-pow div-inv associate-/l*
cbrt-undiv pow-flip cbrt-unprod inv-pow
sub-neg log-div flip3-- frac-2neg associate-*r/ log-rec pow-prod-down associate--l+ clear-num un-div-inv *-commutative flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 174
Calls
4 calls:
14.0ms
(- (+ (* 1.0 (log 1)) (+ (* 0.5 (/ 1 n)) 1.0)) (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2)))))
3.0ms
(log (/ 1 n))
12.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
5.0ms
(/ 1 (pow n 2))

series24.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (+ (* 1.0 (log 1)) (+ (* 0.5 (/ 1 n)) 1.0)) (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2)))))
11.0ms
(log (/ 1 n))
3.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
2.0ms
(/ 1 (pow n 2))

simplify92.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07641458
134171246
250021138

prune319.0ms

Filtered
186 candidates to 97 candidates (47.8%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1860186
Fresh000
Picked011
Done000
Total1861187

Merged error: 0b

Counts
187 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
12915

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s3577×body1280valid
654.0ms2690×body640valid
218.0ms1322×body320valid
79.0ms8000×pre80true
43.0ms411×body160valid

Profiling

Loading profile data...