Details

Time bar (total: 3.1s)

analyze475.0ms (15.2%)

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)

sample2.2s (68.7%)

Results
878.0ms2688×body1024valid
617.0ms1412×body512valid
258.0ms735×body256valid
249.0ms3161×body128valid
127.0ms260×body2048valid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify10.0ms (0.3%)

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.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.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.0b
(/.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))

rewrite77.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
477×log1p-expm1-u_binary64
477×expm1-log1p-u_binary64
334×unpow-prod-down_binary64
258×log-prod_binary64
241×prod-diff_binary64
Counts
1 → 66
Calls

1 calls:

76.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
1988
212508
348948
453218
000
100

simplify125.0ms (4%)

Algorithm
egg-herbie
Rules
1111×fma-neg_binary64
818×unswap-sqr_binary64
754×fma-def_binary64
462×cancel-sign-sub-inv_binary64
454×neg-mul-1_binary64
Counts
78 → 75
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
018110
146106
297104
3229104
4551104
51141104
61839104
72317104
83682104
93797104
104445104
114865104
124972104
134805104

prune37.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh000
Picked011
Done000
Total74276
Error
0b
Counts
76 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (exp.f64 x) (expm1.f64 x))
0.0b
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
Compiler

Compiled 986 to 423 computations (57.1% saved)

localize5.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.0b
(/.f64 (expm1.f64 x) (exp.f64 x))

series25.0ms (0.8%)

Counts
2 → 24
Calls

2 calls:

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

rewrite47.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
Counts
2 → 82
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114016
2163816
3502616
000
100

simplify64.0ms (2%)

Algorithm
egg-herbie
Rules
501×fma-def_binary64
413×distribute-rgt-neg-in_binary64
344×distribute-lft-neg-in_binary64
290×associate-*l*_binary64
271×cancel-sign-sub-inv_binary64
Counts
106 → 98
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
033226
190222
2223216
3650208
42201200
54642200
64996200

prune42.0ms (1.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh000
Picked011
Done011
Total982100
Error
0b
Counts
100 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (exp.f64 x) (expm1.f64 x))
0.0b
(pow.f64 (/.f64 (expm1.f64 x) (exp.f64 x)) -1)
Compiler

Compiled 1135 to 476 computations (58.1% saved)

regimes20.0ms (0.6%)

Accuracy

Total 0.0b remaining (0.7%)

Threshold costs 0.0b (0.7%)

Counts
7 → 1
Compiler

Compiled 176 to 121 computations (31.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end38.0ms (1.2%)

Compiler

Compiled 26 to 18 computations (30.8% saved)

Profiling

Loading profile data...