Skip to content
SPECIFICTION
Get listed

Alloy Analyzer vs Z3

Alloy Analyzer

alloytools.org

Z3

github.com

Side by side

FigureAlloy AnalyzerZ3
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
Android—Yes
APIYesYes
Self-hosted—Yes
Plans published11
Spec score · Formal Verification Tools8.1 (#6)7.4 (#26)
ApplicationsThe project links applications including Alloy*, a Ruby embedding, a bounded Java verifier, and a firewall security policy analyzer.Z3 is used in software verification and analysis applications.
PlatformsThe download page identifies Alloy 6.2.0 and says it includes a version for macOS High Sierra; it also describes running the JAR with Java.The project wiki lists Windows, OSX, Linux (Ubuntu and Debian), and FreeBSD as supported platforms.
PurposeAlloy is a language for describing evolving structures, and the Alloy Analyzer explores models by finding structures that satisfy constraints or counterexamples to properties.Z3 is a theorem prover and satisfiability modulo theories (SMT) solver.

Plans

Alloy Analyzer

  • Alloy AnalyzerFree

Alloy Analyzer pricing →

Z3

  • Z3 (MIT licensed)Free

Z3 pricing →

In their own words

Alloy Analyzer

Alloy Analyzer is a free model-checking tool for describing systems in the Alloy language and exploring the structures those descriptions permit. It searches for structures that satisfy constraints and for counterexamples to properties. Models can represent collections of structures that change over time, including security configurations and switching network topologies. The Analyzer presents results graphically, with appearance options that can be tailored to a domain. Alloy 6 adds mutable state, temporal logic, and temporal model checking; that checking requires NuSMV or nuXmv to be installed and available in PATH. The self-contained executable includes the Pardinus/Kodkod model finder, SAT solvers, the standard Alloy library, tutorial examples, and source code. The same JAR can be used as an API in other applications. Sterling adds a web-based visualizer with graph and table views, customizable and extendable with JavaScript. Alloy is self-hosted, supports Linux, macOS, Windows, and API use, and is maintained by volunteers.

Visit alloytools.org

Z3

Z3 is a theorem prover and satisfiability modulo theories (SMT) solver used in software verification and analysis. SMT-LIB2 is its default input format, and it supports the SMT-LIB format. The project documents bindings or APIs for C, C++, .NET, Java, Go, OCaml, Python, Julia, and JavaScript/TypeScript. Z3 can be built with CMake, vcpkg, or Bazel, and the repository links to pre-built binaries for stable and nightly releases. A project wiki also links to a page for trying Z3 in a browser. It supports proof artifacts and counterexamples, and listed input languages include SMT-LIB2, Rust, Smalltalk, and several of the languages with documented APIs. Z3 is MIT licensed, with downloads and source code available at no charge. Python is required to build it; additional toolchains are needed for Java, .NET, OCaml, and Julia APIs. The README says MSVC builds enable Control Flow Guard and Address Space Layout Randomization by default.

Visit github.com