Details

Time bar (total: 2.6s)

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

Results
821.0ms1989×body1024valid
540.0ms4418×body128valid
312.0ms1057×body512valid
176.0ms271×body2048valid
104.0ms521×body256valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess16.0ms (0.6%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1128
2178
3248
4338
5508
6878
71238
81648
92008
102268
112288
011
Stop Event
saturated
saturated
Compiler

Compiled 8 to 6 computations (25% saved)

simplify12.0ms (0.5%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
1128
2178
3248
4338
5508
6878
71238
81648
92008
102268
112288
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 25 to 16 computations (36% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

1.0ms
(-.f64 (log1p.f64 N) (log.f64 N))
N
-inf
1.0ms
(-.f64 (log1p.f64 N) (log.f64 N))
N
inf
1.0ms
(-.f64 (log1p.f64 N) (log.f64 N))
N
0

rewrite35.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
581×pow1_binary64
541×add-log-exp_binary64
541×expm1-log1p-u_binary64
540×log1p-expm1-u_binary64
529×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
11068
214498
Stop Event
node limit
Counts
1 → 35

simplify23.0ms (0.9%)

Algorithm
egg-herbie
Rules
736×fma-neg_binary64
511×cancel-sign-sub-inv_binary64
415×times-frac_binary64
223×fma-def_binary64
191×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034186
194184
2235184
3685181
42172181
Stop Event
node limit
Counts
47 → 49

prune43.0ms (1.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New46349
Fresh000
Picked101
Done000
Total47350
Error
0.0b
Counts
50 → 3
Alt Table
StatusErrorProgram
32.0b
(-.f64 (+.f64 (/.f64 1 N) (*.f64 1/3 (/.f64 1 (pow.f64 N 3)))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 N 4))) (*.f64 1/2 (/.f64 1 (pow.f64 N 2)))))
30.8b
(/.f64 1 N)
29.4b
(log.f64 (/.f64 (+.f64 N 1) N))
Compiler

Compiled 699 to 344 computations (50.8% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 N 1) N)
2.8b
(log.f64 (/.f64 (+.f64 N 1) N))

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

1.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
N
-inf
1.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
N
inf
1.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
N
0
1.0ms
(/.f64 (+.f64 N 1) N)
N
-inf
1.0ms
(/.f64 (+.f64 N 1) N)
N
inf

rewrite44.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
680×pow1_binary64
635×log1p-expm1-u_binary64
635×expm1-log1p-u_binary64
634×add-log-exp_binary64
64×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
112715
2170315
Stop Event
node limit
Counts
2 → 60

simplify26.0ms (1%)

Algorithm
egg-herbie
Rules
736×fma-neg_binary64
511×cancel-sign-sub-inv_binary64
415×times-frac_binary64
223×fma-def_binary64
191×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035255
196253
2237253
3689250
42177250
Stop Event
node limit
Counts
84 → 76

prune30.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New75176
Fresh112
Picked011
Done000
Total76379
Error
0.0b
Counts
79 → 3
Alt Table
StatusErrorProgram
31.9b
(+.f64 (/.f64 1 N) (+.f64 (/.f64 -1/2 (*.f64 N N)) (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))))
30.8b
(/.f64 1 N)
29.4b
(log.f64 (/.f64 (+.f64 N 1) N))
Compiler

Compiled 884 to 538 computations (39.1% saved)

localize2.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.0b
Counts
3 → 3
Alt Table
StatusErrorProgram
31.9b
(+.f64 (/.f64 1 N) (+.f64 (/.f64 -1/2 (*.f64 N N)) (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))))
30.8b
(/.f64 1 N)
29.4b
(log.f64 (/.f64 (+.f64 N 1) N))
Compiler

Compiled 55 to 42 computations (23.6% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 -1/4 (pow.f64 N 4))
0.5b
(/.f64 1/3 (pow.f64 N 3))
0.8b
(/.f64 -1/2 (*.f64 N N))
21.5b
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))

series13.0ms (0.5%)

Counts
4 → 24
Calls

12 calls:

2.0ms
(/.f64 -1/4 (pow.f64 N 4))
N
0
1.0ms
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))
N
0
1.0ms
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))
N
-inf
1.0ms
(+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))
N
inf
1.0ms
(/.f64 1/3 (pow.f64 N 3))
N
0

rewrite65.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
938×prod-diff_binary64
154×add-sqr-sqrt_binary64
150×add-log-exp_binary64
150×log1p-expm1-u_binary64
150×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01437
133135
2415335
Stop Event
node limit
Counts
4 → 125

simplify31.0ms (1.2%)

Algorithm
egg-herbie
Rules
388×distribute-neg-frac_binary64
375×times-frac_binary64
340×fma-def_binary64
315×associate-*l*_binary64
242×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021249
147249
295249
3216249
4772249
53566249
Stop Event
node limit
Counts
149 → 131

prune93.0ms (3.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh000
Picked011
Done022
Total1313134
Error
0.0b
Counts
134 → 3
Alt Table
StatusErrorProgram
31.9b
(+.f64 (/.f64 1 N) (+.f64 (/.f64 -1/2 (*.f64 N N)) (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 -1/4 (pow.f64 N 4)))))
30.8b
(/.f64 1 N)
29.4b
(log.f64 (/.f64 (+.f64 N 1) N))
Compiler

Compiled 3482 to 2633 computations (24.4% saved)

regimes58.0ms (2.3%)

Accuracy

Total 0.0b remaining (1.5%)

Threshold costs 0.0b (1.5%)

Counts
21 → 2
Compiler

Compiled 594 to 452 computations (23.9% saved)

bsearch1.0ms (0%)

Algorithm
left-value
Calls

1 calls:

0.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
Steps
ItersPointRange
0.00037743709491433464
∈ [
0.00037743709491433464
,
1.1257989073736718
]
Compiler

Compiled 8 to 6 computations (25% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02754
13554
23954
34154
44254
Stop Event
saturated

end64.0ms (2.5%)

Stop Event
done
Compiler

Compiled 107 to 81 computations (24.3% saved)

Profiling

Loading profile data...