Summation Simplication

28 Views Asked by At

$$\sum_{y\,:\,y=x} P(x,y) = P(x,x)$$

How did the summation get removed? I expected it to simplify into

$$\sum_{y\,:\,y=x} P(x,x)$$

or

$$\sum_{all \, x} P(x,x)$$