Details

Time bar (total: 1.5s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 10 computations (23.1% saved)

sample772.0ms (50.2%)

Results
744.0ms8256×body128valid
Compiler

Compiled 38 to 29 computations (23.7% saved)

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
31416
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 47 to 35 computations (25.5% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))

series6.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
2.0ms
(/.f64 1 (-.f64 x 1))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite67.0ms (4.4%)

Algorithm
batch-egg-rewrite
Rules
489×fma-def_binary64
464×log-prod_binary64
249×fma-neg_binary64
230×log-div_binary64
168×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119330
2277730
3558430
Stop Event
node limit
Counts
3 → 144
Calls

3 calls:

64.0ms
(/.f64 x (+.f64 x 1))
64.0ms
(/.f64 1 (-.f64 x 1))
64.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))

simplify56.0ms (3.6%)

Algorithm
egg-herbie
Rules
479×fma-neg_binary64
468×unswap-sqr_binary64
456×cancel-sign-sub-inv_binary64
436×associate-*l*_binary64
321×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059488
1179470
2524457
31452453
43893453
54965453
Stop Event
node limit
Counts
180 → 183

prune127.0ms (8.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1812183
Fresh000
Picked011
Done000
Total1813184
Error
0b
Counts
184 → 3
Alt Table
StatusErrorProgram
14.5b
(*.f64 (fma.f64 x (-.f64 x 1) (+.f64 1 x)) (/.f64 1 (fma.f64 x x -1)))
27.5b
(fma.f64 x (*.f64 x -2) -1)
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 3177 to 2364 computations (25.6% saved)

localize8.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (-.f64 x 1) (+.f64 1 x))
0.3b
(/.f64 1 (fma.f64 x x -1))
14.1b
(*.f64 (fma.f64 x (-.f64 x 1) (+.f64 1 x)) (/.f64 1 (fma.f64 x x -1)))

series9.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(/.f64 1 (fma.f64 x x -1))
3.0ms
(*.f64 (fma.f64 x (-.f64 x 1) (+.f64 1 x)) (/.f64 1 (fma.f64 x x -1)))
2.0ms
(fma.f64 x (-.f64 x 1) (+.f64 1 x))

rewrite55.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
451×log-prod_binary64
278×prod-diff_binary64
272×fma-def_binary64
172×expm1-udef_binary64
172×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01037
121337
2248037
3500337
Stop Event
node limit
Counts
3 → 94
Calls

3 calls:

53.0ms
(fma.f64 x (-.f64 x 1) (+.f64 1 x))
53.0ms
(/.f64 1 (fma.f64 x x -1))
53.0ms
(*.f64 (fma.f64 x (-.f64 x 1) (+.f64 1 x)) (/.f64 1 (fma.f64 x x -1)))

simplify83.0ms (5.4%)

Algorithm
egg-herbie
Rules
704×times-frac_binary64
657×fma-def_binary64
433×fma-neg_binary64
414×unswap-sqr_binary64
360×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049455
1147423
2421413
31108412
43177412
54761412
64883412
74947412
Stop Event
node limit
Counts
130 → 126

prune76.0ms (4.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh101
Picked101
Done011
Total1272129
Error
0b
Counts
129 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
14.5b
(*.f64 (fma.f64 x x 1) (/.f64 1 (fma.f64 x x -1)))
Compiler

Compiled 2440 to 1740 computations (28.7% saved)

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (fma.f64 x x -1))
14.1b
(*.f64 (fma.f64 x x 1) (/.f64 1 (fma.f64 x x -1)))

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(*.f64 (fma.f64 x x 1) (/.f64 1 (fma.f64 x x -1)))

rewrite38.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
634×log1p-expm1-u_binary64
634×expm1-log1p-u_binary64
329×log-prod_binary64
125×expm1-udef_binary64
125×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
115512
2166512
3502912
Stop Event
node limit
Counts
1 → 33
Calls

1 calls:

37.0ms
(*.f64 (fma.f64 x x 1) (/.f64 1 (fma.f64 x x -1)))

simplify60.0ms (3.9%)

Algorithm
egg-herbie
Rules
704×times-frac_binary64
433×fma-def_binary64
360×distribute-rgt-neg-in_binary64
330×distribute-lft-neg-in_binary64
290×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
032173
197167
2266160
3733158
42248158
54568158
65017158
Stop Event
node limit
Counts
45 → 47

prune48.0ms (3.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh000
Picked011
Done011
Total87289
Error
0b
Counts
89 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
14.5b
(*.f64 (fma.f64 x x 1) (/.f64 1 (fma.f64 x x -1)))
Compiler

Compiled 1305 to 913 computations (30% saved)

regimes56.0ms (3.6%)

Accuracy

Total 0.0b remaining (84.5%)

Threshold costs 0.0b (84.5%)

Counts
34 → 1
Compiler

Compiled 888 to 667 computations (24.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
11821
21921
31721
Stop Event
saturated

end48.0ms (3.1%)

Compiler

Compiled 54 to 41 computations (24.1% saved)

Profiling

Loading profile data...