Details

Time bar (total: 4.3s)

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

sample76.0ms (1.8%)

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

Compiled 33 to 27 computations (18.2% saved)

simplify314.0ms (7.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

rewrite34.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
28×log-prod_binary64_509
25×*-un-lft-identity_binary64_423
19×add-sqr-sqrt_binary64_445
15×add-cube-cbrt_binary64_458
14×distribute-rgt-in_binary64_373 distribute-lft-in_binary64_372
pow1_binary64_484
associate--l+_binary64_360 associate-*r*_binary64_363
associate-*l*_binary64_364 add-exp-log_binary64_461 add-cbrt-cube_binary64_459
associate--r+_binary64_359
distribute-lft-out_binary64_374 add-log-exp_binary64_462
pow-prod-down_binary64_494 prod-exp_binary64_472 associate-*l/_binary64_366 *-commutative_binary64_354 log-pow_binary64_512 unswap-sqr_binary64_391 cbrt-unprod_binary64_456
sub-neg_binary64_416 flip-+_binary64_397 diff-log_binary64_515 cancel-sign-sub-inv_binary64_389 flip3--_binary64_427 flip3-+_binary64_426 flip--_binary64_398
Counts
3 → 81
Calls

3 calls:

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

series250.0ms (5.8%)

Counts
3 → 9
Calls

3 calls:

110.0ms
(*.f64 n (log.f64 n))
104.0ms
(-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n)))
35.0ms
(*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1)))

simplify76.0ms (1.8%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049811539
149811539

prune439.0ms (10.1%)

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 8230 to 5785 computations (29.7% saved)

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

rewrite64.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64_423
31×distribute-lft-out--_binary64_375
29×add-log-exp_binary64_462
23×add-sqr-sqrt_binary64_445
21×cancel-sign-sub-inv_binary64_389
17×diff-log_binary64_515
12×associate--l+_binary64_360
10×pow1_binary64_484
add-cube-cbrt_binary64_458
add-exp-log_binary64_461 add-cbrt-cube_binary64_459
log-pow_binary64_512 difference-of-squares_binary64_392
distribute-lft-out_binary64_374
times-frac_binary64_429 associate--r+_binary64_359
sub-neg_binary64_416 flip3--_binary64_427 flip--_binary64_398 frac-sub_binary64_432 sum-log_binary64_514
associate-/l*_binary64_368
flip-+_binary64_397 flip3-+_binary64_426 associate--r-_binary64_362 cbrt-undiv_binary64_457 div-exp_binary64_474
associate--l-_binary64_361 prod-exp_binary64_472 clear-num_binary64_422 frac-2neg_binary64_434 difference-of-sqr-1_binary64_393 div-inv_binary64_420 associate-/r*_binary64_367 cbrt-unprod_binary64_456
Counts
3 → 99
Calls

3 calls:

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

series102.0ms (2.4%)

Counts
3 → 9
Calls

3 calls:

36.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)
31.0ms
(/.f64 1/6 (*.f64 n n))

simplify70.0ms (1.6%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
054352430

prune123.0ms (2.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1062108
Fresh000
Picked101
Done000
Total1072109

Merged error: 0b

Counts
109 → 2
Compiler

Compiled 2422 to 1567 computations (35.3% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

1.4b
(/.f64 -1/6 (*.f64 n n))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64_461 add-cbrt-cube_binary64_459
*-un-lft-identity_binary64_423 times-frac_binary64_429 add-cube-cbrt_binary64_458 add-sqr-sqrt_binary64_445 associate-/l*_binary64_368
cbrt-undiv_binary64_457 div-exp_binary64_474
prod-exp_binary64_472 pow1_binary64_484 clear-num_binary64_422 frac-2neg_binary64_434 add-log-exp_binary64_462 div-inv_binary64_420 associate-/r*_binary64_367 cbrt-unprod_binary64_456
Counts
1 → 21
Calls

1 calls:

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

series31.0ms (0.7%)

Counts
1 → 3
Calls

1 calls:

30.0ms
(/.f64 -1/6 (*.f64 n n))

simplify95.0ms (2.2%)

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
04794212
14794212

prune24.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New24024
Fresh011
Picked011
Done000
Total24226

Merged error: 0b

Counts
26 → 2
Compiler

Compiled 393 to 277 computations (29.5% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64_461 add-cbrt-cube_binary64_459
*-un-lft-identity_binary64_423 times-frac_binary64_429 add-cube-cbrt_binary64_458 add-sqr-sqrt_binary64_445 associate-/l*_binary64_368
cbrt-undiv_binary64_457 div-exp_binary64_474
prod-exp_binary64_472 pow1_binary64_484 clear-num_binary64_422 frac-2neg_binary64_434 add-log-exp_binary64_462 div-inv_binary64_420 associate-/r*_binary64_367 cbrt-unprod_binary64_456
Counts
1 → 21
Calls

1 calls:

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

series32.0ms (0.7%)

Counts
1 → 3
Calls

1 calls:

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

simplify95.0ms (2.2%)

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
04794212
14794212

prune20.0ms (0.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New24024
Fresh000
Picked011
Done011
Total24226

Merged error: 0b

Counts
26 → 2
Compiler

Compiled 357 to 221 computations (38.1% saved)

regimes10.0ms (0.2%)

Compiler

Compiled 27 to 21 computations (22.2% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010618
110618

end0.0ms (0%)

sample2.4s (55.5%)

Algorithm
intervals
Results
1.3s4282×body1024valid
405.0ms2032×body512valid
214.0ms438×body2048valid
136.0ms1100×body256valid
102.0ms8000×pre128true
9.0ms148×body128valid
Compiler

Compiled 79 to 63 computations (20.3% saved)

Profiling

Loading profile data...