Details

Time bar (total: 2.8s)

analyze93.0ms (3.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07111
17111
011
111
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)

sample37.0ms (1.3%)

Algorithm
intervals
Results
15.0ms71×body1024valid
7.0ms123×body128valid
5.0ms37×body512valid
4.0ms10×body2048valid
1.0ms15×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.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: 32.9b

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.4b
(log.f64 (+.f64 N 1))
3.0b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))

rewrite16.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64_78
11×log-prod_binary64_164
add-sqr-sqrt_binary64_100 pow1_binary64_139
add-cube-cbrt_binary64_113 log-pow_binary64_167
distribute-lft-out--_binary64_30 associate--l+_binary64_15 log-div_binary64_165 cancel-sign-sub-inv_binary64_44
associate--r+_binary64_14 add-exp-log_binary64_116
add-cbrt-cube_binary64_114 add-log-exp_binary64_117 flip-+_binary64_52 distribute-lft-out_binary64_29 associate--l-_binary64_16 flip3-+_binary64_81
flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 rem-log-exp_binary64_119 difference-of-squares_binary64_47 sub-neg_binary64_71
Counts
2 → 44
Calls

2 calls:

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

series41.0ms (1.4%)

Counts
2 → 6
Calls

2 calls:

28.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
13.0ms
(log.f64 (+.f64 N 1))

simplify92.0ms (3.2%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
04935668
14935668

prune55.0ms (1.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New47350
Fresh000
Picked101
Done000
Total48351

Merged error: 0.0b

Counts
51 → 3
Compiler

Compiled 673 to 438 computations (34.9% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N))
0.1b
(/.f64 1/3 (pow.f64 N 3))
0.4b
(/.f64 1/2 (*.f64 N N))
11.0b
(-.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)) (/.f64 1/2 (*.f64 N N)))

rewrite84.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64_78
45×times-frac_binary64_84
37×add-sqr-sqrt_binary64_100
33×add-cube-cbrt_binary64_113
14×add-exp-log_binary64_116
13×associate-/r*_binary64_22
12×unpow-prod-down_binary64_157 cube-prod_binary64_106
11×add-cbrt-cube_binary64_114 add-log-exp_binary64_117
cancel-sign-sub-inv_binary64_44
associate-/l*_binary64_23
div-exp_binary64_129 div-inv_binary64_75 distribute-lft-out_binary64_29
cube-mult_binary64_108 sqr-pow_binary64_50 unpow3_binary64_144 pow1_binary64_139
cbrt-undiv_binary64_112 frac-sub_binary64_87 distribute-lft-out--_binary64_30
frac-add_binary64_86 flip-+_binary64_52 diff-log_binary64_170 frac-2neg_binary64_89 difference-of-squares_binary64_47 clear-num_binary64_77 sum-log_binary64_169 flip3-+_binary64_81
+-commutative_binary64_8 pow-exp_binary64_146 pow-to-exp_binary64_147 cbrt-unprod_binary64_111 prod-exp_binary64_127 flip3--_binary64_82 associate--l+_binary64_15 flip--_binary64_53 sub-neg_binary64_71
Counts
4 → 129
Calls

4 calls:

36.0ms
(-.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)) (/.f64 1/2 (*.f64 N N)))
28.0ms
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N))
5.0ms
(/.f64 1/3 (pow.f64 N 3))
4.0ms
(/.f64 1/2 (*.f64 N N))

series94.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

38.0ms
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N))
25.0ms
(/.f64 1/3 (pow.f64 N 3))
16.0ms
(/.f64 1/2 (*.f64 N N))
14.0ms
(-.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)) (/.f64 1/2 (*.f64 N N)))

simplify50.0ms (1.8%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
049522250
149522250

prune156.0ms (5.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh022
Picked011
Done000
Total1404144

Merged error: 0.0b

Counts
144 → 4
Compiler

Compiled 2958 to 2049 computations (30.7% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (+.f64 N 1) N)
2.9b
(log.f64 (/.f64 (+.f64 N 1) N))

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity_binary64_78
24×times-frac_binary64_84
19×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
16×log-prod_binary64_164
add-exp-log_binary64_116 distribute-lft-out_binary64_29
add-cbrt-cube_binary64_114 associate-/l*_binary64_23
associate-/r*_binary64_22 pow1_binary64_139
add-log-exp_binary64_117 div-exp_binary64_129 div-inv_binary64_75 rem-log-exp_binary64_119 associate-/l/_binary64_25
cbrt-undiv_binary64_112 flip-+_binary64_52 frac-2neg_binary64_89 log-div_binary64_165 clear-num_binary64_77 log-pow_binary64_167 flip3-+_binary64_81
Counts
2 → 60
Calls

2 calls:

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

series50.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

27.0ms
(/.f64 (+.f64 N 1) N)
23.0ms
(log.f64 (/.f64 (+.f64 N 1) N))

simplify58.0ms (2.1%)

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05161940

prune50.0ms (1.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh112
Picked101
Done011
Total66470

Merged error: 0.0b

Counts
70 → 4
Compiler

Compiled 825 to 559 computations (32.2% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (/.f64 (+.f64 N 1) N))
0.0b
(sqrt.f64 (/.f64 (+.f64 N 1) N))
2.9b
(log.f64 (sqrt.f64 (/.f64 (+.f64 N 1) N)))
2.9b
(log.f64 (sqrt.f64 (/.f64 (+.f64 N 1) N)))

rewrite34.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
64×sqrt-prod_binary64_94
62×*-un-lft-identity_binary64_78
50×times-frac_binary64_84
44×add-sqr-sqrt_binary64_100
38×add-cube-cbrt_binary64_113 log-prod_binary64_164
12×distribute-lft-out_binary64_29
10×pow1_binary64_139
add-exp-log_binary64_116 log-pow_binary64_167
add-cbrt-cube_binary64_114 add-log-exp_binary64_117 sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 div-inv_binary64_75 sqrt-div_binary64_95 pow1/2_binary64_158
rem-log-exp_binary64_119 log-div_binary64_165
Counts
4 → 118
Calls

4 calls:

7.0ms
(sqrt.f64 (/.f64 (+.f64 N 1) N))
6.0ms
(log.f64 (sqrt.f64 (/.f64 (+.f64 N 1) N)))
5.0ms
(log.f64 (sqrt.f64 (/.f64 (+.f64 N 1) N)))
5.0ms
(sqrt.f64 (/.f64 (+.f64 N 1) N))

series96.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

30.0ms
(log.f64 (sqrt.f64 (/.f64 (+.f64 N 1) N)))
29.0ms
(log.f64 (sqrt.f64 (/.f64 (+.f64 N 1) N)))
18.0ms
(sqrt.f64 (/.f64 (+.f64 N 1) N))
18.0ms
(sqrt.f64 (/.f64 (+.f64 N 1) N))

simplify76.0ms (2.7%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049282350
149282350

prune152.0ms (5.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh022
Picked011
Done011
Total1304134

Merged error: 0.0b

Counts
134 → 4
Compiler

Compiled 2826 to 2059 computations (27.1% saved)

regimes93.0ms (3.3%)

Compiler

Compiled 650 to 525 computations (19.2% saved)

bsearch1.0ms (0%)

Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05047
15047

end0.0ms (0%)

sample1.5s (51.3%)

Algorithm
intervals
Results
449.0ms2085×body1024valid
228.0ms4198×body128valid
132.0ms940×body512valid
104.0ms285×body2048valid
44.0ms492×body256valid
Compiler

Compiled 337 to 272 computations (19.3% saved)

Profiling

Loading profile data...