Skip to content

samuelchassot/stainless-dafny-library

Repository files navigation

Library of verified programs in Stainless and Dafny

Collection of verified software using Dafny and Stainles. Each program has two versions, one with each tool.

Main differences

  • In Dafny, methods cannot be called in specifications, only functions are allowed (i.e., purely functional code). This makes the translation from Stainless a bit tricky in some instances. Indeed, in the cases where we call some functions that have to be translated to a Dafny method in specifications, this cannot be translated into Dafny as-is.
  • In Dafny, we cannot have class invariants. We have to rely on an invariant function we call in all other specifications as pre- and postconditions.

About

Collection of verified software using Dafny and Stainles. Each program has 2 versions, one with each tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published