# Z3

> An SMT solver from Microsoft that decides formulas over arithmetic, bit-vectors, arrays, strings and more. Many verifiers trust its unsat answers.

Many verification tools send their proof obligations to Z3 and trust its answer: unsat means the obligation holds.

- Kind: smt-solver
- Logic: Many-sorted first-order logic with built-in theories (SMT-LIB and Z3 extensions)
- Checker level: Partial (amber)
- Licence: open-source, MIT
- Latest release: z3-5.4.1 (2026-11-11) https://github.com/Z3Prover/z3/releases/tag/z3-5.4.1

## Trust card

- Kernel: No proof kernel. The whole solver, written in C++, is trusted when its "unsat" answer is used as a proof: preprocessing, rewriters, theory solvers and quantifier instantiation. Rated amber. Fuzzers find wrong answers regularly: more than 100 GitHub issues with "soundness" or "unsound" in the title were opened between 2021-11 and 2026-11. If a proof assistant replays Z3's proof (Isabelle, HOL4), the trust moves to that assistant's kernel. ([source](https://github.com/Z3Prover/z3/issues?q=is%3Aissue+in%3Atitle+soundness))
- Independent checkers: [Isabelle/HOL smt method](https://github.com/isabelle-prover/mirror-isabelle/tree/master/src/HOL/Tools/SMT/z3) (Replays Z3 proof terms in Isabelle's kernel.); [HOL4 HolSmtLib](https://github.com/HOL-Theorem-Prover/HOL/tree/develop/src/HolSmt) (Parses Z3 proofs and replays them in HOL4's kernel.)
- Axioms: Not applicable in the proof-assistant sense. The built-in theories (integer and real arithmetic, bit-vectors, floating point, arrays, strings and others) are implemented inside the solver, and that implementation is trusted. ([source](https://microsoft.github.io/z3guide/))
- Certificates: Partly. With proof=true Z3 emits proof terms (supported since 2008), which Isabelle and HOL4 replay. Since 4.12.0 the new core (sat.euf=true) writes clausal proof logs and checks them itself by default; some steps, such as quantifier instantiations, are checked by general SMT solving, so this checker is not small or independent. ([source](https://microsoft.github.io/z3guide/programming/Proof%20Logs))
- Soundness reports: https://github.com/Z3Prover/z3/issues

## Soundness issues (notable, recent first)
- 2026-11: [Wrong unsat on a satisfiable formula over sequences (seq.extract / seq.nth)](https://github.com/Z3Prover/z3/issues/11545) — fixed. Also present in releases back to 4.13.3. Fixed by PR 11549.
- 2026-10: [Wrong unsat for "pi > 0" (reversed bounds on pi in nonlinear arithmetic)](https://github.com/Z3Prover/z3/issues/11014) — fixed. Fixed by PR 11016.
- 2026-03: [Wrong unsat from the nonlinear arithmetic solver](https://github.com/Z3Prover/z3/issues/9139) — fixed. An arithmetic error when translating linear to nonlinear constraints.
- 2024-02: [Wrong unsat on a bit-vector and floating-point formula](https://github.com/Z3Prover/z3/issues/7135) — fixed. Open for more than two years; fixed in July 2026 by PR 10189 (unsigned bit-vector to float conversion).
- 2023-10: [Wrong answer on a floating-point and bit-vector formula](https://github.com/Z3Prover/z3/issues/6974) — fixed

Used by toolchains: alive2, cbmc, certora-prover, cn, creusot, dafny-verifier, fstar-lowstar, gobra, key, kontrol, solc-smtchecker, verus

---
Last checked 2026-11-26. Data: [JSON](/provers/z3.json) · Page: [HTML](/provers/z3/) · Methodology v0.1: [/methodology/](/methodology/) · Corrections: [/contribute/](/contribute/)
