Plato's theory of ideal state included compulsory education managed by the state, divided into elementary and higher education with three phases. The first phase focused on gymnastics, music, and mathematics from ages 0-18. The second phase from ages 21-35 included dialectics, geography, astronomy and other subjects. The third phase after age 35 involved further studies abroad. Plato also proposed a theory of communism with functional specialization, non-interference between classes, and social harmony. His theory of justice aimed to differentiate classes based on aptitude tests.