Title: Analytical Theory of Democracy