cvc5
Also known as CVC5
An SMT solver that decides formulas over arithmetic, bit-vectors, strings, datatypes and more, and can output proofs of unsat answers for separate checkers.
It is the fifth solver in the CVC family. Its proof output lets other programs check an unsat answer instead of trusting the solver.
Trust card
What you trust when you accept a proof from cvc5. Logic: Many-sorted first-order logic with built-in theories (SMT-LIB and cvc5 extensions).
Trusted coreProof kernel. The small trusted core of a proof assistant that checks every proof.
No proof kernel by default: the solver, written in C++, is trusted. With proofs turned on, cvc5 records its reasoning in its own calculus (CPC), which Ethos or Logos check outside the solver. Rules that are not yet formalized appear as trust steps, and the checker then reports the proof as incomplete. --safe-mode=safe only allows features with full proof and model support. Rated amber; when a CPC proof checks with no trust steps, the trusted base becomes the checker and the CPC rule definitions. 49 GitHub issues with "soundness" or "unsound" in the title were opened between 2021-11 and 2026-11.
Independent re-checkers
- Ethos — Checker in C++ for proofs written in the Eunoia logical framework; the recommended checker for CPC proofs. From the cvc5 team.
- Logos — Checker written in Lean, proved sound against a Lean formalization of SMT-LIB semantics. Covers the proofs produced by safe builds of cvc5 (as of the 1.5.0 prerelease); not yet optimized for speed.
- Carcara — Rust checker for Alethe proofs; cvc5's Alethe output covers equality with uninterpreted functions, linear arithmetic, bit-vectors and parts of strings.
- Isabelle/HOL smt method — Reconstructs cvc5's Alethe proofs in Isabelle's kernel.
- lean-smt — Lean tactic that replays cvc5 proofs in Lean's kernel; holes in a proof become goals for the user. Beta.
Axioms
Not applicable in the proof-assistant sense. The built-in theories are implemented inside the solver and trusted unless a proof is produced and checked.
sourceCertificatesProof certificate. A record of a proof that a separate, simpler program can check.
Yes. --produce-proofs with --proof-format-mode cpc or alethe writes proofs for external checkers; --check-proofs checks them internally. LFSC output was removed in 1.4.1.
Soundness record
5 notable issues in the last five years. An empty list means none were found, not that none exist. Reports go to this channel.
- Oct 2026 Wrong unsat for bit-vector multiplications with mixed zero and sign extension Bug in a rewrite rule. Fixed in 1.4.2. Fixed
- Sep 2026 Wrong unsat from the coverings solver for nonlinear real arithmetic Fixed by PR 12928. Fixed
- Jul 2026 Wrong unsat for quantified nonlinear real arithmetic with --miniscope-quant=agg Open. Maintainers report that it does not occur in safe mode. Not fixed
- Jan 2026 Wrong unsat for fp.to_ubv on NaN (correct answer with --check-proofs) Fixed by PR 12795 (real-to-floating-point abstraction refinement). Fixed
- Mar 2024 Wrong unsat on a simple trigonometric equation Fixed by PRs 10536 and 10573. Fixed
In this index
Entries that rely on cvc5.
Toolchains
Semantics usable here
None yet.
Automation checked by it
None yet.