Text this: Mathematical Theory of Democracy