https://github.com/EasyCrypt/easycrypt
Revision 0b0aa5d71e584fd1063f381927c18cd9af416f1a authored by Pierre-Yves Strub on 29 March 2022, 18:47:14 UTC, committed by Pierre-Yves Strub on 30 March 2022, 08:50:08 UTC
`rewrite h` with `h : eq1 /\ eq2 /\ ... /\ eqn` is equivalent
to `rewrite ?(h1, h2, ..., hn)` with `hi : eqi`

address #155
1 parent f876954
Raw File
Tip revision: 0b0aa5d71e584fd1063f381927c18cd9af416f1a authored by Pierre-Yves Strub on 29 March 2022, 18:47:14 UTC
[tactic]: [rewrite]: support for multi-rules
Tip revision: 0b0aa5d
default.nix
with import <nixpkgs> {};

if !lib.versionAtLeast why3.version "1.4" then
  throw "please update your nixpkgs channel: nix-channel --update"
else
  stdenv.mkDerivation {
    name = "easycrypt-1.0";
    src = ./.;
    buildInputs = [ why3 ] ++ (with ocamlPackages; [
      ocaml
      findlib
      batteries
      dune_2
      dune-build-info
      dune-site
      inifiles
      menhir
      menhirLib
      merlin
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top