Details

Time bar (total: 2.6s)

analyze499.0ms (19.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.7s (63.8%)

Results
900.0ms2760×body1024valid
294.0ms1358×body512valid
244.0ms3160×body128valid
101.0ms710×body256valid
92.0ms268×body2048valid
0.0msbody2048invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1128
2138
Stop Event
saturated
Counts
1 → 2

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)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

rewrite34.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
477×log1p-expm1-u_binary64
477×expm1-log1p-u_binary64
332×unpow-prod-down_binary64
258×log-prod_binary64
131×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
1998
212998
Stop Event
node limit
Counts
1 → 66
Calls

1 calls:

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

simplify33.0ms (1.2%)

Algorithm
egg-herbie
Rules
1089×fma-neg_binary64
754×fma-def_binary64
260×cancel-sign-sub-inv_binary64
211×associate-*l*_binary64
208×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
018110
146106
2101104
3306104
4830104
51782104
63144104
74892104
Stop Event
node limit
Counts
78 → 75

prune34.0ms (1.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New73275
Fresh000
Picked101
Done000
Total74276
Error
0.6b
Counts
76 → 2
Alt Table
StatusErrorProgram
0.8b
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
20.3b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 992 to 438 computations (55.8% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
0.7b
(/.f64 (expm1.f64 x) (exp.f64 x))

series29.0ms (1.1%)

Counts
2 → 24
Calls

2 calls:

22.0ms
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
7.0ms
(/.f64 (expm1.f64 x) (exp.f64 x))

rewrite40.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
625×log1p-expm1-u_binary64
625×expm1-log1p-u_binary64
324×log-prod_binary64
119×expm1-udef_binary64
119×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0719
114116
2176416
Stop Event
node limit
Counts
2 → 82
Calls

2 calls:

38.0ms
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
38.0ms
(/.f64 (expm1.f64 x) (exp.f64 x))

simplify38.0ms (1.4%)

Algorithm
egg-herbie
Rules
499×fma-def_binary64
407×distribute-rgt-neg-in_binary64
346×distribute-lft-neg-in_binary64
293×associate-*l*_binary64
271×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
033226
191222
2237216
3839208
43160200
Stop Event
node limit
Counts
106 → 98

prune40.0ms (1.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh101
Picked011
Done000
Total982100
Error
0b
Counts
100 → 2
Alt Table
StatusErrorProgram
0.0b
(pow.f64 (neg.f64 (expm1.f64 (neg.f64 x))) -1)
0.8b
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
Compiler

Compiled 1143 to 483 computations (57.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (neg.f64 (expm1.f64 (neg.f64 x))) -1)

series17.0ms (0.6%)

Counts
1 → 12
Calls

1 calls:

17.0ms
(pow.f64 (neg.f64 (expm1.f64 (neg.f64 x))) -1)

rewrite34.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
426×log1p-expm1-u_binary64
426×expm1-log1p-u_binary64
382×unpow-prod-down_binary64
221×log-prod_binary64
123×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
11426
217126
Stop Event
node limit
Counts
1 → 46
Calls

1 calls:

34.0ms
(pow.f64 (neg.f64 (expm1.f64 (neg.f64 x))) -1)

simplify29.0ms (1.1%)

Algorithm
egg-herbie
Rules
944×fma-neg_binary64
935×fma-def_binary64
260×unswap-sqr_binary64
248×associate-*l*_binary64
221×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
024134
158130
2122128
3348120
4950120
52295104
64114104
Stop Event
node limit
Counts
58 → 56

prune23.0ms (0.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh000
Picked011
Done011
Total56258
Error
0b
Counts
58 → 2
Alt Table
StatusErrorProgram
0.0b
(pow.f64 (neg.f64 (expm1.f64 (neg.f64 x))) -1)
0.8b
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
Compiler

Compiled 576 to 376 computations (34.7% saved)

regimes28.0ms (1.1%)

Accuracy

Total 0.0b remaining (32.4%)

Threshold costs 0.0b (32.4%)

Counts
13 → 1
Compiler

Compiled 281 to 214 computations (23.8% saved)

simplify2.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
068
198
2118
3128
Stop Event
saturated

end37.0ms (1.4%)

Compiler

Compiled 27 to 22 computations (18.5% saved)

Profiling

Loading profile data...