Details

Time bar (total: 4.5s)

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)

sample72.0ms (1.6%)

Algorithm
intervals
Results
38.0ms128×body1024valid
15.0ms79×body512valid
4.0ms34×body256valid
4.0msbody2048valid
3.0ms256×pre128true
0.0msbody128valid
Compiler

Compiled 33 to 27 computations (18.2% saved)

simplify328.0ms (7.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (228.0ms)

IterNodesCost
0609423

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)

localize9.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))
6.6b
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))

rewrite32.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
28×log-prod_binary64_505
25×*-un-lft-identity_binary64_419
19×add-sqr-sqrt_binary64_441
15×add-cube-cbrt_binary64_454
14×distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368
pow1_binary64_480
associate--l+_binary64_356 associate-*r*_binary64_359
associate-*l*_binary64_360 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
associate--r+_binary64_355
add-log-exp_binary64_458 distribute-lft-out_binary64_370
associate-*l/_binary64_362 pow-prod-down_binary64_490 unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 log-pow_binary64_508 *-commutative_binary64_350
flip3-+_binary64_422 sub-neg_binary64_412 flip3--_binary64_423 flip-+_binary64_393 diff-log_binary64_511 flip--_binary64_394 cancel-sign-sub-inv_binary64_385
Counts
3 → 81
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))

series150.0ms (3.3%)

Counts
3 → 9
Calls

3 calls:

74.0ms
(*.f64 n (log.f64 n))
55.0ms
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))
20.0ms
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))

simplify81.0ms (1.8%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
054291549

prune296.0ms (6.6%)

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 1943 to 1225 computations (37% saved)

localize10.0ms (0.2%)

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

rewrite61.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64_419
31×distribute-lft-out--_binary64_371
29×add-log-exp_binary64_458
23×add-sqr-sqrt_binary64_441
21×cancel-sign-sub-inv_binary64_385
17×diff-log_binary64_511
12×associate--l+_binary64_356
10×pow1_binary64_480
add-cube-cbrt_binary64_454
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
difference-of-squares_binary64_388 log-pow_binary64_508
distribute-lft-out_binary64_370
times-frac_binary64_425 associate--r+_binary64_355
sub-neg_binary64_412 sum-log_binary64_510 flip3--_binary64_423 flip--_binary64_394 frac-sub_binary64_428
associate-/l*_binary64_364
flip3-+_binary64_422 associate--r-_binary64_358 flip-+_binary64_393 div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 difference-of-sqr-1_binary64_389 div-inv_binary64_416 prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-2neg_binary64_430 associate--l-_binary64_357 associate-/r*_binary64_363
Counts
3 → 99
Calls

3 calls:

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

series58.0ms (1.3%)

Counts
3 → 9
Calls

3 calls:

20.0ms
(-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n)))
20.0ms
(-.f64 (-.f64 (+.f64 1 (/.f64 1/2 n)) (-.f64 (/.f64 1/6 (*.f64 n n)) (log.f64 n))) 1)
17.0ms
(/.f64 1/6 (*.f64 n n))

simplify84.0ms (1.9%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049232430
149232430

prune111.0ms (2.5%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1071108
Fresh000
Picked101
Done000
Total1081109

Merged error: 0b

Counts
109 → 1
Compiler

Compiled 2355 to 1515 computations (35.7% saved)

localize10.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
*-un-lft-identity_binary64_419 times-frac_binary64_425 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 associate-/l*_binary64_364
div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 add-log-exp_binary64_458 div-inv_binary64_416 prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-2neg_binary64_430 associate-/r*_binary64_363 pow1_binary64_480
Counts
1 → 21
Calls

1 calls:

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

series18.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

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

simplify83.0ms (1.9%)

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
04679212
14679212

prune18.0ms (0.4%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New24024
Fresh000
Picked011
Done000
Total24125

Merged error: 0b

Counts
25 → 1
Compiler

Compiled 357 to 221 computations (38.1% saved)

regimes151.0ms (3.4%)

Compiler

Compiled 1939 to 1453 computations (25.1% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010618
110618

end0.0ms (0%)

sample2.9s (64.4%)

Algorithm
intervals
Results
1.3s4288×body1024valid
395.0ms2019×body512valid
215.0ms470×body2048valid
127.0ms1054×body256valid
105.0ms8000×pre128true
10.0ms169×body128valid
Compiler

Compiled 681 to 513 computations (24.7% saved)

Profiling

Loading profile data...