Details

Time bar (total: 2.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%0%50%4
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample39.0ms (1.4%)

Algorithm
intervals
Results
13.0ms59×body1024valid
9.0ms32×body512valid
8.0ms142×body128valid
2.0msbody2048valid
2.0ms18×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.8b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

2.1b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
4.8b
(log.f64 (+.f64 N 1))

rewrite14.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
11×log-prod_binary64
pow1_binary64 add-sqr-sqrt_binary64
add-cube-cbrt_binary64 log-pow_binary64
cancel-sign-sub-inv_binary64 distribute-lft-out--_binary64 log-div_binary64 associate--l+_binary64
associate--r+_binary64 add-exp-log_binary64
flip3-+_binary64 add-log-exp_binary64 associate--l-_binary64 distribute-lft-out_binary64 add-cbrt-cube_binary64 flip-+_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 rem-log-exp_binary64 difference-of-squares_binary64 flip--_binary64
Counts
2 → 44
Calls

2 calls:

8.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
3.0ms
(log.f64 (+.f64 N 1))

series72.0ms (2.5%)

Counts
2 → 6
Calls

2 calls:

47.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
24.0ms
(log.f64 (+.f64 N 1))

simplify103.0ms (3.7%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
04863664
14863664

prune124.0ms (4.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New48250
Fresh000
Picked101
Done000
Total49251

Merged error: 0.0b

Counts
51 → 2
Compiler

Compiled 1561 to 1180 computations (24.4% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

2.1b
(log.f64 (/.f64 (+.f64 N 1) N))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×log-prod_binary64
15×*-un-lft-identity_binary64
12×times-frac_binary64
add-cube-cbrt_binary64 add-sqr-sqrt_binary64
add-exp-log_binary64
distribute-lft-out_binary64
pow1_binary64 rem-log-exp_binary64
add-log-exp_binary64 log-pow_binary64 add-cbrt-cube_binary64 div-inv_binary64 div-exp_binary64 log-div_binary64
Counts
1 → 27
Calls

1 calls:

5.0ms
(log.f64 (/.f64 (+.f64 N 1) N))

series45.0ms (1.6%)

Counts
1 → 3
Calls

1 calls:

45.0ms
(log.f64 (/.f64 (+.f64 N 1) N))

simplify83.0ms (3%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
04848488
14848488

prune26.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh011
Picked011
Done000
Total30232

Merged error: 0.0b

Counts
32 → 2
Compiler

Compiled 381 to 267 computations (29.9% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3)))
0.7b
(/.f64 1/2 (*.f64 N N))
0.7b
(/.f64 1/3 (pow.f64 N 3))
11.8b
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N)))

rewrite89.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64
45×times-frac_binary64
37×add-sqr-sqrt_binary64
33×add-cube-cbrt_binary64
14×add-exp-log_binary64
13×associate-/r*_binary64
12×unpow-prod-down_binary64 cube-prod_binary64
11×add-log-exp_binary64 add-cbrt-cube_binary64
cancel-sign-sub-inv_binary64
associate-/l*_binary64
distribute-lft-out_binary64 div-inv_binary64 div-exp_binary64
pow1_binary64 sqr-pow_binary64 unpow3_binary64 cube-mult_binary64
cbrt-undiv_binary64 distribute-lft-out--_binary64 frac-sub_binary64
flip3-+_binary64 diff-log_binary64 frac-add_binary64 clear-num_binary64 frac-2neg_binary64 difference-of-squares_binary64 flip-+_binary64 sum-log_binary64
pow-to-exp_binary64 sub-neg_binary64 flip3--_binary64 cbrt-unprod_binary64 prod-exp_binary64 +-commutative_binary64 flip--_binary64 pow-exp_binary64 associate--l+_binary64
Counts
4 → 129
Calls

4 calls:

35.0ms
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N)))
32.0ms
(+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3)))
6.0ms
(/.f64 1/3 (pow.f64 N 3))
5.0ms
(/.f64 1/2 (*.f64 N N))

series186.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

83.0ms
(+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3)))
42.0ms
(/.f64 1/3 (pow.f64 N 3))
33.0ms
(/.f64 1/2 (*.f64 N N))
27.0ms
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N)))

simplify51.0ms (1.8%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051802222

prune159.0ms (5.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1401141
Fresh000
Picked011
Done011
Total1403143

Merged error: 0b

Counts
143 → 3
Compiler

Compiled 2941 to 2047 computations (30.4% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.7b
(/.f64 1/2 (*.f64 N N))
0.7b
(/.f64 1/3 (pow.f64 N 3))
11.8b
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N)))
26.1b
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N))) 3))

rewrite103.0ms (3.7%)

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity_binary64
48×add-sqr-sqrt_binary64
45×times-frac_binary64
36×add-cube-cbrt_binary64
22×cbrt-prod_binary64
20×unpow-prod-down_binary64 cube-prod_binary64
14×add-exp-log_binary64
13×associate-/r*_binary64
11×add-cbrt-cube_binary64
add-log-exp_binary64 distribute-lft-out--_binary64
cancel-sign-sub-inv_binary64
distribute-lft-out_binary64 difference-of-squares_binary64 associate-/l*_binary64 div-inv_binary64 frac-sub_binary64
cbrt-div_binary64 sqr-pow_binary64 cube-div_binary64 div-exp_binary64 unpow3_binary64 cube-mult_binary64
pow1_binary64
cbrt-undiv_binary64
flip3-+_binary64 flip3--_binary64 diff-log_binary64 frac-add_binary64 clear-num_binary64 frac-2neg_binary64 flip--_binary64 flip-+_binary64
pow-to-exp_binary64 sub-neg_binary64 rem-cbrt-cube_binary64 cbrt-unprod_binary64 pow1/3_binary64 prod-exp_binary64 pow-exp_binary64 associate--l+_binary64 sum-log_binary64
Counts
4 → 150
Calls

4 calls:

39.0ms
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N)))
37.0ms
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N))) 3))
6.0ms
(/.f64 1/3 (pow.f64 N 3))
5.0ms
(/.f64 1/2 (*.f64 N N))

series149.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

47.0ms
(/.f64 1/3 (pow.f64 N 3))
40.0ms
(/.f64 1/2 (*.f64 N N))
34.0ms
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N))) 3))
28.0ms
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (/.f64 1/2 (*.f64 N N)))

simplify63.0ms (2.2%)

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
057203368

prune227.0ms (8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1620162
Fresh000
Picked011
Done022
Total1623165

Merged error: 0b

Counts
165 → 3
Compiler

Compiled 3965 to 2875 computations (27.5% saved)

regimes17.0ms (0.6%)

Compiler

Compiled 41 to 34 computations (17.1% saved)

bsearch18.0ms (0.7%)

Steps
ItersRangePoint
10
4.354027438608079
111837815101329.58
10832.711036711009
Compiler

Compiled 1 to 1 computations (0% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03937
13937

end0.0ms (0%)

sample1.2s (42.4%)

Algorithm
intervals
Results
452.0ms2013×body1024valid
242.0ms4225×body128valid
143.0ms1011×body512valid
102.0ms268×body2048valid
45.0ms483×body256valid
Compiler

Compiled 72 to 59 computations (18.1% saved)

Profiling

Loading profile data...