Hoare logic

From dankwiki