Details

Time bar (total: 2.4s)

analyze455.0ms (18.9%)

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 (65%)

Results
810.0ms2684×body1024valid
276.0ms1342×body512valid
248.0ms3256×body128valid
106.0ms312×body2048valid
94.0ms662×body256valid
0.0msbody128invalid
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))

series7.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

rewrite34.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
058
1998
212998
Stop Event
node limit
Counts
1 → 66
Calls

1 calls:

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

simplify32.0ms (1.3%)

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

prune41.0ms (1.7%)

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
(*.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))
20.5b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 1002 to 442 computations (55.9% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series24.0ms (1%)

Counts
3 → 36
Calls

3 calls:

11.0ms
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x)))
7.0ms
(*.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))
6.0ms
(/.f64 1 (expm1.f64 x))

rewrite42.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
713×log1p-expm1-u_binary64
713×expm1-log1p-u_binary64
141×expm1-udef_binary64
141×log1p-udef_binary64
82×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0927
117624
2209424
Stop Event
node limit
Counts
3 → 67
Calls

3 calls:

40.0ms
(/.f64 1 (expm1.f64 x))
40.0ms
(*.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))
40.0ms
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x)))

simplify34.0ms (1.4%)

Algorithm
egg-herbie
Rules
636×fma-neg_binary64
458×cancel-sign-sub-inv_binary64
436×fma-def_binary64
371×distribute-rgt-neg-in_binary64
279×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038367
1107329
2273323
3834321
42106321
53968321
Stop Event
node limit
Counts
103 → 90

prune39.0ms (1.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New90090
Fresh011
Picked011
Done000
Total90292
Error
0.6b
Counts
92 → 2
Alt Table
StatusErrorProgram
0.8b
(*.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))
20.5b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 1191 to 532 computations (55.3% saved)

localize3.0ms (0.1%)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0.6b
Counts
2 → 2
Alt Table
StatusErrorProgram
0.8b
(*.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 1 (expm1.f64 x))))
20.5b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 19 to 13 computations (31.6% saved)

regimes71.0ms (2.9%)

Accuracy

Total 0.1b remaining (18.9%)

Threshold costs 0.1b (18.9%)

Counts
36 → 1
Compiler

Compiled 1019 to 772 computations (24.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
/-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11211
Stop Event
saturated

end40.0ms (1.6%)

Compiler

Compiled 35 to 25 computations (28.6% saved)

Profiling

Loading profile data...