Details

Time bar (total: 3.8s)

analyze14.0ms (0.4%)

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)

sample81.0ms (2.1%)

Algorithm
intervals
Results
42.0ms140×body1024valid
16.0ms62×body512valid
8.0ms15×body2048valid
4.0ms35×body256valid
3.0ms256×pre128true
0.0msbody128valid
Compiler

Compiled 33 to 27 computations (18.2% saved)

simplify291.0ms (7.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
0523823

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)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.3b
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))
0.3b
(*.f64 n (log.f64 n))
6.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_497
25×*-un-lft-identity_binary64_414
19×add-sqr-sqrt_binary64_435
15×add-cube-cbrt_binary64_446
14×distribute-lft-in_binary64_365 distribute-rgt-in_binary64_366
pow1_binary64_472
associate--l+_binary64_353 associate-*r*_binary64_356
add-exp-log_binary64_449 add-cbrt-cube_binary64_447 associate-*l*_binary64_357
associate--r+_binary64_352
add-log-exp_binary64_450 distribute-lft-out_binary64_367
associate-*l/_binary64_359 log-pow_binary64_500 *-commutative_binary64_347 prod-exp_binary64_460 pow-prod-down_binary64_482 unswap-sqr_binary64_382 cbrt-unprod_binary64_444
flip3--_binary64_418 flip3-+_binary64_417 diff-log_binary64_503 sub-neg_binary64_407 flip-+_binary64_388 flip--_binary64_389
Counts
3 → 80
Calls

3 calls:

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

series268.0ms (7.1%)

Counts
3 → 9
Calls

3 calls:

124.0ms
(*.f64 n (log.f64 n))
108.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)))

simplify74.0ms (2%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050731541

prune107.0ms (2.8%)

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)

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.4b
(/.f64 1/6 (*.f64 n n))

rewrite57.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity_binary64_414
29×add-log-exp_binary64_450
27×distribute-lft-out--_binary64_368
17×diff-log_binary64_503
11×add-sqr-sqrt_binary64_435
add-exp-log_binary64_449 add-cbrt-cube_binary64_447
pow1_binary64_472
distribute-lft-out_binary64_367
associate--l+_binary64_353 add-cube-cbrt_binary64_446
flip3--_binary64_418 log-pow_binary64_500 frac-sub_binary64_423 sub-neg_binary64_407 flip--_binary64_389 sum-log_binary64_502
times-frac_binary64_420 difference-of-squares_binary64_383 associate-/l*_binary64_361
flip3-+_binary64_417 cbrt-undiv_binary64_445 flip-+_binary64_388 associate--r-_binary64_355 div-exp_binary64_462
clear-num_binary64_413 associate--l-_binary64_354 div-inv_binary64_411 prod-exp_binary64_460 associate--r+_binary64_352 frac-2neg_binary64_425 difference-of-sqr-1_binary64_384 cbrt-unprod_binary64_444 associate-/r*_binary64_360
Counts
3 → 78
Calls

3 calls:

26.0ms
(-.f64 (-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n))) 1)
18.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))

series106.0ms (2.8%)

Counts
3 → 9
Calls

3 calls:

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

simplify71.0ms (1.9%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049972202
149972202

prune102.0ms (2.7%)

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.4b
(/.f64 1/6 (*.f64 n n))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64_449 add-cbrt-cube_binary64_447
times-frac_binary64_420 add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414 associate-/l*_binary64_361 add-sqr-sqrt_binary64_435
cbrt-undiv_binary64_445 div-exp_binary64_462
clear-num_binary64_413 pow1_binary64_472 div-inv_binary64_411 prod-exp_binary64_460 add-log-exp_binary64_450 frac-2neg_binary64_425 cbrt-unprod_binary64_444 associate-/r*_binary64_360
Counts
1 → 21
Calls

1 calls:

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

series32.0ms (0.8%)

Counts
1 → 3
Calls

1 calls:

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

simplify93.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.4s (63%)

Algorithm
intervals
Results
1.3s4282×body1024valid
398.0ms2032×body512valid
210.0ms438×body2048valid
136.0ms1100×body256valid
106.0ms8000×pre128true
9.0ms148×body128valid
Compiler

Compiled 66 to 53 computations (19.7% saved)

Profiling

Loading profile data...