PRISM vs Why3
PRISM
prismmodelchecker.orgWhy3
why3.orgSide by side
| Figure | PRISM | Why3 |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Formal Verification Tools | 7.6 (#19) | 8.0 (#12) |
| Purpose | PRISM is a probabilistic model checker for formal modelling and analysis of systems with random or probabilistic behaviour. | Why3 is a platform for deductive program verification that uses WhyML and external theorem provers to discharge verification conditions. |
| Support | The project directs users to its FAQ and manual, and invites other questions, feedback, bug reports, and feature requests through its forum or GitHub issue tracker. | The project provides a user mailing list, a Zulip chat, and a bug tracking system. |
Plans
In their own words
PRISM
PRISM is a probabilistic model checker for formal modelling and analysis of systems with random or probabilistic behaviour. It supports discrete-time and continuous-time Markov chains, Markov decision processes, probabilistic automata, probabilistic timed automata, partially observable models, and interval models; costs and rewards can extend supported models. Its property language includes PCTL, CSL, LTL, and PCTL*, with quantitative and costs/rewards extensions. Analysis options include BDD- and MTBDD-based symbolic algorithms, discrete-event simulation for approximate or statistical checking, quantitative abstraction refinement, and symmetry reduction. The tool accepts the PRISM language, PEPA, and SBML, and supports temporal-logic formalisms and counterexamples. Version 4.10.1 supports UMB import and export, POMDP import from explicit files, and optional exchange of initial state information through a .tra file. PRISM is free and open source under GNU General Public License version 2. It runs on Linux, Windows, and macOS and requires Java 11 or later; binary distributions require the Java Runtime Environment.
Why3
Why3 is a platform for deductive program verification. It uses WhyML to express programs and specifications, then works with external automated or interactive theorem provers to discharge verification conditions. WhyML supports preconditions, postconditions, assertions, and loop invariants, alongside logical theories and data structures such as arrays, queues, and hash tables. External provers need to be installed and configured separately. Why3 can be extended with support for new provers and used as a software library through its OCaml API. WhyML programs can be extracted automatically into correct-by-construction OCaml programs, and WhyML is also used as an intermediate language for verification of C, Java, Rust, and Ada. TryWhy3 provides a JavaScript version that runs in a browser. Installation options include Opam, Docker, source compilation, and listed Debian, Fedora, and Ubuntu packages. Its graphical interface saves proof attempts and transformations in an XML file and can replay obsolete attempts. Why3 is free and open source under GNU LGPL 2.1 with a special linking exception. Loop invariant inference is a work in progress, and many features remain very limited.