the math is simply what happens to things that are better than their predecessor.

You have to wrap your mind around the one and only thing need for selection to happen, better things are those that produce more.