Details

Time bar (total: 3.8s)

analyze39.0ms (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 9 to 7 computations (22.2% saved)

sample86.0ms (2.3%)

Algorithm
intervals
Results
32.0ms56×body1024valid
17.0ms143×body128valid
12.0msbody2048valid
9.0ms26×body512valid
4.0ms22×body256valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify23.0ms (0.6%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
1128
2178
3248
4318
5488
6738
7938
81108
91208
101248
111268
121128

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
27.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
27.6b
(-.f64 (log1p.f64 N) (log.f64 N))
Compiler

Compiled 25 to 16 computations (36% saved)

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 N)
2.5b
(-.f64 (log1p.f64 N) (log.f64 N))

series11.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

6.0ms
(-.f64 (log1p.f64 N) (log.f64 N))
5.0ms
(log1p.f64 N)

rewrite15.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
12×prod-diff_binary64
12×add-cube-cbrt_binary64
pow1_binary64
Counts
2 → 50
Calls

2 calls:

9.0ms
(-.f64 (log1p.f64 N) (log.f64 N))
1.0ms
(log1p.f64 N)

simplify160.0ms (4.2%)

Algorithm
egg-herbie
Rules
849×fma-neg_binary64
443×fma-def_binary64
358×sub-neg_binary64
331×associate-*l*_binary64
273×associate-*r*_binary64
Counts
74 → 89
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01281171
1285854
2840790
32888783
44203783
54702779
64961779
74814779

prune81.0ms (2.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New86389
Fresh000
Picked011
Done000
Total86490
Error
0.0b
Counts
90 → 4
Alt Table
StatusErrorProgram
27.6b
(-.f64 (-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
28.0b
(log.f64 (/.f64 (+.f64 1 N) N))
27.6b
(-.f64 (log1p.f64 N) (log.f64 N))
33.2b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
Compiler

Compiled 1305 to 540 computations (58.6% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 N)
0.0b
(log.f64 (sqrt.f64 N))
0.0b
(-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N)))
2.4b
(-.f64 (-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))

series67.0ms (1.8%)

Counts
3 → 0
Calls

3 calls:

27.0ms
(-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N)))
24.0ms
(-.f64 (-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
16.0ms
(log.f64 (sqrt.f64 N))

rewrite70.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
79×*-un-lft-identity_binary64
72×prod-diff_binary64
62×add-sqr-sqrt_binary64
61×log-pow_binary64
48×pow1_binary64
Counts
3 → 171
Calls

3 calls:

25.0ms
(-.f64 (-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
10.0ms
(-.f64 (log1p.f64 N) (log.f64 (sqrt.f64 N)))
3.0ms
(log.f64 (sqrt.f64 N))

simplify381.0ms (10%)

Algorithm
egg-herbie
Rules
600×fma-def_binary64
376×associate-*l*_binary64
375×fma-neg_binary64
317×associate-*r*_binary64
290×log-prod_binary64
Counts
171 → 197
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01564289
12692484
28172027
331922025
441052019
547981604
648131604
749761604
849871604
949281604

prune214.0ms (5.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2522254
Fresh022
Picked101
Done101
Total2544258
Error
0.0b
Counts
258 → 4
Alt Table
StatusErrorProgram
28.0b
(log.f64 (/.f64 (+.f64 1 N) N))
27.6b
(-.f64 (+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N)))) (log.f64 (sqrt.f64 N)))
27.5b
(-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
33.2b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
Compiler

Compiled 5350 to 1415 computations (73.6% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N)))
0.0b
(log.f64 (sqrt.f64 N))
0.4b
(/.f64 (+.f64 1 N) (sqrt.f64 N))
2.7b
(-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))

series87.0ms (2.3%)

Counts
3 → 8
Calls

3 calls:

40.0ms
(-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
27.0ms
(log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N)))
20.0ms
(/.f64 (+.f64 1 N) (sqrt.f64 N))

rewrite72.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
106×*-un-lft-identity_binary64
72×times-frac_binary64
66×add-sqr-sqrt_binary64
64×add-cube-cbrt_binary64
62×log-prod_binary64
Counts
3 → 178
Calls

3 calls:

22.0ms
(-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
15.0ms
(/.f64 (+.f64 1 N) (sqrt.f64 N))
7.0ms
(log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N)))

simplify200.0ms (5.3%)

Algorithm
egg-herbie
Rules
999×fma-neg_binary64
737×fma-def_binary64
237×cancel-sign-sub-inv_binary64
209×distribute-rgt-in_binary64
183×sub-neg_binary64
Counts
186 → 237
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02243901
14543388
213093089
338462812
446802810
549932810

prune149.0ms (3.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2601261
Fresh033
Picked011
Done000
Total2605265
Error
0.0b
Counts
265 → 5
Alt Table
StatusErrorProgram
28.0b
(log.f64 (/.f64 (+.f64 1 N) N))
27.6b
(-.f64 (+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N)))) (log.f64 (sqrt.f64 N)))
28.1b
(exp.f64 (log.f64 (-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))))
27.5b
(-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
33.2b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
Compiler

Compiled 5298 to 2643 computations (50.1% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 N)
0.0b
(log.f64 (sqrt.f64 N))
0.0b
(+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N))))
2.4b
(-.f64 (+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N)))) (log.f64 (sqrt.f64 N)))

series25.0ms (0.7%)

Counts
2 → 0
Calls

2 calls:

13.0ms
(-.f64 (+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N)))) (log.f64 (sqrt.f64 N)))
11.0ms
(+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N))))

rewrite28.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity_binary64
36×prod-diff_binary64
35×log-pow_binary64
30×distribute-lft-out_binary64
30×pow1_binary64
Counts
2 → 113
Calls

2 calls:

12.0ms
(-.f64 (+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N)))) (log.f64 (sqrt.f64 N)))
6.0ms
(+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N))))

simplify185.0ms (4.9%)

Algorithm
egg-herbie
Rules
668×unsub-neg_binary64
459×fma-neg_binary64
405×distribute-rgt-in_binary64
337×distribute-lft-in_binary64
292×sub-neg_binary64
Counts
113 → 114
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01313622
12861950
211191659
330991594
438951594
544731594
649421141
747711141

prune98.0ms (2.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh033
Picked011
Done011
Total1955200
Error
0.0b
Counts
200 → 5
Alt Table
StatusErrorProgram
28.0b
(log.f64 (/.f64 (+.f64 1 N) N))
27.6b
(-.f64 (+.f64 (log1p.f64 N) (neg.f64 (log.f64 (sqrt.f64 N)))) (log.f64 (sqrt.f64 N)))
28.1b
(exp.f64 (log.f64 (-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))))
27.5b
(-.f64 (log.f64 (/.f64 (+.f64 1 N) (sqrt.f64 N))) (log.f64 (sqrt.f64 N)))
33.2b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
Compiler

Compiled 3691 to 966 computations (73.8% saved)

regimes88.0ms (2.3%)

Accuracy

Total 0.0b remaining (28.1%)

Threshold costs 0.0b (28.1%)

Counts
40 → 2
Compiler

Compiled 980 to 612 computations (37.6% saved)

bsearch15.0ms (0.4%)

Steps
ItersRangePoint
8
790.2198404473061
395905.25614255416
6013.484448010823
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02346
13146
24146
34546
44746
54546

end1.0ms (0%)

Compiler

Compiled 31 to 22 computations (29% saved)

sample1.7s (43.5%)

Algorithm
intervals
Results
601.0ms2042×body1024valid
324.0ms4223×body128valid
260.0ms1006×body512valid
105.0ms231×body2048valid
62.0ms498×body256valid
Compiler

Compiled 102 to 72 computations (29.4% saved)

Profiling

Loading profile data...