A mathematical representation of economic evolution