Details

Time bar (total: 7.6s)

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 (64.5%)

Results
3.4s4383×body2048valid
898.0ms2024×body1024valid
323.0ms1035×body512valid
94.0ms479×body256valid
38.0ms335×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify58.0ms (0.8%)

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
27.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
27.0b
(+.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)
3.5b
(+.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)

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

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

simplify87.0ms (1.1%)

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

prune79.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1122114
Fresh000
Picked011
Done000
Total1123115
Error
0.0b
Counts
115 → 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)))))
27.0b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
27.0b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
Compiler

Compiled 2143 to 1218 computations (43.2% saved)

localize11.0ms (0.1%)

Local error

Found 3 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
(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))

series16.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

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

rewrite6.0ms (0.1%)

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

3 calls:

4.0ms
(*.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 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)))))

simplify50.0ms (0.7%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
562×associate-+l+_binary64
546×associate-+r+_binary64
247×associate-*l*_binary64
214×associate-*r*_binary64
Counts
71 → 77
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911228
11621128
23901110
315981110
451541110

prune92.0ms (1.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh011
Picked011
Done011
Total77380
Error
0.0b
Counts
80 → 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)))))
27.0b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
27.0b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
Compiler

Compiled 1900 to 1416 computations (25.5% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))
0.0b
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
0.0b
(pow.f64 (exp.f64 (neg.f64 x)) 3)
3.5b
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3))

series33.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

16.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3))
7.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
6.0ms
(pow.f64 (exp.f64 (neg.f64 x)) 3)
3.0ms
(*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))

rewrite43.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
86×exp-prod_binary64
82×*-un-lft-identity_binary64
48×add-sqr-sqrt_binary64
38×add-cube-cbrt_binary64
27×distribute-rgt-neg-in_binary64
Counts
4 → 185
Calls

4 calls:

13.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3))
11.0ms
(*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))
4.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
3.0ms
(pow.f64 (exp.f64 (neg.f64 x)) 3)

simplify155.0ms (2.1%)

Algorithm
egg-herbie
Rules
811×fma-neg_binary64
513×cancel-sign-sub-inv_binary64
298×exp-prod_binary64
265×log-prod_binary64
188×associate-*r*_binary64
Counts
221 → 245
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02572744
16012389
222192348
339282348
449652348
549892348
649182348

prune320.0ms (4.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2441245
Fresh000
Picked011
Done022
Total2444248
Error
0.0b
Counts
248 → 4
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)))))
27.0b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
27.0b
(/.f64 (/.f64 (+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 3)) (+.f64 (*.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (-.f64 (*.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (*.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3))))) (+.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
27.0b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
Compiler

Compiled 11206 to 5690 computations (49.2% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
0.0b
(pow.f64 (exp.f64 (neg.f64 x)) 3)
0.0b
(pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3)
3.4b
(+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 3))

series114.0ms (1.5%)

Counts
2 → 24
Calls

2 calls:

100.0ms
(+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 3))
13.0ms
(pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3)

rewrite66.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity_binary64
120×cube-prod_binary64
120×unpow-prod-down_binary64
38×fma-def_binary64
37×distribute-lft-out_binary64
Counts
2 → 148
Calls

2 calls:

45.0ms
(+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 3))
7.0ms
(pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3)

simplify127.0ms (1.7%)

Algorithm
egg-herbie
Rules
888×fma-def_binary64
391×fma-neg_binary64
384×cancel-sign-sub-inv_binary64
244×log-prod_binary64
201×associate-*r*_binary64
Counts
172 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02073641
15763566
222773418
345773418
449313418

prune1.1s (15.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4991500
Fresh000
Picked101
Done033
Total5004504
Error
0b
Counts
504 → 4
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)))))
27.1b
(/.f64 (/.f64 (exp.f64 (log.f64 (+.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) 3) (pow.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 3)))) (+.f64 (*.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (-.f64 (*.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (*.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3))))) (+.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
27.0b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
27.0b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
Compiler

Compiled 44296 to 25404 computations (42.6% saved)

regimes85.0ms (1.1%)

Accuracy

Total 0.5b remaining (97.6%)

Threshold costs 0.5b (97.6%)

Counts
39 → 1
Compiler

Compiled 2354 to 1564 computations (33.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11625
21625

end113.0ms (1.5%)

Compiler

Compiled 191 to 125 computations (34.6% saved)

Profiling

Loading profile data...