Details

Time bar (total: 2.5s)

analyze477.0ms (19.3%)

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.7%)

Results
887.0ms2806×body1024valid
287.0ms1337×body512valid
244.0ms3147×body128valid
104.0ms283×body2048valid
101.0ms683×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.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.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.0b
(/.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))

rewrite6.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:

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

simplify66.0ms (2.7%)

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 (1 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh000
Picked011
Done000
Total39241
Error
0b
Counts
41 → 2
Alt Table
StatusErrorProgram
22.1b
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)))
0.0b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 471 to 168 computations (64.3% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)))
0.0b
(fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))
0.0b
(fma.f64 (pow.f64 x 3) -1/720 1/2)

series8.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(fma.f64 (pow.f64 x 3) -1/720 1/2)
2.0ms
(fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))
2.0ms
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×fma-def_binary64
13×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
Counts
3 → 49
Calls

3 calls:

5.0ms
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)))
0.0ms
(fma.f64 (pow.f64 x 3) -1/720 1/2)
0.0ms
(fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))

simplify87.0ms (3.5%)

Algorithm
egg-herbie
Rules
424×times-frac_binary64
415×sub-neg_binary64
402×exp-prod_binary64
311×cancel-sign-sub-inv_binary64
287×*-commutative_binary64
Counts
85 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0651121
1149977
2368977
31874975
43216975
54923975
65036975

prune59.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done011
Total82284
Error
0b
Counts
84 → 2
Alt Table
StatusErrorProgram
22.1b
(+.f64 (/.f64 1 x) (fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2)))
0.0b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 1589 to 1247 computations (21.5% saved)

regimes25.0ms (1%)

Accuracy

Total 0.0b remaining (3.4%)

Threshold costs 0.0b (3.4%)

Counts
11 → 1
Compiler

Compiled 311 to 226 computations (27.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11011
2911

end42.0ms (1.7%)

Compiler

Compiled 36 to 27 computations (25% saved)

Profiling

Loading profile data...