Details

Time bar (total: 6.1s)

analyze5.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.9s (80.8%)

Results
3.4s4282×body2048valid
934.0ms2029×body1024valid
307.0ms1059×body512valid
92.0ms502×body256valid
45.0ms384×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify58.0ms (1%)

Algorithm
egg-herbie
Rules
819×div-sub_binary64
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23513
35713
411213
522313
648113
789013
8157013
9477813
10581513

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
34.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
34.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

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

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×prod-diff_binary64
18×add-cube-cbrt_binary64
13×associate-+l+_binary64
Counts
2 → 69
Calls

2 calls:

7.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
5.0ms
(-.f64 (exp.f64 x) 2)

simplify83.0ms (1.4%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
326×fma-def_binary64
296×distribute-rgt-in_binary64
282×distribute-lft-in_binary64
268×distribute-rgt-out_binary64
Counts
85 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01451174
1295959
2717942
32801932
44435932
54838932

prune75.0ms (1.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1113114
Fresh000
Picked011
Done000
Total1114115
Error
0.0b
Counts
115 → 4
Alt Table
StatusErrorProgram
0.8b
(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)))))
34.8b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
1.1b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
34.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 2139 to 1220 computations (43% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0b
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))
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.1b
(*.f64 1/20160 (pow.f64 x 8))

series18.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

5.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
5.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)))))
4.0ms
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))
3.0ms
(*.f64 1/20160 (pow.f64 x 8))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
add-exp-log_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
4 → 57
Calls

4 calls:

4.0ms
(*.f64 1/20160 (pow.f64 x 8))
0.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)))))
0.0ms
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))
0.0ms
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))

simplify74.0ms (1.2%)

Algorithm
egg-herbie
Rules
946×fma-def_binary64
610×associate-+r+_binary64
610×associate-+l+_binary64
262×associate-*l*_binary64
230×associate-*r*_binary64
Counts
93 → 84
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01011505
11721382
24181364
317071364
455761364

prune82.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh022
Picked011
Done011
Total84488
Error
0.0b
Counts
88 → 4
Alt Table
StatusErrorProgram
0.8b
(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)))))
34.8b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
1.1b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
34.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 1995 to 1487 computations (25.5% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/12 (pow.f64 x 4))

series3.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

3.0ms
(*.f64 1/12 (pow.f64 x 4))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
unpow-prod-down_binary64
*-un-lft-identity_binary64
Counts
1 → 27
Calls

1 calls:

4.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify58.0ms (1%)

Algorithm
egg-herbie
Rules
532×associate-/l*_binary64
527×unswap-sqr_binary64
465×associate-/l/_binary64
448×associate-/r/_binary64
442×fma-def_binary64
Counts
27 → 34
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
054293
196281
2205263
3560263
4940257
51988252
64944252
74866252

prune34.0ms (0.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh011
Picked011
Done022
Total34438
Error
0.0b
Counts
38 → 4
Alt Table
StatusErrorProgram
0.8b
(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)))))
34.8b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
1.1b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
34.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 566 to 393 computations (30.6% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4))
0.1b
(pow.f64 (exp.f64 x) 3)
0.3b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
3.8b
(+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8)))))

series104.0ms (1.7%)

Counts
4 → 40
Calls

4 calls:

74.0ms
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
14.0ms
(+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8)))))
9.0ms
(*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4))
7.0ms
(pow.f64 (exp.f64 x) 3)

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
12×add-cbrt-cube_binary64
add-exp-log_binary64
Counts
4 → 93
Calls

4 calls:

6.0ms
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
5.0ms
(*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4))
3.0ms
(+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8)))))
2.0ms
(pow.f64 (exp.f64 x) 3)

simplify139.0ms (2.3%)

Algorithm
egg-herbie
Rules
483×fma-neg_binary64
321×exp-prod_binary64
317×unswap-sqr_binary64
224×associate-*l*_binary64
211×cancel-sign-sub-inv_binary64
Counts
133 → 163
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02003661
14953044
222542963
340262963
449252963
549422963

prune164.0ms (2.7%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1621163
Fresh000
Picked011
Done033
Total1625167
Error
0b
Counts
167 → 5
Alt Table
StatusErrorProgram
0.8b
(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)))))
34.8b
(/.f64 (+.f64 4 (*.f64 (exp.f64 x) (+.f64 2 (+.f64 (exp.f64 x) (-.f64 (pow.f64 (exp.f64 x) 3) 8))))) (*.f64 (exp.f64 x) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4)))
1.1b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
34.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
34.5b
(/.f64 (/.f64 (fma.f64 (exp.f64 x) (+.f64 (+.f64 (exp.f64 x) (pow.f64 (exp.f64 x) 3)) -6) 4) (exp.f64 x)) (fma.f64 (exp.f64 x) (+.f64 2 (exp.f64 x)) 4))
Compiler

Compiled 5872 to 3489 computations (40.6% saved)

regimes71.0ms (1.2%)

Accuracy

Total 0.5b remaining (97.9%)

Threshold costs 0.5b (97.9%)

Counts
32 → 1
Compiler

Compiled 1494 to 984 computations (34.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11625
21625

end104.0ms (1.7%)

Compiler

Compiled 130 to 88 computations (32.3% saved)

Profiling

Loading profile data...