Details

Time bar (total: 4.3s)

analyze18.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%23.7%76.3%0
0%23.7%76.3%1
11.9%11.9%76.3%2
17.8%5.9%76.3%3
20.8%3%76.3%4
22.2%1.5%76.3%5
23%0.7%76.3%6
23.3%0.4%76.3%7
23.3%0.4%76.3%8
23.4%0.3%76.3%9
23.5%0.2%76.3%10
23.5%0.2%76.3%11
23.5%0.2%76.3%12
23.6%0.2%76.3%13
23.6%0.1%76.3%14
Compiler

Compiled 19 to 14 computations (26.3% saved)

sample4.0s (93.3%)

Results
2.5s4401×body1024valid
805.0ms2096×body512valid
345.0ms475×body2048valid
274.0ms1103×body256valid
27.0ms181×body128valid
Compiler

Compiled 54 to 40 computations (25.9% saved)

simplify34.0ms (0.8%)

Algorithm
egg-herbie
Rules
898×fma-def_binary64
818×fma-neg_binary64
335×distribute-rgt-in_binary64
291×distribute-lft-in_binary64
157×distribute-neg-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01023
12618
26218
315018
434617
568517
6118417
7206317
8273017
9315717
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 51 to 31 computations (39.2% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 n) (fma.f64 n (-.f64 (log.f64 n) (log1p.f64 n)) 1))
1.4b
(fma.f64 n (-.f64 (log.f64 n) (log1p.f64 n)) 1)
4.4b
(-.f64 (log.f64 n) (log1p.f64 n))

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (log1p.f64 n) (fma.f64 n (-.f64 (log.f64 n) (log1p.f64 n)) 1))
3.0ms
(fma.f64 n (-.f64 (log.f64 n) (log1p.f64 n)) 1)
3.0ms
(-.f64 (log.f64 n) (log1p.f64 n))

rewrite55.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
915×expm1-log1p-u_binary64
803×prod-diff_binary64
121×egg-rr
86×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0837
117037
2235637
Stop Event
node limit
Counts
3 → 121
Calls

3 calls:

53.0ms
(-.f64 (log1p.f64 n) (fma.f64 n (-.f64 (log.f64 n) (log1p.f64 n)) 1))
53.0ms
(fma.f64 n (-.f64 (log.f64 n) (log1p.f64 n)) 1)
53.0ms
(-.f64 (log.f64 n) (log1p.f64 n))

simplify33.0ms (0.8%)

Algorithm
egg-herbie
Rules
569×cancel-sign-sub-inv_binary64
419×fma-neg_binary64
350×sub-neg_binary64
278×associate-*l*_binary64
263×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
080563
1244531
2730525
32326523
Stop Event
node limit
Counts
157 → 166

prune69.0ms (1.6%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1651166
Fresh000
Picked101
Done000
Total1661167
Error
0b
Counts
167 → 1
Alt Table
StatusErrorProgram
0b
(-.f64 (log1p.f64 n) (/.f64 1/2 n))
Compiler

Compiled 3451 to 1535 computations (55.5% saved)

localize4.0ms (0.1%)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Error
0b
Counts
1 → 1
Alt Table
StatusErrorProgram
0b
(-.f64 (log1p.f64 n) (/.f64 1/2 n))
Compiler

Compiled 7 to 5 computations (28.6% saved)

regimes17.0ms (0.4%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
4 → 1
Compiler

Compiled 199 to 139 computations (30.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-neg-frac_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
189
2169
3189
4199
Stop Event
saturated

end31.0ms (0.7%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

Profiling

Loading profile data...