Details

Time bar (total: 2.1s)

analyze141.0ms (6.6%)

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
25%62.4%12.6%6
25%46.8%28.2%7
31.2%35.9%32.9%8
39%25%36%9
42.9%18.7%38.3%10
47.2%12.9%39.9%11
49.4%9.6%41.1%12
51.6%6.5%41.9%13
52.7%4.8%42.4%14
Compiler

Compiled 16 to 10 computations (37.5% saved)

sample851.0ms (40.1%)

Symmetry

(sort x y)

Results
797.0ms8256×body128valid
21.0ms220×body128invalid
Compiler

Compiled 47 to 29 computations (38.3% saved)

simplify9.0ms (0.4%)

Algorithm
egg-herbie
Rules
33×fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01017
11914
24512
36812
47012
57012

prune3.0ms (0.1%)

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
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
Compiler

Compiled 46 to 24 computations (47.8% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))

rewrite101.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
581×log1p-expm1-u_binary64
581×expm1-log1p-u_binary64
291×log-prod_binary64
153×prod-diff_binary64
122×expm1-udef_binary64
Counts
1 → 29
Calls

1 calls:

100.0ms
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
114012
2150712
3494912
4499012
5495812
000
100

simplify159.0ms (7.5%)

Algorithm
egg-herbie
Rules
968×sqr-pow_binary64
615×fma-def_binary64
579×fabs-mul_binary64
537×cube-prod_binary64
464×*-commutative_binary64
Counts
53 → 39
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012294
132267
262222
3129216
4318216
51005216
61665216
71886216
82020216
92235216
102469216
112722216
122890216
133334216
143914216
154267216
164546216
174648216
184677216
194689216
205141216

prune25.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh000
Picked011
Done000
Total37340
Error
0b
Counts
40 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y (fma.f64 2 x y) (*.f64 x x))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
Compiler

Compiled 588 to 311 computations (47.1% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
0.0b
(*.f64 2 (*.f64 y x))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))

series19.0ms (0.9%)

Counts
3 → 18
Calls

3 calls:

7.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
6.0ms
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
6.0ms
(*.f64 2 (*.f64 y x))

rewrite78.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
576×fma-def_binary64
535×log-prod_binary64
299×fma-neg_binary64
193×expm1-udef_binary64
193×log1p-udef_binary64
Counts
3 → 161
Calls

3 calls:

75.0ms
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
75.0ms
(*.f64 2 (*.f64 y x))
75.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
122828
2281428
3570228
000
100

simplify157.0ms (7.4%)

Algorithm
egg-herbie
Rules
968×sqr-pow_binary64
579×fabs-mul_binary64
537×cube-prod_binary64
474×fma-def_binary64
464×*-commutative_binary64
Counts
179 → 169
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010114
126111
249102
311096
428496
594996
6155896
7175396
8188796
9210296
10233696
11259796
12277396
13321696
14379696
15414996
16442896
17453096
18455996
19457196
20502396

prune102.0ms (4.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done011
Total1693172
Error
0b
Counts
172 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y (fma.f64 2 x y) (*.f64 x x))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
Compiler

Compiled 3002 to 1518 computations (49.4% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(fma.f64 y (fma.f64 2 x y) (*.f64 x x))

rewrite99.0ms (4.7%)

Algorithm
batch-egg-rewrite
Rules
581×log1p-expm1-u_binary64
581×expm1-log1p-u_binary64
291×log-prod_binary64
153×prod-diff_binary64
122×expm1-udef_binary64
Counts
1 → 29
Calls

1 calls:

98.0ms
(fma.f64 y (fma.f64 2 x y) (*.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
114012
2150712
3494912
4499012
5495812
000
100

simplify159.0ms (7.5%)

Algorithm
egg-herbie
Rules
968×sqr-pow_binary64
615×fma-def_binary64
579×fabs-mul_binary64
537×cube-prod_binary64
464×*-commutative_binary64
Counts
53 → 39
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012294
132267
262222
3129216
4318216
51005216
61665216
71886216
82020216
92235216
102469216
112722216
122890216
133334216
143914216
154267216
164546216
174648216
184677216
194689216
205141216

prune23.0ms (1.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh000
Picked011
Done022
Total39342
Error
0b
Counts
42 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y (fma.f64 2 x y) (*.f64 x x))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
Compiler

Compiled 562 to 294 computations (47.7% saved)

regimes78.0ms (3.7%)

Accuracy

Total 0.0b remaining (67.3%)

Threshold costs 0.0b (67.3%)

Counts
19 → 1
Compiler

Compiled 630 to 383 computations (39.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
1915
2915

end86.0ms (4%)

Remove

(sort x y)

Compiler

Compiled 89 to 51 computations (42.7% saved)

Profiling

Loading profile data...