Details

Time bar (total: 1.4s)

analyze92.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%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)

sample701.0ms (50.6%)

Symmetry

(sort x y)

Results
654.0ms8256×body128valid
9.0ms94×body128invalid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify8.0ms (0.6%)

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

prune1.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)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

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

rewrite9.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
pow1_binary64
add-sqr-sqrt_binary64
distribute-lft-out_binary64
swap-sqr_binary64
Counts
1 → 42
Calls

1 calls:

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

simplify62.0ms (4.5%)

Algorithm
egg-herbie
Rules
728×associate-+l+_binary64
594×unswap-sqr_binary64
430×distribute-rgt-in_binary64
422×distribute-lft-in_binary64
327×fma-def_binary64
Counts
66 → 64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068994
1200853
2739757
32462692
45240692

prune34.0ms (2.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New62264
Fresh000
Picked011
Done000
Total62365
Error
0b
Counts
65 → 3
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)))
26.7b
(*.f64 y (+.f64 y (*.f64 2 x)))
Compiler

Compiled 940 to 295 computations (68.6% saved)

localize8.0ms (0.6%)

Local error

Found 3 expressions with local error:

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

series20.0ms (1.4%)

Counts
3 → 18
Calls

3 calls:

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

rewrite22.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-log-exp_binary64
fma-def_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
3 → 59
Calls

3 calls:

11.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
5.0ms
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
3.0ms
(*.f64 2 (*.f64 y x))

simplify56.0ms (4.1%)

Algorithm
egg-herbie
Rules
662×fma-neg_binary64
651×associate-*l*_binary64
513×associate-*r*_binary64
471×fma-def_binary64
319×distribute-rgt-neg-in_binary64
Counts
77 → 95
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
088905
1248787
2837728
33406728
45028728

prune65.0ms (4.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh101
Picked101
Done011
Total96298
Error
0b
Counts
98 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
0.0b
(+.f64 (*.f64 y (+.f64 y (*.f64 x 2))) (pow.f64 x 2))
Compiler

Compiled 1805 to 1091 computations (39.6% saved)

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series14.0ms (1%)

Counts
2 → 48
Calls

2 calls:

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

rewrite18.0ms (1.3%)

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

2 calls:

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

simplify69.0ms (5%)

Algorithm
egg-herbie
Rules
495×fma-def_binary64
493×distribute-rgt-in_binary64
479×distribute-lft-in_binary64
451×sub-neg_binary64
309×+-commutative_binary64
Counts
88 → 78
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0771118
1236936
2853915
32941915
44408915
55019915

prune44.0ms (3.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 1318 to 811 computations (38.5% saved)

regimes95.0ms (6.8%)

Accuracy

Total 0.0b remaining (44.3%)

Threshold costs 0.0b (44.3%)

Counts
23 → 1
Compiler

Compiled 946 to 625 computations (33.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11014
21014

end50.0ms (3.6%)

Remove

(sort x y)

Compiler

Compiled 70 to 45 computations (35.7% saved)

Profiling

Loading profile data...