Proving that your Solidity code always terminates or progresses
Every run finishes, or the system keeps making progress (liveness).
Change the question
Ranked by: support for this property, stage, coverage of the features you pick, and trust. Tools that work on compiled code rank lower. Ranking as JSON.
-
Write properties as Foundry tests in Solidity; Kontrol checks them for all inputs by symbolically running the compiled EVM bytecode on KEVM.
Partial.No termination or general liveness proofs (on chain every run ends when gas runs out). A test can show that a specific call does not revert under stated conditions. Partial — No termination or general liveness proofs (on chain every run ends when gas runs out). A test can show that a specific call does not revert under stated conditions.
- Effort
- Auto-active
- Covers
- 2 of 11 Solidity features
- Relies on
- K's symbolic execution engine and Z3 decide; no checked proof certificates. Hand-written K lemmas, vm.assume and loop bounds can hide bugs; all sit in project files.
Stage 2 · Production 3/5 strong -
Write rules and invariants in Certora's spec language (CVL); an SMT-based prover checks them against your contract's compiled EVM bytecode.
Partial.No termination or general liveness proofs. A rule can show that a specific call does not revert under stated conditions.
Source Partial — No termination or general liveness proofs. A rule can show that a specific call does not revert under stated conditions.- Effort
- Auto-active
- Covers
- 2 of 11 Solidity features
- Relies on
- SMT solvers (Z3, cvc5 and others) decide; no checked proof certificates. EVM model built into the Prover; no published validation found.
Stage 2 · Production 2/5 strong
No option matches this effort level.
Verify Solidity, but not this property
- Solidity SMTChecker — There are no checks for termination or liveness among the verification targets.
Ask something else about Solidity
New to this? Start with the glossary: auto-activeAuto-active verification. You write specifications and hints in the code; an automatic solver does the proving., interactiveInteractive theorem prover. A proof assistant where you write proofs step by step and the system checks each step., trusted computing baseTrusted computing base (TCB). Everything that must be correct for a proof to mean what it says..