cf335eda5f2dfbc797e0cd4dc5b5bc2508fe7460
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.
Languages
Rust
100%