Jump to content

Program verification

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Furrykef (talk | contribs) at 18:57, 16 October 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, program verification is the process of formally proving that a computer program does exactly what is stated in the program specification it was written to realize. It is an instance of Formal verification (and more generally Formal methods). Program verification is more specific in that it aims to verify the code itself, not only some abstract model of the program.

For functional programming languages, some programs can be verified by equational reasoning, usually together with induction. Code in an imperative language could be proved correct by use of Hoare logic.