Apocrypha

z3

An efficient theorem prover

Z3 is an efficient Satisfiability Modulo Theories (SMT) solver from Microsoft Research. Z3 is a solver for symbolic logic, a foundation for many software engineering tools. SMT solvers rely on a tight integration of specialized engines of proof. Each engine owns a piece of the global puzzle and implements specialized algorithms. For example, Z3’s engine for arithmetic integrates Simplex, cuts and polynomial reasoning, while an engine for strings are regular expressions integrate methods for symbolic derivatives of regular languages. A theme shared among many of the algorithms is how they exploit a duality between finding satisfying solutions and finding refutation proofs. The solver also integrates engines for global and local inferences and global propagation. Z3 is used in a wide range of software engineering applications, ranging from program verification, compiler validation, testing, fuzzing using dynamic symbolic execution, model-based software development, network verification, and optimization.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 5.0.0 2 16 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvarmloongmipsppcsparc Committed
5.0.0 gentoo amd64 testing arm64 testing x86 testing ppc64 testing riscv testing arm testing loong testing mips testing ppc testing sparc testing view · download · history ↗
4.16.0 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable loong testing mips testing ppc testing sparc testing view · download · history ↗

Use flags of 5.0.0

  • doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
  • examples Install examples, usually source code
  • gmp Add support for dev-libs/gmp (GNU MP library)
  • isabelle Add integration support for the Isabelle/HOL theorem prover.
  • java Add support for Java
  • python Add optional support/bindings for the Python language
11 expansion flags (python targets, ABIs, cpu flags…)
  • abi_x86_32
  • abi_x86_64
  • abi_x86_x32
  • abi_mips_n32
  • abi_mips_n64
  • abi_mips_o32
  • abi_s390_32
  • abi_s390_64
  • python_single_target_python3_12
  • python_single_target_python3_13
  • python_single_target_python3_14

Runtime dependencies of 5.0.0

show 15 lines