ยซ Up

mathcomp-grobner dev Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Laurent.Thery@inria.fr"
homepage: "https://github.com/thery/grobner"
bug-reports: "https://github.com/thery/grobner/issues"
license: "MIT"
build: [
  ["./configure.sh"]
  [make "-j%{jobs}%"]
  [make "install"]
]
remove: [
  ["rm" "-R" "%{lib}%/coq/user-contrib/mathcomp/contrib/grobner"]
  ["sh" "-c" "rmdir %{lib}%/coq/user-contrib/mathcomp/contrib || true"]
]
depends: [
  "ocaml"
  "coq" {>= "8.5"}
  "coq-mathcomp-ssreflect" {>= "1.6"}
  "coq-mathcomp-algebra"
  "coq-mathcomp-multinomials" {= "1.6.dev"}
]
synopsis: "# grobner"
description: """
A fornalisation of Grobner basis in ssreflect.
It contains one file
grobner.v
It defines.
From mathcomp Require Import all_ssreflect all_algebra.
From SsrMultinomials Require Import ssrcomplements poset freeg mpoly.
From mathcomp.contrib.grobner Require Import grobner.
(* p belongs to the ideal generated by L *)
Check ideal.
ideal = 
fun (R : ringType) (n : nat) (L : seq {mpoly R[n]}) (p : {mpoly R[n]})
  =>
  exists t, p = \\sum_(i < size L) t`_i * L`_i
(* it is decidable *)
Check idealfP.
idealfP
     : forall (R : fieldType)  (n : nat) (p : {mpoly R[n]})
              (l : seq {mpoly R[n]}),
       reflect (ideal l p) (idealf l p)"""
url {
  src: "https://github.com/thery/grobner/archive/v1.0.1.zip"
  checksum: "md5=ee88f5010096f45a5be120de58910913"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-mathcomp-grobner.dev coq.dev
Return code
5120
Output
[NOTE] Package coq is already installed (current version is dev).
The following dependencies couldn't be met:
  - coq-mathcomp-grobner -> coq-mathcomp-multinomials = 1.6.dev
      no matching version
No solution found, exiting

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-grobner.dev
Return code
5120
Output
The following actions will be performed:
  - remove coq dev
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   coq.dev
Done.
# Run eval $(opam env) to update the current shell environment
The following dependencies couldn't be met:
  - coq-mathcomp-grobner -> coq-mathcomp-multinomials = 1.6.dev
      no matching version
No solution found, exiting

Install dependencies

Command
true
Return code
0
Duration
0 s

Install ๐Ÿš€

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none