Details

Time bar (total: 4.2s)

analyze14.0ms (0.3%)

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

Algorithm
intervals
Results
38.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)

simplify332.0ms (7.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (151.0ms)

IterNodesCost
0523723

prune3.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.2%)

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

rewrite40.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
28×log-prod_binary64_853
25×*-un-lft-identity_binary64_767
19×add-sqr-sqrt_binary64_789
15×add-cube-cbrt_binary64_802
14×distribute-rgt-in_binary64_717 distribute-lft-in_binary64_716
pow1_binary64_828
associate-*r*_binary64_707 associate--l+_binary64_704
associate-*l*_binary64_708 add-exp-log_binary64_805 add-cbrt-cube_binary64_803
associate--r+_binary64_703
distribute-lft-out_binary64_718 add-log-exp_binary64_806
unswap-sqr_binary64_735 cbrt-unprod_binary64_800 prod-exp_binary64_816 *-commutative_binary64_698 log-pow_binary64_856 associate-*l/_binary64_710 pow-prod-down_binary64_838
sub-neg_binary64_760 flip-+_binary64_741 cancel-sign-sub-inv_binary64_733 diff-log_binary64_859 flip3-+_binary64_770 flip--_binary64_742 flip3--_binary64_771
Counts
3 → 81
Calls

3 calls:

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

series270.0ms (6.4%)

Counts
3 → 9
Calls

3 calls:

120.0ms
(*.f64 n (log.f64 n))
108.0ms
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))
41.0ms
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))

simplify73.0ms (1.7%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049811539
149811539

prune468.0ms (11.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New89190
Fresh000
Picked101
Done000
Total90191

Merged error: 0.0b

Counts
91 → 1
Compiler

Compiled 8565 to 5974 computations (30.3% saved)

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

rewrite62.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64_767
31×distribute-lft-out--_binary64_719
29×add-log-exp_binary64_806
23×add-sqr-sqrt_binary64_789
21×cancel-sign-sub-inv_binary64_733
17×diff-log_binary64_859
12×associate--l+_binary64_704
10×pow1_binary64_828
add-cube-cbrt_binary64_802
add-exp-log_binary64_805 add-cbrt-cube_binary64_803
log-pow_binary64_856 difference-of-squares_binary64_736
distribute-lft-out_binary64_718
times-frac_binary64_773 associate--r+_binary64_703
sub-neg_binary64_760 frac-sub_binary64_776 sum-log_binary64_858 flip--_binary64_742 flip3--_binary64_771
associate-/l*_binary64_712
associate--r-_binary64_706 cbrt-undiv_binary64_801 flip-+_binary64_741 flip3-+_binary64_770 div-exp_binary64_818
frac-2neg_binary64_778 associate-/r*_binary64_711 cbrt-unprod_binary64_800 prod-exp_binary64_816 clear-num_binary64_766 div-inv_binary64_764 difference-of-sqr-1_binary64_737 associate--l-_binary64_705
Counts
3 → 99
Calls

3 calls:

26.0ms
(-.f64 (-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n))) 1)
21.0ms
(-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n)))
5.0ms
(/.f64 1/6 (*.f64 n n))

series108.0ms (2.6%)

Counts
3 → 9
Calls

3 calls:

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

simplify68.0ms (1.6%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
054352430

prune119.0ms (2.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1071108
Fresh000
Picked101
Done000
Total1081109

Merged error: 0b

Counts
109 → 1
Compiler

Compiled 2409 to 1557 computations (35.4% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64_805 add-cbrt-cube_binary64_803
times-frac_binary64_773 add-sqr-sqrt_binary64_789 associate-/l*_binary64_712 *-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
cbrt-undiv_binary64_801 div-exp_binary64_818
frac-2neg_binary64_778 associate-/r*_binary64_711 cbrt-unprod_binary64_800 prod-exp_binary64_816 pow1_binary64_828 add-log-exp_binary64_806 clear-num_binary64_766 div-inv_binary64_764
Counts
1 → 21
Calls

1 calls:

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

series42.0ms (1%)

Counts
1 → 3
Calls

1 calls:

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

simplify95.0ms (2.3%)

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (87.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)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010618
110618

end0.0ms (0%)

sample2.4s (56.5%)

Algorithm
intervals
Results
1.2s4189×body1024valid
414.0ms2096×body512valid
225.0ms481×body2048valid
134.0ms1092×body256valid
102.0ms8000×pre128true
8.0ms142×body128valid
Compiler

Compiled 66 to 53 computations (19.7% saved)

Profiling

Loading profile data...