Skip to content
SPECIFICTION
Get listed

Frama-C vs Why3

Frama-C

frama-c.com

Why3

why3.org

Side by side

FigureFrama-CWhy3
Price from—Free
Free plan—Yes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYes—
LinuxYesYes
API—Yes
Self-hosted—Yes
Plans published01
Spec score · Formal Verification Tools7.5 (#20)8.0 (#12)
ExtensibilityThe platform supports development of plug-ins that add analyses or modify existing ones.Why3 can be extended with support for new external provers and used as a software library through its API.
IntegrationsWP uses SMT solvers including Alt-Ergo, CVC5, and Z3.The project lists EasyCrypt, Frama-C, and SPARK 2014 among projects that use Why3.
PurposeFrama-C is a framework for modular analysis of C programs using collaborative program analysis plug-ins.Why3 is a platform for deductive program verification that uses WhyML and external theorem provers to discharge verification conditions.
SupportThe project offers technical support, training, tutorial sessions, hackathons, extensions, and customization for commercial or industrial use.The project provides a user mailing list, a Zulip chat, and a bug tracking system.

Plans

Frama-C

No plans published.

Frama-C pricing →

Why3

  • Why3Free

Why3 pricing →

In their own words

Frama-C

Frama-C has no write-up on Specifiction yet; its figures are above.

Visit frama-c.com

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.

Visit why3.org