Details

Time bar (total: 3.9s)

sample79.0ms

Algorithm
intervals
Results
38.0ms112×body1280valid
20.0ms87×body640valid
7.0ms47×body320valid
3.0ms256×pre80true
1.0ms10×body160valid

simplify155.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 1.0) (log (+ n 1.0)))
0.2b
(* n (log n))
4.6b
(- (* (+ 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)))

series448.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(* (+ n 1.0) (log (+ n 1.0)))
184.0ms
(* n (log n))
194.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

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

localize15.0ms

Local error

Found 3 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.1b
(* 0.16666666666666669 (/ 1 (pow n 2)))
0.6b
(/ 1 (pow n 2))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt times-frac
49×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log
28×associate-*r*
23×unpow-prod-down
17×add-log-exp
12×div-exp
10×prod-exp add-cbrt-cube
unpow2 unswap-sqr sqr-pow
associate-/r*
pow-to-exp rec-exp diff-log 1-exp pow-exp
pow1
sum-log distribute-lft-out--
associate-*l* associate-/l*
cbrt-undiv cbrt-unprod div-inv distribute-lft-out
associate--l- associate-+l- sub-neg flip3-- pow-flip frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative flip-- inv-pow difference-of-squares
Counts
3 → 141
Calls
3 calls:
14.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
11.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
5.0ms
(/ 1 (pow n 2))

series86.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
30.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
17.0ms
(/ 1 (pow n 2))

simplify56.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0481928
11943772
25001683

prune230.0ms

Filtered
150 candidates to 75 candidates (50.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1491150
Fresh000
Picked101
Done000
Total1501151

Merged error: 0b

Counts
151 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
35×times-frac
34×add-sqr-sqrt
28×*-un-lft-identity
27×add-cube-cbrt
16×add-exp-log
13×associate-*r*
12×unpow-prod-down
add-cbrt-cube
associate-/r*
div-exp
pow1 prod-exp unpow2 sqr-pow
associate-*l* associate-/l* unswap-sqr
cbrt-undiv cbrt-unprod div-inv add-log-exp
pow-to-exp rec-exp frac-2neg 1-exp associate-*r/ pow-prod-down pow-exp clear-num un-div-inv *-commutative
Counts
2 → 85
Calls
2 calls:
7.0ms
(* 0.5 (/ 1 n))
5.0ms
(/ 0.16666666666666669 (pow n 2))

series49.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(* 0.5 (/ 1 n))
26.0ms
(/ 0.16666666666666669 (pow n 2))

simplify43.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0317379
11427324
25002303

prune157.0ms

Filtered
91 candidates to 57 candidates (62.6%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New91091
Fresh000
Picked011
Done000
Total91192

Merged error: 0b

Counts
92 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s3665×body1280valid
572.0ms2529×body640valid
215.0ms1362×body320valid
89.0ms8000×pre80true
45.0ms444×body160valid