Details

Time bar (total: 3.7s)

analyze19.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%23.7%76.3%0
0%23.7%76.3%1
11.9%11.9%76.3%2
17.8%5.9%76.3%3
20.8%3%76.3%4
22.2%1.5%76.3%5
23%0.7%76.3%6
23.3%0.4%76.3%7
23.3%0.4%76.3%8
23.4%0.3%76.3%9
23.5%0.2%76.3%10
23.5%0.2%76.3%11
23.5%0.2%76.3%12
23.6%0.2%76.3%13
23.6%0.1%76.3%14
Compiler

Compiled 18 to 14 computations (22.2% saved)

sample71.0ms (1.9%)

Algorithm
intervals
Results
39.0ms132×body1024valid
13.0ms69×body512valid
5.0ms10×body2048valid
4.0ms36×body256valid
3.0ms256×pre128true
1.0msbody128valid
Compiler

Compiled 33 to 27 computations (18.2% saved)

simplify293.0ms (7.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (128.0ms)

IterNodesCost
0523823

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 63.0b

Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))
0.2b
(*.f64 n (log.f64 n))
5.1b
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))

rewrite33.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
28×log-prod_binary64_834
25×*-un-lft-identity_binary64_751
19×add-sqr-sqrt_binary64_772
15×add-cube-cbrt_binary64_783
14×distribute-lft-in_binary64_702 distribute-rgt-in_binary64_703
pow1_binary64_809
associate--l+_binary64_690 associate-*r*_binary64_693
add-cbrt-cube_binary64_784 associate-*l*_binary64_694 add-exp-log_binary64_786
associate--r+_binary64_689
distribute-lft-out_binary64_704 add-log-exp_binary64_787
prod-exp_binary64_797 unswap-sqr_binary64_719 pow-prod-down_binary64_819 *-commutative_binary64_684 log-pow_binary64_837 cbrt-unprod_binary64_781 associate-*l/_binary64_696
flip3-+_binary64_754 flip--_binary64_726 diff-log_binary64_840 sub-neg_binary64_744 flip3--_binary64_755 flip-+_binary64_725
Counts
3 → 80
Calls

3 calls:

11.0ms
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))
10.0ms
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))
5.0ms
(*.f64 n (log.f64 n))

series254.0ms (6.9%)

Counts
3 → 9
Calls

3 calls:

113.0ms
(*.f64 n (log.f64 n))
104.0ms
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))
36.0ms
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))

simplify73.0ms (2%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050731541

prune107.0ms (2.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New88189
Fresh000
Picked101
Done000
Total89190

Merged error: 0.0b

Counts
90 → 1
Compiler

Compiled 1927 to 1216 computations (36.9% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n)))
0.0b
(-.f64 (-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n))) 1)
1.0b
(/.f64 1/6 (*.f64 n n))

rewrite59.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity_binary64_751
29×add-log-exp_binary64_787
27×distribute-lft-out--_binary64_705
17×diff-log_binary64_840
11×add-sqr-sqrt_binary64_772
add-cbrt-cube_binary64_784 add-exp-log_binary64_786
pow1_binary64_809
distribute-lft-out_binary64_704
add-cube-cbrt_binary64_783 associate--l+_binary64_690
frac-sub_binary64_760 flip--_binary64_726 log-pow_binary64_837 sum-log_binary64_839 sub-neg_binary64_744 flip3--_binary64_755
times-frac_binary64_757 associate-/l*_binary64_698 difference-of-squares_binary64_720
flip3-+_binary64_754 cbrt-undiv_binary64_782 associate--r-_binary64_692 flip-+_binary64_725 div-exp_binary64_799
prod-exp_binary64_797 associate-/r*_binary64_697 div-inv_binary64_748 difference-of-sqr-1_binary64_721 frac-2neg_binary64_762 associate--l-_binary64_691 cbrt-unprod_binary64_781 associate--r+_binary64_689 clear-num_binary64_750
Counts
3 → 78
Calls

3 calls:

25.0ms
(-.f64 (-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n))) 1)
19.0ms
(-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n)))
7.0ms
(/.f64 1/6 (*.f64 n n))

series103.0ms (2.8%)

Counts
3 → 9
Calls

3 calls:

35.0ms
(-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n)))
35.0ms
(-.f64 (-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n))) 1)
33.0ms
(/.f64 1/6 (*.f64 n n))

simplify66.0ms (1.8%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049972202
149972202

prune102.0ms (2.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New86187
Fresh000
Picked101
Done000
Total87188

Merged error: 0b

Counts
88 → 1
Compiler

Compiled 2023 to 1338 computations (33.9% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

1.0b
(/.f64 1/6 (*.f64 n n))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_784 add-exp-log_binary64_786
add-cube-cbrt_binary64_783 times-frac_binary64_757 *-un-lft-identity_binary64_751 associate-/l*_binary64_698 add-sqr-sqrt_binary64_772
cbrt-undiv_binary64_782 div-exp_binary64_799
prod-exp_binary64_797 associate-/r*_binary64_697 pow1_binary64_809 add-log-exp_binary64_787 div-inv_binary64_748 frac-2neg_binary64_762 cbrt-unprod_binary64_781 clear-num_binary64_750
Counts
1 → 21
Calls

1 calls:

5.0ms
(/.f64 1/6 (*.f64 n n))

series38.0ms (1%)

Counts
1 → 3
Calls

1 calls:

38.0ms
(/.f64 1/6 (*.f64 n n))

simplify92.0ms (2.5%)

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
04794212
14794212

prune19.0ms (0.5%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New24024
Fresh000
Picked011
Done000
Total24125

Merged error: 0b

Counts
25 → 1
Compiler

Compiled 369 to 230 computations (37.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02818
12818

end0.0ms (0%)

sample2.3s (63.1%)

Algorithm
intervals
Results
1.2s4189×body1024valid
406.0ms2096×body512valid
229.0ms481×body2048valid
135.0ms1092×body256valid
104.0ms8000×pre128true
8.0ms142×body128valid
Compiler

Compiled 66 to 53 computations (19.7% saved)

Profiling

Loading profile data...