Details

Time bar (total: 3.9s)

analyze1.0ms (0%)

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)

sample2.0s (52%)

Results
889.0ms2092×body1024valid
531.0ms4378×body128valid
311.0ms1038×body512valid
155.0ms259×body2048valid
105.0ms489×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify10.0ms (0.2%)

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

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
28.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
28.1b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
Compiler

Compiled 29 to 20 computations (31% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.9b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
2.9b
(log.f64 (+.f64 N 1))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite38.0ms (1%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
17×add-sqr-sqrt_binary64
17×pow1_binary64
16×prod-diff_binary64
15×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

32.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
2.0ms
(log.f64 (+.f64 N 1))

simplify126.0ms (3.2%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
411×sub-neg_binary64
349×associate-*l*_binary64
292×associate-*r*_binary64
272×unswap-sqr_binary64
Counts
92 → 115
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01501267
1325980
2951974
33284974
44236974
54663968
64951968
74833968

prune63.0ms (1.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1123115
Fresh000
Picked101
Done000
Total1133116
Error
0.0b
Counts
116 → 3
Alt Table
StatusErrorProgram
28.1b
(/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
33.8b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
28.1b
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
Compiler

Compiled 1820 to 1016 computations (44.2% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N))
2.4b
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
2.9b
(log.f64 (sqrt.f64 (+.f64 N 1)))

series21.0ms (0.5%)

Counts
3 → 20
Calls

3 calls:

10.0ms
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
7.0ms
(log.f64 (sqrt.f64 (+.f64 N 1)))
3.0ms
(-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N))

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary64
17×log-prod_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×pow1_binary64
Counts
3 → 88
Calls

3 calls:

8.0ms
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
4.0ms
(-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N))
3.0ms
(log.f64 (sqrt.f64 (+.f64 N 1)))

simplify206.0ms (5.3%)

Algorithm
egg-herbie
Rules
1881×fma-neg_binary64
482×associate-*l*_binary64
404×associate-*r*_binary64
267×times-frac_binary64
265×distribute-rgt-in_binary64
Counts
108 → 164
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
01901764
14661631
213821609
345241490
447411319
548091319
648901295
749831295
849921279
963951279

prune99.0ms (2.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1640164
Fresh022
Picked011
Done000
Total1643167
Error
0.0b
Counts
167 → 3
Alt Table
StatusErrorProgram
28.1b
(/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
33.8b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
28.1b
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
Compiler

Compiled 3287 to 1992 computations (39.4% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
0.5b
(*.f64 (log.f64 N) (log.f64 N))
1.9b
(-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N)))
2.9b
(log.f64 (+.f64 N 1))

series59.0ms (1.5%)

Counts
3 → 36
Calls

3 calls:

33.0ms
(*.f64 (log.f64 N) (log.f64 N))
20.0ms
(/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
7.0ms
(-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N)))

rewrite60.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64
36×pow1_binary64
28×times-frac_binary64
28×add-sqr-sqrt_binary64
26×log-pow_binary64
Counts
3 → 127
Calls

3 calls:

40.0ms
(/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
6.0ms
(-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N)))
3.0ms
(*.f64 (log.f64 N) (log.f64 N))

simplify154.0ms (4%)

Algorithm
egg-herbie
Rules
365×fma-neg_binary64
309×sub-neg_binary64
253×fma-def_binary64
240×associate-+r+_binary64
212×+-commutative_binary64
Counts
163 → 216
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03676363
110355193
238604862
349554861
450524861

prune286.0ms (7.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3522354
Fresh011
Picked101
Done011
Total3534357
Error
0.0b
Counts
357 → 4
Alt Table
StatusErrorProgram
33.8b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
28.7b
(exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))))
33.9b
(/.f64 (+.f64 (*.f64 2 (/.f64 (log.f64 N) N)) (-.f64 (/.f64 1 (*.f64 N N)) (/.f64 (log.f64 N) (*.f64 N N)))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
28.1b
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
Compiler

Compiled 12582 to 7734 computations (38.5% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (log.f64 N) (log.f64 N))
0.7b
(exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))))
1.9b
(-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N)))
2.9b
(log.f64 (+.f64 N 1))

series22.0ms (0.6%)

Counts
1 → 12
Calls

1 calls:

22.0ms
(exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))))

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
34×exp-sum_binary64
34×log-prod_binary64
30×*-un-lft-identity_binary64
28×times-frac_binary64
18×pow1_binary64
Counts
1 → 49
Calls

1 calls:

9.0ms
(exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))))

simplify120.0ms (3.1%)

Algorithm
egg-herbie
Rules
724×times-frac_binary64
375×fma-neg_binary64
203×cancel-sign-sub-inv_binary64
194×sub-neg_binary64
187×associate-+r+_binary64
Counts
61 → 80
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02814373
17283618
225003306
348173305
450663305

prune244.0ms (6.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3411342
Fresh022
Picked101
Done011
Total3424346
Error
0.0b
Counts
346 → 4
Alt Table
StatusErrorProgram
33.9b
(/.f64 (+.f64 (*.f64 2 (/.f64 (log.f64 N) N)) (-.f64 (/.f64 1 (*.f64 N N)) (/.f64 (log.f64 N) (*.f64 N N)))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))
28.8b
(pow.f64 (E.f64) (log.f64 (/.f64 (-.f64 (*.f64 (log.f64 (+.f64 N 1)) (log.f64 (+.f64 N 1))) (*.f64 (log.f64 N) (log.f64 N))) (+.f64 (log.f64 (+.f64 N 1)) (log.f64 N)))))
33.8b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
28.1b
(+.f64 (log.f64 (sqrt.f64 (+.f64 N 1))) (-.f64 (*.f64 1/2 (log1p.f64 N)) (log.f64 N)))
Compiler

Compiled 12747 to 7928 computations (37.8% saved)

regimes185.0ms (4.8%)

Accuracy

Total 0.1b remaining (51.4%)

Threshold costs 0.1b (51.4%)

Counts
46 → 2
Compiler

Compiled 1331 to 927 computations (30.4% saved)

bsearch1.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% 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
02048
13048
24148
34548
44748
54548

end84.0ms (2.2%)

Compiler

Compiled 143 to 97 computations (32.2% saved)

Profiling

Loading profile data...