Details

Time bar (total: 2.7s)

analyze496.0ms (18.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.6s (59.3%)

Results
863.0ms2775×body1024valid
283.0ms1332×body512valid
261.0ms3236×body128valid
95.0ms661×body256valid
91.0ms252×body2048valid
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.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 25 to 15 computations (40% saved)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series10.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

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

rewrite38.0ms (1.4%)

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
0511
19911
2129911
Stop Event
node limit
Counts
2 → 103
Calls

2 calls:

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

simplify35.0ms (1.3%)

Algorithm
egg-herbie
Rules
803×unswap-sqr_binary64
534×fma-def_binary64
334×fma-neg_binary64
288×*-commutative_binary64
228×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031180
179176
2190174
3627168
42150168
53971168
Stop Event
node limit
Counts
127 → 120

prune60.0ms (2.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1173120
Fresh000
Picked101
Done000
Total1183121
Error
0.2b
Counts
121 → 3
Alt Table
StatusErrorProgram
21.5b
(+.f64 1/2 (/.f64 1 x))
1.1b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) (exp.f64 x))) 2) -1) (cbrt.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
Compiler

Compiled 1526 to 701 computations (54.1% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)
0.0b
(/.f64 1 (expm1.f64 x))
0.2b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))

series17.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

9.0ms
(/.f64 1 (expm1.f64 x))
8.0ms
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))

rewrite34.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
545×log1p-expm1-u_binary64
545×expm1-log1p-u_binary64
305×log-prod_binary64
156×pow2_binary64
111×pow1/3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
113514
2159514
Stop Event
node limit
Counts
2 → 59
Calls

2 calls:

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

simplify36.0ms (1.3%)

Algorithm
egg-herbie
Rules
596×fma-def_binary64
297×fma-neg_binary64
284×distribute-rgt-neg-in_binary64
284×unswap-sqr_binary64
232×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
023204
163194
2149192
3449192
41199192
52845192
64177192
Stop Event
node limit
Counts
83 → 75

prune59.0ms (2.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1191120
Fresh112
Picked011
Done000
Total1203123
Error
0.2b
Counts
123 → 3
Alt Table
StatusErrorProgram
21.5b
(+.f64 1/2 (/.f64 1 x))
0.5b
(*.f64 (exp.f64 x) (/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))))
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
Compiler

Compiled 1381 to 756 computations (45.3% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)))
0.0b
(+.f64 (exp.f64 x) 1)
0.2b
(*.f64 (exp.f64 x) (/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))))
0.4b
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))

series33.0ms (1.2%)

Counts
4 → 48
Calls

4 calls:

12.0ms
(*.f64 (exp.f64 x) (/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))))
10.0ms
(/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)))
9.0ms
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))
1.0ms
(+.f64 (exp.f64 x) 1)

rewrite54.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
304×prod-diff_binary64
173×fma-def_binary64
168×expm1-udef_binary64
168×log1p-udef_binary64
157×egg-rr
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01056
122123
2313123
Stop Event
node limit
Counts
4 → 157
Calls

4 calls:

52.0ms
(/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)))
52.0ms
(+.f64 (exp.f64 x) 1)
52.0ms
(*.f64 (exp.f64 x) (/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))))
52.0ms
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))

simplify35.0ms (1.3%)

Algorithm
egg-herbie
Rules
699×fma-def_binary64
549×fma-neg_binary64
424×cancel-sign-sub-inv_binary64
407×times-frac_binary64
245×associate-*l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
046596
1130586
2314584
3991573
43070333
Stop Event
node limit
Counts
205 → 188

prune87.0ms (3.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1880188
Fresh011
Picked011
Done011
Total1883191
Error
0.2b
Counts
191 → 3
Alt Table
StatusErrorProgram
21.5b
(+.f64 1/2 (/.f64 1 x))
0.5b
(*.f64 (exp.f64 x) (/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))))
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
Compiler

Compiled 2870 to 1808 computations (37% saved)

localize3.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0.2b
Counts
3 → 3
Alt Table
StatusErrorProgram
21.5b
(+.f64 1/2 (/.f64 1 x))
0.5b
(*.f64 (exp.f64 x) (/.f64 1 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1))))
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
Compiler

Compiled 29 to 21 computations (27.6% saved)

regimes35.0ms (1.3%)

Accuracy

Total 0.1b remaining (19.6%)

Threshold costs 0.1b (19.6%)

Counts
16 → 1
Compiler

Compiled 545 to 379 computations (30.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11011
Stop Event
saturated

end48.0ms (1.8%)

Compiler

Compiled 45 to 33 computations (26.7% saved)

Profiling

Loading profile data...