Details

Time bar (total: 5.7s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%74.6%25.4%0
0%74.6%25.4%1
37.3%37.3%25.4%2
37.3%18.7%44%3
46.7%9.3%44%4
46.7%4.7%48.7%5
49%2.3%48.7%6
49%1.2%49.8%7
49.6%0.6%49.8%8
49.9%0.3%49.8%9
49.9%0.1%50%10
49.9%0.1%50.1%11
49.9%0%50.1%12
49.9%0%50.1%13
49.9%0%50.1%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample3.9s (67.5%)

Results
2.4s4170×body1024valid
742.0ms2020×body512valid
296.0ms1050×body256valid
280.0ms450×body2048valid
78.0ms566×body128valid
0.0msbody128invalid
Compiler

Compiled 21 to 16 computations (23.8% saved)

simplify13.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
053
1113
2123
3103

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

Compiled 13 to 9 computations (30.8% saved)

localize3.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(expm1.f64 x)

rewrite80.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
404×log1p-udef_binary64
233×log1p-expm1-u_binary64
233×expm1-log1p-u_binary64
231×add-sqr-sqrt_binary64
215×add-cbrt-cube_binary64
Counts
1 → 39
Calls

1 calls:

79.0ms
(expm1.f64 x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
1563
26213
348173
453953
000
100

simplify81.0ms (1.4%)

Algorithm
egg-herbie
Rules
892×fma-def_binary64
804×unswap-sqr_binary64
614×associate-/l/_binary64
499×distribute-lft-out_binary64
390×*-commutative_binary64
Counts
51 → 47
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02170
15470
211370
328464
478763
5192863
6292663
7313063
8377163
9531163

prune34.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New46147
Fresh000
Picked011
Done000
Total46248
Error
0b
Counts
48 → 2
Alt Table
StatusErrorProgram
49.4b
(*.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (cbrt.f64 (sqrt.f64 (expm1.f64 x))))
0.0b
(expm1.f64 x)
Compiler

Compiled 409 to 225 computations (45% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (expm1.f64 x) 5/2)
0.2b
(*.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (cbrt.f64 (sqrt.f64 (expm1.f64 x))))
0.4b
(cbrt.f64 (sqrt.f64 (expm1.f64 x)))
19.9b
(cbrt.f64 (pow.f64 (expm1.f64 x) 5/2))

series1.2s (21.2%)

Counts
4 → 48
Calls

4 calls:

481.0ms
(cbrt.f64 (pow.f64 (expm1.f64 x) 5/2))
369.0ms
(pow.f64 (expm1.f64 x) 5/2)
365.0ms
(cbrt.f64 (sqrt.f64 (expm1.f64 x)))
4.0ms
(*.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (cbrt.f64 (sqrt.f64 (expm1.f64 x))))

rewrite105.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
635×log1p-expm1-u_binary64
635×expm1-log1p-u_binary64
333×log-prod_binary64
127×expm1-udef_binary64
127×log1p-udef_binary64
Counts
4 → 96
Calls

4 calls:

102.0ms
(pow.f64 (expm1.f64 x) 5/2)
102.0ms
(*.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (cbrt.f64 (sqrt.f64 (expm1.f64 x))))
102.0ms
(cbrt.f64 (sqrt.f64 (expm1.f64 x)))
102.0ms
(cbrt.f64 (pow.f64 (expm1.f64 x) 5/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0936
117721
2168021
3494221
4486021
000
100

simplify94.0ms (1.6%)

Algorithm
egg-herbie
Rules
812×distribute-lft-out_binary64
630×fma-def_binary64
422×unswap-sqr_binary64
419×fabs-mul_binary64
334×associate-*l*_binary64
Counts
144 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
084506
1216500
2458460
3984454
42181454
53625454
64792454
74888454

prune101.0ms (1.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh000
Picked011
Done011
Total1302132
Error
0b
Counts
132 → 2
Alt Table
StatusErrorProgram
49.4b
(*.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (cbrt.f64 (sqrt.f64 (expm1.f64 x))))
0.0b
(expm1.f64 x)
Compiler

Compiled 1817 to 1085 computations (40.3% saved)

regimes36.0ms (0.6%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
6 → 1
Compiler

Compiled 149 to 98 computations (34.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end70.0ms (1.2%)

Compiler

Compiled 20 to 14 computations (30% saved)

Profiling

Loading profile data...