Details

Time bar (total: 2.6s)

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

Results
926.0ms2800×body1024valid
300.0ms1358×body512valid
281.0ms3193×body128valid
109.0ms653×body256valid
98.0ms252×body2048valid
1.0msbody2048invalid
0.0msbody128invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify7.0ms (0.3%)

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)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series12.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 40
Calls

2 calls:

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

simplify77.0ms (2.9%)

Algorithm
egg-herbie
Rules
942×fma-neg_binary64
666×times-frac_binary64
570×fma-def_binary64
504×cancel-sign-sub-inv_binary64
262×associate-*l*_binary64
Counts
64 → 59
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
082688
1165643
2385641
3904635
42629635
54940635
65241635

prune29.0ms (1.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New58159
Fresh000
Picked011
Done000
Total58260
Error
0b
Counts
60 → 2
Alt Table
StatusErrorProgram
21.2b
(+.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 659 to 252 computations (61.8% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x 1/12 (fma.f64 (pow.f64 x 3) -1/720 1/2))
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 (pow.f64 x 3) -1/720 1/2)

series9.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

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

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

simplify91.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

prune55.0ms (2.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done011
Total82284
Error
0b
Counts
84 → 2
Alt Table
StatusErrorProgram
21.2b
(+.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 1573 to 1235 computations (21.5% saved)

regimes41.0ms (1.6%)

Accuracy

Total 0.0b remaining (3.9%)

Threshold costs 0.0b (3.9%)

Counts
18 → 1
Compiler

Compiled 521 to 373 computations (28.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end43.0ms (1.6%)

Compiler

Compiled 32 to 23 computations (28.1% saved)

Profiling

Loading profile data...