package why3

All checked builds pass
  1. Overview
  2. Docs
Why3 environment for deductive program verification

Install

dune-project
 Dependency

Authors

Maintainers

Sources

why3-1.9.0.tar.gz
sha256=557993162146c916700822d53e8fb757f6f03e06d220b2c8fb96a573df0fa4a9
md5=1abc167c243121a5ea6db01b45494697

Description

Why3 provides a rich language for specification and programming, called WhyML, and relies on external theorem provers, both automated and interactive, to discharge verification conditions. Why3 comes with a standard library of logical theories (integer and real arithmetic, Boolean operations, sets and maps, etc.) and basic programming data structures (arrays, queues, hash tables, etc.). A user can write WhyML programs directly and get correct-by-construction OCaml or C programs through an automated extraction mechanism. WhyML is also used as an intermediate language for the verification of C, Java, Rust, and Ada programs.

Why3 is a complete reimplementation of the former Why platform. Among the new features are: numerous extensions to the input language, a new architecture for calling external provers, and a well-designed API, allowing to use Why3 as a software library. An important emphasis is put on modularity and genericity, giving the end user a possibility to easily reuse Why3 formalizations or to add support for a new external prover if wanted.

Dependencies (5)

  1. zarith
  2. menhir >= "20200211"
  3. dune >= "2.9"
  4. ocamlfind build
  5. ocaml >= "4.09"

Dev Dependencies (1)

  1. conf-autoconf build & dev

Used by (7)

  1. caisar >= "6.0"
  2. colibrics >= "0.6"
  3. frama-c-metacsl < "0.4"
  4. lambdapi >= "2.6.0"
  5. pilat >= "1.6"
  6. why3-coq >= "1.9.0"
  7. why3-ide >= "1.9.0"

Conflicts (4)

  1. ppxlib < "0.33.0"
  2. mlmpfr < "4.0.0"
  3. ocamlgraph < "1.8.2"
  4. why3-base

Build status

Results of building why3 with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.9.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure