Details

Time bar (total: 3.8s)

sample65.0ms

Algorithm
intervals
Results
31.0ms107×body1280valid
16.0ms86×body640valid
6.0ms48×body320valid
3.0ms256×pre80true
1.0ms15×body160valid

simplify164.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0188
1438
21238
32128
43748
54968
67158
79678
811218
912218
1014978
1117528
1221328
1324698
1433148
1550018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 63.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.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:
9.0ms
(* (+ n 1.0) (log (+ n 1.0)))
9.0ms
(* n (log n))
9.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

series438.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(* (+ n 1.0) (log (+ n 1.0)))
179.0ms
(* n (log n))
191.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

simplify54.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419643
11786587
25001568

prune183.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series204.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(log (/ 1 n))
43.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
24.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
17.0ms
(/ 1 (pow n 2))

simplify59.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05571061
12160885
25001783

prune327.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 1 expressions with local error:

0.2b
(/ 0.16666666666666669 (pow n 2))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
18×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×unpow-prod-down
associate-/r*
add-exp-log
unpow2 sqr-pow
div-exp add-cbrt-cube associate-/l*
pow1 cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv add-log-exp
Counts
1 → 49
Calls
1 calls:
8.0ms
(/ 0.16666666666666669 (pow n 2))

series25.0ms

Counts
1 → 3
Calls
1 calls:
25.0ms
(/ 0.16666666666666669 (pow n 2))

simplify105.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0153244
1571217
23249208
35003208

prune112.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0198
1198

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.1s3659×body1280valid
494.0ms2580×body640valid
169.0ms1353×body320valid
67.0ms8000×pre80true
32.0ms408×body160valid