Details

Time bar (total: 5.3s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample4.8s (89.8%)

Results
3.4s4318×body2048valid
845.0ms2030×body1024valid
319.0ms1016×body512valid
94.0ms540×body256valid
33.0ms352×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify27.0ms (0.5%)

Algorithm
egg-herbie
Rules
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
284×cancel-sign-sub-inv_binary64
199×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23613
36013
412213
527213
669713
7169913
8311013
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
28.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
28.8b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
28.8b
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
Compiler

Compiled 53 to 38 computations (28.3% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
4.1b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series4.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

2.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
1.0ms
(-.f64 (exp.f64 x) 2)

rewrite44.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
815×expm1-log1p-u_binary64
536×prod-diff_binary64
92×add-sqr-sqrt_binary64
89×log1p-expm1-u_binary64
88×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0819
118117
2261617
Stop Event
node limit
Counts
2 → 78
Calls

2 calls:

42.0ms
(-.f64 (exp.f64 x) 2)
42.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

simplify28.0ms (0.5%)

Algorithm
egg-herbie
Rules
749×unswap-sqr_binary64
544×associate-*l*_binary64
523×fma-def_binary64
398×associate-*r*_binary64
193×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045198
1115196
2250196
3744191
43163191
Stop Event
node limit
Counts
94 → 96

prune70.0ms (1.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh101
Picked011
Done000
Total96298
Error
0b
Counts
98 → 2
Alt Table
StatusErrorProgram
28.8b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.5b
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))
Compiler

Compiled 1463 to 801 computations (45.2% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/20160 (pow.f64 x 8))
0.0b
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
0.1b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))

series11.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))
4.0ms
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
3.0ms
(*.f64 1/20160 (pow.f64 x 8))

rewrite70.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
476×log-prod_binary64
218×expm1-udef_binary64
218×log1p-udef_binary64
184×log-pow_binary64
152×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
129942
2303942
Stop Event
node limit
Counts
3 → 75
Calls

3 calls:

68.0ms
(*.f64 1/20160 (pow.f64 x 8))
68.0ms
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
68.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))

simplify70.0ms (1.3%)

Algorithm
egg-herbie
Rules
924×fma-def_binary64
472×unswap-sqr_binary64
392×*-commutative_binary64
369×sqr-pow_binary64
244×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017336
137336
281336
3219336
4733336
51611336
63015336
73342336
83527336
93732336
104007336
114363336
124772336
Stop Event
node limit
Counts
99 → 83

prune82.0ms (1.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh000
Picked011
Done011
Total83285
Error
0b
Counts
85 → 2
Alt Table
StatusErrorProgram
28.8b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.5b
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))
Compiler

Compiled 2017 to 1548 computations (23.3% saved)

regimes33.0ms (0.6%)

Accuracy

Total 0.4b remaining (96.4%)

Threshold costs 0.4b (96.4%)

Counts
20 → 1
Compiler

Compiled 484 to 354 computations (26.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11625
Stop Event
saturated

end71.0ms (1.3%)

Compiler

Compiled 66 to 49 computations (25.8% saved)

Profiling

Loading profile data...