Details

Time bar (total: 4.8s)

sample70.0ms

Algorithm
intervals
Results
35.0ms122×body1280valid
19.0ms88×body640valid
4.0ms36×body320valid
3.0ms256×pre80true
1.0ms10×body160valid

simplify156.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0188
1438
21238
32128
43748
54968
67158
79678
811218
912218
1014978
1117528
1221328
1324678
1433088
1550028

prune2.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

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (+ n 1.0) (log (+ n 1.0)))
0.2b
(* n (log n))
4.1b
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

rewrite35.0ms

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

series449.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(* (+ n 1.0) (log (+ n 1.0)))
184.0ms
(* n (log n))
193.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

simplify56.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0431766
11786709
25002688

prune162.0ms

Filtered
100 candidates to 68 candidates (32.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New991100
Fresh000
Picked101
Done000
Total1001101

Merged error: 0.0b

Counts
101 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
117×*-un-lft-identity
92×times-frac
91×add-sqr-sqrt
69×add-cube-cbrt
56×associate--r+
54×associate-+l+
52×log-prod
33×add-exp-log
29×associate--l- associate-+l-
28×associate-*r*
26×distribute-rgt-in unpow-prod-down distribute-lft-in
23×add-log-exp
17×distribute-lft-out--
16×associate-/r*
14×associate-*r/ distribute-lft-out
12×div-exp
11×associate-*l* add-cbrt-cube
10×prod-exp unpow2 sqr-pow
unswap-sqr
pow1 diff-log
associate-/l*
pow-to-exp rec-exp pow-flip 1-exp pow-exp div-inv
sum-log
associate--l+
+-commutative sub-neg pow-unpow clear-num un-div-inv
cbrt-undiv flip3-- frac-2neg flip-- cbrt-unprod difference-of-squares
pow-pow pow-prod-down *-commutative inv-pow
Counts
4 → 243
Calls
4 calls:
61.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
43.0ms
(- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2)))))
17.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
6.0ms
(/ 1 (pow n 2))

series448.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
360.0ms
(- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2)))))
26.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
22.0ms
(/ 1 (pow n 2))

simplify86.0ms

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
09211763
130441521
250011400

prune475.0ms

Filtered
255 candidates to 157 candidates (38.4%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New2541255
Fresh000
Picked101
Done000
Total2551256

Merged error: 0b

Counts
256 → 1

localize18.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ 1.0 (/ 0.16666666666666669 (pow n 2))) (* 1.0 (log (/ 1 n))))
0.4b
(/ 0.16666666666666669 (pow n 2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
42×times-frac
33×add-sqr-sqrt add-cube-cbrt
26×associate-+r+ log-prod
13×distribute-rgt-in distribute-lft-in
12×unpow-prod-down
associate-/r*
add-exp-log add-log-exp
log-rec distribute-rgt-neg-out distribute-lft-out
associate-/l*
add-cbrt-cube unpow2 sqr-pow
div-exp unsub-neg clear-num sum-log div-inv
pow1 +-commutative associate-+l+ associate-*l*
cbrt-undiv pow-to-exp frac-2neg flip3-+ pow-exp flip-+
Counts
2 → 99
Calls
2 calls:
20.0ms
(+ (+ 1.0 (/ 0.16666666666666669 (pow n 2))) (* 1.0 (log (/ 1 n))))
5.0ms
(/ 0.16666666666666669 (pow n 2))

series380.0ms

Counts
2 → 6
Calls
2 calls:
350.0ms
(+ (+ 1.0 (/ 0.16666666666666669 (pow n 2))) (* 1.0 (log (/ 1 n))))
29.0ms
(/ 0.16666666666666669 (pow n 2))

simplify51.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0462702
11497625
25001562

prune252.0ms

Filtered
105 candidates to 72 candidates (31.4%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh000
Picked011
Done000
Total1051106

Merged error: 0b

Counts
106 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.1s3661×body1280valid
497.0ms2630×body640valid
166.0ms1315×body320valid
71.0ms8000×pre80true
30.0ms394×body160valid