Skip to content
Projects

hohieuai/awesome-formal-verification

View on GitHub

About

Awesome list of formal verification tools, verified systems, papers, and learning resources

Learning & Education

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Awesome Formal Verification Awesome

A curated collection of formal verification tools, languages, verified systems, research papers, and learning resources for proving that software and hardware behave correctly.

Contributions are welcome; see CONTRIBUTING.md.

Contents

Getting Started

If you want to verify Start with
Rust code Kani for automated bounded checking; Verus or Creusot for full functional correctness
C code Frama-C with ACSL annotations, or CBMC for bounded model checking
Distributed systems and protocols TLA+ with the Learn TLA+ tutorial, then Apalache for symbolic checking
Hardware (RTL) SymbiYosys with the ZipCPU tutorials
Mathematics Lean 4 with Theorem Proving in Lean 4 and Mathlib
Programming language theory Rocq with Software Foundations, or Agda with PLFA
Smart contracts Certora Prover for EVM; Kontrol for Foundry projects

Terminology

Term Meaning
Interactive The user writes the proof step by step, with tactic support
Auto-active The user writes specifications and invariants; an SMT solver discharges the proofs
Automated No annotations are needed beyond the property to check
Theories Logics a solver accepts; quantifiers and nonlinear integer arithmetic are undecidable in general
Language The user-facing language, followed by the implementation language when they differ

Theorem Provers

Name Description Logic Automation Language Domain
Rocq Proof assistant for interactive development of formal proofs (formerly Coq) Calculus of Inductive Constructions Interactive Rocq / OCaml Software, math, PL theory
Lean 4 Dependently typed theorem prover with fast elaboration Dependent type theory Interactive + tactics Lean Math, software, compilers
Isabelle Generic proof assistant with powerful automation (Sledgehammer) Higher-order logic Interactive + automated Isabelle/ML Software, math, security
Agda Dependently typed functional language and proof assistant Dependent types Interactive Agda / Haskell PL theory, math
HOL4 Proof assistant for higher-order logic HOL Interactive Standard ML Compilers (CakeML), ISA and binary code, hardware
Metamath Minimalist framework for formalizing mathematics Logic-agnostic (set.mm: ZFC) Interactive Metamath / C Mathematics
F* Dependently typed language for program verification and crypto Dependent types SMT-backed F* Crypto (HACL*), TLS, parsers, systems
Idris 2 General-purpose language with dependent types Dependent types Interactive Idris PL research, theorem proving
ACL2 Theorem prover for an applicative subset of Common Lisp, with automated induction First-order logic of total recursive functions Automated + interactive ACL2 / Common Lisp Microprocessors, hardware, software
HOL Light Proof assistant for higher-order logic with a small trusted kernel HOL Interactive OCaml Math (Flyspeck), floating-point, cryptographic code
PVS Specification and verification system with predicate subtypes and decision procedures Higher-order logic with predicate subtypes and dependent types Interactive + decision procedures PVS / Common Lisp Aerospace (NASA), algorithms, hardware
Mizar Proof checker for mathematics written in a declarative style, with the Mizar Mathematical Library Tarski–Grothendieck set theory Interactive Mizar / Free Pascal Mathematics

Automated Theorem Provers

Automated theorem provers search for proofs without user interaction, typically on first-order problems stated in TPTP. SMT solvers such as Z3 and cvc5 also support quantifiers and are listed under SMT / SAT Solvers.

Name Description Logic Input Language Typical Use
Vampire First-order theorem prover with awards at CASC and SMT-COMP First-order logic with theories (arithmetic, arrays, datatypes) TPTP, SMT-LIB C++ Mathematics, hammers (Isabelle Sledgehammer)
E Equational theorem prover for first-order logic First-order logic with equality; monomorphic HOL (optional) TPTP, LOP C Hammers (Isabelle Sledgehammer)
Prover9 Resolution prover bundled with the Mace4 finite model finder; successor of Otter, maintained as LADR-2026 First-order and equational logic LADR C Algebra, counterexample search

SMT / SAT Solvers

Name Description Input Theories Language Typical Use
Z3 High-performance SMT solver from Microsoft Research SMT-LIB Linear and nonlinear arithmetic, bit-vectors, arrays, strings, quantifiers C++ / APIs Program analysis, symbolic execution
cvc5 SMT solver supporting many theories and proof production SMT-LIB, SyGuS-IF Arithmetic, bit-vectors, arrays, strings, sets, quantifiers C++ Verification, synthesis
Yices 2 Efficient SMT solver for software verification SMT-LIB, Yices language Linear and nonlinear arithmetic (MCSAT), bit-vectors, arrays, uninterpreted functions C BMC, invariant generation
Bitwuzla SMT solver for bit-precise reasoning, successor of Boolector SMT-LIB, BTOR2 Bit-vectors, floating-point, arrays, uninterpreted functions C++ Hardware, low-level code
Boolector SMT solver for bit-vectors, arrays and uninterpreted functions (archived; succeeded by Bitwuzla) SMT-LIB, BTOR, BTOR2 Bit-vectors, arrays, uninterpreted functions C Hardware, low-level code
MiniSat Minimalist SAT solver (unmaintained; widely used as an embeddable reference) CNF Propositional C++ BMC, planning, scheduling
Kissat State-of-the-art CDCL SAT solver CNF Propositional C Competition-grade SAT solving
CaDiCaL CDCL SAT solver designed to be easy to understand and extend, with incremental solving CNF Propositional C++ Embedded solving (Lean's bv_decide)
STP Simple Theorem Prover for bit-vectors, arrays and floating-point SMT-LIB Bit-vectors, arrays, floating-point C++ Symbolic execution (KLEE)

Program Verification

Name Description Approach Target Language Automation Output
Dafny Verification-aware programming language with built-in verifier Deductive Dafny Auto-active Verified programs
Boogie Intermediate verification language and verifier used as a back end by Dafny and other tools Deductive (VC generation) Boogie IVL SMT Proof obligations
Why3 Platform for deductive program verification via VC generation Deductive WhyML SMT + provers Proof obligations
Frama-C Extensible platform for analyzing C programs Abstract interpretation, deductive C Plugin-dependent Annotations, proofs
CBMC Bounded model checker for C and C++ (Java bytecode via the companion JBMC) BMC C, C++ Automated Counterexamples
Cameleer Deductive verifier for OCaml programs using GOSPEL specs Deductive OCaml SMT + interactive Proof obligations
Verus Verification tool for Rust using SMT and linear types Deductive Rust Auto-active Verified programs
Liquid Haskell Refinement types for Haskell programs Refinement types Haskell Auto-active Type-level proofs
SPARK Ada subset with contracts, verified by the open-source GNATprove Deductive Ada/SPARK Automated + interactive Absence of runtime errors, functional correctness
Viper Verification infrastructure for permission-based reasoning Permission-based (implicit dynamic frames) Viper IVL (front-ends for Rust, Go, Python) Automated Verified heap-manipulating programs
Prusti Static verifier for Rust based on Viper Deductive Rust Auto-active Panic/overflow freedom, functional correctness
Kani Rust model checker built on CBMC BMC Rust Automated Counterexamples
Creusot Deductive verifier for Rust using Why3 Deductive Rust Auto-active Functional correctness
Aeneas Translates safe Rust into pure functional models for verification in a proof assistant Functional translation Rust Interactive Models in Lean, Rocq, F*, HOL4
VeriFast Modular verifier for C, Rust, and Java programs Separation logic (symbolic execution) C, Rust, Java Auto-active Memory safety, functional correctness
KeY Deductive verifier for Java programs specified in JML Deductive (Java dynamic logic) Java Automated + interactive Functional correctness
ESBMC SMT-based context-bounded model checker for single- and multi-threaded programs BMC C, C++, CUDA, Kotlin, Python, Rust, Solidity Automated Counterexamples
CPAchecker Configurable software-verification platform Configurable program analysis (predicate abstraction, k-induction, BMC) C Automated Counterexamples, correctness witnesses

Model Checkers

Name Description Model Type Properties Language Domain
TLA+ Specification language and model checker for concurrent systems State machines Safety, liveness TLA+ Distributed systems, protocols
Alloy Relational modeling language with SAT-based analyzer Relational Structural, temporal (LTL, since Alloy 6) Alloy Software design, architecture
SPIN Model checker for multi-threaded software and protocols Concurrent processes Assertions, LTL, deadlocks, progress Promela / C Concurrent software
UPPAAL Tool for timed automata and real-time systems Timed automata Timed properties UPPAAL Real-time, embedded
PRISM Probabilistic model checker for stochastic systems DTMC, CTMC, MDP, PTA, POMDP Probabilistic PRISM Security, biology, protocols
Storm Probabilistic model checker with a C++ core and Python bindings DTMC, CTMC, MDP, MA, POMDP Probabilistic PRISM, JANI Reliability, randomized protocols
nuXmv Extension of NuSMV for symbolic model checking of finite- and infinite-state systems Transition systems CTL, LTL, invariants, PSL SMV Hardware, software
Ivy Language and tool for interactive verification of distributed protocols Transition systems Safety, liveness Ivy Distributed protocols
Apalache Symbolic model checker for TLA+ and Quint specifications State machines (SMT-encoded) Safety, bounded liveness TLA+, Quint Distributed systems
mCRL2 Toolset for modelling and analysing concurrent systems in a process algebra with data Process algebra (LTS) Modal mu-calculus mCRL2 Protocols, concurrent systems
P State-machine language for modelling and checking distributed systems, used across AWS Communicating state machines Safety, liveness P Distributed systems, cloud services

Specification Languages & Frameworks

  • K Framework - Rewrite-based executable semantics framework for defining programming languages and verifying programs.
  • ACSL - ANSI/ISO C Specification Language used by Frama-C and other C verifiers.
  • JML - Java Modeling Language for specifying behavior of Java programs.
  • Gospel - Tool-agnostic behavioral specification language for OCaml, used for deductive verification and runtime checking.
  • Sail - Language for specifying instruction set architectures (ISAs).
  • Quint - Executable specification language based on the temporal logic of actions (TLA), with a simulator and model checking through Apalache.
  • Event-B - Formal method for system-level modelling by stepwise refinement and proof, supported by the Rodin platform.
  • Iris - Higher-order concurrent separation logic framework implemented and verified in Rocq.
  • VST - Verified Software Toolchain: separation logic for C programs in Rocq, proved sound with respect to CompCert.

Hardware Verification

Name Description Approach Input Automation Domain
SymbiYosys Front-end for Yosys-based formal hardware verification flows BMC, k-induction, PDR/IC3, cover, liveness Verilog, SystemVerilog (full SVA and VHDL via Tabby CAD) Automated RTL designs
Yosys Open synthesis suite with formal verification support SMT, SAT Verilog, SystemVerilog (synthesizable subset) Semi-automated RTL, netlists
riscv-formal Reusable formal verification framework for RISC-V CPU designs BMC, induction Verilog, SystemVerilog (SVA) Semi-automated CPU cores
ABC System for sequential logic synthesis and formal verification CEC, SEC, BMC, PDR/IC3, interpolation AIGER, BLIF, BENCH, structural Verilog Automated Gate-level
EBMC Model checker for hardware designs (Verilog, SystemVerilog, SMV) BMC, k-induction, IC3, BDD Verilog, SystemVerilog, SMV Automated RTL
rIC3 Hardware model checker; first place in the bit-level and word-level tracks of HWMCC 2024 and 2025 IC3/PDR, BMC, portfolio AIGER, BTOR2, RTL via Yosys Automated RTL, gate-level

Simulation & Testbenches

  • cocotb - Python-based testbench framework for HDL simulators.
  • Verilator - Fast Verilog simulator with assertion and coverage support.
  • chiselverify - UVM-like verification library for Chisel HDL.

Smart Contract Verification

  • Certora Prover - Formal verification tool for EVM, Solana, and Stellar smart contracts, with specifications written in CVL (open source since 2025).
  • Slither - Static analysis framework for Solidity, often used alongside formal verification workflows.
  • Mythril - Security analysis tool for EVM bytecode using symbolic execution.
  • Halmos - Symbolic testing tool for EVM smart contracts, compatible with Foundry tests.
  • HEVM - Symbolic execution engine for EVM bytecode.
  • Solc-verify - Solidity compiler extension for SMT-based verification via Boogie (supports Solidity up to 0.7; inactive since 2021).
  • VeriSol - Formal correctness analyzer for Solidity via Boogie translation (archived; no longer actively maintained since 2021).
  • Kontrol - Formal verification for Solidity using K Framework semantics (KEVM) and Foundry.
  • Verity - Lean 4 framework for formally specified and verified smart contracts.
  • Move Prover (Aptos) - Formal verification for Move smart contracts on Aptos.
  • Sui Prover - Formal verification tool for Move smart contracts on Sui, built on Boogie and Z3.

Verified Systems & Case Studies

  • seL4 - Microkernel with end-to-end proof of implementation correctness and security enforcement.
  • CompCert - Formally verified optimizing compiler for almost all of the C language (ISO C 2011).
  • CertiKOS - Certified concurrent OS kernel with verified C compiler toolchain.
  • Ironclad / IronFleet - Verified distributed systems and applications in Dafny (Microsoft Research).
  • miTLS - Partially verified reference implementation of TLS 1.3 in F* (verified record layer).
  • HACMS - Completed DARPA program that applied formal methods, including seL4, to high-assurance software for unmanned vehicles.
  • HACL* / EverCrypt - Verified cryptographic library in F* (HACL*) with the EverCrypt provider that combines it with Vale verified assembly.
  • Vale - Tool for generating verified assembly language.
  • CakeML - Verified implementation of a significant subset of Standard ML, with a compiler proved correct in HOL4.
  • Fiat Cryptography - Synthesizes correct-by-construction code for cryptographic primitives, with proofs in Rocq.
  • s2n-bignum - Integer arithmetic routines for cryptography in x86_64 and ARM machine code, each with a machine-checked proof in HOL Light (AWS).

Formalized Mathematics

  • Four Color Theorem - Rocq proof of the four color theorem, originally developed by Georges Gonthier.
  • Flyspeck - Formal proof of the Kepler conjecture in HOL Light, completed in 2014.
  • Liquid Tensor Experiment - Lean 3 formalization of a theorem of Clausen and Scholze on liquid vector spaces, posed as a challenge by Peter Scholze (completed 2022).
  • Fermat's Last Theorem - Ongoing project, led by Kevin Buzzard, to formalize a proof of Fermat's Last Theorem in Lean.
  • Equational Theories Project - Collaborative project, started by Terence Tao, mapping the 22 million implications between 4,694 equational laws of magmas, with proofs checked in Lean.

AI for Formal Verification

Libraries & Tools

  • Mathlib - Community library of formalized mathematics for Lean 4, and the main training corpus for AI provers.
  • ATLAS - Lean 4 library of mathematics, theoretical computer science, and physics generated by LLM agents with Meta's AutoformBot autoformalization pipeline (license restricts use for training or evaluating ML models).
  • Stacks Project in Lean - Lean 4 formalization of the Stacks Project on algebraic geometry, built on Mathlib, with a human-reviewed tier and a tier written by AI agents (Axiom).
  • CFSG in Lean - Lean 4 formalization of the classification of finite simple groups, following the first-generation proof, produced by AI agents directed by Axiom's engineers and mathematicians.
  • Tau Ceti - Lean library downstream of Mathlib, written by AI contributors under human-directed roadmaps and adversarial review (incubated by the Lean FRO and the Mathlib Initiative).
  • LeanDojo - Toolkit for extracting training data from Lean projects and letting models interact with Lean programmatically.
  • Lean Copilot - Runs LLMs inside Lean 4 to suggest tactics, search for proofs, and select premises.
  • AutoformBot - Multi-agent autoformalization tool, packaged as a plugin for coding assistants, that turns papers or notes into Lean 4 formalizations; used to build ATLAS (Meta).
  • AXLE - Cloud API for checking, repairing, and transforming Lean 4 proofs, with a Python client and an MCP server for AI agents (Axiom; free API key).
  • axplorer - Framework that alternates transformer training with local search to find extremal constructions in combinatorics, extending PatternBoost (Axiom).
  • Lean4Proof - Agent that turns a math problem in plain language or a Lean theorem into a Lean 4 proof checked by Lean, with desktop, web, and command-line interfaces (by the maintainer of this list).

Models & Results

  • OpenAI math collection - Mathematical manuscripts produced by an internal OpenAI model on open research problems, with Lean formalizations for part of the results; unformalized results are not independently verified.
  • DeepSeek-Prover-V2 - Open-weight language model for theorem proving in Lean 4, trained with reinforcement learning on subgoal decomposition.
  • AlphaProof - DeepMind's reinforcement-learning system for proving competition problems in Lean (silver-medal level at IMO 2024).
  • AxiomProver - Axiom's autonomous multi-agent prover for Lean 4, with formal solutions to all six IMO 2026 problems and all twelve Putnam 2025 problems (eight within the exam time).
  • Goedel-Prover-V2 - Open-source Lean 4 prover models (8B and 32B) trained with scaffolded data synthesis and verifier-guided self-correction.
  • Kimina-Prover - Reasoning models for Lean 4 theorem proving trained with large-scale reinforcement learning (Project Numina and Kimi team).
  • Seed-Prover - ByteDance Seed's Lean 4 proving systems; Seed-Prover 1.0 solved four of six IMO 2025 problems during the contest, and Seed-Prover 1.5 reports 88% on PutnamBench.

Benchmarks

  • miniF2F - Olympiad-level formal mathematics benchmark in Lean, Isabelle, and Metamath (archived; still the standard reference set).
  • PutnamBench - Putnam competition problems formalized in Lean 4, Isabelle, and Rocq.
  • DafnyBench - Benchmark of Dafny programs for evaluating LLMs on software verification.
  • Formal Conjectures - Open mathematical conjectures stated in Lean 4 with Mathlib, intended as a benchmark for automated provers and autoformalization (Google DeepMind).
  • Lean Eval - Formal mathematics benchmark whose submissions are checked by the comparator tool against trusted Lean statements, with a public leaderboard.
  • Verina - Benchmark for verifiable code generation in Lean 4, covering code, specification, and proof generation.

Learning Resources

Books

Courses & Tutorials

Research

Conferences & Events

  • CAV - International Conference on Computer-Aided Verification.
  • FM - International Symposium on Formal Methods (Formal Methods Europe).
  • ITP - International Conference on Interactive Theorem Proving.
  • CPP - Certified Programs and Proofs (co-located with POPL).
  • TACAS - Tools and Algorithms for the Construction and Analysis of Systems.
  • FMCAD - Formal Methods in Computer-Aided Design.
  • FMBC - Formal Methods for Blockchains workshop.
  • ORConf - Open Source Digital Design Conference.
  • CADE - Conference on Automated Deduction, which also takes part in the International Joint Conference on Automated Reasoning (IJCAR).
  • SAT - International Conference on Theory and Applications of Satisfiability Testing.
  • NFM - NASA Formal Methods Symposium.

Competitions

  • SV-COMP - Annual Competition on Software Verification.
  • SMT-COMP - Annual competition of SMT solvers on SMT-LIB benchmarks.
  • SAT Competition - Annual competition of SAT solvers.
  • CASC - CADE ATP System Competition for automated theorem provers on TPTP problems.
  • HWMCC - Hardware Model Checking Competition.

Related Lists

Explore related projects

Loading…