summary refs log tree commit diff
path: root/pkgs/development/coq-modules/mathcomp-apery/default.nix
blob: 69511693876818d68402c6af46be4c69c5a8c0d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ coq, mkCoqDerivation, mathcomp, coqeal, mathcomp-real-closed,
  mathcomp-bigenough, mathcomp-zify, mathcomp-algebra-tactics,
  lib, version ? null }:

mkCoqDerivation {

  pname = "apery";

  inherit version;
  defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ]  [
      { cases = [ (range "8.13" "8.16") (isGe "1.12.0") ]; out = "1.0.2"; }
    ] null;

  release."1.0.2".sha256 = "sha256-llxyMKYvWUA7fyroG1S/jtpioAoArmarR1edi3cikcY=";

  propagatedBuildInputs = [ mathcomp.field coqeal mathcomp-real-closed
    mathcomp-bigenough mathcomp-zify mathcomp-algebra-tactics ];

  meta = {
    description = "A formally verified proof in Coq, by computer algebra, that ζ(3) is irrational";
    license = lib.licenses.cecill-c;
  };
}