Details

Time bar (total: 2.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
100%0%0%3
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.2s (42.5%)

Results
1.1s8256×body128valid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify11.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
298

prune4.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
16.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
16.5b
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 28 to 16 computations (42.9% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
16.5b
(/.f64 x (fma.f64 x x 1))

series5.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(/.f64 x (fma.f64 x x 1))

rewrite116.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
462×log1p-expm1-u_binary64
462×expm1-log1p-u_binary64
316×unpow-prod-down_binary64
231×log-prod_binary64
149×prod-diff_binary64
Counts
1 → 66
Calls

1 calls:

114.0ms
(/.f64 x (fma.f64 x x 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
1988
211868
348998
451418
000
100

simplify103.0ms (3.7%)

Algorithm
egg-herbie
Rules
675×div-sub_binary64
485×times-frac_binary64
468×fma-def_binary64
300×distribute-rgt-neg-in_binary64
270×sub-neg_binary64
Counts
78 → 78
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023180
165180
2171180
3413180
41056180
52530180
64550180
74854180
85378180

prune84.0ms (3.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New76278
Fresh000
Picked011
Done000
Total76379
Error
0b
Counts
79 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 x (pow.f64 (hypot.f64 1 x) -2))
16.5b
(/.f64 x (fma.f64 x x 1))
0.0b
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
Compiler

Compiled 1099 to 758 computations (31% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (hypot.f64 1 x))
0.0b
(/.f64 1 (hypot.f64 1 x))
0.0b
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
0.0b
(hypot.f64 1 x)

series22.0ms (0.8%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(/.f64 x (hypot.f64 1 x))
6.0ms
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
5.0ms
(/.f64 1 (hypot.f64 1 x))
5.0ms
(hypot.f64 1 x)

rewrite149.0ms (5.4%)

Algorithm
batch-egg-rewrite
Rules
678×log1p-expm1-u_binary64
678×expm1-log1p-u_binary64
135×egg-rr
121×expm1-udef_binary64
121×log1p-udef_binary64
Counts
4 → 135
Calls

4 calls:

146.0ms
(/.f64 x (hypot.f64 1 x))
146.0ms
(/.f64 1 (hypot.f64 1 x))
146.0ms
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
146.0ms
(hypot.f64 1 x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0731
114728
2179026
3498726
000
100

simplify159.0ms (5.8%)

Algorithm
egg-herbie
Rules
608×fma-neg_binary64
471×associate-/r*_binary64
368×sub-neg_binary64
343×fma-def_binary64
201×cancel-sign-sub-inv_binary64
Counts
183 → 206
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
095698
1316692
2881678
32476678
44979678
54928678
64981678

prune333.0ms (12.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2520252
Fresh011
Picked011
Done011
Total2523255
Error
0b
Counts
255 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 x (pow.f64 (hypot.f64 1 x) -2))
16.5b
(/.f64 x (fma.f64 x x 1))
0.0b
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
Compiler

Compiled 4018 to 3024 computations (24.7% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
16.5b
(*.f64 x (pow.f64 (hypot.f64 1 x) -2))

series6.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

6.0ms
(*.f64 x (pow.f64 (hypot.f64 1 x) -2))

rewrite99.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
534×log1p-expm1-u_binary64
534×expm1-log1p-u_binary64
409×unpow-prod-down_binary64
275×log-prod_binary64
164×pow2_binary64
Counts
1 → 17
Calls

1 calls:

98.0ms
(*.f64 x (pow.f64 (hypot.f64 1 x) -2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
114010
2141810
3519310
000
100

simplify114.0ms (4.1%)

Algorithm
egg-herbie
Rules
675×div-sub_binary64
485×times-frac_binary64
468×fma-def_binary64
300×distribute-rgt-neg-in_binary64
270×sub-neg_binary64
Counts
29 → 29
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023180
165180
2171180
3413180
41056180
52530180
64550180
74854180
85378180

prune80.0ms (2.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New75075
Fresh000
Picked011
Done022
Total75378
Error
0b
Counts
78 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 x (pow.f64 (hypot.f64 1 x) -2))
16.5b
(/.f64 x (fma.f64 x x 1))
0.0b
(*.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 x (hypot.f64 1 x)))
Compiler

Compiled 936 to 712 computations (23.9% saved)

regimes168.0ms (6.1%)

Accuracy

Total 0.0b remaining (73%)

Threshold costs 0.0b (73%)

Counts
27 → 1
Compiler

Compiled 512 to 370 computations (27.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
1813
2713

end99.0ms (3.6%)

Compiler

Compiled 47 to 33 computations (29.8% saved)

Profiling

Loading profile data...