Details

Time bar (total: 4.3s)

analyze18.0ms (0.4%)

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%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14
Compiler

Compiled 15 to 8 computations (46.7% saved)

sample2.9s (67.6%)

Results
1.8s4038×body1024valid
542.0ms1972×body512valid
206.0ms406×body2048valid
188.0ms979×body256valid
88.0ms861×body128valid
0.0msbody128invalid
Compiler

Compiled 44 to 23 computations (47.7% saved)

simplify69.0ms (1.6%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
658×unswap-sqr_binary64
478×fma-neg_binary64
464×times-frac_binary64
388×associate-/r/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23422
35822
412522
528822
662422
7157722
8379822
9455322
10502322

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 42 to 21 computations (50% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.5b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
4.8b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series18.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

14.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite73.0ms (1.7%)

Algorithm
batch-egg-rewrite
egg-rewrite
Rules
97×add-sqr-sqrt_binary64
92×log1p-expm1-u_binary64
92×expm1-log1p-u_binary64
91×add-log-exp_binary64
89×add-cbrt-cube_binary64
Counts
3 → 0
Calls

3 calls:

73.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
73.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
73.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
118618
22618
066
11306
2716
083
11863
2263
066
11296
2196
000
100

simplify72.0ms (1.7%)

Algorithm
egg-herbie
Rules
785×fma-def_binary64
752×fma-neg_binary64
514×cancel-sign-sub-inv_binary64
508×unswap-sqr_binary64
480×associate-*l*_binary64
Counts
24 → 27
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050321
1137317
2336311
3910309
42632309
54822309
64911309
74936309

prune20.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh000
Picked011
Done000
Total24428
Error
1.3b
Counts
28 → 4
Alt Table
StatusErrorProgram
2.4b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.6b
(fma.f64 (pow.f64 x 3) -1/3 x)
2.7b
x
Compiler

Compiled 486 to 267 computations (45.1% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))
0.0b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
0.1b
(*.f64 1/3 (pow.f64 x 3))

series18.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

8.0ms
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
4.0ms
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))
3.0ms
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
3.0ms
(*.f64 1/3 (pow.f64 x 3))

rewrite211.0ms (4.9%)

Algorithm
batch-egg-rewrite
egg-rewrite
Rules
1218×log1p-expm1-u_binary64
1218×expm1-log1p-u_binary64
1204×log1p-udef_binary64
981×log-prod_binary64
441×pow2_binary64
Counts
4 → 76
Calls

4 calls:

209.0ms
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))
209.0ms
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
209.0ms
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
209.0ms
(*.f64 1/3 (pow.f64 x 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02128
145628
27328
067
11257
212617
348167
461637
0811
116611
2165011
3500111
02133
145633
27333
01218
125418
2252018
3484218
000
100

simplify60.0ms (1.4%)

Algorithm
egg-herbie
Rules
651×associate-/r/_binary64
590×associate-/l/_binary64
488×fma-neg_binary64
446×fma-def_binary64
406×distribute-rgt-neg-in_binary64
Counts
112 → 103
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
062708
1137708
2299704
3685702
41704678
52988678
65130678

prune86.0ms (2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh022
Picked101
Done011
Total1034107
Error
1.3b
Counts
107 → 4
Alt Table
StatusErrorProgram
2.7b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.6b
(fma.f64 (pow.f64 x 3) -1/3 x)
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.7b
x
Compiler

Compiled 3081 to 1984 computations (35.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (pow.f64 x 3) -1/3 x)

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(fma.f64 (pow.f64 x 3) -1/3 x)

rewrite72.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
492×log1p-expm1-u_binary64
492×expm1-log1p-u_binary64
281×unpow-prod-down_binary64
223×log-prod_binary64
208×prod-diff_binary64
Counts
1 → 36
Calls

1 calls:

71.0ms
(fma.f64 (pow.f64 x 3) -1/3 x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11268
212798
348828
450068
000
100

simplify168.0ms (3.9%)

Algorithm
egg-herbie
Rules
1705×fma-def_binary64
865×fma-neg_binary64
818×unswap-sqr_binary64
615×sqr-pow_binary64
528×cube-prod_binary64
Counts
48 → 41
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
09105
123105
25987
314787
429887
577487
6112087
7171087
8321787
9416487
10427787
11426187
12404487
13330487
14393987
15436087
16481087
17477087

prune26.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh022
Picked011
Done011
Total41445
Error
1.3b
Counts
45 → 4
Alt Table
StatusErrorProgram
2.7b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.6b
(fma.f64 (pow.f64 x 3) -1/3 x)
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.7b
x
Compiler

Compiled 581 to 445 computations (23.4% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3))))
0.1b
(*.f64 1/3 (pow.f64 x 3))
2.9b
(-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)

series62.0ms (1.4%)

Counts
3 → 36
Calls

3 calls:

37.0ms
(-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)
15.0ms
(exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3))))
9.0ms
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

rewrite72.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
386×log1p-udef_binary64
241×add-sqr-sqrt_binary64
236×expm1-log1p-u_binary64
235×log1p-expm1-u_binary64
230×add-log-exp_binary64
Counts
3 → 72
Calls

3 calls:

70.0ms
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
70.0ms
(exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3))))
70.0ms
(-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02551
151550
2440950
3478850
000
100

simplify71.0ms (1.7%)

Algorithm
egg-herbie
Rules
764×fma-neg_binary64
613×fma-def_binary64
244×associate-/r*_binary64
235×associate-+l+_binary64
230×unswap-sqr_binary64
Counts
108 → 101
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
083675
1198643
2496635
31350617
43651613
54914613
64625613

prune115.0ms (2.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1180118
Fresh011
Picked011
Done022
Total1184122
Error
1.3b
Counts
122 → 4
Alt Table
StatusErrorProgram
2.7b
(/.f64 (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (fma.f64 2 x (-.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.6b
(fma.f64 (pow.f64 x 3) -1/3 x)
57.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.7b
x
Compiler

Compiled 3845 to 2667 computations (30.6% saved)

regimes31.0ms (0.7%)

Accuracy

Total 0.7b remaining (37.1%)

Threshold costs 0.7b (37.1%)

Counts
14 → 1
Compiler

Compiled 576 to 434 computations (24.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02137
12737
22937
33037
43037

end76.0ms (1.8%)

Compiler

Compiled 105 to 77 computations (26.7% saved)

Profiling

Loading profile data...