Title: Mathematical Theory of Democracy