yices2 for Mac
SRI Yices 2 is a solver for Satisfiability Modulo Theories (SMT) problems. Yices 2 can process input written in the SMT-LIB language, or in Yices' own specification language.
yices2 — overview
SRI Yices 2
SRI Yices 2 is a solver for Satisfiability Modulo Theories (SMT) problems. Yices 2 can process input written in the SMT-LIB language, or in Yices' own specification language. We also provide a C API and bindings for Java, Python, Go, and OCaml.
This repository includes the source of Yices 2, documentation, tests, and examples.
Yices 2 is developed by Bruno Dutertre, Dejan Jovanovic, Stéphane Graham-Lengrand, Ian A. Mason, and Ahmed Irfan at the Computer Science Laboratory, SRI International. To contact us, or to get more information about Yices, please visit our website.
Simple Examples
Here are a few typical small examples that illustrate the use of Yices using the SMT2 language.
Linear Real Arithmetic
Bit-Vectors
Non-Linear Arithmetic
Running Yices on the above problem gives
Parallel Yices Example
Yices can be run in parallel using a portfolio approach, which launches several instances of yices_smt2 with different configurations and returns as soon as one instance finds a solution. This is useful for hard SMT problems where different configurations may solve the problem faster.
A Python script is provided in utils/yices2_parallel.py for this purpose. Example usage: --yices specifies the path to the yices_smt2 executable (default: yices_smt2 in the script directory) -n sets the number of parallel threads/configurations (default: 4) --verbose enables detailed output The last argument is the path to your SMT2 file
The script will run several Yices instances in parallel and print the result (sat, unsat, or unknown) as soon as one instance finishes.
For more options, run:
Installing Prebuilt Binaries
Currently you can install Yices either using Homebrew or Apt.
Homebrew
Installing on Darwin using homebrew can be achieved via:
This will install the full mcsat-enabled version of Yices, including dynamic library and header files.
Apt
To install Yices on Ubuntu or Debian, do the following:
This will install the executables. If you also need the Yices library and header files, replace the last step with:
Building From Source
Prerequisites
To build Yices from the source, you need: GCC version 4.9.x or newer (or clang 3.3 or newer) gperf version 3.0 or newer the GMP library version 4.1 or newer other standard tools: make (gnumake is required), sed, etc.
To build the manual, you also need: a latex installation the latexmk tool
To build the on-line documentation, you need to install the Sphinx python package. The simplest method is:
Sphinx 1.4.x or better is needed.
Quick Installation
Do this:
This will install binaries and libraries in /usr/local/. You can change the installation location by giving option --prefix=... to the ./configure script.
For more explanations, please check doc/COMPILING.
Support for Non-Linear Arithmetic and MC-SAT
Details
Yices SMT 求解器
How to install yices2
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2025-07-16; current version yices-2.7.0, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| yices-2.7.0 | 2025-07-16 | Stable | 5.9 MB | Download | — | Download |
| Yices-2.6.5 | 2024-06-24 | Stable | 5.9 MB | Download | — | Download |
| Yices-2.6.4 | 2021-10-22 | Stable | 6.1 MB | Download | — | Download |
| 2021-02-19 | 2021-02-18 | Stable | — | — | — | Download |
| Yices-2.6.2 | 2020-04-06 | Stable | — | — | — | — |
| Yices-2.6.1 | 2018-10-26 | Stable | — | — | — | — |
| Yices-2.6.0 | 2018-06-29 | Stable | — | — | — | — |
| Yices-2.5.4 | 2017-10-18 | Stable | — | — | — | — |
| Yices-2.5.3 | 2017-08-09 | Stable | — | — | — | — |
| Yices-2.6.3 | 2021-10-11 | Pre-release | 6.0 MB | Download | — | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| yices2 | yices-2.7.0 | GPL-3.0-or-later | CLI | 12 |
| minisat | releases/2.2.1 | MIT | CLI | 46 |
| damask-grid | 3.1.0 | AGPL-3.0-only | CLI | 9 |
| osi | releases/0.108.12 | EPL-2.0 | CLI | 98 |
Similar apps: Command-line Tools
minisat
Quick Install Decide where to install the files . The simplest approach is to use GNU standard…damask-grid
damask-grid is the grid solver within the DAMASK multiphysics crystal plasticity simulation…osi
Projects such as this one are maintained by a small group of volunteers under the auspices of…kissat
Kissat is a "keep it simple and clean bare metal SAT solver" written in C.openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools