Skip to content

Commit

Permalink
Merge pull request microsoft#16 from jaylorch/dafny320
Browse files Browse the repository at this point in the history
Make compatible with Dafny 3.2.0
  • Loading branch information
jaylorch authored Jul 29, 2021
2 parents 3c6388e + b0c554c commit 5e47713
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ironfleet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ IronFleet is licensed under the MIT license included in the [LICENSE](./LICENSE)

To use Ironfleet, you'll need the following tools:
* .NET 5.0 SDK (available at `https://dotnet.microsoft.com/download`)
* Dafny v3.1.0 (verifier, available at `https://github.com/dafny-lang/dafny`)
* Dafny v3.2.0 (verifier, available at `https://github.com/dafny-lang/dafny`)
* python 2 or 3 (needed for running scons)
* scons (installable by running `pip install scons`)

Expand All @@ -58,8 +58,8 @@ Expect this to take up to several hours, depending on your machine and how many
cores you have available. Also note that the prover's time limits are based on
wall clock time, so if you run the verification on a slow machine, you may see a
few timeouts not present in our build. If that happens, try using a longer time
limit for each verification; for example, using `--time-limit=60` makes the time
limit 60 seconds instead of the default 30 seconds.
limit for each verification; for example, using `--time-limit=120` makes the time
limit 120 seconds instead of the default 60 seconds.

Running scons will produce the following executables:
```
Expand Down
2 changes: 1 addition & 1 deletion ironfleet/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AddOption('--no-verify',
AddOption('--time-limit',
dest='time_limit',
type='int',
default=30,
default=60,
action='store',
help='Specify the time limit to use for each verification')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function maprange<KT,VT>(m:map<KT,VT>) : set<VT>
set k | k in m :: m[k]
}

type imap2<!K1, K2, V> = imap<K1, imap<K2, V>>
type imap2<!K1, !K2, V> = imap<K1, imap<K2, V>>

predicate imap2total<K1(!new), K2(!new), V>(m:imap2<K1, K2, V>)
{
Expand Down

0 comments on commit 5e47713

Please sign in to comment.