Details

Time bar (total: 2.0s)

analyze5.0ms (0.2%)

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

Compiled 7 to 5 computations (28.6% saved)

sample1.1s (56.4%)

Results
1.1s8256×body128valid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify17.0ms (0.8%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary64
+-commutative_binary64
fma-def_binary64
div-sub_binary64
associate-+l-_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2137
3197
4267
5367
6467
7617
8687
9717
10727
11527

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 18 to 12 computations (33.3% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(/.f64 x (-.f64 1 x))

rewrite101.0ms (5%)

Algorithm
batch-egg-rewrite
Rules
568×log1p-expm1-u_binary64
568×expm1-log1p-u_binary64
257×log-prod_binary64
239×prod-diff_binary64
96×expm1-udef_binary64
Counts
1 → 39
Calls

1 calls:

99.0ms
(/.f64 x (-.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11087
214127
348477
450377
000
100

simplify77.0ms (3.8%)

Algorithm
egg-herbie
Rules
557×fma-neg_binary64
529×associate-*l*_binary64
508×div-sub_binary64
406×cancel-sign-sub-inv_binary64
368×associate-*r*_binary64
Counts
51 → 53
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026150
171132
2198125
3501125
41224125
52949125
64207125
74933125

prune54.0ms (2.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New52153
Fresh000
Picked011
Done000
Total52254
Error
0b
Counts
54 → 2
Alt Table
StatusErrorProgram
16.8b
(*.f64 (/.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1))
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 567 to 390 computations (31.2% saved)

localize11.0ms (0.5%)

Local error

Found 3 expressions with local error:

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

series13.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

5.0ms
(/.f64 x (-.f64 1 (*.f64 x x)))
4.0ms
(*.f64 (/.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1))
4.0ms
(-.f64 1 (*.f64 x x))

rewrite149.0ms (7.3%)

Algorithm
batch-egg-rewrite
Rules
756×prod-diff_binary64
298×fma-def_binary64
167×egg-rr
166×fma-neg_binary64
156×log1p-udef_binary64
Counts
3 → 167
Calls

3 calls:

142.0ms
(-.f64 1 (*.f64 x x))
142.0ms
(*.f64 (/.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1))
142.0ms
(/.f64 x (-.f64 1 (*.f64 x x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0833
118724
2249024
3480024
4494924
000
100

simplify127.0ms (6.3%)

Algorithm
egg-herbie
Rules
594×fma-neg_binary64
562×div-sub_binary64
555×fma-def_binary64
413×sub-neg_binary64
311×cancel-sign-sub-inv_binary64
Counts
203 → 199
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
045418
1131388
2387379
3970379
42313379
53635379
64313379
74920379

prune186.0ms (9.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1990199
Fresh000
Picked011
Done011
Total1992201
Error
0b
Counts
201 → 2
Alt Table
StatusErrorProgram
16.8b
(*.f64 (/.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1))
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 3442 to 2009 computations (41.6% saved)

regimes57.0ms (2.8%)

Accuracy

Total 0.0b remaining (60.9%)

Threshold costs 0.0b (60.9%)

Counts
18 → 1
Compiler

Compiled 308 to 204 computations (33.8% saved)

simplify4.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2137
3157
4167
5157

end74.0ms (3.6%)

Compiler

Compiled 30 to 20 computations (33.3% saved)

Profiling

Loading profile data...