Details

Time bar (total: 3.3s)

analyze403.0ms (12.4%)

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%56.2%18.8%6
25%40.6%34.4%7
31.2%31.2%37.6%8
39%21.1%39.9%9
42.9%16%41.1%10
47.2%10.7%42%11
49.4%8.1%42.5%12
51.6%5.4%43%13
52.7%4.1%43.2%14
Compiler

Compiled 10 to 5 computations (50% saved)

sample1.5s (45.3%)

Symmetry

(sort x y)

Results
1.4s8256×body128valid
15.0ms98×body128invalid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify25.0ms (0.8%)

Algorithm
egg-herbie
Rules
70×fma-def_binary64
24×associate-+l+_binary64
18×associate-+r+_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
11210
22610
34610
48110
510110
611710
713010
813210
913210

prune4.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 (+.f64 x y) (+.f64 x y))
Compiler

Compiled 27 to 12 computations (55.6% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(*.f64 (+.f64 x y) (+.f64 x y))

rewrite67.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
682×prod-diff_binary64
618×log1p-expm1-u_binary64
618×expm1-log1p-u_binary64
60×add-sqr-sqrt_binary64
57×add-log-exp_binary64
Counts
1 → 29
Calls

1 calls:

65.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11157
215147
350277
000
100

simplify199.0ms (6.1%)

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

prune56.0ms (1.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

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

Compiled 535 to 204 computations (61.9% saved)

localize14.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series21.0ms (0.7%)

Counts
2 → 12
Calls

2 calls:

13.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
8.0ms
(*.f64 2 (*.f64 y x))

rewrite112.0ms (3.4%)

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
2 → 108
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01024
122821
2281421
3570221
000
100

simplify169.0ms (5.2%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01090
12687
24978
311072
428472
594972
6155872
7175372
8188772
9210272
10233672
11259772
12277372
13321672
14379672
15414972
16442872
17453072
18455972
19457172
20502372

prune226.0ms (6.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh000
Picked011
Done011
Total1162118
Error
0b
Counts
118 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Compiler

Compiled 2038 to 1057 computations (48.1% saved)

regimes366.0ms (11.2%)

Accuracy

Total -0.0b remaining (-55.6%)

Threshold costs -0.0b (-55.6%)

Counts
39 → 1
Compiler

Compiled 1834 to 1175 computations (35.9% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11015
21015

end102.0ms (3.1%)

Remove

(sort x y)

Compiler

Compiled 76 to 43 computations (43.4% saved)

Profiling

Loading profile data...