Details

Time bar (total: 6.3s)

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.0s (80.6%)

Results
3.5s4315×body2048valid
947.0ms2073×body1024valid
378.0ms1033×body512valid
85.0ms495×body256valid
37.0ms340×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify61.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.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.3b
(+.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)
6.0b
(+.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)

rewrite82.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
815×log1p-expm1-u_binary64
815×expm1-log1p-u_binary64
536×prod-diff_binary64
92×add-sqr-sqrt_binary64
87×add-log-exp_binary64
Counts
2 → 78
Calls

2 calls:

81.0ms
(-.f64 (exp.f64 x) 2)
81.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0819
118117
2201217
3584217

simplify79.0ms (1.3%)

Algorithm
egg-herbie
Rules
750×unswap-sqr_binary64
683×distribute-rgt-out_binary64
567×associate-*l*_binary64
524×fma-def_binary64
411×associate-*r*_binary64
Counts
94 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045198
1108196
2236196
3630191
42026191
54956191
64921191
74962191

prune65.0ms (1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New92395
Fresh000
Picked011
Done000
Total92496
Error
0.0b
Counts
96 → 4
Alt Table
StatusErrorProgram
30.3b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
30.5b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.4b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 1537 to 898 computations (41.6% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series7.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

4.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
3.0ms
(*.f64 1/360 (pow.f64 x 6))

rewrite54.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
869×log1p-expm1-u_binary64
869×expm1-log1p-u_binary64
252×prod-diff_binary64
105×add-sqr-sqrt_binary64
102×add-log-exp_binary64
Counts
2 → 37
Calls

2 calls:

53.0ms
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
53.0ms
(*.f64 1/360 (pow.f64 x 6))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01125
123425
2226125
3558125

simplify133.0ms (2.1%)

Algorithm
egg-herbie
Rules
1288×fma-def_binary64
750×sqr-pow_binary64
423×cube-prod_binary64
401×*-commutative_binary64
372×pow-sqr_binary64
Counts
49 → 46
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
016165
138165
273165
3176165
4541165
51391165
62055165
72166165
82356165
92599165
102895165
112941165
123495165
133896165
144486165
154652165
164839165
174826165

prune40.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New46046
Fresh022
Picked011
Done011
Total46450
Error
0.0b
Counts
50 → 4
Alt Table
StatusErrorProgram
30.3b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
30.5b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.4b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 878 to 643 computations (26.8% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

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

rewrite76.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
850×log1p-udef_binary64
465×log1p-expm1-u_binary64
465×expm1-log1p-u_binary64
292×unpow-prod-down_binary64
232×log-prod_binary64
Counts
1 → 20
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11267
212377
349057
462037

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune50.0ms (0.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New20020
Fresh011
Picked011
Done022
Total20424
Error
0.0b
Counts
24 → 4
Alt Table
StatusErrorProgram
30.3b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
30.5b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.4b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 343 to 243 computations (29.2% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series85.0ms (1.4%)

Counts
4 → 32
Calls

4 calls:

65.0ms
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
11.0ms
(+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8)))
6.0ms
(pow.f64 (exp.f64 x) 3)
3.0ms
(pow.f64 (exp.f64 x) 2)

rewrite98.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
702×prod-diff_binary64
192×log1p-expm1-u_binary64
192×expm1-log1p-u_binary64
188×add-sqr-sqrt_binary64
182×add-log-exp_binary64
Counts
4 → 101
Calls

4 calls:

94.0ms
(pow.f64 (exp.f64 x) 2)
94.0ms
(pow.f64 (exp.f64 x) 3)
94.0ms
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
94.0ms
(+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
017102
140492
2477692
3613192

simplify70.0ms (1.1%)

Algorithm
egg-herbie
Rules
572×distribute-lft-out_binary64
412×unswap-sqr_binary64
368×fma-def_binary64
329×*-commutative_binary64
309×associate-/l/_binary64
Counts
133 → 134
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071789
1200770
2510680
31424677
42411677
54856677
64909677

prune154.0ms (2.5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1520152
Fresh000
Picked011
Done033
Total1524156
Error
0.0b
Counts
156 → 4
Alt Table
StatusErrorProgram
30.3b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
30.5b
(/.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))
0.4b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 x x (*.f64 1/360 (pow.f64 x 6))))
0.4b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
Compiler

Compiled 6367 to 3982 computations (37.5% saved)

regimes29.0ms (0.5%)

Accuracy

Total 0.6b remaining (96.6%)

Threshold costs 0.6b (96.6%)

Counts
15 → 1
Compiler

Compiled 394 to 278 computations (29.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11218
21218

end77.0ms (1.2%)

Compiler

Compiled 97 to 67 computations (30.9% saved)

Profiling

Loading profile data...