Details

Time bar (total: 7.0s)

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)

sample5.2s (74.5%)

Results
3.8s4312×body2048valid
896.0ms2032×body1024valid
319.0ms1030×body512valid
99.0ms518×body256valid
41.0ms364×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify67.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
30.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.1b
(+.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.6b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series5.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)

rewrite16.0ms (0.2%)

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)

simplify78.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

prune68.0ms (1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1113114
Fresh000
Picked101
Done000
Total1123115
Error
0.0b
Counts
115 → 3
Alt Table
StatusErrorProgram
30.1b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.7b
(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)))))
30.1b
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) 3))
Compiler

Compiled 2096 to 1199 computations (42.8% saved)

localize12.0ms (0.2%)

Local error

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

series12.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

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

simplify54.0ms (0.8%)

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 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911228
11621128
23901110
315981110
451541110

prune70.0ms (1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70171
Fresh022
Picked101
Done000
Total71374
Error
0.0b
Counts
74 → 3
Alt Table
StatusErrorProgram
30.1b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.7b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
30.1b
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) 3))
Compiler

Compiled 1701 to 1282 computations (24.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series16.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
19×pow1_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
Counts
3 → 78
Calls

3 calls:

6.0ms
(*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))
1.0ms
(sqrt.f64 (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) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))

simplify98.0ms (1.4%)

Algorithm
egg-herbie
Rules
758×associate-+l+_binary64
330×associate-*l*_binary64
285×associate-*r*_binary64
283×distribute-lft-in_binary64
283×distribute-rgt-in_binary64
Counts
114 → 135
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01202875
12542537
27082429
327282371
456192371

prune354.0ms (5.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2351236
Fresh022
Picked011
Done000
Total2354239
Error
0.0b
Counts
239 → 4
Alt Table
StatusErrorProgram
0.7b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
3.6b
(fma.f64 1/12 (pow.f64 x 4) (exp.f64 (log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))))
30.1b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
30.1b
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) 3))
Compiler

Compiled 9283 to 6999 computations (24.6% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/20160 (pow.f64 x 8))
3.0b
(exp.f64 (log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))))
28.2b
(sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))
29.1b
(log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))

series13.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

8.0ms
(log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
5.0ms
(exp.f64 (log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
34×pow1_binary64
28×log-pow_binary64
17×exp-prod_binary64
16×sqrt-pow1_binary64
16×pow1/2_binary64
Counts
2 → 54
Calls

2 calls:

5.0ms
(exp.f64 (log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))))))
3.0ms
(log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))

simplify86.0ms (1.2%)

Algorithm
egg-herbie
Rules
809×distribute-rgt-in_binary64
790×distribute-lft-in_binary64
354×fma-neg_binary64
207×cancel-sign-sub-inv_binary64
174×fma-def_binary64
Counts
78 → 99
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0971469
12061345
25031331
315901331
447491331
549291331

prune345.0ms (4.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2370237
Fresh022
Picked011
Done011
Total2374241
Error
0.0b
Counts
241 → 4
Alt Table
StatusErrorProgram
0.7b
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))
3.6b
(fma.f64 1/12 (pow.f64 x 4) (exp.f64 (log.f64 (*.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8)))))))))
30.1b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
30.1b
(cbrt.f64 (pow.f64 (-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) 3))
Compiler

Compiled 9159 to 7035 computations (23.2% saved)

regimes293.0ms (4.2%)

Accuracy

Total 0.6b remaining (97.1%)

Threshold costs 0.6b (97.1%)

Counts
107 → 1
Compiler

Compiled 4816 to 3742 computations (22.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01830
11930
21930

end121.0ms (1.7%)

Compiler

Compiled 137 to 105 computations (23.4% saved)

Profiling

Loading profile data...