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)

sample5.2s (84.7%)

Results
3.5s4314×body2048valid
1.0s2061×body1024valid
284.0ms1013×body512valid
181.0ms496×body256valid
49.0ms372×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify58.0ms (0.9%)

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

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
5.6b
(+.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)

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

9.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
4.0ms
(-.f64 (exp.f64 x) 2)

simplify77.0ms (1.3%)

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

prune85.0ms (1.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1095114
Fresh000
Picked101
Done000
Total1105115
Error
0.0b
Counts
115 → 5
Alt Table
StatusErrorProgram
31.0b
(/.f64 (+.f64 2 (+.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (exp.f64 x) -3))) (*.f64 (exp.f64 x) (+.f64 2 (exp.f64 x))))
30.7b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.9b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
30.8b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
Compiler

Compiled 2184 to 1257 computations (42.4% saved)

localize20.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series19.0ms (0.3%)

Counts
4 → 9
Calls

4 calls:

7.0ms
(*.f64 1/20160 (pow.f64 x 8))
5.0ms
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
3.0ms
(*.f64 1/360 (pow.f64 x 6))
3.0ms
(*.f64 1/12 (pow.f64 x 4))

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×associate-*r*_binary64
19×add-exp-log_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 98
Calls

4 calls:

13.0ms
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
4.0ms
(*.f64 1/20160 (pow.f64 x 8))
4.0ms
(*.f64 1/360 (pow.f64 x 6))
4.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify72.0ms (1.2%)

Algorithm
egg-herbie
Rules
502×distribute-rgt-in_binary64
476×distribute-lft-in_binary64
410×unswap-sqr_binary64
373×*-commutative_binary64
369×fma-def_binary64
Counts
107 → 140
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01821560
13841472
211271398
336231396
449261396

prune170.0ms (2.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh044
Picked011
Done000
Total1405145
Error
0.0b
Counts
145 → 5
Alt Table
StatusErrorProgram
31.0b
(/.f64 (+.f64 2 (+.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (exp.f64 x) -3))) (*.f64 (exp.f64 x) (+.f64 2 (exp.f64 x))))
30.7b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.9b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
30.8b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
Compiler

Compiled 3944 to 3166 computations (19.7% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

prune35.0ms (0.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New34034
Fresh033
Picked011
Done011
Total34539
Error
0.0b
Counts
39 → 5
Alt Table
StatusErrorProgram
31.0b
(/.f64 (+.f64 2 (+.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (exp.f64 x) -3))) (*.f64 (exp.f64 x) (+.f64 2 (exp.f64 x))))
30.7b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.9b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
30.8b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
Compiler

Compiled 611 to 427 computations (30.1% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

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

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
15×prod-diff_binary64
13×add-cube-cbrt_binary64
add-log-exp_binary64
Counts
2 → 59
Calls

2 calls:

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

simplify69.0ms (1.1%)

Algorithm
egg-herbie
Rules
674×fma-neg_binary64
555×associate-+l+_binary64
523×associate-+r+_binary64
235×times-frac_binary64
214×fma-def_binary64
Counts
75 → 97
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0117997
1260952
2580934
31760642
44825642
55214642

prune64.0ms (1.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh022
Picked011
Done022
Total975102
Error
0.0b
Counts
102 → 5
Alt Table
StatusErrorProgram
31.0b
(/.f64 (+.f64 2 (+.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (exp.f64 x) -3))) (*.f64 (exp.f64 x) (+.f64 2 (exp.f64 x))))
30.7b
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.9b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
30.8b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
Compiler

Compiled 1575 to 857 computations (45.6% saved)

regimes66.0ms (1.1%)

Accuracy

Total 0.6b remaining (98.6%)

Threshold costs 0.6b (98.6%)

Counts
35 → 1
Compiler

Compiled 897 to 683 computations (23.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01829
12229
22229

end99.0ms (1.6%)

Compiler

Compiled 126 to 94 computations (25.4% saved)

Profiling

Loading profile data...