Details

Time bar (total: 4.9s)

sample66.0ms

Algorithm
intervals
Results
32.0ms110×body1280valid
17.0ms88×body640valid
5.0ms37×body320valid
3.0ms256×pre80true
2.0ms21×body160valid

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

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 63.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.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:
14.0ms
(* (+ n 1.0) (log (+ n 1.0)))
4.0ms
(* n (log n))
10.0ms
(- (* (+ n 1.0) (log (+ n 1.0))) (* n (log n)))

series427.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0419643
11786587
25001568

prune190.0ms

Filtered
90 candidates to 63 candidates (70.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite339.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:
314.0ms
(- (+ (- 1.0 (+ (* 1.0 (log (/ 1 n))) (* 0.16666666666666669 (/ 1 (pow n 2))))) (/ 0.5 n)) 1.0)
15.0ms
(* 0.16666666666666669 (/ 1 (pow n 2)))
5.0ms
(/ 1 (pow n 2))

series85.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))

simplify55.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0481928
11943772
25001683

prune276.0ms

Filtered
150 candidates to 75 candidates (50.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite510.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
24×times-frac
22×add-sqr-sqrt add-log-exp
20×add-cube-cbrt
12×unpow-prod-down
add-exp-log associate-/r*
diff-log
sum-log
add-cbrt-cube distribute-lft-out--
unpow2 sqr-pow
pow1 div-exp associate-/l* associate--r+
associate-+r- sub-neg log-rec distribute-rgt-neg-out distribute-lft-out
cbrt-undiv +-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ unsub-neg pow-exp associate--l+ clear-num flip-- flip-+ div-inv associate--r- difference-of-squares
Counts
3 → 88
Calls
3 calls:
456.0ms
(- 1.0 (- (+ 1.0 (+ (/ 0.16666666666666669 (pow n 2)) (* 1.0 (log (/ 1 n))))) (/ 0.5 n)))
47.0ms
(+ 1.0 (+ (/ 0.16666666666666669 (pow n 2)) (* 1.0 (log (/ 1 n)))))
4.0ms
(/ 0.16666666666666669 (pow n 2))

series414.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- 1.0 (- (+ 1.0 (+ (/ 0.16666666666666669 (pow n 2)) (* 1.0 (log (/ 1 n))))) (/ 0.5 n)))
347.0ms
(+ 1.0 (+ (/ 0.16666666666666669 (pow n 2)) (* 1.0 (log (/ 1 n)))))
25.0ms
(/ 0.16666666666666669 (pow n 2))

simplify43.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0383785
11369685
25003666

prune215.0ms

Filtered
97 candidates to 65 candidates (67.0%)
Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.1s3716×body1280valid
494.0ms2614×body640valid
156.0ms1259×body320valid
73.0ms8000×pre80true
32.0ms411×body160valid