hoare-logic is a formal system for demonstrating the correctness of programs
What is it?
Hoare-logic is a formal system for demonstrating the correctness of programs.
It uses tripples that express a relation between a pre-condition, a command and a post-condition, and uses a set of axioms and inference rules to draw conclusions on the programme.
See also
- Hoare logic on Wikipedia