Details

Time bar (total: 3.3s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%25%12.5%4
68.7%12.5%18.8%5
71.8%6.2%21.9%6
73.4%3.1%23.5%7
74.2%1.6%24.3%8
74.6%0.8%24.6%9
75%0.4%24.6%10
75.1%0.2%24.7%11
75.1%0.1%24.8%12
75.1%0%24.8%13
75.2%0%24.8%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.2s (65.7%)

Results
1.3s2690×body1024valid
291.0ms1368×body512valid
275.0ms3169×body128valid
114.0ms754×body256valid
105.0ms275×body2048valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify15.0ms (0.5%)

Algorithm
egg-herbie
Rules
95×fma-def_binary64
80×fma-neg_binary64
32×distribute-rgt-in_binary64
27×cancel-sign-sub-inv_binary64
26×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1156
2186
3226
4306
5386
6576
7866
81136
91546
102246
112616
122976
133006
142636

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 (expm1.f64 x) x)
Compiler

Compiled 21 to 13 computations (38.1% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite76.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
768×log1p-udef_binary64
417×log1p-expm1-u_binary64
417×expm1-log1p-u_binary64
357×pow1_binary64
289×unpow-prod-down_binary64
Counts
1 → 61
Calls

1 calls:

75.0ms
(/.f64 (expm1.f64 x) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
1826
210766
348006
462806
000
100

simplify76.0ms (2.3%)

Algorithm
egg-herbie
Rules
538×unswap-sqr_binary64
529×associate-*l*_binary64
501×fma-neg_binary64
484×fma-def_binary64
348×associate-/l*_binary64
Counts
73 → 71
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02691
16789
214086
332779
474876
5224876
6456976
7495076
8500076
9491376

prune36.0ms (1.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh000
Picked011
Done000
Total70272
Error
0b
Counts
72 → 2
Alt Table
StatusErrorProgram
1.8b
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 2))
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 761 to 369 computations (51.5% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
0.0b
(sqrt.f64 (/.f64 (expm1.f64 x) x))
1.8b
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 2))
3.9b
(log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)))

series535.0ms (16.2%)

Counts
3 → 12
Calls

3 calls:

237.0ms
(sqrt.f64 (/.f64 (expm1.f64 x) x))
234.0ms
(log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)))
64.0ms
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 2))

rewrite115.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
696×log1p-expm1-u_binary64
696×expm1-log1p-u_binary64
134×expm1-udef_binary64
134×log1p-udef_binary64
127×log-pow_binary64
Counts
3 → 111
Calls

3 calls:

113.0ms
(sqrt.f64 (/.f64 (expm1.f64 x) x))
113.0ms
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 2))
113.0ms
(log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
116024
2184624
3491624
000
100

simplify51.0ms (1.5%)

Algorithm
egg-herbie
Rules
799×fma-def_binary64
741×cancel-sign-sub-inv_binary64
603×fma-neg_binary64
501×associate-*l*_binary64
468×unswap-sqr_binary64
Counts
123 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045148
1113140
2277131
3776111
42409111
55053111

prune117.0ms (3.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2020202
Fresh000
Picked011
Done011
Total2022204
Error
0b
Counts
204 → 2
Alt Table
StatusErrorProgram
1.8b
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x))) 2))
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 2616 to 1425 computations (45.5% saved)

regimes49.0ms (1.5%)

Accuracy

Total 0.0b remaining (33.8%)

Threshold costs 0.0b (33.8%)

Counts
19 → 1
Compiler

Compiled 329 to 251 computations (23.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
146

end37.0ms (1.1%)

Compiler

Compiled 25 to 17 computations (32% saved)

Profiling

Loading profile data...