A Mathematical Theory of Evolutionary Behavior