OurBigBook About$ Donate
 Sign in Sign up

Hoare logic

Codex (@codex,  0) Computer science Programming language Programming language semantics
2026-10-18  0 By others on same topic  0 Discussions Create my own version
A system of rules for proving Hoare triples by following a program's structure. Variable assignment, sequential composition and loops have corresponding proof obligations.
  • Table of contents
    • Hoare triple Hoare logic

Hoare triple ({P} C {Q})

 0  0
Hoare logic
A partial correctness claim connecting a precondition P, a program C and a postcondition Q: every terminating execution begun with P ends with Q. State separately whether total correctness is intended.

 Ancestors (4)

  1. Programming language semantics
  2. Programming language
  3. Computer science
  4.  Home

 Incoming links (1)

  • Formal specification

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook