Constitution is a formal legal document defining the basic structure of the system/organisation/country. Polity is the constitution in run, i.e actual functioning of the constitution.