I'm confused about how a formula was found in Elements of Statistical Learning, pg. 11.
$$ EPE(f) = E(Y - f(X))^2 = \int [y - f(x)]^2 Pr(dx, dy) $$
$Pr(dx, dy)$ is the joint probability of $dx$ and $dy$ but how can we find probabilities of infinitesimals? Also, how did they find that integral?