Details

Time bar (total: 5.1s)

analyze21.0ms (0.4%)

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)

sample49.0ms (1%)

Algorithm
intervals
Results
23.0ms64×body1024valid
9.0ms134×body128valid
6.0ms34×body512valid
2.0msbody2048valid
2.0ms19×body256valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify15.0ms (0.3%)

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%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 25 to 16 computations (36% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
3.3b
(-.f64 (log1p.f64 N) (log.f64 N))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
12×prod-diff_binary64
11×add-cube-cbrt_binary64
pow1_binary64
Counts
1 → 39
Calls

1 calls:

4.0ms
(-.f64 (log1p.f64 N) (log.f64 N))

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

simplify144.0ms (2.8%)

Algorithm
egg-herbie
Rules
435×fma-neg_binary64
299×fma-def_binary64
276×associate-*l*_binary64
252×associate-/r*_binary64
244×cancel-sign-sub-inv_binary64
Counts
51 → 86
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0102928
1214635
2600575
32045572
44184572
54526572
64942572
74836572

prune29.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh000
Picked011
Done000
Total83487
Error
0.0b
Counts
87 → 4
Alt Table
StatusErrorProgram
30.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3)) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.8b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
31.2b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
30.3b
(-.f64 (log1p.f64 N) (log.f64 N))
Compiler

Compiled 944 to 339 computations (64.1% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (log1p.f64 N) (log.f64 N))
0.5b
(*.f64 (log.f64 N) (log.f64 N))
0.8b
(pow.f64 (log.f64 N) 3)
3.2b
(-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3))

rewrite50.0ms (1%)

Algorithm
rewrite-expression-head
Rules
168×prod-diff_binary64
129×add-sqr-sqrt_binary64
117×cube-prod_binary64
117×*-un-lft-identity_binary64
117×unpow-prod-down_binary64
Counts
4 → 325
Calls

4 calls:

15.0ms
(-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3))
6.0ms
(*.f64 (log.f64 N) (log.f64 N))
3.0ms
(*.f64 (log1p.f64 N) (log.f64 N))
2.0ms
(pow.f64 (log.f64 N) 3)

series498.0ms (9.7%)

Counts
4 → 44
Calls

4 calls:

241.0ms
(*.f64 (log.f64 N) (log.f64 N))
227.0ms
(pow.f64 (log.f64 N) 3)
23.0ms
(-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3))
6.0ms
(*.f64 (log1p.f64 N) (log.f64 N))

simplify240.0ms (4.7%)

Algorithm
egg-herbie
Rules
435×fma-neg_binary64
340×associate-*r*_binary64
324×fma-def_binary64
304×associate-*l*_binary64
207×+-commutative_binary64
Counts
369 → 674
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04548825
110067476
242337407
350077407

prune243.0ms (4.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New6731674
Fresh112
Picked011
Done011
Total6744678
Error
0b
Counts
678 → 4
Alt Table
StatusErrorProgram
30.9b
(/.f64 (-.f64 (fma.f64 3 (/.f64 (neg.f64 (log.f64 N)) (pow.f64 N 3)) (fma.f64 3 (/.f64 (pow.f64 (log.f64 N) 2) N) (+.f64 (/.f64 (pow.f64 (log.f64 N) 2) (pow.f64 N 3)) (/.f64 1 (pow.f64 N 3))))) (fma.f64 3/2 (/.f64 (pow.f64 (log.f64 N) 2) (*.f64 N N)) (/.f64 (*.f64 -3 (log.f64 N)) (*.f64 N N)))) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3)) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.8b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
30.3b
(-.f64 (log1p.f64 N) (log.f64 N))
Compiler

Compiled 13820 to 5618 computations (59.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
0.1b
(/.f64 1/2 (*.f64 N N))
0.3b
(/.f64 1/3 (pow.f64 N 3))
12.0b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))

rewrite93.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
272×times-frac_binary64
221×add-sqr-sqrt_binary64
210×*-un-lft-identity_binary64
193×add-cube-cbrt_binary64
182×prod-diff_binary64
Counts
4 → 354
Calls

4 calls:

40.0ms
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
13.0ms
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
4.0ms
(/.f64 1/3 (pow.f64 N 3))
3.0ms
(/.f64 1/2 (*.f64 N N))

series39.0ms (0.8%)

Counts
4 → 36
Calls

4 calls:

14.0ms
(/.f64 1/3 (pow.f64 N 3))
10.0ms
(/.f64 1/2 (*.f64 N N))
8.0ms
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
7.0ms
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))

simplify287.0ms (5.6%)

Algorithm
egg-herbie
Rules
484×unswap-sqr_binary64
422×cancel-sign-sub-inv_binary64
401×fma-neg_binary64
306×log-prod_binary64
230×associate-/r*_binary64
Counts
390 → 719
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03136283
16095641
224314805
345244747
447124747
548974747

prune471.0ms (9.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New7190719
Fresh011
Picked011
Done022
Total7194723
Error
0b
Counts
723 → 4
Alt Table
StatusErrorProgram
30.9b
(/.f64 (-.f64 (fma.f64 3 (/.f64 (neg.f64 (log.f64 N)) (pow.f64 N 3)) (fma.f64 3 (/.f64 (pow.f64 (log.f64 N) 2) N) (+.f64 (/.f64 (pow.f64 (log.f64 N) 2) (pow.f64 N 3)) (/.f64 1 (pow.f64 N 3))))) (fma.f64 3/2 (/.f64 (pow.f64 (log.f64 N) 2) (*.f64 N N)) (/.f64 (*.f64 -3 (log.f64 N)) (*.f64 N N)))) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3)) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.8b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
30.3b
(-.f64 (log1p.f64 N) (log.f64 N))
Compiler

Compiled 16424 to 11414 computations (30.5% saved)

localize32.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (log.f64 N) 2)
0.5b
(pow.f64 (log.f64 N) 2)
0.5b
(pow.f64 (log.f64 N) 2)
12.4b
(-.f64 (fma.f64 3 (/.f64 (neg.f64 (log.f64 N)) (pow.f64 N 3)) (fma.f64 3 (/.f64 (pow.f64 (log.f64 N) 2) N) (+.f64 (/.f64 (pow.f64 (log.f64 N) 2) (pow.f64 N 3)) (/.f64 1 (pow.f64 N 3))))) (fma.f64 3/2 (/.f64 (pow.f64 (log.f64 N) 2) (*.f64 N N)) (/.f64 (*.f64 -3 (log.f64 N)) (*.f64 N N))))

rewrite13.0ms (0.3%)

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

2 calls:

3.0ms
(-.f64 (fma.f64 3 (/.f64 (neg.f64 (log.f64 N)) (pow.f64 N 3)) (fma.f64 3 (/.f64 (pow.f64 (log.f64 N) 2) N) (+.f64 (/.f64 (pow.f64 (log.f64 N) 2) (pow.f64 N 3)) (/.f64 1 (pow.f64 N 3))))) (fma.f64 3/2 (/.f64 (pow.f64 (log.f64 N) 2) (*.f64 N N)) (/.f64 (*.f64 -3 (log.f64 N)) (*.f64 N N))))
2.0ms
(pow.f64 (log.f64 N) 2)

series303.0ms (5.9%)

Counts
2 → 20
Calls

2 calls:

235.0ms
(pow.f64 (log.f64 N) 2)
68.0ms
(-.f64 (fma.f64 3 (/.f64 (neg.f64 (log.f64 N)) (pow.f64 N 3)) (fma.f64 3 (/.f64 (pow.f64 (log.f64 N) 2) N) (+.f64 (/.f64 (pow.f64 (log.f64 N) 2) (pow.f64 N 3)) (/.f64 1 (pow.f64 N 3))))) (fma.f64 3/2 (/.f64 (pow.f64 (log.f64 N) 2) (*.f64 N N)) (/.f64 (*.f64 -3 (log.f64 N)) (*.f64 N N))))

simplify110.0ms (2.1%)

Algorithm
egg-herbie
Rules
879×fma-def_binary64
409×distribute-rgt-in_binary64
407×times-frac_binary64
292×cancel-sign-sub-inv_binary64
135×sub-neg_binary64
Counts
73 → 136
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02074599
15284099
217883518
349633518

prune208.0ms (4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2860286
Fresh000
Picked011
Done033
Total2864290
Error
0b
Counts
290 → 4
Alt Table
StatusErrorProgram
30.9b
(/.f64 (-.f64 (fma.f64 3 (/.f64 (neg.f64 (log.f64 N)) (pow.f64 N 3)) (fma.f64 3 (/.f64 (pow.f64 (log.f64 N) 2) N) (+.f64 (/.f64 (pow.f64 (log.f64 N) 2) (pow.f64 N 3)) (/.f64 1 (pow.f64 N 3))))) (fma.f64 3/2 (/.f64 (pow.f64 (log.f64 N) 2) (*.f64 N N)) (/.f64 (*.f64 -3 (log.f64 N)) (*.f64 N N)))) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 N) 3) (pow.f64 (log.f64 N) 3)) (+.f64 (*.f64 (log1p.f64 N) (log1p.f64 N)) (+.f64 (*.f64 (log.f64 N) (log.f64 N)) (*.f64 (log1p.f64 N) (log.f64 N)))))
30.8b
(+.f64 (-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N))) (/.f64 1/3 (pow.f64 N 3)))
30.3b
(-.f64 (log1p.f64 N) (log.f64 N))
Compiler

Compiled 12955 to 6375 computations (50.8% saved)

regimes770.0ms (15%)

Accuracy

Total 0.1b remaining (44.7%)

Threshold costs 0.1b (44.7%)

Compiler

Compiled 16188 to 11708 computations (27.7% saved)

bsearch13.0ms (0.2%)

Compiler

Compiled 8 to 6 computations (25% saved)

simplify4.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
13246
24346
34746
44946
54746

end1.0ms (0%)

Compiler

Compiled 31 to 22 computations (29% saved)

sample1.5s (28.5%)

Algorithm
intervals
Results
537.0ms1983×body1024valid
287.0ms4264×body128valid
174.0ms988×body512valid
109.0ms271×body2048valid
51.0ms494×body256valid
Compiler

Compiled 160 to 100 computations (37.5% saved)

Profiling

Loading profile data...