Details

Time bar (total: 5.4s)

analyze6.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.7s (86.8%)

Results
3.3s4268×body2048valid
868.0ms2042×body1024valid
300.0ms1074×body512valid
135.0ms516×body256valid
35.0ms356×body128valid
0.0msbody128invalid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess35.0ms (0.7%)

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
011
Stop Event
saturated
node limit
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify23.0ms (0.4%)

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

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 53 to 38 computations (28.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

1.0ms
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
x
0
1.0ms
(+.f64 (exp.f64 (neg.f64 x)) -2)
x
0
1.0ms
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
x
inf
1.0ms
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
x
-inf
0.0ms
(+.f64 (exp.f64 (neg.f64 x)) -2)
x
inf

rewrite42.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
799×expm1-log1p-u_binary64
636×prod-diff_binary64
91×add-sqr-sqrt_binary64
88×log1p-expm1-u_binary64
87×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0821
117915
2258215
Stop Event
node limit
Counts
2 → 69

simplify34.0ms (0.6%)

Algorithm
egg-herbie
Rules
749×unswap-sqr_binary64
623×fma-neg_binary64
554×associate-*l*_binary64
507×fma-def_binary64
411×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
047268
1120260
2265260
3832260
43789259
Stop Event
node limit
Counts
93 → 90

prune60.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New88290
Fresh101
Picked011
Done000
Total89392
Error
0b
Counts
92 → 3
Alt Table
StatusErrorProgram
0.6b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.7b
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))
31.3b
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
Compiler

Compiled 1295 to 822 computations (36.5% saved)

localize12.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series7.0ms (0.1%)

Counts
2 → 12
Calls

6 calls:

1.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
x
-inf
1.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
x
inf
1.0ms
(*.f64 1/20160 (pow.f64 x 8))
x
0
1.0ms
(*.f64 1/20160 (pow.f64 x 8))
x
-inf
1.0ms
(*.f64 1/20160 (pow.f64 x 8))
x
inf

rewrite50.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
314×prod-diff_binary64
236×expm1-udef_binary64
236×log1p-udef_binary64
201×log-pow_binary64
142×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01532
131932
2328832
Stop Event
node limit
Counts
2 → 40

simplify49.0ms (0.9%)

Algorithm
egg-herbie
Rules
508×distribute-rgt-out_binary64
413×unswap-sqr_binary64
378×distribute-lft-out_binary64
312×associate-*l*_binary64
310×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024192
161192
2136192
3384192
41666192
54013192
64358192
74854192
Stop Event
node limit
Counts
52 → 53

prune52.0ms (1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New53053
Fresh011
Picked011
Done011
Total53356
Error
0b
Counts
56 → 3
Alt Table
StatusErrorProgram
0.6b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.7b
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))
31.3b
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
Compiler

Compiled 1173 to 857 computations (26.9% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series11.0ms (0.2%)

Counts
3 → 24
Calls

9 calls:

1.0ms
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
x
-inf
1.0ms
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
x
inf
1.0ms
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))
x
-inf
1.0ms
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))
x
inf
1.0ms
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
x
0

rewrite50.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
869×log1p-expm1-u_binary64
869×expm1-log1p-u_binary64
204×prod-diff_binary64
105×add-sqr-sqrt_binary64
102×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01139
123439
2248039
Stop Event
node limit
Counts
3 → 60

simplify90.0ms (1.7%)

Algorithm
egg-herbie
Rules
1194×fma-def_binary64
374×sqr-pow_binary64
359×*-commutative_binary64
294×distribute-lft-out_binary64
285×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
016312
138312
276312
3192312
4787312
52277312
63387312
73622312
83822312
94073312
104388312
114825312
Stop Event
node limit
Counts
84 → 69

prune59.0ms (1.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done022
Total69372
Error
0b
Counts
72 → 3
Alt Table
StatusErrorProgram
0.6b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
0.7b
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4))))
31.3b
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
Compiler

Compiled 1225 to 913 computations (25.5% saved)

regimes26.0ms (0.5%)

Accuracy

Total 0.5b remaining (97.3%)

Threshold costs 0.5b (97.3%)

Counts
15 → 1
Compiler

Compiled 304 to 228 computations (25% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11625
Stop Event
saturated

end82.0ms (1.5%)

Stop Event
done
Compiler

Compiled 80 to 59 computations (26.3% saved)

Profiling

Loading profile data...