Mathematical Methods and Theory in Games, Programming, and Economics