Formal verification

Mathematical proof that a smart contract satisfies stated invariants under all reachable program states.

Stronger than testing, which only covers paths the tests exercise. Formal verification (via tools like Certora Prover, K Framework, or Halmos) catches edge-case logic errors traditional audits often miss. Adopted by Aave, Compound, MakerDAO, Lido for critical contracts.

Related terms