Details

Time bar (total: 2.5s)

analyze488.0ms (19.7%)

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.7s (68.1%)

Results
894.0ms2803×body1024valid
293.0ms1339×body512valid
256.0ms3140×body128valid
122.0ms314×body2048valid
98.0ms660×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
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.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 1 expressions with local error:

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

series9.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

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

simplify75.0ms (3%)

Algorithm
egg-herbie
Rules
825×fma-def_binary64
587×div-sub_binary64
548×times-frac_binary64
500×fma-neg_binary64
317×distribute-rgt-in_binary64
Counts
41 → 40
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
066559
1130521
2292519
3609519
41403519
54001519
65294519

prune18.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh000
Picked011
Done000
Total38341
Error
0.2b
Counts
41 → 3
Alt Table
StatusErrorProgram
25.0b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
20.8b
(+.f64 1/2 (/.f64 1 x))
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 471 to 168 computations (64.3% saved)

localize3.0ms (0.1%)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.2b
Counts
3 → 3
Alt Table
StatusErrorProgram
25.0b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
20.8b
(+.f64 1/2 (/.f64 1 x))
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 28 to 21 computations (25% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
1.8b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))

series9.0ms (0.4%)

Counts
1 → 12
Calls

1 calls:

9.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))

simplify77.0ms (3.1%)

Algorithm
egg-herbie
Rules
1212×fma-neg_binary64
773×fma-def_binary64
449×distribute-rgt-in_binary64
424×cancel-sign-sub-inv_binary64
327×distribute-lft-in_binary64
Counts
23 → 26
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
032242
158221
2121217
3273217
4644217
51382217
62395217
74117217
84653217
95002217

prune21.0ms (0.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh000
Picked011
Done022
Total66369
Error
0.2b
Counts
69 → 3
Alt Table
StatusErrorProgram
25.0b
(expm1.f64 (log1p.f64 (/.f64 (exp.f64 x) (expm1.f64 x))))
20.8b
(+.f64 1/2 (/.f64 1 x))
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 805 to 307 computations (61.9% saved)

regimes19.0ms (0.8%)

Accuracy

Total 0.1b remaining (19.6%)

Threshold costs 0.1b (19.6%)

Counts
6 → 1
Compiler

Compiled 143 to 100 computations (30.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end47.0ms (1.9%)

Compiler

Compiled 32 to 23 computations (28.1% saved)

Profiling

Loading profile data...