Reference
Glossary
The words this index uses, in plain language. Underlined terms on other pages show these definitions when you hover or focus them.
- Auto-active verification
-
You write specifications and hints in the code; an automatic solver does the proving.
The middle ground between push-button tools and interactive proof assistants. Dafny, Verus, F* and Frama-C/WP work this way: you annotate functions with pre- and postconditions and loop invariants, and an SMT solver checks them.
- Bounded model checking
-
Explores every execution up to a fixed depth, for example a number of loop iterations.
Results are complete proofs only when the bound is shown to be sufficient (for example by an unwinding assertion). Otherwise they rule out bugs up to the bound.
- Conformance tests
-
The official test suite a language or ISA implementation must pass.
Running a formal model against these tests is the usual way to show the model matches the real language.
- de Bruijn criterion
-
Proofs are checked by a small, separate kernel, so only the kernel must be trusted.
- Equivalence and refinement
-
Two programs behave the same (equivalence), or one only does things the other allows (refinement).
Used to prove that an optimized version matches a reference, that a compiler preserved meaning, or that an implementation meets an abstract model.
- Escape hatch
-
A way to tell the tool to accept something without proof, such as assume, admit, sorry or axioms.
- Extraction
-
Turning a verified program inside a proof assistant into ordinary code (OCaml, C, Go...).
- Formal semantics
-
A precise, mathematical definition of what programs in a language do.
Every verification is a proof about some semantics. If that semantics differs from what the real compiler or processor does, the proof may not hold for the real program.
- Hammer
-
A tool that sends a goal to automatic provers and turns their answer back into a checked proof.
- Interactive theorem prover
-
A proof assistant where you write proofs step by step and the system checks each step.
Lean, Rocq, Isabelle and HOL are interactive theorem provers. They take the most effort and give the strongest guarantees.
- LCF style
-
A design where theorems can only be created by a small set of trusted inference rules.
- Mechanized
-
Written in a form a computer can check, rather than on paper.
- Proof certificate
-
A record of a proof that a separate, simpler program can check.
Certificates let you trust a small checker instead of the large tool that found the proof. SMT solvers such as cvc5 can emit them; proof assistants keep proof terms that independent checkers can re-check.
- Proof kernel
-
The small trusted core of a proof assistant that checks every proof.
- Push-button
-
You run the tool on your code with little or no annotation.
- Separation logic
-
A logic for reasoning about programs that manipulate memory, one region at a time.
- SMT solver
-
An automatic prover for logical formulas over integers, bit-vectors, arrays and more (Z3, cvc5).
- Symbolic execution
-
Running a program on symbolic inputs to cover all concrete inputs at once.
- Translation validation
-
Checking each individual compilation, instead of proving the compiler correct once and for all.
- Trusted computing base (TCB)
-
Everything that must be correct for a proof to mean what it says.
For a verified program this includes the checker, the semantics, the front end that reads your code, and the compiler that produces the binary. The trust axes on each toolchain page go through these parts.
- Undefined behavior
-
Operations the language standard gives no meaning to, such as out-of-bounds writes in C.
Compilers may assume undefined behavior never happens, so a program that triggers it can do anything after compilation.
- Verification condition
-
A logical formula generated from code and its specification; if it is true, the code meets the specification.