SkillAgentSearch skills...

Z3

The Z3 Theorem Prover

Install / Use

/learn @Z3Prover/Z3
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Z3

Z3 is a theorem prover from Microsoft Research. It is licensed under the MIT license. Windows binary distributions include C++ runtime redistributables

If you are not familiar with Z3, you can start here.

Pre-built binaries for stable and nightly releases are available here.

Z3 can be built using Visual Studio, a Makefile, using CMake, using vcpkg, or using Bazel. It provides bindings for several programming languages.

See the release notes for notes on various stable releases of Z3.

Try the online Z3 Guide

Build status

Pull Request & Push Workflows

| WASM Build | Windows Build | CI | OCaml Binding | | ------------|---------------|----|-----------| | WASM Build | Windows | CI | OCaml Binding CI |

Scheduled Workflows

| Open Bugs | Android Build | Pyodide Build | Nightly Build | Cross Build | | -----------|---------------|---------------|---------------|-------------| | Open Issues | Android Build | Pyodide Build | Nightly Build | RISC V and PowerPC 64 |

| MSVC Static | MSVC Clang-CL | Build Z3 Cache | Code Coverage | Memory Safety | Mark PRs Ready | |-------------|---------------|----------------|---------------|---------------|----------------| | MSVC Static Build | MSVC Clang-CL Static Build | Build and Cache Z3 | Code Coverage | Memory Safety Analysis | Mark PRs Ready for Review |

Manual & Release Workflows

| Documentation | Release Build | WASM Release | NuGet Build | |---------------|---------------|--------------|-------------| | Documentation | Release Build | WebAssembly Publish | Build NuGet Package |

Specialized Workflows

| Nightly Validation | Copilot Setup | Agentics Maintenance | |--------------------|---------------|----------------------| | Nightly Build Validation | Copilot Setup Steps | Agentics Maintenance |

Agentic Workflows

| A3 Python | API Coherence | Code Simplifier | Release Notes | Workflow Suggestion | | ----------|---------------|-----------------|---------------|---------------------| | A3 Python Code Analysis | API Coherence Checker | Code Simplifier | Release Notes Updater | Workflow Suggestion Agent |

| Academic Citation | Build Warning Fixer | Code Conventions | CSA Report | Issue Backlog | | ------------------|---------------------|------------------|------------|---------------| | Academic Citation Tracker | Build Warning Fixer | Code Conventions Analyzer | Clang Static Analyzer Report | Issue Backlog Processor |

| Memory Safety Report | Ostrich Benchmark | QF-S Benchmark | Tactic-to-Simplifier | ZIPT Code Reviewer | | ---------------------|-------------------|----------------|----------------------|--------------------| | Memory Safety Report | Ostrich Benchmark | ZIPT String Solver Benchmark | Tactic-to-Simplifier | ZIPT Code Reviewer |

Building Z3 on Windows using Visual Studio Command Prompt

For 32-bit builds, start with:

python scripts/mk_make.py

or instead, for a 64-bit build:

python scripts/mk_make.py -x

then run:

cd build
nmake

Z3 uses C++20. The recommended version of Visual Studio is therefore VS2019 or later.

Security Features (MSVC): When building with Visual Studio/MSVC, a couple of security features are enabled by default for Z3:

  • Control Flow Guard (/guard:cf) - enabled by default to detect attempts to compromise your code by preventing calls to locations other than function entry points, making it more difficult for attackers to execute arbitrary code through control flow redirection
  • Address Space Layout Randomization (/DYNAMICBASE) - enabled by default for memory layout randomization, required by the /GUARD:CF linker option
  • Thes

Related Skills

View on GitHub
GitHub Stars12.1k
CategoryDevelopment
Updated2h ago
Forks1.6k

Languages

C++

Security Score

80/100

Audited on Mar 26, 2026

No findings