Details

Time bar (total: 2.6s)

analyze523.0ms (20%)

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

Results
910.0ms2707×body1024valid
324.0ms1383×body512valid
281.0ms3241×body128valid
102.0ms265×body2048valid
101.0ms660×body256valid
1.0msbody2048invalid
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))

series8.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

rewrite8.0ms (0.3%)

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:

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

simplify69.0ms (2.6%)

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

prune17.0ms (0.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh000
Picked101
Done000
Total39241
Error
0.2b
Counts
41 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
23.0b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 465 to 164 computations (64.7% saved)

localize10.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series16.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

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

rewrite15.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
20×times-frac_binary64
19×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×associate-*r*_binary64
Counts
2 → 71
Calls

2 calls:

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

simplify79.0ms (3%)

Algorithm
egg-herbie
Rules
955×fma-neg_binary64
461×fma-def_binary64
435×associate-/l*_binary64
309×associate-/l/_binary64
278×distribute-rgt-in_binary64
Counts
95 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0841002
1180897
2435895
3857895
42060895
54338895
64886895

prune39.0ms (1.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh011
Picked011
Done000
Total1062108
Error
0.2b
Counts
108 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
23.0b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 1332 to 658 computations (50.6% saved)

localize7.0ms (0.3%)

prune1.0ms (0%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0.2b
Counts
2 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
23.0b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes18.0ms (0.7%)

Accuracy

Total 0.1b remaining (19.7%)

Threshold costs 0.1b (19.7%)

Counts
7 → 1
Compiler

Compiled 179 to 130 computations (27.4% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11011
2911

end43.0ms (1.6%)

Compiler

Compiled 30 to 23 computations (23.3% saved)

Profiling

Loading profile data...