Details

Time bar (total: 3.8s)

sample69.0ms

Algorithm
intervals
Results
31.0ms108×body1280valid
16.0ms86×body640valid
6.0ms49×body320valid
5.0ms256×pre80true
1.0ms13×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
1324698
1433148
1550018

prune2.0ms

Filtered
1 candidates to 0 candidates (0.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 (log n))
0.2b
(* (+ n 1.0) (log (+ n 1.0)))
6.1b
(- (* (+ 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:
4.0ms
(* n (log n))
8.0ms
(* (+ n 1.0) (log (+ n 1.0)))
9.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

series435.0ms

Counts
3 → 9
Calls
3 calls:
181.0ms
(* n (log n))
65.0ms
(* (+ n 1.0) (log (+ n 1.0)))
189.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

simplify55.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419643
11786587
25001568

prune175.0ms

Filtered
90 candidates to 63 candidates (70.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New89190
Fresh000
Picked101
Done000
Total90191

Merged error: 0.0b

Counts
91 → 1

localize19.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.8b
(/ 1 (pow n 2))

rewrite41.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)
12.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
5.0ms
(/ 1 (pow n 2))

series209.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(log (/ 1 n))
38.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
31.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
17.0ms
(/ 1 (pow n 2))

simplify58.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05571089
12263881
25001783

prune283.0ms

Filtered
182 candidates to 93 candidates (51.1%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1811182
Fresh000
Picked101
Done000
Total1821183

Merged error: 0b

Counts
183 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 0.5 (/ 1 n)) (/ 0.16666666666666669 (pow n 2)))
0.8b
(/ 0.16666666666666669 (pow n 2))

rewrite20.0ms

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

series98.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(- (* 0.5 (/ 1 n)) (/ 0.16666666666666669 (pow n 2)))
25.0ms
(/ 0.16666666666666669 (pow n 2))

simplify36.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0243378
1952339
25002319

prune122.0ms

Filtered
69 candidates to 45 candidates (65.2%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done000
Total69170

Merged error: 0b

Counts
70 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.1s3641×body1280valid
498.0ms2616×body640valid
170.0ms1338×body320valid
69.0ms8000×pre80true
32.0ms405×body160valid