-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
67 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
(lang dune 2.4) | ||
(lang dune 2.7) | ||
(name why3gospel) | ||
(implicit_transitive_deps false) | ||
(cram enable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
(rule | ||
(alias runtest) | ||
(action | ||
(with-accepted-exit-codes 0 | ||
(system "why3 prove %{dep:list_stdlib.mli}")))) | ||
(cram | ||
(deps | ||
(source_tree .))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
$ why3 config detect > /dev/null | ||
|
||
$ why3 prove *.mli | ||
theory Sig | ||
(* use why3.BuiltIn.BuiltIn *) | ||
|
||
(* use why3.Bool.Bool *) | ||
|
||
(* use why3.Unit.Unit *) | ||
|
||
(* use gospel.Stdlib *) | ||
|
||
type t 'a | ||
function view (t 'a) : bag 'a | ||
function to_bag (t:t 'a) : bag 'a = view t | ||
end | ||
theory Sig1 | ||
(* use why3.BuiltIn.BuiltIn *) | ||
(* use why3.Bool.Bool *) | ||
(* use why3.Unit.Unit *) | ||
(* use gospel.Stdlib *) | ||
end | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters