Details

Time bar (total: 3.3s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%25%12.5%4
68.7%12.5%18.8%5
71.8%6.2%21.9%6
73.4%3.1%23.5%7
74.2%1.6%24.3%8
74.6%0.8%24.6%9
75%0.4%24.6%10
75.1%0.2%24.7%11
75.1%0.1%24.8%12
75.1%0%24.8%13
75.2%0%24.8%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.3s (70.8%)

Results
1.4s2760×body1024valid
357.0ms1408×body512valid
290.0ms3172×body128valid
155.0ms621×body256valid
116.0ms295×body2048valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify18.0ms (0.5%)

Algorithm
egg-herbie
Rules
95×fma-def_binary64
80×fma-neg_binary64
32×distribute-rgt-in_binary64
27×cancel-sign-sub-inv_binary64
26×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1156
2186
3226
4306
5386
6576
7866
81136
91546
102246
112616
122976
133006
142636

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 (expm1.f64 x) x)
Compiler

Compiled 21 to 13 computations (38.1% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite4.0ms (0.1%)

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 → 30
Calls

1 calls:

2.0ms
(/.f64 (expm1.f64 x) x)

simplify59.0ms (1.8%)

Algorithm
egg-herbie
Rules
665×times-frac_binary64
337×associate-/l*_binary64
285×fma-def_binary64
269×associate-*l*_binary64
256×fma-neg_binary64
Counts
42 → 42
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
076468
1144440
2345437
3884430
44051430
55063430

prune28.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New39342
Fresh000
Picked101
Done000
Total40343
Error
0b
Counts
43 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 1 (/.f64 x (expm1.f64 x)))
0.2b
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
24.2b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
Compiler

Compiled 456 to 184 computations (59.6% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series13.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

8.0ms
(/.f64 x (expm1.f64 x))
4.0ms
(/.f64 1 (/.f64 x (expm1.f64 x)))

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
52×*-un-lft-identity_binary64
52×add-sqr-sqrt_binary64
52×add-cube-cbrt_binary64
16×associate-/r*_binary64
Counts
2 → 107
Calls

2 calls:

4.0ms
(/.f64 1 (/.f64 x (expm1.f64 x)))
2.0ms
(/.f64 x (expm1.f64 x))

simplify101.0ms (3%)

Algorithm
egg-herbie
Rules
475×fma-def_binary64
424×associate-/l/_binary64
353×distribute-rgt-in_binary64
343×distribute-lft-in_binary64
257×fma-neg_binary64
Counts
131 → 153
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01311825
12541614
26621580
317391565
445031565
549421565

prune76.0ms (2.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh022
Picked011
Done000
Total1533156
Error
0b
Counts
156 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 1 (/.f64 x (expm1.f64 x)))
0.2b
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
24.2b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
Compiler

Compiled 2084 to 861 computations (58.7% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series84.0ms (2.5%)

Counts
2 → 12
Calls

2 calls:

51.0ms
(sqrt.f64 (/.f64 (expm1.f64 x) x))
32.0ms
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))

rewrite29.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt_binary64
79×sqrt-prod_binary64
58×times-frac_binary64
41×*-un-lft-identity_binary64
41×add-cube-cbrt_binary64
Counts
2 → 122
Calls

2 calls:

14.0ms
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
2.0ms
(sqrt.f64 (/.f64 (expm1.f64 x) x))

simplify138.0ms (4.2%)

Algorithm
egg-herbie
Rules
516×associate-/r/_binary64
364×fma-def_binary64
251×unswap-sqr_binary64
232×distribute-rgt-in_binary64
226×distribute-lft-in_binary64
Counts
134 → 170
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01611751
12631648
28401611
318861544
443321544
550061544

prune131.0ms (4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2930293
Fresh011
Picked011
Done011
Total2933296
Error
0b
Counts
296 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 1 (/.f64 x (expm1.f64 x)))
0.2b
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
24.2b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
Compiler

Compiled 5016 to 1119 computations (77.7% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
0.1b
(fma.f64 x 1/6 1/2)

series8.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

6.0ms
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
2.0ms
(fma.f64 x 1/6 1/2)

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
2 → 20
Calls

2 calls:

0.0ms
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
0.0ms
(fma.f64 x 1/6 1/2)

simplify100.0ms (3%)

Algorithm
egg-herbie
Rules
590×distribute-rgt-out_binary64
503×sqr-pow_binary64
365×*-commutative_binary64
298×distribute-rgt-in_binary64
294×distribute-lft-in_binary64
Counts
44 → 49
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036413
155342
2110341
3337341
41484341
52130341
62811341
73949341
84978341
94992341
104895341

prune34.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New49049
Fresh000
Picked011
Done022
Total49352
Error
0b
Counts
52 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 1 (/.f64 x (expm1.f64 x)))
0.2b
(*.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))
24.2b
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
Compiler

Compiled 533 to 406 computations (23.8% saved)

regimes54.0ms (1.6%)

Accuracy

Total 0.0b remaining (75.7%)

Threshold costs 0.0b (75.7%)

Counts
27 → 1
Compiler

Compiled 443 to 317 computations (28.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
189
279

end46.0ms (1.4%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

Profiling

Loading profile data...