Details

Time bar (total: 2.7s)

analyze490.0ms (17.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
53.1%46.9%0%6
54.7%45.3%0%7
55.4%44.5%0%8
55.8%44.1%0%9
56%43.9%0%10
56.1%43.8%0%11
56.2%43.8%0%12
56.2%43.8%0%13
56.2%43.7%0%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.4s (50.3%)

Results
630.0ms2651×body1024valid
210.0ms1370×body512valid
196.0ms3296×body128valid
151.0ms2605×body128invalid
80.0ms664×body256valid
75.0ms275×body2048valid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
expm1-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1128
2138
3118

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 25 to 15 computations (40% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.7b
(/.f64 (exp.f64 x) (expm1.f64 x))

series9.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

9.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

3.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))

simplify70.0ms (2.6%)

Algorithm
egg-herbie
Rules
825×fma-def_binary64
587×div-sub_binary64
548×times-frac_binary64
500×fma-neg_binary64
317×distribute-rgt-in_binary64
Counts
41 → 40
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
066559
1130521
2292519
3609519
41403519
54001519
65294519

prune17.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh000
Picked011
Done000
Total38341
Error
0.6b
Counts
41 → 3
Alt Table
StatusErrorProgram
23.9b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
23.1b
(+.f64 1/2 (/.f64 1 x))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 471 to 168 computations (64.3% saved)

localize5.0ms (0.2%)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.6b
Counts
3 → 3
Alt Table
StatusErrorProgram
23.9b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
23.1b
(+.f64 1/2 (/.f64 1 x))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 28 to 21 computations (25% saved)

localize13.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x)))
0.7b
(/.f64 (exp.f64 x) (expm1.f64 x))
1.7b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))

series414.0ms (15.1%)

Counts
2 → 24
Calls

2 calls:

405.0ms
(log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x)))
9.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

1.0ms
(log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x)))
1.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))

simplify164.0ms (6%)

Algorithm
egg-herbie
Rules
685×fma-neg_binary64
536×cancel-sign-sub-inv_binary64
419×fma-def_binary64
412×distribute-rgt-neg-in_binary64
331×sub-neg_binary64
Counts
46 → 48
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056528
1101479
2226473
3532472
41574472
53143472
64718472
74961472
84887472

prune54.0ms (2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh000
Picked011
Done022
Total88391
Error
0.6b
Counts
91 → 3
Alt Table
StatusErrorProgram
23.9b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
23.1b
(+.f64 1/2 (/.f64 1 x))
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 1044 to 399 computations (61.8% saved)

regimes38.0ms (1.4%)

Accuracy

Total 0.1b remaining (19.9%)

Threshold costs 0.1b (19.9%)

Counts
6 → 1
Compiler

Compiled 143 to 100 computations (30.1% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end65.0ms (2.4%)

Compiler

Compiled 32 to 23 computations (28.1% saved)

Profiling

Loading profile data...