https://github.com/EasyCrypt/easycrypt
Revision a37bb89001dfd1400283146b8595f072c0d47409 authored by Pierre-Yves Strub on 17 September 2018, 08:56:28 UTC, committed by Pierre-Yves Strub on 17 September 2018, 08:56:38 UTC
Expressions of the form (x + c1) + c2 are now simplified to
(x + [c1+c2]) (modulo commutativity of (+).
1 parent c997f51
Raw File
Tip revision: a37bb89001dfd1400283146b8595f072c0d47409 authored by Pierre-Yves Strub on 17 September 2018, 08:56:28 UTC
better simplification of int/real addition
Tip revision: a37bb89
default.nix
with import <nixpkgs> {};

let why3_for_ec = stdenv.lib.overrideDerivation why3 (o: {
  name = "why3-0.87.3";
  src = fetchurl {
    url = "https://gforge.inria.fr/frs/download.php/file/36398/why3-0.87.3.tar.gz";
    sha256 = "1fn9v6w1ilkrm2n4rz31w8qvjnchyvwxiqs67z3f59b5k99wb2ka";
  };
});
in

stdenv.mkDerivation {
  name = "easycrypt-1.0";
  src = ./.;
  buildInputs = [ ]
    ++ (with ocamlPackages; [ ocaml findlib ocamlbuild batteries menhir merlin zarith inifiles why3_for_ec ])
    ;
}
back to top