Skip to main content

A solver-agnostic library for SMT Formulae manipulation and solving

Project description

pySMT makes working with Satisfiability Modulo Theory simple.

Among others, you can:

  • Define formulae in a solver independent way in a simple and inutitive way,

  • Write ad-hoc simplifiers and operators,

  • Dump your problems in the SMT-Lib format,

  • Solve them using one of the native solvers, or by wrapping any SMT-Lib complaint solver.

Supported Theories and Solvers

pySMT provides methods to define a formula in Linear Real Arithmetic (LRA), Real Difference Logic (RDL), their combination (LIRA), Equalities and Uninterpreted Functions (EUF) and Bit-Vectors (BV). The following solvers are supported through native APIs:

Additionally, you can use any SMT-LIB 2 compliant solver.

PySMT assumes that the python bindings for the SMT Solver are installed and accessible from your PYTHONPATH. For Yices 2 we rely on pyices (https://github.com/cheshire/pyices). For CUDD we use repycudd (https://github.com/pysmt/repycudd).

pySMT works on both Python 2 and Python 3. Some solvers support both versions (e.g., MathSAT) but in general, many solvers still support only Python 2.

Wanna know more?

Visit http://www.pysmt.org

Project details


Release history Release notifications | RSS feed

This version

0.4.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PySMT-0.4.4.tar.gz (163.5 kB view details)

Uploaded Source

File details

Details for the file PySMT-0.4.4.tar.gz.

File metadata

  • Download URL: PySMT-0.4.4.tar.gz
  • Upload date:
  • Size: 163.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PySMT-0.4.4.tar.gz
Algorithm Hash digest
SHA256 291fe7031b18e1a46ef3e2c6cad37bd0f070cd7a9ffc8536960546942d053593
MD5 84ee558cb54ab8bc3e329387b7c7e52d
BLAKE2b-256 cd8279497d47ed4ba68c9b0c27198f977775b903f0cf2888d54c7ae7b3526185

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page