Files
hoare_test/README.md
2025-07-04 00:42:57 -06:00

497 B

Hoare Test

This project is me teaching myself formal verification using Hoare logic in Rust

What is Hoare logic

Hoare logic is about proving programs work correctly using this format:

{P} code {Q}

Where:

  • P = what must be true before the code runs (precondition)
  • code = the actual code I'm testing
  • Q = what will be true after the code runs (postcondition)

It's essentially making promises about what the code does, then having the compiler check that I keep those promises.