Skip to content

iowarp/hoare

v0.2.0Apache-2.0

Hoare-logic correctness review: states pre- and postconditions, loop invariants and variants for named functions, derives the verification conditions with language-specific hazard obligations for C/C++, Python and Fortran, and discharges each by a declared prover check or a written argument. Every obligation carries an honest status (mechanized, modeled, argued, assumed, refuted, unknown), so an argued proof is never reported as a machine-checked one. Ships a read-only verifier agent that answers a verifier-report, a /hoare:review prompt and a build-review playbook.

hoare-verification

Reviews named functions for correctness with Hoare logic. States each precondition and postcondition with its source, adds loop invariants, variants and frame conditions, derives the verification conditions with the language's hazard obligations, and discharges each one by a declared prover check or a written argument. Reports every obligation with an honest status. Use for C, C++, Python or Fortran functions that have a statable contract. Not for whole programs, concurrency proofs or floating-point error analysis; those are reported as limitations.

License
Apache-2.0
Read SKILL.md at the source

Pinned to revision 16c731c64399, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.