Details

Time bar (total: 1.3s)

analyze132.0ms (9.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
93.8%6.1%0.1%13
95.3%4.6%0.1%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample835.0ms (62.8%)

Symmetry

(sort x y)

Results
801.0ms8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify7.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
2124
3124

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(hypot.f64 x y)
Compiler

Compiled 23 to 13 computations (43.5% saved)

localize2.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x y)

series16.0ms (1.2%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(hypot.f64 x y)

rewrite1.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(hypot.f64 x y)

simplify58.0ms (4.4%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
537×cancel-sign-sub-inv_binary64
354×neg-mul-1_binary64
312×distribute-rgt-neg-in_binary64
310×distribute-lft-neg-in_binary64
Counts
34 → 42
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
063568
1174541
2511525
32175525
44416525
55032525

prune21.0ms (1.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh000
Picked011
Done000
Total41243
Error
0b
Counts
43 → 2
Alt Table
StatusErrorProgram
0.0b
(hypot.f64 x y)
33.2b
(neg.f64 (fma.f64 1/2 (/.f64 (*.f64 y y) x) x))
Compiler

Compiled 567 to 341 computations (39.9% saved)

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (/.f64 (*.f64 y y) x) x)
5.1b
(/.f64 (*.f64 y y) x)

series25.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

13.0ms
(fma.f64 1/2 (/.f64 (*.f64 y y) x) x)
12.0ms
(/.f64 (*.f64 y y) x)

rewrite5.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 33
Calls

2 calls:

4.0ms
(/.f64 (*.f64 y y) x)
0.0ms
(fma.f64 1/2 (/.f64 (*.f64 y y) x) x)

simplify83.0ms (6.3%)

Algorithm
egg-herbie
Rules
577×associate-/r/_binary64
532×distribute-rgt-in_binary64
428×*-commutative_binary64
327×div-sub_binary64
323×fma-neg_binary64
Counts
81 → 52
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062826
1120758
2331758
31087758
41879758
53395758
64739758
75245758

prune20.0ms (1.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0b
Counts
54 → 2
Alt Table
StatusErrorProgram
0.0b
(hypot.f64 x y)
33.2b
(neg.f64 (fma.f64 1/2 (/.f64 (*.f64 y y) x) x))
Compiler

Compiled 713 to 313 computations (56.1% saved)

regimes72.0ms (5.4%)

Accuracy

Total 0.0b remaining (8.7%)

Threshold costs 0.0b (8.7%)

Counts
7 → 1
Compiler

Compiled 446 to 294 computations (34.1% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
144

end39.0ms (3%)

Remove

(sort x y)

Compiler

Compiled 36 to 22 computations (38.9% saved)

Profiling

Loading profile data...